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

Massive jobs execution causes issues in lastSuccessfulBuild permalink update

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • 1) 1.509.3, Linux server (RHEL6)
      2) 1.509.4 LTS, SL Linux 6.4

      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)

          [JENKINS-19741] Massive jobs execution causes issues in lastSuccessfulBuild permalink update

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

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            Votes:
            7 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated: