Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19741

Massive jobs execution causes issues in lastSuccessfulBuild permalink update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Environment:
      1) 1.509.3, Linux server (RHEL6)
      2) 1.509.4 LTS, SL Linux 6.4
    • Similar Issues:

      Description

      We run massive parallel builds of the free-style job (~120 simultaneous runs). Most of runs take about 15 seconds, to job frequently updates the build statistics.

      Several jobs print warnings to the log. I suppose that issue is caused by parallel updates of the file.

      Sep 25, 2013 10:42:48 AM jenkins.model.PeepholePermalink updateCache
      WARNING: Failed to update hudson.model.FreeStyleProject@3771fd63[SBC_Run_Any_Batch] lastSuccessfulBuild permalink for MY_JOB #3830
      java.nio.file.NoSuchFileException: /var/lib/jenkins/jobs/MY_JOB/builds/lastSuccessfulBuild.tmp
      at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      at sun.nio.fs.UnixFileSystemProvider.readSymbolicLink(UnixFileSystemProvider.java:495)
      at java.nio.file.Files.readSymbolicLink(Files.java:1382)
      at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at hudson.Util.resolveSymlink(Util.java:1213)
      at jenkins.model.PeepholePermalink.writeSymlink(PeepholePermalink.java:169)
      at jenkins.model.PeepholePermalink.updateCache(PeepholePermalink.java:137)
      at jenkins.model.PeepholePermalink.resolve(PeepholePermalink.java:114)
      at jenkins.model.PeepholePermalink$RunListenerImpl.onCompleted(PeepholePermalink.java:212)
      at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:199)
      at hudson.model.Run.execute(Run.java:1642)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:237)

        Attachments

          Issue Links

            Activity

            oleg_nenashev Oleg Nenashev created issue -
            oleg_nenashev Oleg Nenashev made changes -
            Field Original Value New Value
            Summary Massive Massive jobs execution causes issues in lastSuccessfulBuild permalink update
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is related to JENKINS-17681 [ JENKINS-17681 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue duplicates JENKINS-19377 [ JENKINS-19377 ]
            oleg_nenashev Oleg Nenashev made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Resolved [ 5 ]
            oleg_nenashev Oleg Nenashev made changes -
            Link This issue is duplicated by JENKINS-15476 [ JENKINS-15476 ]
            luki Lukáš Zach made changes -
            Resolution Duplicate [ 3 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            luki Lukáš Zach made changes -
            Attachment 140107-LZA-J19741-log-fragment.log [ 24949 ]
            luki Lukáš Zach made changes -
            Environment 1.509.3, Linux server (RHEL6) 1) 1.509.3, Linux server (RHEL6)
            2) 1.509.4 LTS, SL Linux 6.4
            jglick Jesse Glick made changes -
            Link This issue duplicates JENKINS-19377 [ JENKINS-19377 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 151259 ] JNJira + In-Review [ 186155 ]
            inetov Yuriy Inetov made changes -
            Link This issue is related to JENKINS-54863 [ JENKINS-54863 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              oleg_nenashev Oleg Nenashev
              Votes:
              7 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated: