Started by user Fabrizio Giudici Running as SYSTEM Building in workspace /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://bitbucket.org/fabriziogiudici/c1-scripts.git # timeout=10 Fetching upstream changes from https://bitbucket.org/fabriziogiudici/c1-scripts.git > git --version # timeout=10 > git --version # 'git version 2.39.5' > git fetch --tags --force --progress -- https://bitbucket.org/fabriziogiudici/c1-scripts.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 9a1fc1b36a3a763ce3b7437433f5be3bec90da00 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a1fc1b36a3a763ce3b7437433f5be3bec90da00 # timeout=10 Commit message: "BETTER DIAGS WHEN MISSING TESTSET." > git rev-list --no-walk 9a1fc1b36a3a763ce3b7437433f5be3bec90da00 # timeout=10 using settings config with name settings-mirror Replacing all maven server entries not found in credentials list is true [workspace] $ /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.9/bin/mvn -s /tmp/settings11387367109390876429.xml -B -Dtft.profile.metrics.sonarGoal= -Pit.tidalwave-metrics-v2,it.tidalwave-ci-v1,generate-revision-id -Dmaven.repo.local=/var/jenkins_home/maven-repositories/executors/0 -DknownExploitedEnabled=https://raw.githubusercontent.com/EugenMayer/cisa-known-exploited-mirror/main/known_exploited_vulnerabilities.json [INFO] Scanning for projects... [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/com/fasterxml/jackson/jackson-bom/2.15.2/jackson-bom-2.15.2.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/com/fasterxml/jackson/jackson-bom/2.15.2/jackson-bom-2.15.2.pom (18 kB at 9.0 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/com/fasterxml/jackson/jackson-parent/2.15/jackson-parent-2.15.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/com/fasterxml/jackson/jackson-parent/2.15/jackson-parent-2.15.pom (6.5 kB at 13 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/com/fasterxml/oss-parent/50/oss-parent-50.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/com/fasterxml/oss-parent/50/oss-parent-50.pom (24 kB at 37 kB/s) [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Photography Scripts [pom] [INFO] Photography Scripts (modules) [pom] [INFO] Photography Scripts - Extra Utilities [jar] [INFO] Photography Scripts - Capture One [jar] [INFO] Photography Scripts - Core [jar] [INFO] Photography Scripts - Tools [jar] [INFO] [INFO] ------------------< it.tidalwave.photography:scripts >------------------ [INFO] Building Photography Scripts 1.0-ALPHA-1-SNAPSHOT [1/6] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.4.0:clean (default-clean) @ scripts --- [INFO] Deleting /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/target [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ scripts --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064905458 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace [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/PhotographyScripts_Metrics/workspace' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ scripts --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] Rule 4: org.apache.maven.enforcer.rules.ReactorModuleConvergence passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ scripts --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ scripts --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ scripts --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/target/jacoco.exec [INFO] [INFO] --- jacoco:0.8.12:report (report) @ scripts --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jar:3.4.2:test-jar (default-test-jar) @ scripts --- [INFO] Skipping packaging of the test-jar [INFO] [INFO] --- install:3.1.3:install (default-install) @ scripts --- [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/pom.xml to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/scripts/1.0-ALPHA-1-SNAPSHOT/scripts-1.0-ALPHA-1-SNAPSHOT.pom [INFO] [INFO] >>> spotbugs:4.8.6.6:check (default-cli) > :spotbugs @ scripts >>> [INFO] [INFO] --- spotbugs:4.8.6.6:spotbugs (spotbugs) @ scripts --- [INFO] [INFO] <<< spotbugs:4.8.6.6:check (default-cli) < :spotbugs @ scripts <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.6.6:check (default-cli) @ scripts --- [INFO] [INFO] ------------------< it.tidalwave.photography:modules >------------------ [INFO] Building Photography Scripts (modules) 1.0-ALPHA-1-SNAPSHOT [2/6] [INFO] from modules/pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.4.0:clean (default-clean) @ modules --- [INFO] Deleting /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/target [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ modules --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064908521 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules [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/PhotographyScripts_Metrics/workspace/modules' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ modules --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ modules --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ modules --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ modules --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/target/jacoco.exec [INFO] [INFO] --- jacoco:0.8.12:report (report) @ modules --- [INFO] Skipping JaCoCo execution due to missing execution data file. [INFO] [INFO] --- jar:3.4.2:test-jar (default-test-jar) @ modules --- [INFO] Skipping packaging of the test-jar [INFO] [INFO] --- install:3.1.3:install (default-install) @ modules --- [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/pom.xml to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/modules/1.0-ALPHA-1-SNAPSHOT/modules-1.0-ALPHA-1-SNAPSHOT.pom [INFO] [INFO] >>> spotbugs:4.8.6.6:check (default-cli) > :spotbugs @ modules >>> [INFO] [INFO] --- spotbugs:4.8.6.6:spotbugs (spotbugs) @ modules --- [INFO] [INFO] <<< spotbugs:4.8.6.6:check (default-cli) < :spotbugs @ modules <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.6.6:check (default-cli) @ modules --- [INFO] [INFO] -----------------< it.tidalwave.photography:utilities >----------------- [INFO] Building Photography Scripts - Extra Utilities 1.0-ALPHA-1-SNAPSHOT [3/6] [INFO] from modules/ExtraUtils/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.4.0:clean (default-clean) @ utilities --- [INFO] Deleting /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ utilities --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064908771 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils [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/PhotographyScripts_Metrics/workspace/modules/ExtraUtils' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ utilities --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ utilities --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ utilities --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ utilities --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ utilities --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/main/resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ utilities --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 3 source files with javac [forked debug deprecation release 21] to target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ utilities --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/test/resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ utilities --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [forked debug deprecation release 21] to target/test-classes [INFO] [INFO] --- surefire:3.5.2:test (default-test) @ utilities --- [INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running it.tidalwave.io.FileUtilsTest 18:28:38.459 [main ] INFO it.tidalwave.io.FileUtilsTest - STARTING TESTS OF it.tidalwave.io.FileUtilsTest 18:28:38.564 [main ] ERROR it.tidalwave.io.FileUtilsTest - CONFIGURATION FAILED java.io.IOException: TEST_SET_20241121_1034 not configured 18:28:38.564 [main ] ERROR it.tidalwave.io.FileUtilsTest - CONFIGURATION FAILED java.io.IOException: TEST_SET_20241121_1034 not configured at it.tidalwave.io.FileUtilsTest.lambda$init$1(FileUtilsTest.java:79) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at it.tidalwave.io.FileUtilsTest.init(FileUtilsTest.java:79) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:71) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:400) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:333) at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:188) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:739) at org.testng.TestRunner.run(TestRunner.java:614) at org.testng.SuiteRunner.runTest(SuiteRunner.java:421) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373) at org.testng.SuiteRunner.run(SuiteRunner.java:312) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274) at org.testng.TestNG.runSuitesLocally(TestNG.java:1208) at org.testng.TestNG.runSuites(TestNG.java:1112) at org.testng.TestNG.run(TestNG.java:1079) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:102) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:91) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 18:28:38.623 [main ] WARN it.tidalwave.io.FileUtilsTest - CONFIGURATION SKIPPED 18:28:38.631 [main ] INFO it.tidalwave.io.FileUtilsTest - ****************************** 18:28:38.632 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test collector counting" 18:28:38.632 [main ] INFO it.tidalwave.io.FileUtilsTest - ****************************** 18:28:38.633 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured 18:28:38.633 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured at it.tidalwave.io.FileUtilsTest.lambda$init$1(FileUtilsTest.java:79) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at it.tidalwave.io.FileUtilsTest.init(FileUtilsTest.java:79) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:71) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:400) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:333) at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:188) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:739) at org.testng.TestRunner.run(TestRunner.java:614) at org.testng.SuiteRunner.runTest(SuiteRunner.java:421) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373) at org.testng.SuiteRunner.run(SuiteRunner.java:312) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274) at org.testng.TestNG.runSuitesLocally(TestNG.java:1208) at org.testng.TestNG.runSuites(TestNG.java:1112) at org.testng.TestNG.run(TestNG.java:1079) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:102) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:91) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 18:28:38.641 [main ] INFO it.tidalwave.io.FileUtilsTest - 18:28:38.645 [main ] WARN it.tidalwave.io.FileUtilsTest - CONFIGURATION SKIPPED 18:28:38.646 [main ] INFO it.tidalwave.io.FileUtilsTest - **************************** 18:28:38.646 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test collector toList" 18:28:38.646 [main ] INFO it.tidalwave.io.FileUtilsTest - **************************** 18:28:38.646 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured 18:28:38.646 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured at it.tidalwave.io.FileUtilsTest.lambda$init$1(FileUtilsTest.java:79) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at it.tidalwave.io.FileUtilsTest.init(FileUtilsTest.java:79) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:71) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:400) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:333) at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:188) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:739) at org.testng.TestRunner.run(TestRunner.java:614) at org.testng.SuiteRunner.runTest(SuiteRunner.java:421) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373) at org.testng.SuiteRunner.run(SuiteRunner.java:312) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274) at org.testng.TestNG.runSuitesLocally(TestNG.java:1208) at org.testng.TestNG.runSuites(TestNG.java:1112) at org.testng.TestNG.run(TestNG.java:1079) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:102) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:91) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 18:28:38.647 [main ] INFO it.tidalwave.io.FileUtilsTest - 18:28:38.666 [main ] WARN it.tidalwave.io.FileUtilsTest - CONFIGURATION SKIPPED 18:28:38.666 [main ] INFO it.tidalwave.io.FileUtilsTest - ************************** 18:28:38.666 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test with collector" 18:28:38.666 [main ] INFO it.tidalwave.io.FileUtilsTest - ************************** 18:28:38.666 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured 18:28:38.667 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured at it.tidalwave.io.FileUtilsTest.lambda$init$1(FileUtilsTest.java:79) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at it.tidalwave.io.FileUtilsTest.init(FileUtilsTest.java:79) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:71) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:400) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:333) at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:188) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:739) at org.testng.TestRunner.run(TestRunner.java:614) at org.testng.SuiteRunner.runTest(SuiteRunner.java:421) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373) at org.testng.SuiteRunner.run(SuiteRunner.java:312) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274) at org.testng.TestNG.runSuitesLocally(TestNG.java:1208) at org.testng.TestNG.runSuites(TestNG.java:1112) at org.testng.TestNG.run(TestNG.java:1079) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:102) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:91) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 18:28:38.667 [main ] INFO it.tidalwave.io.FileUtilsTest - 18:28:38.679 [main ] WARN it.tidalwave.io.FileUtilsTest - CONFIGURATION SKIPPED 18:28:38.679 [main ] INFO it.tidalwave.io.FileUtilsTest - *************************************** 18:28:38.679 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test with filter and collector 1" 18:28:38.679 [main ] INFO it.tidalwave.io.FileUtilsTest - *************************************** 18:28:38.685 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured 18:28:38.685 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured at it.tidalwave.io.FileUtilsTest.lambda$init$1(FileUtilsTest.java:79) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at it.tidalwave.io.FileUtilsTest.init(FileUtilsTest.java:79) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:71) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:400) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:333) at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:188) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:739) at org.testng.TestRunner.run(TestRunner.java:614) at org.testng.SuiteRunner.runTest(SuiteRunner.java:421) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373) at org.testng.SuiteRunner.run(SuiteRunner.java:312) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274) at org.testng.TestNG.runSuitesLocally(TestNG.java:1208) at org.testng.TestNG.runSuites(TestNG.java:1112) at org.testng.TestNG.run(TestNG.java:1079) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:102) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:91) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 18:28:38.686 [main ] INFO it.tidalwave.io.FileUtilsTest - 18:28:38.693 [main ] WARN it.tidalwave.io.FileUtilsTest - CONFIGURATION SKIPPED 18:28:38.693 [main ] INFO it.tidalwave.io.FileUtilsTest - *************************************** 18:28:38.693 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test with filter and collector 2" 18:28:38.693 [main ] INFO it.tidalwave.io.FileUtilsTest - *************************************** 18:28:38.694 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured 18:28:38.694 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured at it.tidalwave.io.FileUtilsTest.lambda$init$1(FileUtilsTest.java:79) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at it.tidalwave.io.FileUtilsTest.init(FileUtilsTest.java:79) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:71) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:400) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:333) at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:188) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:739) at org.testng.TestRunner.run(TestRunner.java:614) at org.testng.SuiteRunner.runTest(SuiteRunner.java:421) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373) at org.testng.SuiteRunner.run(SuiteRunner.java:312) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274) at org.testng.TestNG.runSuitesLocally(TestNG.java:1208) at org.testng.TestNG.runSuites(TestNG.java:1112) at org.testng.TestNG.run(TestNG.java:1079) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:102) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:91) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 18:28:38.694 [main ] INFO it.tidalwave.io.FileUtilsTest - 18:28:38.707 [main ] WARN it.tidalwave.io.FileUtilsTest - CONFIGURATION SKIPPED 18:28:38.708 [main ] INFO it.tidalwave.io.FileUtilsTest - ************************************** 18:28:38.708 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST "test with filter and consumer 1" 18:28:38.708 [main ] INFO it.tidalwave.io.FileUtilsTest - ************************************** 18:28:38.709 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured 18:28:38.709 [main ] INFO it.tidalwave.io.FileUtilsTest - TEST SKIPPED java.io.IOException: TEST_SET_20241121_1034 not configured at it.tidalwave.io.FileUtilsTest.lambda$init$1(FileUtilsTest.java:79) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at it.tidalwave.io.FileUtilsTest.init(FileUtilsTest.java:79) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:71) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:400) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:333) at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:188) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:739) at org.testng.TestRunner.run(TestRunner.java:614) at org.testng.SuiteRunner.runTest(SuiteRunner.java:421) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373) at org.testng.SuiteRunner.run(SuiteRunner.java:312) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274) at org.testng.TestNG.runSuitesLocally(TestNG.java:1208) at org.testng.TestNG.runSuites(TestNG.java:1112) at org.testng.TestNG.run(TestNG.java:1079) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:102) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:91) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) 18:28:38.709 [main ] INFO it.tidalwave.io.FileUtilsTest - 18:28:38.721 [main ] INFO it.tidalwave.io.FileUtilsTest - FINISHED TESTS OF it.tidalwave.io.FileUtilsTest [ERROR] Tests run: 13, Failures: 1, Errors: 0, Skipped: 12, Time elapsed: 2.292 s <<< FAILURE! -- in it.tidalwave.io.FileUtilsTest [ERROR] it.tidalwave.io.FileUtilsTest.init -- Time elapsed: 1.704 s <<< FAILURE! java.io.IOException: TEST_SET_20241121_1034 not configured at it.tidalwave.io.FileUtilsTest.lambda$init$1(FileUtilsTest.java:79) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at it.tidalwave.io.FileUtilsTest.init(FileUtilsTest.java:79) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:71) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:400) at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:333) at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:188) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:739) at org.testng.TestRunner.run(TestRunner.java:614) at org.testng.SuiteRunner.runTest(SuiteRunner.java:421) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373) at org.testng.SuiteRunner.run(SuiteRunner.java:312) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274) at org.testng.TestNG.runSuitesLocally(TestNG.java:1208) at org.testng.TestNG.runSuites(TestNG.java:1112) at org.testng.TestNG.run(TestNG.java:1079) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:102) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:91) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] FileUtilsTest.init:79->lambda$init$1:79 IO TEST_SET_20241121_1034 not configured [INFO] [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 7 [INFO] [ERROR] There are test failures. See /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/surefire-reports/jacoco for the individual test results. See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [INFO] [INFO] --- jacoco:0.8.12:report (report) @ utilities --- [INFO] Loading execution data file /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/jacoco.exec [INFO] Analyzed bundle 'Photography Scripts - Extra Utilities' with 6 classes [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ utilities --- [INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/utilities-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar [INFO] [INFO] --- jar:3.4.2:test-jar (default-test-jar) @ utilities --- [INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/utilities-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a-tests.jar [INFO] [INFO] --- install:3.1.3:install (default-install) @ utilities --- [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/pom.xml to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/utilities/1.0-ALPHA-1-SNAPSHOT/utilities-1.0-ALPHA-1-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/utilities-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/utilities/1.0-ALPHA-1-SNAPSHOT/utilities-1.0-ALPHA-1-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/utilities-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a-tests.jar to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/utilities/1.0-ALPHA-1-SNAPSHOT/utilities-1.0-ALPHA-1-SNAPSHOT-tests.jar [INFO] [INFO] >>> spotbugs:4.8.6.6:check (default-cli) > :spotbugs @ utilities >>> [INFO] [INFO] --- spotbugs:4.8.6.6:spotbugs (spotbugs) @ utilities --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.6.6:check (default-cli) < :spotbugs @ utilities <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.6.6:check (default-cli) @ utilities --- [INFO] BugInstance size is 3 [INFO] Error size is 0 [INFO] Total bugs: 3 [ERROR] Medium: Exception thrown in class it.tidalwave.io.FileScanner at new it.tidalwave.io.FileScanner(Collection, List, boolean, Predicate, Consumer, Collector, Comparator, FileUtils$ScanListener) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.io.FileScanner, it.tidalwave.io.FileScanner] At FileScanner.java:[line 56]At FileScanner.java:[line 56] CT_CONSTRUCTOR_THROW [ERROR] Medium: Possible null pointer dereference in it.tidalwave.io.FileUtils.extensionOf(Path) due to return value of called method [it.tidalwave.io.FileUtils, it.tidalwave.io.FileUtils] Dereferenced at FileUtils.java:[line 141]Known null at FileUtils.java:[line 141] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Possible null pointer dereference in it.tidalwave.io.FileUtils.nameOf(Path) due to return value of called method [it.tidalwave.io.FileUtils, it.tidalwave.io.FileUtils] Dereferenced at FileUtils.java:[line 151]Known null at FileUtils.java:[line 151] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] -----------< it.tidalwave.photography.captureone:captureone >----------- [INFO] Building Photography Scripts - Capture One 1.0-ALPHA-1-SNAPSHOT [4/6] [INFO] from modules/CaptureOne/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/glassfish/jakarta.json/2.0.1/jakarta.json-2.0.1.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/glassfish/jakarta.json/2.0.1/jakarta.json-2.0.1.pom (12 kB at 18 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/glassfish/json/2.0.1/json-2.0.1.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/glassfish/json/2.0.1/json-2.0.1.pom (19 kB at 29 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/glassfish/jakarta.json/2.0.1/jakarta.json-2.0.1.jar [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/glassfish/jakarta.json/2.0.1/jakarta.json-2.0.1.jar (144 kB at 208 kB/s) [INFO] [INFO] --- clean:3.4.0:clean (default-clean) @ captureone --- [INFO] Deleting /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ captureone --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064928987 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne [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/PhotographyScripts_Metrics/workspace/modules/CaptureOne' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ captureone --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ captureone --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ captureone --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ captureone --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ captureone --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ captureone --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 11 source files with javac [forked debug deprecation release 21] to target/classes [WARNING] on the class path. A future release of javac may disable annotation processing unless at least one processor is specified by name (-processor), or a search path is specified (--processor-path, --processor-module-path), or annotation processing is enabled explicitly (-proc:only, -proc:full). Use -Xlint:-options to suppress this message. Use -proc:none to disable annotation processing. /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/src/main/java/it/tidalwave/captureone/C1.java:[42,7] [try] auto-closeable resource C1 has a member method close() that could throw InterruptedException [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/src/main/java/it/tidalwave/captureone/impl/AppleScriptC1.java:[61,7] [try] auto-closeable resource AppleScriptC1 has a member method close() that could throw InterruptedException [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/src/main/java/it/tidalwave/util/ProcessExecutorException.java:[42,7] [serial] serializable class ProcessExecutorException has no definition of serialVersionUID [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/src/main/java/it/tidalwave/util/ProcessExecutorException.java:[50,31] [serial] non-transient instance field of a serializable class declared with a non-serializable type [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/src/main/java/it/tidalwave/util/ProcessExecutorException.java:[54,31] [serial] non-transient instance field of a serializable class declared with a non-serializable type [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ captureone --- [INFO] Copying 3 resources from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ captureone --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [forked debug deprecation release 21] to target/test-classes [INFO] [INFO] --- surefire:3.5.2:test (default-test) @ captureone --- [INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running TestSuite 18:28:58.861 [main ] INFO i.t.captureone.impl.AppleScriptC1CollectionTest - STARTING TESTS OF it.tidalwave.captureone.impl.AppleScriptC1CollectionTest 18:28:58.906 [main ] INFO i.t.captureone.impl.AppleScriptC1CollectionTest - FINISHED TESTS OF it.tidalwave.captureone.impl.AppleScriptC1CollectionTest [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.711 s -- in TestSuite [INFO] [INFO] Results: [INFO] [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco:0.8.12:report (report) @ captureone --- [INFO] Loading execution data file /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target/jacoco.exec [INFO] Analyzed bundle 'Photography Scripts - Capture One' with 16 classes [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ captureone --- [INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target/captureone-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar [INFO] [INFO] --- jar:3.4.2:test-jar (default-test-jar) @ captureone --- [INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target/captureone-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a-tests.jar [INFO] [INFO] --- install:3.1.3:install (default-install) @ captureone --- [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/pom.xml to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/captureone/captureone/1.0-ALPHA-1-SNAPSHOT/captureone-1.0-ALPHA-1-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target/captureone-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/captureone/captureone/1.0-ALPHA-1-SNAPSHOT/captureone-1.0-ALPHA-1-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target/captureone-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a-tests.jar to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/captureone/captureone/1.0-ALPHA-1-SNAPSHOT/captureone-1.0-ALPHA-1-SNAPSHOT-tests.jar [INFO] [INFO] >>> spotbugs:4.8.6.6:check (default-cli) > :spotbugs @ captureone >>> [INFO] [INFO] --- spotbugs:4.8.6.6:spotbugs (spotbugs) @ captureone --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.6.6:check (default-cli) < :spotbugs @ captureone <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.6.6:check (default-cli) @ captureone --- [INFO] BugInstance size is 58 [INFO] Error size is 0 [INFO] Total bugs: 58 [ERROR] Medium: Redundant nullcheck of this$constructor, which is known to be non-null in it.tidalwave.captureone.C1Collection$PathSupport.equals(Object) [it.tidalwave.captureone.C1Collection$PathSupport] Redundant null check at C1Collection.java:[line 76] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of this$items, which is known to be non-null in it.tidalwave.captureone.C1Collection$PathSupport.equals(Object) [it.tidalwave.captureone.C1Collection$PathSupport] Redundant null check at C1Collection.java:[line 76] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of $constructor, which is known to be non-null in it.tidalwave.captureone.C1Collection$PathSupport.hashCode() [it.tidalwave.captureone.C1Collection$PathSupport] Redundant null check at C1Collection.java:[line 76] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of $items, which is known to be non-null in it.tidalwave.captureone.C1Collection$PathSupport.hashCode() [it.tidalwave.captureone.C1Collection$PathSupport] Redundant null check at C1Collection.java:[line 76] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Exception thrown in class it.tidalwave.captureone.impl.AppleScriptC1 at new it.tidalwave.captureone.impl.AppleScriptC1() will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.captureone.impl.AppleScriptC1, it.tidalwave.captureone.impl.AppleScriptC1] At AppleScriptC1.java:[line 87]At AppleScriptC1.java:[line 87] CT_CONSTRUCTOR_THROW [ERROR] Low: Usage of GetResource in new it.tidalwave.captureone.impl.AppleScriptC1() may be unsafe if class is extended [it.tidalwave.captureone.impl.AppleScriptC1] At AppleScriptC1.java:[line 80] UI_INHERITANCE_UNSAFE_GETRESOURCE [ERROR] Medium: Exception thrown in class it.tidalwave.captureone.impl.AppleScriptC1Collection at new it.tidalwave.captureone.impl.AppleScriptC1Collection(String, Id, C1Collection$Kind, boolean, C1Collection$NamePath, C1Collection$IdPath) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.captureone.impl.AppleScriptC1Collection, it.tidalwave.captureone.impl.AppleScriptC1Collection] At AppleScriptC1Collection.java:[line 48]At AppleScriptC1Collection.java:[line 48] CT_CONSTRUCTOR_THROW [ERROR] Medium: it.tidalwave.captureone.impl.AppleScriptC1Collection.getC1() may expose internal representation by returning AppleScriptC1Collection.c1 [it.tidalwave.captureone.impl.AppleScriptC1Collection] At AppleScriptC1Collection.java:[line 51] EI_EXPOSE_REP [ERROR] Medium: Redundant nullcheck of this$id, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Collection.equals(Object) [it.tidalwave.captureone.impl.AppleScriptC1Collection] Redundant null check at AppleScriptC1Collection.java:[line 48] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of this$kind, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Collection.equals(Object) [it.tidalwave.captureone.impl.AppleScriptC1Collection] Redundant null check at AppleScriptC1Collection.java:[line 48] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of this$name, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Collection.equals(Object) [it.tidalwave.captureone.impl.AppleScriptC1Collection] Redundant null check at AppleScriptC1Collection.java:[line 48] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of $id, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Collection.hashCode() [it.tidalwave.captureone.impl.AppleScriptC1Collection] Redundant null check at AppleScriptC1Collection.java:[line 48] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of $kind, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Collection.hashCode() [it.tidalwave.captureone.impl.AppleScriptC1Collection] Redundant null check at AppleScriptC1Collection.java:[line 48] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of $name, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Collection.hashCode() [it.tidalwave.captureone.impl.AppleScriptC1Collection] Redundant null check at AppleScriptC1Collection.java:[line 48] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Exception thrown in class it.tidalwave.captureone.impl.AppleScriptC1Variant at new it.tidalwave.captureone.impl.AppleScriptC1Variant(String, Id, int, C1Variant$ColorTag) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.captureone.impl.AppleScriptC1Variant, it.tidalwave.captureone.impl.AppleScriptC1Variant] At AppleScriptC1Variant.java:[line 42]At AppleScriptC1Variant.java:[line 42] CT_CONSTRUCTOR_THROW [ERROR] Medium: Redundant nullcheck of this$colorTag, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Variant.equals(Object) [it.tidalwave.captureone.impl.AppleScriptC1Variant] Redundant null check at AppleScriptC1Variant.java:[line 42] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of this$id, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Variant.equals(Object) [it.tidalwave.captureone.impl.AppleScriptC1Variant] Redundant null check at AppleScriptC1Variant.java:[line 42] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of this$name, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Variant.equals(Object) [it.tidalwave.captureone.impl.AppleScriptC1Variant] Redundant null check at AppleScriptC1Variant.java:[line 42] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of $colorTag, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Variant.hashCode() [it.tidalwave.captureone.impl.AppleScriptC1Variant] Redundant null check at AppleScriptC1Variant.java:[line 42] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of $id, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Variant.hashCode() [it.tidalwave.captureone.impl.AppleScriptC1Variant] Redundant null check at AppleScriptC1Variant.java:[line 42] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Redundant nullcheck of $name, which is known to be non-null in it.tidalwave.captureone.impl.AppleScriptC1Variant.hashCode() [it.tidalwave.captureone.impl.AppleScriptC1Variant] Redundant null check at AppleScriptC1Variant.java:[line 42] RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE [ERROR] Medium: Exception thrown in class it.tidalwave.captureone.impl.C1Batch at new it.tidalwave.captureone.impl.C1Batch(PrintWriter) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.captureone.impl.C1Batch, it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 48]At C1Batch.java:[line 48] CT_CONSTRUCTOR_THROW [ERROR] Medium: it.tidalwave.captureone.impl.C1Batch.getPw() may expose internal representation by returning C1Batch.pw [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 51] EI_EXPOSE_REP [ERROR] Medium: new it.tidalwave.captureone.impl.C1Batch(PrintWriter) may expose internal representation by storing an externally mutable object into C1Batch.pw [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 48] EI_EXPOSE_REP2 [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.close() [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 76] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.connect() [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 66] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.connect() [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 67] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.createDateCollection(String, String, LocalDate) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 224] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.createDateRangeCollection(String, String, LocalDate, LocalDate) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 259] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.endTryCatch(String) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 346] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgress(int) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 309] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgress(int) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 320] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgress(int) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 325] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgress(int) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 319] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgress(int) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 313] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgress(int) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 326] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgress(int) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 321] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgress(int) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 305] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgressAdditionalText(String, Object[]) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 296] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgressText(String, Object[]) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 287] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.captureone.impl.C1Batch.setProgressTotalUnits(int) [it.tidalwave.captureone.impl.C1Batch] At C1Batch.java:[line 278] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Exception thrown in class it.tidalwave.captureone.impl.FakeC1Collection at new it.tidalwave.captureone.impl.FakeC1Collection(String, C1Collection$Kind) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.captureone.impl.FakeC1Collection, it.tidalwave.captureone.impl.FakeC1Collection] At FakeC1Collection.java:[line 42]At FakeC1Collection.java:[line 42] CT_CONSTRUCTOR_THROW [ERROR] Medium: it.tidalwave.util.ProcessExecutorException.getStderr() may expose internal representation by returning ProcessExecutorException.stderr [it.tidalwave.util.ProcessExecutorException] At ProcessExecutorException.java:[line 53] EI_EXPOSE_REP [ERROR] Medium: it.tidalwave.util.ProcessExecutorException.getStdout() may expose internal representation by returning ProcessExecutorException.stdout [it.tidalwave.util.ProcessExecutorException] At ProcessExecutorException.java:[line 49] EI_EXPOSE_REP [ERROR] High: Found reliance on default encoding in it.tidalwave.util.impl.DefaultProcessExecutor.start(): new java.io.PrintWriter(OutputStream, boolean) [it.tidalwave.util.impl.DefaultProcessExecutor] At DefaultProcessExecutor.java:[line 328] DM_DEFAULT_ENCODING [ERROR] Medium: it.tidalwave.util.impl.DefaultProcessExecutor.getStderr() may expose internal representation by returning DefaultProcessExecutor.stderr [it.tidalwave.util.impl.DefaultProcessExecutor] At DefaultProcessExecutor.java:[line 251] EI_EXPOSE_REP [ERROR] Medium: it.tidalwave.util.impl.DefaultProcessExecutor.getStdout() may expose internal representation by returning DefaultProcessExecutor.stdout [it.tidalwave.util.impl.DefaultProcessExecutor] At DefaultProcessExecutor.java:[line 247] EI_EXPOSE_REP [ERROR] Low: DefaultProcessExecutor.process not initialized in constructor and dereferenced in it.tidalwave.util.impl.DefaultProcessExecutor.waitForCompletion() [it.tidalwave.util.impl.DefaultProcessExecutor] At DefaultProcessExecutor.java:[line 342] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Low: DefaultProcessExecutor.process not initialized in constructor and dereferenced in it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput.waitFor(String) [it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput] At DefaultProcessExecutor.java:[line 179] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Low: DefaultProcessExecutor.stderr not initialized in constructor and dereferenced in it.tidalwave.util.impl.DefaultProcessExecutor.waitForCompletion() [it.tidalwave.util.impl.DefaultProcessExecutor] At DefaultProcessExecutor.java:[line 356] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Low: DefaultProcessExecutor.stdin not initialized in constructor and dereferenced in it.tidalwave.util.impl.DefaultProcessExecutor.send(String) [it.tidalwave.util.impl.DefaultProcessExecutor] At DefaultProcessExecutor.java:[line 377] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Low: DefaultProcessExecutor.stdout not initialized in constructor and dereferenced in it.tidalwave.util.impl.DefaultProcessExecutor.waitForCompletion() [it.tidalwave.util.impl.DefaultProcessExecutor] At DefaultProcessExecutor.java:[line 355] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Medium: Exception thrown in class it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput at new it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput(DefaultProcessExecutor, String, InputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput, it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput] At DefaultProcessExecutor.java:[line 67]At DefaultProcessExecutor.java:[line 67] CT_CONSTRUCTOR_THROW [ERROR] High: Found reliance on default encoding in it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput.read(): new java.io.InputStreamReader(InputStream) [it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput] At DefaultProcessExecutor.java:[line 214] DM_DEFAULT_ENCODING [ERROR] Medium: it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput.getContent() may expose internal representation by returning DefaultProcessExecutor$DefaultConsoleOutput.content [it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput] At DefaultProcessExecutor.java:[line 76] EI_EXPOSE_REP [ERROR] Medium: Naked notify in it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput.read() [it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput] At DefaultProcessExecutor.java:[line 230] NN_NAKED_NOTIFY [ERROR] Low: Exceptional return value of java.util.concurrent.ExecutorService.submit(Runnable) ignored in it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput.start() [it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput] At DefaultProcessExecutor.java:[line 108] RV_RETURN_VALUE_IGNORED_BAD_PRACTICE [ERROR] Low: Unconditional wait in it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput.waitFor(String) [it.tidalwave.util.impl.DefaultProcessExecutor$DefaultConsoleOutput] At DefaultProcessExecutor.java:[line 186] UW_UNCOND_WAIT [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] -------------------< it.tidalwave.photography:core >-------------------- [INFO] Building Photography Scripts - Core 1.0-ALPHA-1-SNAPSHOT [5/6] [INFO] from modules/Core/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- clean:3.4.0:clean (default-clean) @ core --- [INFO] Deleting /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ core --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064948939 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core [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/PhotographyScripts_Metrics/workspace/modules/Core' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ core --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ core --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ core --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ core --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ core --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/src/main/resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ core --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 7 source files with javac [forked debug deprecation release 21] to target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ core --- [INFO] Copying 8 resources from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ core --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [forked debug deprecation release 21] to target/test-classes [INFO] [INFO] --- surefire:3.5.2:test (default-test) @ core --- [INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running TestSuite 18:29:17.187 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - STARTING TESTS OF it.tidalwave.photography.core.keywords.KeywordLoaderTest 18:29:17.304 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ************************ 18:29:17.305 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - TEST "test" 18:29:17.305 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ARGS [20060422-0154.xmp] 18:29:17.305 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ************************ 18:29:17.469 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - ******** Comparing files: 18:29:17.470 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> path is: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/ 18:29:17.470 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> exp is: src/test/resources/expected-results/20060422-0154.txt 18:29:17.470 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> act is: target/test-results/20060422-0154.txt 18:29:17.500 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - TEST PASSED in 193 msec 18:29:17.501 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - 18:29:17.505 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ************************ 18:29:17.506 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - TEST "test" 18:29:17.506 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ARGS [20210612-0040.xmp] 18:29:17.506 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ************************ 18:29:17.598 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - ******** Comparing files: 18:29:17.599 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> path is: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/ 18:29:17.599 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> exp is: src/test/resources/expected-results/20210612-0040.txt 18:29:17.599 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> act is: target/test-results/20210612-0040.txt 18:29:17.600 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - TEST PASSED in 95 msec 18:29:17.601 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - 18:29:17.603 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ************************ 18:29:17.603 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - TEST "test" 18:29:17.603 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ARGS [20221126-0001.xmp] 18:29:17.603 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ************************ 18:29:17.684 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - ******** Comparing files: 18:29:17.685 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> path is: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/ 18:29:17.688 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> exp is: src/test/resources/expected-results/20221126-0001.txt 18:29:17.688 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> act is: target/test-results/20221126-0001.txt 18:29:17.689 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - TEST PASSED in 86 msec 18:29:17.689 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - 18:29:17.690 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ************************ 18:29:17.691 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - TEST "test" 18:29:17.691 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ARGS [20221126-0117.xmp] 18:29:17.691 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - ************************ 18:29:17.805 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - ******** Comparing files: 18:29:17.805 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> path is: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/ 18:29:17.805 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> exp is: src/test/resources/expected-results/20221126-0117.txt 18:29:17.806 [main ] INFO it.tidalwave.util.test.FileComparisonUtils - >>>> act is: target/test-results/20221126-0117.txt 18:29:17.814 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - TEST PASSED in 116 msec 18:29:17.814 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - 18:29:17.826 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - ******************* 18:29:17.827 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - TEST "test getPath" 18:29:17.828 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - ******************* 18:29:17.836 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - TEST PASSED in 11 msec 18:29:17.837 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - 18:29:17.838 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - *************************** 18:29:17.838 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - TEST "test getPathAsString" 18:29:17.838 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - *************************** 18:29:17.839 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - TEST PASSED in 0 msec 18:29:17.839 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - 18:29:17.844 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - ************************* 18:29:17.845 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - TEST "toString must work" 18:29:17.845 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - ************************* 18:29:17.846 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - TEST PASSED in 2 msec 18:29:17.846 [main ] INFO i.tidalwave.photography.core.keywords.KeywordTest - 18:29:17.847 [main ] INFO i.t.photography.core.keywords.KeywordLoaderTest - FINISHED TESTS OF it.tidalwave.photography.core.keywords.KeywordLoaderTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.039 s -- in TestSuite [INFO] [INFO] Results: [INFO] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jacoco:0.8.12:report (report) @ core --- [INFO] Loading execution data file /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target/jacoco.exec [INFO] Analyzed bundle 'Photography Scripts - Core' with 8 classes [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ core --- [INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target/core-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar [INFO] [INFO] --- jar:3.4.2:test-jar (default-test-jar) @ core --- [INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target/core-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a-tests.jar [INFO] [INFO] --- install:3.1.3:install (default-install) @ core --- [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/pom.xml to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/core/1.0-ALPHA-1-SNAPSHOT/core-1.0-ALPHA-1-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target/core-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/core/1.0-ALPHA-1-SNAPSHOT/core-1.0-ALPHA-1-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target/core-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a-tests.jar to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/core/1.0-ALPHA-1-SNAPSHOT/core-1.0-ALPHA-1-SNAPSHOT-tests.jar [INFO] [INFO] >>> spotbugs:4.8.6.6:check (default-cli) > :spotbugs @ core >>> [INFO] [INFO] --- spotbugs:4.8.6.6:spotbugs (spotbugs) @ core --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.6.6:check (default-cli) < :spotbugs @ core <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.6.6:check (default-cli) @ core --- [INFO] BugInstance size is 7 [INFO] Error size is 0 [INFO] Total bugs: 7 [ERROR] Medium: Exception thrown in class it.tidalwave.photography.core.keywords.Keyword at new it.tidalwave.photography.core.keywords.Keyword(Optional, String, List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.core.keywords.Keyword, it.tidalwave.photography.core.keywords.Keyword] At Keyword.java:[line 49]At Keyword.java:[line 49] CT_CONSTRUCTOR_THROW [ERROR] Medium: it.tidalwave.photography.core.keywords.Keyword.getSynonyms() may expose internal representation by returning Keyword.synonyms [it.tidalwave.photography.core.keywords.Keyword] At Keyword.java:[line 59] EI_EXPOSE_REP [ERROR] Medium: new it.tidalwave.photography.core.keywords.Keyword(Optional, String, List) may expose internal representation by storing an externally mutable object into Keyword.synonyms [it.tidalwave.photography.core.keywords.Keyword] At Keyword.java:[line 49] EI_EXPOSE_REP2 [ERROR] Medium: it.tidalwave.photography.core.keywords.Keyword defines compareTo(Keyword) and uses Object.equals() [it.tidalwave.photography.core.keywords.Keyword] At Keyword.java:[line 93] EQ_COMPARETO_USE_OBJECT_EQUALS [ERROR] Low: KeywordLoader.parser not initialized in constructor and dereferenced in it.tidalwave.photography.core.keywords.KeywordLoader.processBagLi(Node, KeywordContainer) [it.tidalwave.photography.core.keywords.KeywordLoader] At KeywordLoader.java:[line 83] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Low: KeywordLoader.parser not initialized in constructor and dereferenced in it.tidalwave.photography.core.keywords.KeywordLoader.processItem(Node, KeywordContainer) [it.tidalwave.photography.core.keywords.KeywordLoader] At KeywordLoader.java:[line 92] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Medium: Exception thrown in class it.tidalwave.photography.core.keywords.impl.XPathXmpParser at new it.tidalwave.photography.core.keywords.impl.XPathXmpParser(InputStream) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.core.keywords.impl.XPathXmpParser, it.tidalwave.photography.core.keywords.impl.XPathXmpParser] At XPathXmpParser.java:[line 87]At XPathXmpParser.java:[line 87] CT_CONSTRUCTOR_THROW [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] -------------------< it.tidalwave.photography:tools >------------------- [INFO] Building Photography Scripts - Tools 1.0-ALPHA-1-SNAPSHOT [6/6] [INFO] from modules/Tools/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/boot/spring-boot-starter-batch/3.4.1/spring-boot-starter-batch-3.4.1.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/boot/spring-boot-starter-batch/3.4.1/spring-boot-starter-batch-3.4.1.pom (2.5 kB at 1.7 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/batch/spring-batch-core/5.2.1/spring-batch-core-5.2.1.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/batch/spring-batch-core/5.2.1/spring-batch-core-5.2.1.pom (6.8 kB at 10 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/batch/spring-batch-infrastructure/5.2.1/spring-batch-infrastructure-5.2.1.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/batch/spring-batch-infrastructure/5.2.1/spring-batch-infrastructure-5.2.1.pom (10 kB at 16 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/retry/spring-retry/2.0.11/spring-retry-2.0.11.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/retry/spring-retry/2.0.11/spring-retry-2.0.11.pom (10.0 kB at 16 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/spring-framework-bom/6.0.23/spring-framework-bom-6.0.23.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/spring-framework-bom/6.0.23/spring-framework-bom-6.0.23.pom (5.8 kB at 8.7 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/apache/logging/log4j/log4j-bom/2.24.2/log4j-bom-2.24.2.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/apache/logging/log4j/log4j-bom/2.24.2/log4j-bom-2.24.2.pom (12 kB at 35 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/io/micrometer/micrometer-core/1.14.2/micrometer-core-1.14.2.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/io/micrometer/micrometer-core/1.14.2/micrometer-core-1.14.2.pom (11 kB at 17 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/hdrhistogram/HdrHistogram/2.2.2/HdrHistogram-2.2.2.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/hdrhistogram/HdrHistogram/2.2.2/HdrHistogram-2.2.2.pom (13 kB at 15 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.pom [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.pom (7.2 kB at 11 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/boot/spring-boot-starter-batch/3.4.1/spring-boot-starter-batch-3.4.1.jar [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/boot/spring-boot-starter-batch/3.4.1/spring-boot-starter-batch-3.4.1.jar (4.7 kB at 6.8 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/batch/spring-batch-core/5.2.1/spring-batch-core-5.2.1.jar [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/batch/spring-batch-infrastructure/5.2.1/spring-batch-infrastructure-5.2.1.jar [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/retry/spring-retry/2.0.11/spring-retry-2.0.11.jar [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/io/micrometer/micrometer-core/1.14.2/micrometer-core-1.14.2.jar [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/hdrhistogram/HdrHistogram/2.2.2/HdrHistogram-2.2.2.jar [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/batch/spring-batch-core/5.2.1/spring-batch-core-5.2.1.jar (712 kB at 971 kB/s) [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/retry/spring-retry/2.0.11/spring-retry-2.0.11.jar (157 kB at 206 kB/s) [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/io/micrometer/micrometer-core/1.14.2/micrometer-core-1.14.2.jar (876 kB at 998 kB/s) [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/hdrhistogram/HdrHistogram/2.2.2/HdrHistogram-2.2.2.jar (177 kB at 190 kB/s) [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/springframework/batch/spring-batch-infrastructure/5.2.1/spring-batch-infrastructure-5.2.1.jar (529 kB at 557 kB/s) [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/latencyutils/LatencyUtils/2.0.3/LatencyUtils-2.0.3.jar (30 kB at 21 kB/s) [INFO] [INFO] --- clean:3.4.0:clean (default-clean) @ tools --- [INFO] Deleting /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ tools --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064973067 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools [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/PhotographyScripts_Metrics/workspace/modules/Tools' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ tools --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ tools --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ tools --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ tools --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ tools --- [INFO] Copying 2 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ tools --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 22 source files with javac [forked debug deprecation release 21] to target/classes [WARNING] on the class path. A future release of javac may disable annotation processing unless at least one processor is specified by name (-processor), or a search path is specified (--processor-path, --processor-module-path), or annotation processing is enabled explicitly (-proc:only, -proc:full). Use -Xlint:-options to suppress this message. Use -proc:none to disable annotation processing. /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/model/Photo.java:[50,42] [this-escape] possible 'this' escape before subclass is fully initialized [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/LoggingDataSourceTransactionManager.java:[12,7] [serial] serializable class LoggingDataSourceTransactionManager has no definition of serialVersionUID [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/batch/FileScanItemReader.java:[63,47] [unchecked] unchecked cast required: T found: Path where T is a type-variable: T extends Object declared in method <T>$default$mapper() [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/batch/FileScanItemReader.java:[66,58] [unchecked] unchecked conversion required: Collector<Path,?,List<T>> found: Collector where T is a type-variable: T extends Object declared in method <T>$default$collector() [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/catalog/ImportCatalog.java:[69,16] [unchecked] unchecked conversion required: FunctionalScanListener<List<Photo>> found: FunctionalScanListener [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/PruneConfiguration.java:[275,65] [unchecked] unchecked cast required: List<Photo> found: Object [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/PruneConfiguration.java:[286,65] [unchecked] unchecked cast required: List<Photo> found: Object [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/PruneConfiguration.java:[382,16] [removal] throttleLimit(int) in AbstractTaskletStepBuilder has been deprecated and marked for removal where B is a type-variable: B extends AbstractTaskletStepBuilder<B> declared in class AbstractTaskletStepBuilder [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[64,16] [unchecked] unchecked conversion required: FunctionalScanListener<List<Photo>> found: FunctionalScanListener [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[145,42] [unchecked] unchecked method invocation: method listener in class FileScanItemReaderBuilder is applied to given types required: ScanListener<List<T>> found: ScanListener where T is a type-variable: T extends Object declared in class FileScanItemReaderBuilder [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[145,43] [unchecked] unchecked conversion required: ScanListener<List<T>> found: ScanListener where T is a type-variable: T extends Object declared in class FileScanItemReaderBuilder [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[146,39] [unchecked] unchecked conversion required: FileScanItemReader<Path> found: FileScanItemReader [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ tools --- [INFO] Copying 17 resources from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ tools --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [forked debug deprecation release 21] to target/test-classes [INFO] [INFO] --- surefire:3.5.2:test (default-test) @ tools --- [INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running it.tidalwave.photography.tools.catalog.ImportCatalogTest 18:29:42,663 |-INFO in ch.qos.logback.classic.LoggerContext[default] - This is logback-classic version 1.5.12 18:29:42,674 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - Here is a list of configurators discovered as a service, by rank: 18:29:42,674 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - org.springframework.boot.logging.logback.RootLogLevelConfigurator 18:29:42,674 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - They will be invoked in order until ExecutionStatus.DO_NOT_INVOKE_NEXT_IF_ANY is returned. 18:29:42,674 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - Constructed configurator of type class org.springframework.boot.logging.logback.RootLogLevelConfigurator 18:29:42,695 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - org.springframework.boot.logging.logback.RootLogLevelConfigurator.configure() call lasted 0 milliseconds. ExecutionStatus=INVOKE_NEXT_IF_ANY 18:29:42,695 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - Trying to configure with ch.qos.logback.classic.joran.SerializedModelConfigurator 18:29:42,702 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - Constructed configurator of type class ch.qos.logback.classic.joran.SerializedModelConfigurator 18:29:42,705 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.scmo] 18:29:42,711 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.scmo] 18:29:42,711 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - ch.qos.logback.classic.joran.SerializedModelConfigurator.configure() call lasted 9 milliseconds. ExecutionStatus=INVOKE_NEXT_IF_ANY 18:29:42,711 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - Trying to configure with ch.qos.logback.classic.util.DefaultJoranConfigurator 18:29:42,712 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - Constructed configurator of type class ch.qos.logback.classic.util.DefaultJoranConfigurator 18:29:42,720 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback-test.xml] at [file:/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/test-classes/logback-test.xml] 18:29:42,721 |-WARN in ch.qos.logback.classic.util.DefaultJoranConfigurator@117e0fe5 - Resource [logback-test.xml] occurs multiple times on the classpath. 18:29:42,722 |-WARN in ch.qos.logback.classic.util.DefaultJoranConfigurator@117e0fe5 - Resource [logback-test.xml] occurs at [file:/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/test-classes/logback-test.xml] 18:29:42,722 |-WARN in ch.qos.logback.classic.util.DefaultJoranConfigurator@117e0fe5 - Resource [logback-test.xml] occurs at [jar:file:/var/jenkins_home/maven-repositories/executors/0/it/tidalwave/thesefoolishthings/it-tidalwave-util-test/3.2-ALPHA-24/it-tidalwave-util-test-3.2-ALPHA-24.jar!/logback-test.xml] 18:29:43,000 |-INFO in ch.qos.logback.classic.model.processor.ConfigurationModelHandlerFull - Registering a new ReconfigureOnChangeTask ReconfigureOnChangeTask(born:1735064982998) 18:29:43,008 |-INFO in ch.qos.logback.classic.model.processor.ConfigurationModelHandlerFull - Will scan for changes in [ConfigurationWatchList(mainURL=file:/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/test-classes/logback-test.xml, fileWatchList={/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/test-classes/logback-test.xml}, urlWatchList=[})] 18:29:43,008 |-INFO in ch.qos.logback.classic.model.processor.ConfigurationModelHandlerFull - Setting ReconfigureOnChangeTask scanning period to 30 seconds 18:29:43,025 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - Processing appender named [FILE] 18:29:43,026 |-INFO in ch.qos.logback.core.model.processor.AppenderModelHandler - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender] 18:29:43,162 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@413373997 - No compression will be used 18:29:43,165 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@413373997 - Will use the pattern target/test-log.%d{yyyy-MM-dd}.log for the active file 18:29:43,242 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern 'target/test-log.%d{yyyy-MM-dd}.log'. 18:29:43,242 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight. 18:29:43,255 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to 2024-12-24T18:29:43.255Z 18:29:43,258 |-INFO in ch.qos.logback.core.model.processor.ImplicitModelHandler - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 18:29:43,298 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - Active log file name: target/test-log.2024-12-24.log 18:29:43,298 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - File property is set to [null] 18:29:43,300 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [it] to INFO 18:29:43,300 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org] to INFO 18:29:43,300 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.springframework] to INFO 18:29:43,301 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [it.tidalwave.util.spi.FinderSupport] to INFO 18:29:43,301 |-INFO in ch.qos.logback.classic.model.processor.RootLoggerModelHandler - Setting level of ROOT logger to TRACE 18:29:43,301 |-INFO in ch.qos.logback.core.model.processor.AppenderRefModelHandler - Attaching appender named [FILE] to Logger[ROOT] 18:29:43,302 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@78aea4b9 - End of configuration. 18:29:43,303 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@2a65bb85 - Registering current configuration as safe fallback point 18:29:43,303 |-INFO in ch.qos.logback.classic.util.ContextInitializer@52500920 - ch.qos.logback.classic.util.DefaultJoranConfigurator.configure() call lasted 591 milliseconds. ExecutionStatus=DO_NOT_INVOKE_NEXT_IF_ANY [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.475 s <<< FAILURE! -- in it.tidalwave.photography.tools.catalog.ImportCatalogTest [ERROR] it.tidalwave.photography.tools.catalog.ImportCatalogTest.test[TEST_SET_20241121_1034](1) -- Time elapsed: 0.015 s <<< FAILURE! java.lang.NullPointerException at java.base/java.util.Objects.requireNonNull(Objects.java:233) at java.base/sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:296) at java.base/java.nio.file.Path.of(Path.java:148) at it.tidalwave.photography.tools.catalog.ImportCatalogTest.test(ImportCatalogTest.java:23) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:141) at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:686) at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:230) at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:63) at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:992) at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:203) at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:154) at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:134) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.testng.TestRunner.privateRun(TestRunner.java:739) at org.testng.TestRunner.run(TestRunner.java:614) at org.testng.SuiteRunner.runTest(SuiteRunner.java:421) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:413) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:373) at org.testng.SuiteRunner.run(SuiteRunner.java:312) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1274) at org.testng.TestNG.runSuitesLocally(TestNG.java:1208) at org.testng.TestNG.runSuites(TestNG.java:1112) at org.testng.TestNG.run(TestNG.java:1079) at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:155) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeSingleClass(TestNGDirectoryTestSuite.java:102) at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:91) at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:137) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495) [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] ImportCatalogTest.test:23 ยป NullPointer [INFO] [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0 [INFO] [ERROR] There are test failures. See /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/surefire-reports/jacoco for the individual test results. See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [INFO] [INFO] --- jacoco:0.8.12:report (report) @ tools --- [INFO] Loading execution data file /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/jacoco.exec [INFO] Analyzed bundle 'Photography Scripts - Tools' with 26 classes [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ tools --- [INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/tools-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar [INFO] [INFO] --- jar:3.4.2:test-jar (default-test-jar) @ tools --- [INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/tools-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a-tests.jar [INFO] [INFO] --- install:3.1.3:install (default-install) @ tools --- [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/pom.xml to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/tools/1.0-ALPHA-1-SNAPSHOT/tools-1.0-ALPHA-1-SNAPSHOT.pom [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/tools-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/tools/1.0-ALPHA-1-SNAPSHOT/tools-1.0-ALPHA-1-SNAPSHOT.jar [INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/tools-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a-tests.jar to /var/jenkins_home/maven-repositories/executors/0/it/tidalwave/photography/tools/1.0-ALPHA-1-SNAPSHOT/tools-1.0-ALPHA-1-SNAPSHOT-tests.jar [INFO] [INFO] >>> spotbugs:4.8.6.6:check (default-cli) > :spotbugs @ tools >>> [INFO] [INFO] --- spotbugs:4.8.6.6:spotbugs (spotbugs) @ tools --- [INFO] Fork Value is true [INFO] Done SpotBugs Analysis.... [INFO] [INFO] <<< spotbugs:4.8.6.6:check (default-cli) < :spotbugs @ tools <<< [INFO] [INFO] [INFO] --- spotbugs:4.8.6.6:check (default-cli) @ tools --- [INFO] BugInstance size is 41 [INFO] Error size is 0 [INFO] Total bugs: 41 [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.ConsoleListeners at new it.tidalwave.photography.tools.ConsoleListeners(PrintStream, Path) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.ConsoleListeners, it.tidalwave.photography.tools.ConsoleListeners] At ConsoleListeners.java:[line 51]At ConsoleListeners.java:[line 51] CT_CONSTRUCTOR_THROW [ERROR] Medium: new it.tidalwave.photography.tools.ConsoleListeners(PrintStream, Path) may expose internal representation by storing an externally mutable object into ConsoleListeners.ps [it.tidalwave.photography.tools.ConsoleListeners] At ConsoleListeners.java:[line 51] EI_EXPOSE_REP2 [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$1.lambda$new$0() [it.tidalwave.photography.tools.ConsoleListeners$1] At ConsoleListeners.java:[line 75] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$1.lambda$new$1(Path) [it.tidalwave.photography.tools.ConsoleListeners$1] At ConsoleListeners.java:[line 76] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$1.lambda$new$3(Optional) [it.tidalwave.photography.tools.ConsoleListeners$1] At ConsoleListeners.java:[line 78] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$2.lambda$new$0() [it.tidalwave.photography.tools.ConsoleListeners$2] At ConsoleListeners.java:[line 94] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$2.lambda$new$1(Path) [it.tidalwave.photography.tools.ConsoleListeners$2] At ConsoleListeners.java:[line 95] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$2.lambda$new$3(Optional) [it.tidalwave.photography.tools.ConsoleListeners$2] At ConsoleListeners.java:[line 100] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$3.lambda$new$0() [it.tidalwave.photography.tools.ConsoleListeners$3] At ConsoleListeners.java:[line 116] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$3.lambda$new$1(Path) [it.tidalwave.photography.tools.ConsoleListeners$3] At ConsoleListeners.java:[line 117] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$3.lambda$new$2(Path, Path) [it.tidalwave.photography.tools.ConsoleListeners$3] At ConsoleListeners.java:[line 118] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$3.lambda$new$3(Optional) [it.tidalwave.photography.tools.ConsoleListeners$3] At ConsoleListeners.java:[line 122] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$BatchListener.afterJob(JobExecution) [it.tidalwave.photography.tools.ConsoleListeners$BatchListener] At ConsoleListeners.java:[line 136] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$BatchListener.beforeStep(StepExecution) [it.tidalwave.photography.tools.ConsoleListeners$BatchListener] At ConsoleListeners.java:[line 146] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.ConsoleListeners$BatchListener.skipped(Photo, Throwable) [it.tidalwave.photography.tools.ConsoleListeners$BatchListener] At ConsoleListeners.java:[line 159] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Low: it.tidalwave.photography.tools.LoggingDataSourceTransactionManager is Serializable; consider declaring a serialVersionUID [it.tidalwave.photography.tools.LoggingDataSourceTransactionManager] At LoggingDataSourceTransactionManager.java:[lines 11-38] SE_NO_SERIALVERSIONID [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.batch.AccumulatorWriter at new it.tidalwave.photography.tools.batch.AccumulatorWriter(String) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.batch.AccumulatorWriter, it.tidalwave.photography.tools.batch.AccumulatorWriter] At AccumulatorWriter.java:[line 47]At AccumulatorWriter.java:[line 47] CT_CONSTRUCTOR_THROW [ERROR] Medium: Dead store to executionContext in it.tidalwave.photography.tools.batch.AccumulatorWriter.beforeStep(StepExecution) [it.tidalwave.photography.tools.batch.AccumulatorWriter] At AccumulatorWriter.java:[line 60] DLS_DEAD_LOCAL_STORE [ERROR] Low: AccumulatorWriter.items not initialized in constructor and dereferenced in it.tidalwave.photography.tools.batch.AccumulatorWriter.open(ExecutionContext) [it.tidalwave.photography.tools.batch.AccumulatorWriter] At AccumulatorWriter.java:[line 68] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Low: AccumulatorWriter.items not initialized in constructor and dereferenced in it.tidalwave.photography.tools.batch.AccumulatorWriter.write(Chunk) [it.tidalwave.photography.tools.batch.AccumulatorWriter] At AccumulatorWriter.java:[line 74] UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.batch.DeleteFileItemWriter at new it.tidalwave.photography.tools.batch.DeleteFileItemWriter(Path, GeneralOptions, FileUtils$ScanListener) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.batch.DeleteFileItemWriter, it.tidalwave.photography.tools.batch.DeleteFileItemWriter] At DeleteFileItemWriter.java:[line 46]At DeleteFileItemWriter.java:[line 46] CT_CONSTRUCTOR_THROW [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.batch.DeleteFileItemWriter.delete(Path) [it.tidalwave.photography.tools.batch.DeleteFileItemWriter] At DeleteFileItemWriter.java:[line 87] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.batch.FileScanItemReader at new it.tidalwave.photography.tools.batch.FileScanItemReader(String, List, Predicate, Function, Collector, FileUtils$ScanListener, FileVisitOption, Iterator) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.batch.FileScanItemReader, it.tidalwave.photography.tools.batch.FileScanItemReader] At FileScanItemReader.java:[line 50]At FileScanItemReader.java:[line 50] CT_CONSTRUCTOR_THROW [ERROR] Medium: it.tidalwave.photography.tools.batch.FileScanItemReader$FileScanItemReaderBuilder.iterator(Iterator) may expose internal representation by storing an externally mutable object into FileScanItemReader$FileScanItemReaderBuilder.iterator [it.tidalwave.photography.tools.batch.FileScanItemReader$FileScanItemReaderBuilder] At FileScanItemReader.java:[line 50] EI_EXPOSE_REP2 [ERROR] Medium: it.tidalwave.photography.tools.batch.FileScanItemReader$FileScanItemReaderBuilder.scanRoots(List) may expose internal representation by storing an externally mutable object into FileScanItemReader$FileScanItemReaderBuilder.scanRoots$value [it.tidalwave.photography.tools.batch.FileScanItemReader$FileScanItemReaderBuilder] At FileScanItemReader.java:[line 50] EI_EXPOSE_REP2 [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.batch.FilterItemProcessor at new it.tidalwave.photography.tools.batch.FilterItemProcessor(Supplier) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.batch.FilterItemProcessor, it.tidalwave.photography.tools.batch.FilterItemProcessor] At FilterItemProcessor.java:[line 41]At FilterItemProcessor.java:[line 41] CT_CONSTRUCTOR_THROW [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.batch.LoadKeywordsItemProcessor at new it.tidalwave.photography.tools.batch.LoadKeywordsItemProcessor(FileUtils$ScanListener) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.batch.LoadKeywordsItemProcessor, it.tidalwave.photography.tools.batch.LoadKeywordsItemProcessor] At LoadKeywordsItemProcessor.java:[line 45]At LoadKeywordsItemProcessor.java:[line 45] CT_CONSTRUCTOR_THROW [ERROR] Medium: Possible null pointer dereference in it.tidalwave.photography.tools.batch.LoadKeywordsItemProcessor.process(Photo) due to return value of called method [it.tidalwave.photography.tools.batch.LoadKeywordsItemProcessor, it.tidalwave.photography.tools.batch.LoadKeywordsItemProcessor] Method invoked at LoadKeywordsItemProcessor.java:[line 80]Known null at LoadKeywordsItemProcessor.java:[line 80] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.catalog.C1CollectionGenerator at new it.tidalwave.photography.tools.catalog.C1CollectionGenerator(C1, String, KeywordSet) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.catalog.C1CollectionGenerator, it.tidalwave.photography.tools.catalog.C1CollectionGenerator] At C1CollectionGenerator.java:[line 42]At C1CollectionGenerator.java:[line 42] CT_CONSTRUCTOR_THROW [ERROR] Low: Exception is caught when Exception is not thrown in it.tidalwave.photography.tools.catalog.ImportCatalog.processXmp(Path, KeywordSet) [it.tidalwave.photography.tools.catalog.ImportCatalog] At ImportCatalog.java:[line 106] REC_CATCH_EXCEPTION [ERROR] Medium: Format string should use %n rather than \n in it.tidalwave.photography.tools.catalog.ImportCatalog.processXmp(Path, KeywordSet) [it.tidalwave.photography.tools.catalog.ImportCatalog] At ImportCatalog.java:[line 109] VA_FORMAT_STRING_USES_NEWLINE [ERROR] Medium: it.tidalwave.photography.tools.model.Photo defines compareTo(Photo) and uses Object.equals() [it.tidalwave.photography.tools.model.Photo] At Photo.java:[line 56] EQ_COMPARETO_USE_OBJECT_EQUALS [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.model.PhotoMetadata at new it.tidalwave.photography.tools.model.PhotoMetadata(Photo) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.model.PhotoMetadata, it.tidalwave.photography.tools.model.PhotoMetadata] At PhotoMetadata.java:[line 41]At PhotoMetadata.java:[line 41] CT_CONSTRUCTOR_THROW [ERROR] Medium: it.tidalwave.photography.tools.model.PhotoMetadata defines compareTo(PhotoMetadata) and uses Object.equals() [it.tidalwave.photography.tools.model.PhotoMetadata] At PhotoMetadata.java:[line 60] EQ_COMPARETO_USE_OBJECT_EQUALS [ERROR] Medium: Possible null pointer dereference in it.tidalwave.photography.tools.prune.BaseBatchConfiguration.dataSource(DataSourceProperties, PreferencesHandler) due to return value of called method [it.tidalwave.photography.tools.prune.BaseBatchConfiguration, it.tidalwave.photography.tools.prune.BaseBatchConfiguration] Method invoked at BaseBatchConfiguration.java:[line 88]Known null at BaseBatchConfiguration.java:[line 88] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.prune.Main at new it.tidalwave.photography.tools.prune.Main(JobLauncher, Map) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.prune.Main, it.tidalwave.photography.tools.prune.Main] At Main.java:[line 51]At Main.java:[line 51] CT_CONSTRUCTOR_THROW [ERROR] Medium: new it.tidalwave.photography.tools.prune.Main(JobLauncher, Map) may expose internal representation by storing an externally mutable object into Main.jobMapByName [it.tidalwave.photography.tools.prune.Main] At Main.java:[line 51] EI_EXPOSE_REP2 [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.prune.PruneConfiguration at new it.tidalwave.photography.tools.prune.PruneConfiguration(JobRepository, PlatformTransactionManager, TaskExecutor, Settings, Listeners) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.prune.PruneConfiguration, it.tidalwave.photography.tools.prune.PruneConfiguration] At PruneConfiguration.java:[line 73]At PruneConfiguration.java:[line 73] CT_CONSTRUCTOR_THROW [ERROR] Medium: new it.tidalwave.photography.tools.prune.PruneConfiguration(JobRepository, PlatformTransactionManager, TaskExecutor, Settings, Listeners) may expose internal representation by storing an externally mutable object into PruneConfiguration.jobRepository [it.tidalwave.photography.tools.prune.PruneConfiguration] At PruneConfiguration.java:[line 73] EI_EXPOSE_REP2 [ERROR] Medium: Possible null pointer dereference in it.tidalwave.photography.tools.prune.PruneConfiguration.heicExistsWithSimilarName(Path) due to return value of called method [it.tidalwave.photography.tools.prune.PruneConfiguration, it.tidalwave.photography.tools.prune.PruneConfiguration] Method invoked at PruneConfiguration.java:[line 338]Known null at PruneConfiguration.java:[line 338] NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE [ERROR] Medium: Exception thrown in class it.tidalwave.photography.tools.prune.ReaderConfiguration at new it.tidalwave.photography.tools.prune.ReaderConfiguration(Settings, Listeners) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. [it.tidalwave.photography.tools.prune.ReaderConfiguration, it.tidalwave.photography.tools.prune.ReaderConfiguration] At ReaderConfiguration.java:[line 48]At ReaderConfiguration.java:[line 48] CT_CONSTRUCTOR_THROW [INFO] To see bug detail using the Spotbugs GUI, use the following command "mvn spotbugs:gui" [INFO] [INFO] ------------------< it.tidalwave.photography:scripts >------------------ [INFO] Building Photography Scripts 1.0-ALPHA-1-SNAPSHOT [7/6] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [WARNING] Parameter 'includeXmlInSite' is unknown for plugin 'maven-pmd-plugin:3.26.0:aggregate-cpd (default-cli)' [WARNING] Parameter 'includeXmlInSite' is unknown for plugin 'maven-pmd-plugin:3.26.0:aggregate-pmd (default-cli)' [INFO] [INFO] --- pmd:3.26.0:aggregate-cpd (default-cli) @ scripts --- [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [INFO] Downloading from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/apache/maven/skins/maven-fluido-skin/2.0.0-M9/maven-fluido-skin-2.0.0-M9.jar [INFO] Downloaded from maven-proxy.tidalwave.it: https://services.tidalwave.it/nexus/content/groups/public/org/apache/maven/skins/maven-fluido-skin/2.0.0-M9/maven-fluido-skin-2.0.0-M9.jar (355 kB at 945 kB/s) [INFO] Rendering content with org.apache.maven.skins:maven-fluido-skin:jar:2.0.0-M9 skin [INFO] [INFO] >>> pmd:3.26.0:aggregate-pmd (default-cli) > test-compile @ scripts >>> [INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] Forking Photography Scripts 1.0-ALPHA-1-SNAPSHOT [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ scripts --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064994408 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace [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/PhotographyScripts_Metrics/workspace' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ scripts --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ scripts --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ scripts --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ scripts --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/target/jacoco.exec [INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] Forking Photography Scripts (modules) 1.0-ALPHA-1-SNAPSHOT [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ modules --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064994516 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules [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/PhotographyScripts_Metrics/workspace/modules' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ modules --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ modules --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ modules --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ modules --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/target/jacoco.exec [INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] Forking Photography Scripts - Extra Utilities 1.0-ALPHA-1-SNAPSHOT [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ utilities --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064994628 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils [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/PhotographyScripts_Metrics/workspace/modules/ExtraUtils' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ utilities --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ utilities --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ utilities --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ utilities --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ utilities --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/main/resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ utilities --- [INFO] Nothing to compile - all classes are up to date. [WARNING] Overwriting artifact's file from /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/utilities-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar to /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ utilities --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/test/resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ utilities --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [forked debug deprecation release 21] to target/test-classes [INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] Forking Photography Scripts - Capture One 1.0-ALPHA-1-SNAPSHOT [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ captureone --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735064997708 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne [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/PhotographyScripts_Metrics/workspace/modules/CaptureOne' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ captureone --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ captureone --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ captureone --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ captureone --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ captureone --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ captureone --- [INFO] Nothing to compile - all classes are up to date. [WARNING] Overwriting artifact's file from /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target/captureone-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar to /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ captureone --- [INFO] Copying 3 resources from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ captureone --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [forked debug deprecation release 21] to target/test-classes [INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] Forking Photography Scripts - Core 1.0-ALPHA-1-SNAPSHOT [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ core --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735065001203 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core [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/PhotographyScripts_Metrics/workspace/modules/Core' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ core --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ core --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ core --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ core --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ core --- [INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/src/main/resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ core --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 7 source files with javac [forked debug deprecation release 21] to target/classes [WARNING] Overwriting artifact's file from /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target/core-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar to /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ core --- [INFO] Copying 8 resources from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ core --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [forked debug deprecation release 21] to target/test-classes [INFO] [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] Forking Photography Scripts - Tools 1.0-ALPHA-1-SNAPSHOT [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ tools --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735065007833 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools [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/PhotographyScripts_Metrics/workspace/modules/Tools' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ tools --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ tools --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ tools --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ tools --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/jacoco.exec [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ tools --- [INFO] Copying 2 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ tools --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 22 source files with javac [forked debug deprecation release 21] to target/classes [WARNING] on the class path. A future release of javac may disable annotation processing unless at least one processor is specified by name (-processor), or a search path is specified (--processor-path, --processor-module-path), or annotation processing is enabled explicitly (-proc:only, -proc:full). Use -Xlint:-options to suppress this message. Use -proc:none to disable annotation processing. /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/model/Photo.java:[50,42] [this-escape] possible 'this' escape before subclass is fully initialized [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/LoggingDataSourceTransactionManager.java:[12,7] [serial] serializable class LoggingDataSourceTransactionManager has no definition of serialVersionUID [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/batch/FileScanItemReader.java:[63,47] [unchecked] unchecked cast required: T found: Path where T is a type-variable: T extends Object declared in method <T>$default$mapper() [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/batch/FileScanItemReader.java:[66,58] [unchecked] unchecked conversion required: Collector<Path,?,List<T>> found: Collector where T is a type-variable: T extends Object declared in method <T>$default$collector() [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/catalog/ImportCatalog.java:[69,16] [unchecked] unchecked conversion required: FunctionalScanListener<List<Photo>> found: FunctionalScanListener [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/PruneConfiguration.java:[275,65] [unchecked] unchecked cast required: List<Photo> found: Object [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/PruneConfiguration.java:[286,65] [unchecked] unchecked cast required: List<Photo> found: Object [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/PruneConfiguration.java:[382,16] [removal] throttleLimit(int) in AbstractTaskletStepBuilder has been deprecated and marked for removal where B is a type-variable: B extends AbstractTaskletStepBuilder<B> declared in class AbstractTaskletStepBuilder [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[64,16] [unchecked] unchecked conversion required: FunctionalScanListener<List<Photo>> found: FunctionalScanListener [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[145,42] [unchecked] unchecked method invocation: method listener in class FileScanItemReaderBuilder is applied to given types required: ScanListener<List<T>> found: ScanListener where T is a type-variable: T extends Object declared in class FileScanItemReaderBuilder [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[145,43] [unchecked] unchecked conversion required: ScanListener<List<T>> found: ScanListener where T is a type-variable: T extends Object declared in class FileScanItemReaderBuilder [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[146,39] [unchecked] unchecked conversion required: FileScanItemReader<Path> found: FileScanItemReader [WARNING] Overwriting artifact's file from /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/tools-1.0-ALPHA-1-SNAPSHOT.9a1fc1b36a3a.jar to /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/target/classes [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ tools --- [INFO] Copying 17 resources from src/test/resources to target/test-classes [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ tools --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [forked debug deprecation release 21] to target/test-classes [INFO] [INFO] <<< pmd:3.26.0:aggregate-pmd (default-cli) < test-compile @ scripts <<< [INFO] [INFO] [INFO] --- pmd:3.26.0:aggregate-pmd (default-cli) @ scripts --- [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [WARNING] Unable to locate Source XRef to link to -- DISABLED [INFO] PMD version: 7.7.0 [WARNING] There are 5 PMD processing errors: [WARNING] /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/src/main/java/it/tidalwave/captureone/impl/C1Batch.java: ParseException: Parse exception in file '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/CaptureOne/src/main/java/it/tidalwave/captureone/impl/C1Batch.java' at line 140, column 19: Text block literals are a feature of Java 15, you should select your language version accordingly /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/src/main/java/it/tidalwave/photography/core/keywords/KeywordContainerSupport.java: ParseException: Parse exception in file '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Core/src/main/java/it/tidalwave/photography/core/keywords/KeywordContainerSupport.java' at line 137, column 28: Encountered "(". Was expecting one of: "[" ... ";" ... "," ... "@" ... "=" ... /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/main/java/it/tidalwave/io/FileScanner.java: ParseException: Parse exception in file '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/main/java/it/tidalwave/io/FileScanner.java' at line 86, column 13: Record declarations are a feature of Java 16, you should select your language version accordingly /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/batch/FilterItemProcessor.java: ParseException: Parse exception in file '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/batch/FilterItemProcessor.java' at line 55, column 29: Type patterns in instanceof are a feature of Java 16, you should select your language version accordingly /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/catalog/FGCustomiser.java: ParseException: Parse exception in file '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/catalog/FGCustomiser.java' at line 56, column 9: Text block literals are a feature of Java 15, you should select your language version accordingly [INFO] Rendering content with org.apache.maven.skins:maven-fluido-skin:jar:2.0.0-M9 skin [INFO] [INFO] ------------------< it.tidalwave.photography:scripts >------------------ [INFO] Building Photography Scripts 1.0-ALPHA-1-SNAPSHOT [8/6] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- checkstyle:3.0.0:checkstyle (default-cli) @ scripts --- [INFO] [INFO] >>> dependency:3.8.1:analyze (default-cli) > test-compile @ scripts >>> [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ scripts --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735065020861 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace [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/PhotographyScripts_Metrics/workspace' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ scripts --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ scripts --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ scripts --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 11 -target 11 -release 11 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ scripts --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/target/jacoco.exec [INFO] [INFO] <<< dependency:3.8.1:analyze (default-cli) < test-compile @ scripts <<< [INFO] [INFO] [INFO] --- dependency:3.8.1:analyze (default-cli) @ scripts --- [INFO] Skipping pom project [INFO] [INFO] ------------------< it.tidalwave.photography:modules >------------------ [INFO] Building Photography Scripts (modules) 1.0-ALPHA-1-SNAPSHOT [9/6] [INFO] from modules/pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- checkstyle:3.0.0:checkstyle (default-cli) @ modules --- [INFO] [INFO] >>> dependency:3.8.1:analyze (default-cli) > test-compile @ modules >>> [INFO] [INFO] --- buildnumber:3.2.1:create (default) @ modules --- [INFO] ShortRevision tag detected. The value is '12'. [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules [INFO] Storing buildNumber: 9a1fc1b36a3a at timestamp: 1735065021314 [INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules' && 'git' 'symbolic-ref' 'HEAD' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules [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/PhotographyScripts_Metrics/workspace/modules' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN' [INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules [INFO] Storing scmBranch: UNKNOWN [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven) @ modules --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] Rule 3: org.apache.maven.enforcer.rules.RequirePluginVersions passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-banned-dependencies) @ modules --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed [INFO] [INFO] --- antrun:3.1.0:run (generate-and-print-build-description) @ modules --- [INFO] Executing tasks [INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 9a1fc1b36a3a [INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21 [INFO] Executed tasks [INFO] [INFO] --- jacoco:0.8.12:prepare-agent (prepare-agent) @ modules --- [INFO] tft.test.jacoco.argLine set to -javaagent:/var/jenkins_home/maven-repositories/executors/0/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/target/jacoco.exec [INFO] [INFO] <<< dependency:3.8.1:analyze (default-cli) < test-compile @ modules <<< [INFO] [INFO] [INFO] --- dependency:3.8.1:analyze (default-cli) @ modules --- [INFO] Skipping pom project [INFO] [INFO] -----------------< it.tidalwave.photography:utilities >----------------- [INFO] Building Photography Scripts - Extra Utilities 1.0-ALPHA-1-SNAPSHOT [10/6] [INFO] from modules/ExtraUtils/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- checkstyle:3.0.0:checkstyle (default-cli) @ utilities --- /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/main/java/it/tidalwave/io/FileScanner.java:89:16: expecting "class", found 'Stream' /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/main/java/it/tidalwave/io/FileScanner.java:89:57: unexpected token: Path /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/main/java/it/tidalwave/io/FileScanner.java:89:83: unexpected token: FileVisitOption [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Photography Scripts [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Photography Scripts 1.0-ALPHA-1-SNAPSHOT: [INFO] [INFO] Photography Scripts ................................ SUCCESS [ 1.609 s] [INFO] Photography Scripts (modules) ...................... SUCCESS [ 0.144 s] [INFO] Photography Scripts - Extra Utilities .............. FAILURE [ 0.244 s] [INFO] Photography Scripts - Capture One .................. SUCCESS [ 21.974 s] [INFO] Photography Scripts - Core ......................... SUCCESS [ 15.256 s] [INFO] Photography Scripts - Tools ........................ SUCCESS [ 28.338 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:01 min [INFO] Finished at: 2024-12-24T18:30:21Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:checkstyle (default-cli) on project utilities: An error has occurred in Checkstyle report generation. Failed during checkstyle configuration: Exception was thrown while processing /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/main/java/it/tidalwave/io/FileScanner.java: MismatchedTokenException occurred during the analysis of file /var/jenkins_home/jobs/PhotographyScripts_Metrics/workspace/modules/ExtraUtils/src/main/java/it/tidalwave/io/FileScanner.java. expecting EOF, found '}' -> [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :utilities Build step 'Invoke top-level Maven targets' marked build as failure Build does not meet criteria for workspace archiving - result is not at least UNSTABLE. TestNG Reports Processing: START Looking for TestNG results report in workspace using pattern: **/target/**/testng-results.xml Saving reports... Processing '/var/jenkins_home/jobs/PhotographyScripts_Metrics/builds/7/testng/testng-results-1.xml' Processing '/var/jenkins_home/jobs/PhotographyScripts_Metrics/builds/7/testng/testng-results-2.xml' Processing '/var/jenkins_home/jobs/PhotographyScripts_Metrics/builds/7/testng/testng-results-3.xml' Processing '/var/jenkins_home/jobs/PhotographyScripts_Metrics/builds/7/testng/testng-results.xml' 7.142857% of tests failed, which exceeded threshold of 0%. Marking build as UNSTABLE TestNG Reports Processing: FINISH [Java CompilerMavenCPDPMDAspectJCode AnalysisSpotBugsOpen Tasks ScannerOWASP Dependency CheckJavaDoc] Skipping execution of recorder since overall result is 'FAILURE' [description-setter] Description set: 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 Finished: FAILURE