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

UI Not Refreshing When Starting a Build

    XMLWordPrintable

Details

    • Blue Ocean 1.0-rc3, Blue Ocean 1.0-rc4, Blue Ocean - 1.1-beta-1, Blue Ocean - 1.1-beta2

    Description

      I am on the latest Jenkins and latest Blue Ocean plugins (fresh install) on CentOS 7. I am using the latest Chrome on MacOS Sierra.

      When I run a build I get the waiting for build to start screen. If I refresh the pipeline has started and is halfway finished. Here is JS error I see in the console:

      [ERROR - io.jenkins.blueocean.dashboard.harmonizeTimes] not found any startTime, seems that a component should not have called this me
      error @ blueocean.js:17977

      Attachments

        1. errors.png
          errors.png
          216 kB
        2. errors.txt
          66 kB
        3. Feb-27-2017 16-22-09.gif
          Feb-27-2017 16-22-09.gif
          216 kB
        4. Jenkinsfile
          2 kB

        Issue Links

          Activity

            jamesdumay James Dumay added a comment -

            imeredith would you mind taking a look at this today please? something isn't right.

            jamesdumay James Dumay added a comment - imeredith would you mind taking a look at this today please? something isn't right.
            jamesdumay James Dumay added a comment -

            Appears I was able to reproduce the JavaScript error however the page did update just fine for me in this case.

            For this repository https://github.com/i386/app-store-demo and setup a multibranch pipeline

            You will notice one of the step durations goes nuts:

            Error in log:

            Logs are at errors.txt

            jamesdumay James Dumay added a comment - Appears I was able to reproduce the JavaScript error however the page did update just fine for me in this case. For this repository https://github.com/i386/app-store-demo and setup a multibranch pipeline You will notice one of the step durations goes nuts: Error in log: Logs are at errors.txt
            michaelneale Michael Neale added a comment -

            oh, I wonder if this one fixes that: https://github.com/jenkinsci/blueocean-plugin/pull/834 - worth a try?

            michaelneale Michael Neale added a comment - oh, I wonder if this one fixes that: https://github.com/jenkinsci/blueocean-plugin/pull/834 - worth a try?
            michaelneale Michael Neale added a comment -

            I can't make it stop following, btu those errors are probably best viewed as warnings. There is a WIP PR that makes this a bit better...

            joshaxelman do you have a sample Jenkinsfile you can share?

            michaelneale Michael Neale added a comment - I can't make it stop following, btu those errors are probably best viewed as warnings. There is a WIP PR that makes this a bit better... joshaxelman do you have a sample Jenkinsfile you can share?
            michaelneale Michael Neale added a comment -

            tscherler something to take a look at as part of karaoke. Perhaps https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-core-js/src/js/utils/serverBrowserTimeHarmonize.js#L34 is really indended as a warning?

            michaelneale Michael Neale added a comment - tscherler something to take a look at as part of karaoke. Perhaps https://github.com/jenkinsci/blueocean-plugin/blob/master/blueocean-core-js/src/js/utils/serverBrowserTimeHarmonize.js#L34 is really indended as a warning?
            joshaxelman Josh Axelman added a comment -

            Attatched the Jenkinsfiles that I am working with that is currently experiencing this issues.

            joshaxelman Josh Axelman added a comment - Attatched the Jenkinsfiles that I am working with that is currently experiencing this issues.
            joshaxelman Josh Axelman added a comment -

            I replaced the Jenkinksfile I was using with the basic Jenkinsfile (when I click new pipeline in the pipeline editor). I don't see the JS error in the console, but the UI not refreshing is an issue. I have to manually refresh. I tried this on both Chrome & Safari. I will test this on a different computer.

            joshaxelman Josh Axelman added a comment - I replaced the Jenkinksfile I was using with the basic Jenkinsfile (when I click new pipeline in the pipeline editor). I don't see the JS error in the console, but the UI not refreshing is an issue. I have to manually refresh. I tried this on both Chrome & Safari. I will test this on a different computer.
            joshaxelman Josh Axelman added a comment -

            Just tested it on another computer, the issue persists.

            joshaxelman Josh Axelman added a comment - Just tested it on another computer, the issue persists.
            jamesdumay James Dumay added a comment -

            We are doing some re-engineering of the running pipeline view in JENKINS-38523 that should solve some systematic issues like this one. We will revisit soon.

            jamesdumay James Dumay added a comment - We are doing some re-engineering of the running pipeline view in JENKINS-38523 that should solve some systematic issues like this one. We will revisit soon.

            joshaxelman sorry for taking so long, but you can try https://github.com/jenkinsci/blueocean-plugin/pull/839 which is in review and see whether it fixes your issue. I strongly believe it will.

            tscherler Thorsten Scherler added a comment - joshaxelman  sorry for taking so long, but you can try https://github.com/jenkinsci/blueocean-plugin/pull/839  which is in review and see whether it fixes your issue. I strongly believe it will.
            joshaxelman Josh Axelman added a comment -

            tscherler, I installed BlueOcean from the Jenkins Plugin Manager. I am not sure how to test a specific branch. Based on the comments in thread it seems like it should fix the issue. 

            joshaxelman Josh Axelman added a comment - tscherler , I installed BlueOcean from the Jenkins Plugin Manager. I am not sure how to test a specific branch. Based on the comments in thread it seems like it should fix the issue. 
            michaelneale Michael Neale added a comment -

            joshaxelman yes would have to build it from source, which is a bit more of a time investment. Just keep an eye on this for when this comes out in a future release and check back. 

            michaelneale Michael Neale added a comment - joshaxelman yes would have to build it from source, which is a bit more of a time investment. Just keep an eye on this for when this comes out in a future release and check back. 
            jamesdumay James Dumay added a comment -

            Will be released in Blue Ocean 1.1

            jamesdumay James Dumay added a comment - Will be released in Blue Ocean 1.1

            People

              tscherler Thorsten Scherler
              joshaxelman Josh Axelman
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: