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] [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_Metrics/workspace/modules/Model' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Metrics/workspace/modules/Model [INFO] Storing buildNumber: aa31935cf203 at timestamp: 1682308839389 [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_Metrics/workspace/modules/Model' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Metrics/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] --- jacoco:0.8.7:prepare-agent (prepare-agent) @ it-tidalwave-accounting-model --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/jobs/blueHour_Metrics/workspace@tmp/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/var/jenkins_home/jobs/blueHour_Metrics/workspace/modules/Model/target/jacoco.exec [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_Metrics/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_Metrics/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 [WARNING] /var/jenkins_home/jobs/blueHour_Metrics/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 [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_Metrics/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_Metrics/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 04:01:01.301 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - STARTING TESTS OF it.tidalwave.accounting.model.types.AddressTest 04:01:01.352 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - ****************************************** 04:01:01.353 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - TEST "toString must return all the fields" 04:01:01.353 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - ****************************************** 04:01:01.431 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - TEST PASSED in 80 msec 04:01:01.431 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - 04:01:01.440 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************************ 04:01:01.440 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "greaterThan and lowerThan must be false when equality" 04:01:01.440 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************************ 04:01:01.453 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 13 msec 04:01:01.453 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 04:01:01.454 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ********************************************************** 04:01:01.454 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "greaterThan and lowerThan must work at the opposite" 04:01:01.455 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ********************************************************** 04:01:01.455 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 1 msec 04:01:01.455 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 04:01:01.459 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************** 04:01:01.460 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "isEqualTo must work" 04:01:01.460 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************** 04:01:01.461 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 2 msec 04:01:01.461 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 04:01:01.467 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************** 04:01:01.468 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "toString for ZERO must be properly computed" 04:01:01.468 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************** 04:01:01.484 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 17 msec 04:01:01.485 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 04:01:01.485 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ***************************************** 04:01:01.485 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "toString must be properly computed" 04:01:01.485 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ***************************************** 04:01:01.486 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 1 msec 04:01:01.486 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - 04:01:01.553 [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: 2.589 s - in TestSuite [INFO] [INFO] Results: [INFO] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0 [INFO] [JENKINS] Recording test results [INFO] [INFO] --- jacoco:0.8.7:report (report) @ it-tidalwave-accounting-model --- [INFO] Loading execution data file /var/jenkins_home/jobs/blueHour_Metrics/workspace/modules/Model/target/jacoco.exec [INFO] Analyzed bundle 'blueHour - Model' with 25 classes [INFO] [INFO] --- jar:3.2.0:jar (default-jar) @ it-tidalwave-accounting-model --- [INFO] Building jar: /var/jenkins_home/jobs/blueHour_Metrics/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_Metrics/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_Metrics/workspace/modules/Model/target/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT.aa31935cf203.jar to /var/jenkins_home/jobs/blueHour_Metrics/workspace@tmp/repository/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_Metrics/workspace/modules/Model/pom.xml to /var/jenkins_home/jobs/blueHour_Metrics/workspace@tmp/repository/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_Metrics/workspace/modules/Model/target/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT.aa31935cf203-tests.jar to /var/jenkins_home/jobs/blueHour_Metrics/workspace@tmp/repository/it/tidalwave/accounting/it-tidalwave-accounting-model/1.0-ALPHA-9-SNAPSHOT/it-tidalwave-accounting-model-1.0-ALPHA-9-SNAPSHOT-tests.jar [INFO] [INFO] >>> dependency:3.1.2:analyze (default-cli) > test-compile @ 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_Metrics/workspace/modules/Model' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Metrics/workspace/modules/Model [INFO] Storing buildNumber: aa31935cf203 at timestamp: 1682308864139 [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_Metrics/workspace/modules/Model' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/blueHour_Metrics/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] --- jacoco:0.8.7:prepare-agent (prepare-agent) @ it-tidalwave-accounting-model --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/jobs/blueHour_Metrics/workspace@tmp/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/var/jenkins_home/jobs/blueHour_Metrics/workspace/modules/Model/target/jacoco.exec [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_Metrics/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_Metrics/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 [WARNING] /var/jenkins_home/jobs/blueHour_Metrics/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 [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_Metrics/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_Metrics/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 [WARNING] Failed to getClass for org.apache.maven.plugins.dependency.analyze.AnalyzeMojo [INFO] [INFO] <<< dependency:3.1.2:analyze (default-cli) < test-compile @ it-tidalwave-accounting-model <<< [INFO] [INFO] [INFO] --- dependency:3.1.2:analyze (default-cli) @ it-tidalwave-accounting-model --- [WARNING] Used undeclared dependencies found: [WARNING] com.google.code.findbugs:jsr305:jar:3.0.2:compile [WARNING] com.github.spotbugs:spotbugs-annotations:jar:3.1.9:compile [WARNING] org.hamcrest:hamcrest-core:jar:1.3:test [WARNING] Unused declared dependencies found: [WARNING] org.springframework:spring-beans:jar:5.3.1:compile [WARNING] org.projectlombok:lombok:jar:1.18.22:provided [WARNING] org.hamcrest:hamcrest-all:jar:1.3:test [WARNING] org.mockito:mockito-core:jar:3.8.0:test [WARNING] org.slf4j:jcl-over-slf4j:jar:1.7.30:test [WARNING] ch.qos.logback:logback-core:jar:1.2.3:test [WARNING] ch.qos.logback:logback-classic:jar:1.2.3:test [JENKINS] Archiving disabled