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] from modules/Model/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/it/tidalwave/thesefoolishthings/it-tidalwave-role/3.2-ALPHA-16/it-tidalwave-role-3.2-ALPHA-16.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/it/tidalwave/thesefoolishthings/it-tidalwave-role/3.2-ALPHA-16/it-tidalwave-role-3.2-ALPHA-16.pom (3.5 kB at 11 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/it/tidalwave/thesefoolishthings/it-tidalwave-role/3.2-ALPHA-16/it-tidalwave-role-3.2-ALPHA-16.jar [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/it/tidalwave/thesefoolishthings/it-tidalwave-role/3.2-ALPHA-16/it-tidalwave-role-3.2-ALPHA-16.jar (105 kB at 332 kB/s) [INFO] [INFO] --- clean:3.1.0:clean (default-clean) @ it-tidalwave-accounting-model --- [INFO] [INFO] --- buildnumber: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: aa31935cf203 at timestamp: 1682295635891 [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] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ it-tidalwave-accounting-model --- [INFO] [INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ it-tidalwave-accounting-model --- [INFO] [INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ it-tidalwave-accounting-model --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-9-SNAPSHOT aa31935cf203 [INFO] [echo] Java Version: 11.0.18 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- resources: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] --- compiler:3.8.1:compile (default-compile) @ it-tidalwave-accounting-model --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [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 [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] --- resources: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] --- compiler:3.8.1:testCompile (default-testCompile) @ it-tidalwave-accounting-model --- [WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}. [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 [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] --- surefire:3.0.0-M5:test (default-test) @ it-tidalwave-accounting-model --- [WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead. [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running TestSuite 00:20:56.781 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - STARTING TESTS OF it.tidalwave.accounting.model.types.AddressTest 00:20:56.823 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - ****************************************** 00:20:56.830 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - TEST "toString must return all the fields" 00:20:56.831 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - ****************************************** 00:20:56.924 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - TEST PASSED in 102 msec 00:20:56.924 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - 00:20:56.931 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************************ 00:20:56.931 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "greaterThan and lowerThan must be false when equality" 00:20:56.931 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************************ 00:20:56.934 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 2 msec 00:20:56.934 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:20:56.938 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ********************************************************** 00:20:56.939 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "greaterThan and lowerThan must work at the opposite" 00:20:56.939 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ********************************************************** 00:20:56.939 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 1 msec 00:20:56.939 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:20:56.940 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************** 00:20:56.940 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "isEqualTo must work" 00:20:56.940 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************** 00:20:56.940 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 0 msec 00:20:56.941 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:20:56.941 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************** 00:20:56.941 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "toString for ZERO must be properly computed" 00:20:56.941 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************** 00:20:56.948 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 7 msec 00:20:56.952 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:20:56.953 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ***************************************** 00:20:56.953 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "toString must be properly computed" 00:20:56.953 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ***************************************** 00:20:56.954 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 1 msec 00:20:56.954 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 00:20:57.046 [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: 1.795 s - in TestSuite [INFO] [INFO] Results: [INFO] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- jar: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.aa31935cf203.jar [INFO] [INFO] --- jar: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.aa31935cf203-tests.jar [INFO] [INFO] --- install: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.aa31935cf203.jar to /var/jenkins_home/maven-repositories/2/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/2/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.aa31935cf203-tests.jar to /var/jenkins_home/maven-repositories/2/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