[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Joda-Time 2.8.1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ joda-time ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources to META-INF
[INFO] Copying 10 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ joda-time ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 166 source files to /home/perham/Study/LittleDarwin/Cases/joda-time-2.8.1/target/classes
[INFO] 
[INFO] --- exec-maven-plugin:1.4.0:java (compile-tzdb) @ joda-time ---
Writing zoneinfo files
Writing ZoneInfoMap
[INFO] 
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ joda-time ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 34 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ joda-time ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ joda-time ---
[INFO] Surefire report directory: /home/perham/Study/LittleDarwin/Cases/joda-time-2.8.1/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.joda.time.TestAllPackages

TestBuddhistChronology.testCalendar

TestCopticChronology.testCalendar

TestEthiopicChronology.testCalendar

TestIslamicChronology.testCalendar

Testing Gregorian chronology over 1000 iterations
Failure index: 42
Test millis: -8487561183602
Test value: 20
Test millis2: 4350697476195

Testing Julian chronology over 1000 iterations
Failure index: 42
Test millis: -8487561183602
Test value: 20
Test millis2: 4350697476195
Writing zoneinfo files
Writing ZoneInfoMap
Tests run: 4157, Failures: 9, Errors: 5, Skipped: 0, Time elapsed: 4.974 sec <<< FAILURE! - in org.joda.time.TestAllPackages
testConstructor_Overflow1(org.joda.time.TestDuration_Constructors)  Time elapsed: 0.004 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at org.joda.time.TestDuration_Constructors.testConstructor_Overflow1(TestDuration_Constructors.java:266)

testConstructor_Overflow2(org.joda.time.TestDuration_Constructors)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at org.joda.time.TestDuration_Constructors.testConstructor_Overflow2(TestDuration_Constructors.java:275)

testConstructor_Overflow3(org.joda.time.TestDuration_Constructors)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at org.joda.time.TestDuration_Constructors.testConstructor_Overflow3(TestDuration_Constructors.java:285)

testConstructor_Overflow4(org.joda.time.TestDuration_Constructors)  Time elapsed: 0.001 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at org.joda.time.TestDuration_Constructors.testConstructor_Overflow4(TestDuration_Constructors.java:295)

testSePeriodAfterStart_RI2(org.joda.time.TestMutableInterval_Updates)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.ArithmeticException: The calculation caused an overflow: -1 - 0
	at org.joda.time.field.FieldUtils.safeSubtract(FieldUtils.java:22)
	at org.joda.time.field.PreciseDurationField.getDifferenceAsLong(PreciseDurationField.java:114)
	at org.joda.time.field.BaseDurationField.getDifference(BaseDurationField.java:141)
	at org.joda.time.chrono.BaseChronology.get(BaseChronology.java:285)
	at org.joda.time.base.BasePeriod.<init>(BasePeriod.java:236)
	at org.joda.time.Period.<init>(Period.java:382)
	at org.joda.time.TestMutableInterval_Updates.testSePeriodAfterStart_RI2(TestMutableInterval_Updates.java:363)

testSePeriodBeforeEnd_RI2(org.joda.time.TestMutableInterval_Updates)  Time elapsed: 0 sec  <<< ERROR!
java.lang.ArithmeticException: The calculation caused an overflow: -1 - 0
	at org.joda.time.field.FieldUtils.safeSubtract(FieldUtils.java:22)
	at org.joda.time.field.PreciseDurationField.getDifferenceAsLong(PreciseDurationField.java:114)
	at org.joda.time.field.BaseDurationField.getDifference(BaseDurationField.java:141)
	at org.joda.time.chrono.BaseChronology.get(BaseChronology.java:285)
	at org.joda.time.base.BasePeriod.<init>(BasePeriod.java:236)
	at org.joda.time.Period.<init>(Period.java:382)
	at org.joda.time.TestMutableInterval_Updates.testSePeriodBeforeEnd_RI2(TestMutableInterval_Updates.java:386)

testNormalizedStandard_fullNegative(org.joda.time.TestPeriod_Basics)  Time elapsed: 0 sec  <<< ERROR!
java.lang.ArithmeticException: The calculation caused an overflow: -600000 - 0
	at org.joda.time.field.FieldUtils.safeSubtract(FieldUtils.java:22)
	at org.joda.time.field.PreciseDurationField.getDifferenceAsLong(PreciseDurationField.java:114)
	at org.joda.time.field.BaseDurationField.getDifference(BaseDurationField.java:141)
	at org.joda.time.chrono.BaseChronology.get(BaseChronology.java:285)
	at org.joda.time.base.BasePeriod.<init>(BasePeriod.java:258)
	at org.joda.time.Period.<init>(Period.java:444)
	at org.joda.time.Period.normalizedStandard(Period.java:1644)
	at org.joda.time.Period.normalizedStandard(Period.java:1601)
	at org.joda.time.TestPeriod_Basics.testNormalizedStandard_fullNegative(TestPeriod_Basics.java:1455)

test_setHourOfDay(org.joda.time.chrono.TestLenientChronology)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.ArithmeticException: The calculation caused an overflow: -1 - 0
	at org.joda.time.field.FieldUtils.safeSubtract(FieldUtils.java:22)
	at org.joda.time.field.LenientDateTimeField.set(LenientDateTimeField.java:73)
	at org.joda.time.DateTime.withHourOfDay(DateTime.java:1815)
	at org.joda.time.chrono.TestLenientChronology.test_setHourOfDay(TestLenientChronology.java:88)

testChronology(org.joda.time.chrono.gj.MainTest)  Time elapsed: 0.05 sec  <<< FAILURE!
junit.framework.AssertionFailedError: The calculation caused an overflow: -8487561183602 - 4350697476195
	at junit.framework.Assert.fail(Assert.java:47)
	at org.joda.time.chrono.gj.MainTest.testChronology(MainTest.java:158)

testChronology(org.joda.time.chrono.gj.MainTest)  Time elapsed: 0.031 sec  <<< FAILURE!
junit.framework.AssertionFailedError: The calculation caused an overflow: -8487561183602 - 4350697476195
	at junit.framework.Assert.fail(Assert.java:47)
	at org.joda.time.chrono.gj.MainTest.testChronology(MainTest.java:158)

testSafeSubtractLong(org.joda.time.field.TestFieldUtils)  Time elapsed: 0.001 sec  <<< ERROR!
java.lang.ArithmeticException: The calculation caused an overflow: -2 - 3
	at org.joda.time.field.FieldUtils.safeSubtract(FieldUtils.java:22)
	at org.joda.time.field.TestFieldUtils.testSafeSubtractLong(TestFieldUtils.java:146)

test_getDifferenceAsLong_long_long(org.joda.time.field.TestMillisDurationField)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at org.joda.time.field.TestMillisDurationField.test_getDifferenceAsLong_long_long(TestMillisDurationField.java:178)

test_getDifferenceAsLong_long_long(org.joda.time.field.TestPreciseDurationField)  Time elapsed: 0 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at org.joda.time.field.TestPreciseDurationField.test_getDifferenceAsLong_long_long(TestPreciseDurationField.java:212)

test_getDifferenceAsLong_long_long(org.joda.time.field.TestScaledDurationField)  Time elapsed: 0.001 sec  <<< FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.fail(Assert.java:53)
	at org.joda.time.field.TestScaledDurationField.test_getDifferenceAsLong_long_long(TestScaledDurationField.java:229)


Results :

Failed tests: 
  org.joda.time.TestDuration_Constructors#testConstructor_Overflow1 AssertionFailedError
  org.joda.time.TestDuration_Constructors#testConstructor_Overflow2 AssertionFailedError
  org.joda.time.TestDuration_Constructors#testConstructor_Overflow3 AssertionFailedError
  org.joda.time.TestDuration_Constructors#testConstructor_Overflow4 AssertionFailedError
org.joda.time.chrono.gj.MainTest.testChronology(org.joda.time.chrono.gj.MainTest)
  Run 1: org.joda.time.chrono.gj.MainTest#testChronology AssertionFailedError The calcu...
  Run 2: org.joda.time.chrono.gj.MainTest#testChronology AssertionFailedError The calcu...

  org.joda.time.field.TestMillisDurationField#test_getDifferenceAsLong_long_long AssertionFailedError
  org.joda.time.field.TestPreciseDurationField#test_getDifferenceAsLong_long_long AssertionFailedError
  org.joda.time.field.TestScaledDurationField#test_getDifferenceAsLong_long_long AssertionFailedError
Tests in error: 
  org.joda.time.TestMutableInterval_Updates#testSePeriodAfterStart_RI2 ArithmeticException
  org.joda.time.TestMutableInterval_Updates#testSePeriodBeforeEnd_RI2 ArithmeticException
  org.joda.time.TestPeriod_Basics#testNormalizedStandard_fullNegative ArithmeticException
  org.joda.time.chrono.TestLenientChronology#test_setHourOfDay ArithmeticException
  org.joda.time.field.TestFieldUtils#testSafeSubtractLong ArithmeticException Th...

Tests run: 4156, Failures: 8, Errors: 5, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.110s
[INFO] Finished at: Thu Aug 06 04:39:13 BST 2015
[INFO] Final Memory: 8M/213M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project joda-time: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/perham/Study/LittleDarwin/Cases/joda-time-2.8.1/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
