Errors while building using maven

I’m trying to build Dremio with Maven but a lot of tests are failing.

> [ERROR] testToDateForTimeStamp(com.dremio.exec.fn.impl.TestCastFunctions)  Time elapsed: 85.918 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 50 seconds
        at com.dremio.exec.fn.impl.TestCastFunctions.testToDateForTimeStamp(TestCastFunctions.java:77)

[ERROR] testToIntervalHourCast(com.dremio.exec.fn.impl.TestCastFunctions)  Time elapsed: 50.612 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 50 seconds
        at com.dremio.exec.fn.impl.TestCastFunctions.testToIntervalHourCast(TestCastFunctions.java:192)

[ERROR] testToIntervalMonthCast(com.dremio.exec.fn.impl.TestCastFunctions)  Time elapsed: 135.946 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 50 seconds
        at com.dremio.exec.fn.impl.TestCastFunctions.testToIntervalMonthCast(TestCastFunctions.java:146)

[ERROR] testImplicitCastStringToBoolean(com.dremio.exec.fn.impl.TestCastFunctions)  Time elapsed: 0.007 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 50 seconds
        at com.dremio.exec.fn.impl.TestCastFunctions.testImplicitCastStringToBoolean(TestCastFunctions.java:48)

[ERROR] testToIntervalDayCast(com.dremio.exec.fn.impl.TestCastFunctions)  Time elapsed: 79.976 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 50 seconds
        at com.dremio.exec.fn.impl.TestCastFunctions.testToIntervalDayCast(TestCastFunctions.java:179)

[ERROR] testToIntervalMinuteCast(com.dremio.exec.fn.impl.TestCastFunctions)  Time elapsed: 50.543 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 50 seconds
        at com.dremio.exec.fn.impl.TestCastFunctions.testToIntervalMinuteCast(TestCastFunctions.java:215)

[ERROR] com.dremio.exec.fn.impl.TestCastFunctions  Time elapsed: 2,009.799 s  <<< ERROR!
org.junit.runners.model.TestTimedOutException: test timed out after 1000 seconds