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

Can't access builds in BlueOcean after updating to 1.15.0

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: core
    • Environment:
      Jenkins 2.174 (running in docker container)
      All BlueOcean plugins at 1.15.0
    • Similar Issues:
    • Released As:
      1.15.1

      Description

      We've upgraded our BlueOcean plugins to the latest 1.15.0 and restarted Jenkins.
      Afterward, we were unable to access the `activity` tab and some of the builds. 
      Initially we thought it was a browser issue, but after doing a curl request we noticed it's not working as well:

      $ time curl -I https://domain.com/blue/organizations/jenkins/project%2FjobName/detail/master/2217/pipeline/
      ^C
      real 3m53,812s
      user 0m0,010s
      sys 0m0,008s

      There are no exception logs in Jenkins which can point to what's causing this.
      However I did make a thread dump which I've attached. 

      I wasn't sure which component this relates to exactly so I've marked `core`. 

       

        Attachments

          Activity

          Hide
          halkeye Gavin Mogan added a comment -

          oh shoot this was me. 

          Looks like its here

          https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-rest-impl/src/main/java/io/jenkins/blueocean/service/embedded/rest/ChangeSetContainerImpl.java#L54-L61

          Re-reading it again, it looks like it'll loop infinitely if the job its replaying has been deleted already. I'll add an exit clause

          Show
          halkeye Gavin Mogan added a comment - oh shoot this was me.  Looks like its here https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-rest-impl/src/main/java/io/jenkins/blueocean/service/embedded/rest/ChangeSetContainerImpl.java#L54-L61 Re-reading it again, it looks like it'll loop infinitely if the job its replaying has been deleted already. I'll add an exit clause
          Hide
          stodorov Steve Todorov added a comment - - edited

          Hi Gavin Mogan, thanks for your reply! It looks like you might be on the right track - I have replayed a few builds in the job. It looks like BlueOcean is working fine for new `PR`s and `Branches`. Would you be able to make a patch for this? I can test it once it's available.

          Show
          stodorov Steve Todorov added a comment - - edited Hi Gavin Mogan , thanks for your reply! It looks like you might be on the right track - I have replayed a few builds in the job. It looks like BlueOcean is working fine for new `PR`s and `Branches`. Would you be able to make a patch for this? I can test it once it's available.
          Hide
          carlspring carlspring added a comment - - edited

          Hi,

          Thanks for looking into this for us! Is there any ETA for this?

           

          Show
          carlspring carlspring added a comment - - edited Hi, Thanks for looking into this for us! Is there any ETA for this?  
          Hide
          halkeye Gavin Mogan added a comment -

          Probably not today, depends if i feel like doing a couple hours of work on a sunday or not.

          But by tomorrow for sure.

          Show
          halkeye Gavin Mogan added a comment - Probably not today, depends if i feel like doing a couple hours of work on a sunday or not. But by tomorrow for sure.
          Hide
          halkeye Gavin Mogan added a comment -

          Looks like I got a fix ready to merge for 1.15.1 - https://github.com/jenkinsci/blueocean-plugin/pull/1958

          just waiting for CI to pass

          Show
          halkeye Gavin Mogan added a comment - Looks like I got a fix ready to merge for 1.15.1 -  https://github.com/jenkinsci/blueocean-plugin/pull/1958 just waiting for CI to pass
          Hide
          halkeye Gavin Mogan added a comment -

          Pushing out 1.15.1 now

          Show
          halkeye Gavin Mogan added a comment - Pushing out 1.15.1 now
          Hide
          stodorov Steve Todorov added a comment -

          Many thanks for fixing this Gavin Mogan! Works as expected!  

          Show
          stodorov Steve Todorov added a comment - Many thanks for fixing this Gavin Mogan ! Works as expected!  

            People

            • Assignee:
              halkeye Gavin Mogan
              Reporter:
              stodorov Steve Todorov
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: