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:tools >-------------------
[INFO] Building Photography Scripts - Tools 1.0-ALPHA-1-SNAPSHOT [6/6]
[INFO] from modules/Tools/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ tools ---
[INFO]
[INFO] --- buildnumber:1.4:create (default) @ tools ---
[INFO] ShortRevision tag detected. The value is '12'.
[INFO] Executing: /bin/sh -c cd '/var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools
[INFO] Storing buildNumber: 97c98a5c4c88 at timestamp: 1733061585845
[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/Tools' && 'git' 'rev-parse' '--verify' '--short=12' 'HEAD'
[INFO] Working directory: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-maven) @ tools ---
[INFO]
[INFO] --- enforcer:3.0.0-M3:enforce (enforce-banned-dependencies) @ tools ---
[INFO]
[INFO] --- antrun:3.0.0:run (generate-and-print-build-description) @ tools ---
[INFO] Executing tasks
[INFO] [echo] DESCRIPTION: origin/master 1.0-ALPHA-1-SNAPSHOT 97c98a5c4c88
[INFO] [echo] Java Version: 21.0.5 -source 21 -target 21 -release 21
[INFO] Executed tasks
[INFO]
[INFO] --- resources:3.2.0:resources (default-resources) @ tools ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 2 resources
[INFO]
[INFO] --- compiler:3.8.1:compile (default-compile) @ tools ---
[WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}.
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 22 source files to /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/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.
warning: No processor claimed any of these annotations: /org.springframework.context.annotation.Bean,/org.springframework.batch.core.annotation.OnSkipInProcess,/javax.annotation.Nullable,/org.springframework.batch.core.annotation.OnSkipInRead,/org.springframework.beans.factory.annotation.Qualifier,/org.springframework.batch.core.configuration.annotation.EnableBatchProcessing,/org.springframework.boot.context.properties.ConfigurationProperties,/org.springframework.boot.autoconfigure.SpringBootApplication,/org.springframework.batch.core.annotation.BeforeStep,/org.springframework.batch.core.annotation.AfterStep,/javax.annotation.Nonnull,/org.springframework.beans.factory.annotation.Value,/org.springframework.context.annotation.Configuration,/org.springframework.batch.core.annotation.AfterJob,/org.springframework.batch.core.configuration.annotation.StepScope
/var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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_Build_and_Test/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/catalog/ImportCatalog.java:[70,16] [unchecked] unchecked conversion
required: FunctionalListener<List<Photo>>
found: FunctionalListener
[WARNING] /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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_Build_and_Test/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/PruneConfiguration.java:[273,65] [unchecked] unchecked cast
required: List<Photo>
found: Object
[WARNING] /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/PruneConfiguration.java:[284,65] [unchecked] unchecked cast
required: List<Photo>
found: Object
[WARNING] /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/PruneConfiguration.java:[380,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_Build_and_Test/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/batch/FileScanItemReader.java:[64,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_Build_and_Test/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/batch/FileScanItemReader.java:[67,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_Build_and_Test/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[64,16] [unchecked] unchecked conversion
required: FunctionalListener<List<Photo>>
found: FunctionalListener
[WARNING] /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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: Listener<List<T>>
found: Listener
where T is a type-variable:
T extends Object declared in class FileScanItemReaderBuilder
[WARNING] /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/src/main/java/it/tidalwave/photography/tools/prune/ReaderConfiguration.java:[145,43] [unchecked] unchecked conversion
required: Listener<List<T>>
found: Listener
where T is a type-variable:
T extends Object declared in class FileScanItemReaderBuilder
[WARNING] /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/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.2.0:testResources (default-testResources) @ tools ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 17 resources
[INFO]
[INFO] --- compiler:3.8.1:testCompile (default-testCompile) @ tools ---
[WARNING] Parameter 'optimize' (user property 'maven.compiler.optimize') is deprecated: This property is a no-op in {@code javac}.
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/target/test-classes
[INFO]
[INFO] --- surefire:3.0.0-M5:test (default-test) @ tools ---
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running it.tidalwave.photography.tools.catalog.ImportCatalogTest
[ERROR]
An error occurred while instantiating class it.tidalwave.photography.tools.catalog.ImportCatalogTest: null
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[ERROR] There are test failures.
Please refer to /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/target/surefire-reports/plain for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
There was an error in the forked process
An error occurred while instantiating class it.tidalwave.photography.tools.catalog.ImportCatalogTest: null
org.apache.maven.surefire.booter.SurefireBooterForkException: There was an error in the forked process
An error occurred while instantiating class it.tidalwave.photography.tools.catalog.ImportCatalogTest: null
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:733)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:305)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:265)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1314)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1159)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:932)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:126)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:342)
at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:330)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:175)
at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:76)
at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:163)
at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:160)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
at org.jvnet.hudson.maven3.launcher.Maven35Launcher.main(Maven35Launcher.java:138)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at jenkins.maven3.agent.Maven35Main.launch(Maven35Main.java:179)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:139)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:377)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
[JENKINS] Recording test results
[INFO]
[INFO] --- jar:3.2.0:jar (default-jar) @ tools ---
[INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/target/tools-1.0-ALPHA-1-SNAPSHOT.97c98a5c4c88.jar
[INFO]
[INFO] --- jar:3.2.0:test-jar (default-test-jar) @ tools ---
[INFO] Building jar: /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/target/tools-1.0-ALPHA-1-SNAPSHOT.97c98a5c4c88-tests.jar
[INFO]
[INFO] --- install:3.0.0-M1:install (default-install) @ tools ---
[INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/target/tools-1.0-ALPHA-1-SNAPSHOT.97c98a5c4c88.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/photography/tools/1.0-ALPHA-1-SNAPSHOT/tools-1.0-ALPHA-1-SNAPSHOT.jar
[INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/pom.xml to /var/jenkins_home/maven-repositories/0/it/tidalwave/photography/tools/1.0-ALPHA-1-SNAPSHOT/tools-1.0-ALPHA-1-SNAPSHOT.pom
[INFO] Installing /var/jenkins_home/jobs/PhotographyScripts_Build_and_Test/workspace/modules/Tools/target/tools-1.0-ALPHA-1-SNAPSHOT.97c98a5c4c88-tests.jar to /var/jenkins_home/maven-repositories/0/it/tidalwave/photography/tools/1.0-ALPHA-1-SNAPSHOT/tools-1.0-ALPHA-1-SNAPSHOT-tests.jar
[JENKINS] Archiving disabled