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-8-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: 1a93cee4e47d at timestamp: 1674582622202
[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-8-SNAPSHOT 1a93cee4e47d
[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:[262,18] [rawtypes] found raw type: List
missing type arguments for generic class List<E>
where E is a type-variable:
E extends Object declared in interface List
[WARNING] /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/src/test/java/it/tidalwave/accounting/test/util/ScenarioFactory.java:[263,62] [unchecked] unchecked conversion
required: List<TimedJobEventSpi>
found: List
[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
17:50:38.829 [main ] INFO i.t.a.model.impl.DefaultHourlyReportGeneratorTest - STARTING TESTS OF it.tidalwave.accounting.model.impl.DefaultHourlyReportGeneratorTest
17:50:38.886 [main ] INFO i.t.a.model.impl.DefaultHourlyReportGeneratorTest - TEST SKIPPED java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: it.tidalwave.accounting.model.impl.InMemoryAccounting
17:50:38.893 [main ] INFO i.t.a.model.impl.DefaultHourlyReportGeneratorTest - TEST SKIPPED
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.ClassNotFoundException: it.tidalwave.accounting.model.impl.InMemoryAccounting
at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodInvocationHelper.java:163)
at org.testng.internal.Parameters.handleParameters(Parameters.java:430)
at org.testng.internal.Invoker.handleParameters(Invoker.java:1274)
at org.testng.internal.Invoker.createParameters(Invoker.java:989)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1079)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:136)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:145)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: it.tidalwave.accounting.model.impl.InMemoryAccounting
at it.tidalwave.accounting.model.Accounting.createNew(Accounting.java:49)
at it.tidalwave.accounting.test.util.ScenarioFactory.createEmptyAccounting(ScenarioFactory.java:100)
at it.tidalwave.accounting.test.util.ScenarioFactory.createScenarios(ScenarioFactory.java:72)
at it.tidalwave.accounting.test.util.ScenarioFactory.projectProvider(ScenarioFactory.java:80)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodInvocationHelper.java:137)
... 25 common frames omitted
Caused by: java.lang.ClassNotFoundException: it.tidalwave.accounting.model.impl.InMemoryAccounting
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:315)
at it.tidalwave.accounting.model.Accounting.createNew(Accounting.java:45)
... 34 common frames omitted
17:50:38.895 [main ] INFO i.t.a.model.impl.DefaultHourlyReportGeneratorTest -
17:50:38.904 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - ******************************************
17:50:38.904 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - TEST "toString must return all the fields"
17:50:38.905 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - ******************************************
17:50:38.987 [main ] INFO it.tidalwave.accounting.model.types.AddressTest - TEST PASSED in 84 msec
17:50:38.992 [main ] INFO it.tidalwave.accounting.model.types.AddressTest -
17:50:39.001 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************************
17:50:39.001 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "greaterThan and lowerThan must be false when equality"
17:50:39.002 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - ************************************************************
17:50:39.012 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 11 msec
17:50:39.012 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest -
17:50:39.019 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - **********************************************************
17:50:39.019 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "greaterThan and lowerThan must work at the opposite"
17:50:39.021 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - **********************************************************
17:50:39.024 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 3 msec
17:50:39.024 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest -
17:50:39.025 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - **************************
17:50:39.026 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "isEqualTo must work"
17:50:39.026 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - **************************
17:50:39.028 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 3 msec
17:50:39.029 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest -
17:50:39.031 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - **************************************************
17:50:39.031 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "toString for ZERO must be properly computed"
17:50:39.031 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - **************************************************
17:50:39.047 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 16 msec
17:50:39.047 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest -
17:50:39.048 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - *****************************************
17:50:39.049 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST "toString must be properly computed"
17:50:39.050 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - *****************************************
17:50:39.053 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest - TEST PASSED in 5 msec
17:50:39.053 [main ] INFO it.tidalwave.accounting.model.types.MoneyTest -
17:50:39.102 [main ] INFO i.t.a.model.impl.DefaultHourlyReportGeneratorTest - FINISHED TESTS OF it.tidalwave.accounting.model.impl.DefaultHourlyReportGeneratorTest
[WARNING] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 1.002 s - in TestSuite
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 7, Failures: 0, Errors: 0, Skipped: 1
[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-8-SNAPSHOT.1a93cee4e47d.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-8-SNAPSHOT.1a93cee4e47d-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-8-SNAPSHOT.1a93cee4e47d.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/accounting/it-tidalwave-accounting-model/1.0-ALPHA-8-SNAPSHOT/it-tidalwave-accounting-model-1.0-ALPHA-8-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-8-SNAPSHOT/it-tidalwave-accounting-model-1.0-ALPHA-8-SNAPSHOT.pom
[INFO] Installing /var/jenkins_home/jobs/blueHour_Build_and_Test/workspace/modules/Model/target/it-tidalwave-accounting-model-1.0-ALPHA-8-SNAPSHOT.1a93cee4e47d-tests.jar to /var/jenkins_home/maven-repositories/2/it/tidalwave/accounting/it-tidalwave-accounting-model/1.0-ALPHA-8-SNAPSHOT/it-tidalwave-accounting-model-1.0-ALPHA-8-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled