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

Can't access builds in BlueOcean after updating to 1.15.0

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • Jenkins 2.174 (running in docker container)
      All BlueOcean plugins at 1.15.0
    • 1.15.1

      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`. 

       

          [JENKINS-57200] Can't access builds in BlueOcean after updating to 1.15.0

          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

          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

          Steve Todorov added a comment - - edited

          Hi halkeye, 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.

          Steve Todorov added a comment - - edited Hi halkeye , 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.

          carlspring added a comment - - edited

          Hi,

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

           

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

          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.

          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.

          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

          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

          Gavin Mogan added a comment -

          Pushing out 1.15.1 now

          Gavin Mogan added a comment - Pushing out 1.15.1 now

          Steve Todorov added a comment -

          Many thanks for fixing this halkeye! Works as expected!  

          Steve Todorov added a comment - Many thanks for fixing this halkeye ! Works as expected!  

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

              Created:
              Updated:
              Resolved: