Console Output

Started by user Fabrizio Giudici
Started by an SCM change
Running as SYSTEM
Building in workspace /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from https://bitbucket.org/fabriziogiudici/c1-scripts.git
 > git --version # timeout=10
 > git --version # 'git version 2.30.2'
 > git fetch --tags --force --progress -- https://bitbucket.org/fabriziogiudici/c1-scripts.git +refs/heads/*:refs/remotes/origin/* # timeout=10
Seen branch in repository origin/master
Seen 1 remote branch
 > git show-ref --tags -d # timeout=10
Checking out Revision 58671e671fc2c213a755003938207bdaced908d4 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 58671e671fc2c213a755003938207bdaced908d4 # timeout=10
Commit message: "Upgraded TheseFoolishThings to 3.2-ALPHA-23."
 > git rev-list --no-walk 97c98a5c4c88075c55a8c4385ba1c5ca0313d025 # timeout=10
Parsing POMs
using settings config with name settings-mirror
Replacing all maven server entries not found in credentials list is true
Discovered a new module it.tidalwave.photography:core Photography Scripts - Core
Modules changed, recalculating dependency graph
Established TCP socket on 43939
[workspace] $ /var/jenkins_home/tools/hudson.model.JDK/AdoptiumJDK_21/bin/java -DblueMarine2.musicTestSets.path=/mnt/test-data/MusicTestSets -DtestSet.stoppingdown_100_20230116.folder=/var/jenkins_home/jobs/StoppingDown_100_20230116/workspace -cp /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.1/boot/plexus-classworlds-2.6.0.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.1/conf/logging jenkins.maven3.agent.Maven35Main /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.1 /var/jenkins_home/war/WEB-INF/lib/remoting-3107.v665000b_51092.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 43939
<===[JENKINS REMOTING CAPACITY]===>channel started
using settings config with name settings-mirror
Replacing all maven server entries not found in credentials list is true
Executing Maven:  -B -f /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/pom.xml -Dmaven.repo.local=/var/jenkins_home/maven-repositories/2 -s /tmp/settings10873573302779162171.xml -Pinstallers,generate-revision-id,it.tidalwave-ci-v1 -DtestFailureIgnore=true
[INFO] Scanning for projects...
[WARNING] The requested profile "installers" could not be activated because it does not exist.
[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] 
[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_Build_and_Test/workspace' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace
[INFO] Storing buildNumber: 58671e671fc2 at timestamp: 1734020801099
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace' && 'git' 'symbolic-ref' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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_Build_and_Test/workspace' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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 58671e671fc2
[INFO]      [echo] Java Version: 21.0.5 -source 11 -target 11 -release 11
[INFO] Executed tasks
[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_Build_and_Test/workspace/pom.xml to /var/jenkins_home/maven-repositories/2/it/tidalwave/photography/scripts/1.0-ALPHA-1-SNAPSHOT/scripts-1.0-ALPHA-1-SNAPSHOT.pom
[JENKINS] Archiving disabled
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO] 
[INFO] ------------------< it.tidalwave.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] 
[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_Build_and_Test/workspace/modules' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules
[INFO] Storing buildNumber: 58671e671fc2 at timestamp: 1734020804805
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules' && 'git' 'symbolic-ref' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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_Build_and_Test/workspace/modules' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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 58671e671fc2
[INFO]      [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21
[INFO] Executed tasks
[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_Build_and_Test/workspace/modules/pom.xml to /var/jenkins_home/maven-repositories/2/it/tidalwave/photography/modules/1.0-ALPHA-1-SNAPSHOT/modules-1.0-ALPHA-1-SNAPSHOT.pom
[JENKINS] Archiving disabled
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
[INFO] 
[INFO] -----------------< it.tidalwave.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] 
[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_Build_and_Test/workspace/modules/ExtraUtils' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils
[INFO] Storing buildNumber: 58671e671fc2 at timestamp: 1734020805994
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils' && 'git' 'symbolic-ref' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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_Build_and_Test/workspace/modules/ExtraUtils' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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 58671e671fc2
[INFO]      [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21
[INFO] Executed tasks
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ utilities ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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_Build_and_Test/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
[ERROR] 
An error occurred while instantiating class it.tidalwave.io.FileUtilsTest: null
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[JENKINS] Recording test results
[JENKINS] Archiving disabled
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
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Photography Scripts 1.0-ALPHA-1-SNAPSHOT:
[INFO] 
[INFO] Photography Scripts ................................ SUCCESS [  3.827 s]
[INFO] Photography Scripts (modules) ...................... SUCCESS [  0.999 s]
[INFO] Photography Scripts - Extra Utilities .............. FAILURE [ 12.966 s]
[JENKINS] Archiving disabled
[INFO] Photography Scripts - Capture One .................. SKIPPED
[INFO] Photography Scripts - Core ......................... SKIPPED
[INFO] Photography Scripts - Tools ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  22.666 s
[INFO] Finished at: 2024-12-12T16:26:59Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "installers" could not be activated because it does not exist.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.2:test (default-test) on project utilities:
[ERROR] 
[ERROR] See /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/ExtraUtils/target/surefire-reports/plain for the individual test results.
[ERROR] See dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] There was an error in the forked process
[ERROR] 
[ERROR] An error occurred while instantiating class it.tidalwave.io.FileUtilsTest: null
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
[ERROR] 
[ERROR] An error occurred while instantiating class it.tidalwave.io.FileUtilsTest: null
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:628)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:285)
[ERROR] at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:250)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1336)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1134)
[ERROR] at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:968)
[ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:342)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:330)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:175)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:76)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:163)
[ERROR] at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
[ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:160)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
[ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
[ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
[ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
[ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
[ERROR] at org.jvnet.hudson.maven3.launcher.Maven35Launcher.main(Maven35Launcher.java:138)
[ERROR] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
[ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
[ERROR] at jenkins.maven3.agent.Maven35Main.launch(Maven35Main.java:179)
[ERROR] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[ERROR] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[ERROR] at hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
[ERROR] at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
[ERROR] at hudson.remoting.UserRequest.perform(UserRequest.java:211)
[ERROR] at hudson.remoting.UserRequest.perform(UserRequest.java:54)
[ERROR] at hudson.remoting.Request$2.run(Request.java:377)
[ERROR] at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
[ERROR] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
[ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
[ERROR] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
[ERROR] at java.base/java.lang.Thread.run(Thread.java:1583)
[ERROR] -> [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 <goals> -rf :utilities
Build step 'Dependency analysis' marked build as failure
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/target/**/testng-results.xml
Did not find any matching files.
[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