-
Bug
-
Resolution: Duplicate
-
Minor
-
RHEL 8, JDK 11, Jenkins 2.322, Timestamper 1.14
Our logs fill up with these Timestamper warnings during a build...
24-Nov-2021 09:03:04.089 WARNING Executor #1 for myhost : executing app-23.x-generate-release #5 hudson.plugins.timestamper.TimestamperBuildWrapper$ConsoleLogFilterImpl.decorateLogger /home/build/jenkins/jobs/app-23.x-generate-release/builds/5/timestamper/timestamps
java.nio.file.FileAlreadyExistsException: /home/build/jenkins/jobs/app-23.x-generate-release/builds/5/timestamper/timestamps
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.createFile(Files.java:632)
at hudson.plugins.timestamper.io.TimestampsWriter.<init>(TimestampsWriter.java:80)
at hudson.plugins.timestamper.TimestamperBuildWrapper$ConsoleLogFilterImpl.decorateLogger(TimestamperBuildWrapper.java:114)
at hudson.console.ConsoleLogFilter.decorateLogger(ConsoleLogFilter.java:69)
at jenkins.tasks.SimpleBuildWrapper.decorateLogger(SimpleBuildWrapper.java:341)
at hudson.maven.MavenBuild$ProxyImpl2.<init>(MavenBuild.java:628)
at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:731)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:520)
at hudson.model.Run.execute(Run.java:1888)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:99)
at hudson.model.Executor.run(Executor.java:432)
I'm just guessing at what could cause this, but is it might be that Timestamper isn't thread-safe and is having issue with the fact that we are running Maven parallel builds by setting the Maven property -T 1C (one thread per CPU).
- duplicates
-
JENKINS-63783 timestamper plugin occurred file already exists exception after build a job
- Open