Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds [INFO] [INFO] -------< it.tidalwave.accounting:it-tidalwave-accounting-model >-------- [INFO] Building blueHour - Model 1.0-ALPHA-9-SNAPSHOT [3/16] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ it-tidalwave-accounting-model --- [INFO] [INFO] --- buildnumber-maven-plugin:1.4:create (default) @ it-tidalwave-accounting-model --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model [INFO] Storing buildNumber: 3e07b029bfc4 at timestamp: 1674780621350 [WARNING] Cannot get the branch information from the git repository: Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model [INFO] Storing buildScmBranch: UNKNOWN [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven) @ it-tidalwave-accounting-model --- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (enforce-banned-dependencies) @ it-tidalwave-accounting-model --- [INFO] [INFO] --- maven-antrun-plugin:3.0.0:run (generate-and-print-build-description) @ it-tidalwave-accounting-model --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/fabrizio.giudici 1.0-ALPHA-9-SNAPSHOT 3e07b029bfc4 [INFO] [echo] Java Version: 11.0.10 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ it-tidalwave-accounting-model --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ it-tidalwave-accounting-model --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 26 source files to /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/target/classes [WARNING] No processor claimed any of these annotations: /javax.annotation.Nonnull,/javax.annotation.concurrent.Immutable,/javax.annotation.Nonnegative,/it.tidalwave.dci.annotation.DciRole,java.base/java.lang.Override [WARNING] /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/src/main/java/it/tidalwave/accounting/model/Accounting.java:[45,101] [deprecation] newInstance() in Class has been deprecated where T is a type-variable: T extends Object declared in class Class [WARNING] /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/src/main/java/it/tidalwave/accounting/model/spi/ObjectFactory.java:[48,107] [deprecation] newInstance() in Class has been deprecated where T is a type-variable: T extends Object declared in class Class [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ it-tidalwave-accounting-model --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 4 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ it-tidalwave-accounting-model --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 5 source files to /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/target/test-classes [WARNING] No processor claimed any of these annotations: /javax.annotation.Nonnull,/javax.annotation.CheckForNull,/org.testng.annotations.Test,/org.testng.annotations.DataProvider,/javax.annotation.Nonnegative,java.base/java.lang.SuppressWarnings [WARNING] /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/src/test/java/it/tidalwave/accounting/test/util/ScenarioFactory.java:[259,67] [unchecked] unchecked cast required: List found: List where CAP#1 is a fresh type-variable: CAP#1 extends JobEvent from capture of ? extends JobEvent [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ it-tidalwave-accounting-model --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running TestSuite 00:50:41.242 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - STARTING TESTS OF it.tidalwave.accounting.model.types.AddressTest 00:50:41.263 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - ****************************************** 00:50:41.263 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - TEST "toString must return all the fields" 00:50:41.264 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - ****************************************** 00:50:41.301 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - TEST PASSED in 38 msec 00:50:41.301 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - 00:50:41.312 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************************ 00:50:41.312 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "greaterThan and lowerThan must be false when equality" 00:50:41.313 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************************ 00:50:41.315 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 3 msec 00:50:41.316 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:50:41.318 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ********************************************************** 00:50:41.318 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "greaterThan and lowerThan must work at the opposite" 00:50:41.318 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ********************************************************** 00:50:41.320 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 2 msec 00:50:41.320 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:50:41.323 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************** 00:50:41.323 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "isEqualTo must work" 00:50:41.323 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************** 00:50:41.326 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 3 msec 00:50:41.326 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:50:41.328 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************** 00:50:41.328 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "toString for ZERO must be properly computed" 00:50:41.328 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************** 00:50:41.333 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 5 msec 00:50:41.333 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:50:41.335 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ***************************************** 00:50:41.335 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "toString must be properly computed" 00:50:41.335 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ***************************************** 00:50:41.338 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 3 msec 00:50:41.338 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:50:41.370 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - FINISHED TESTS OF it.tidalwave.accounting.model.types.AddressTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.637 s - in TestSuite [INFO] [INFO] Results: [INFO] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ it-tidalwave-accounting-model --- [INFO] Building jar: /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/target/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT.3e07b029bfc4.jar [INFO] [INFO] --- maven-jar-plugin:3.2.0:test-jar (default-test-jar) @ it-tidalwave-accounting-model --- [INFO] Building jar: /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/target/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT.3e07b029bfc4-tests.jar [INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ it-tidalwave-accounting-model --- [INFO] Installing /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/target/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT.3e07b029bfc4.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/accounting/it-tidalwave-accounting-model/1.0-ALPHA-9-SNAPSHOT/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/pom.xml to /var/jenkins_home/maven-repositories/0/it/tidalwave/accounting/it-tidalwave-accounting-model/1.0-ALPHA-9-SNAPSHOT/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/target/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT.3e07b029bfc4-tests.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/accounting/it-tidalwave-accounting-model/1.0-ALPHA-9-SNAPSHOT/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT-tests.jar [JENKINS] Archiving disabled