Hi Alan,

I think there is an additional LogRotater exception stack trace below and it is 
the same issue as: https://issues.jenkins-ci.org/browse/JENKINS-61687

For possible workarounds (and related bugs 😲) please see comments from 
https://issues.jenkins-ci.org/browse/JENKINS-61256

HTH Reinhold

From: [email protected] <[email protected]> On 
Behalf Of Alan Sparks
Sent: Dienstag, 7. April 2020 22:35
To: Jenkins Users <[email protected]>
Subject: BackgroundGlobalBuildDiscarder error on jenkins home NFS

I've been seeing a lot of errors similar to the following on my Jenkins masters 
which mount /var/lib/jenkins from an NFS (specifically, AWS EFS) file system:

2020-04-07 19:54:27.051+0000 [id=4740]  WARNING 
j.m.BackgroundGlobalBuildDiscarder#lambda$processJob$0: An exception occurred 
when executing Project Build Discarder
Also:   java.nio.file.NoSuchFileException: 
/var/lib/jenkins/jobs/Administration/jobs/Jobs Report/builds/65 -> 
/var/lib/jenkins/jobs/Administration/jobs/Jobs Report/builds/.65
                at 
sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
                at 
sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
                at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:396)
                at 
sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262)
                at java.nio.file.Files.move(Files.java:1395)
                at hudson.model.Run.delete(Run.java:1621)
                at hudson.tasks.LogRotator.perform(LogRotator.java:166)
[rest elided]

It doesn't seem to be leaving any cruft behind (including dotfiles), but am 
wondering if this can be fixed in my configuration to stop the error.  It 
actually seems to be at least similar to JENKINS-22205, which has been 
closed... but there's no resolution there except it "went away".

Any advice would be appreciated.  Thanks in advance.
-Alan

Jira: https://issues.jenkins-ci.org/browse/JENKINS-22205
--
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d26c6387-80f8-4c8c-a0a0-25a9f2368954%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/d26c6387-80f8-4c8c-a0a0-25a9f2368954%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/PR3PR01MB64415B2205E2E855D75555C0F7C00%40PR3PR01MB6441.eurprd01.prod.exchangelabs.com.

Reply via email to