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

Overall pipeline build is a failure even though all stages are green, and reason for failure is mentioned nowhere

    • Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2

      Whether this is a rendering issue in Blue Ocean or an issue with pipeline-github is unclear, but the URL is: /blue/organizations/jenkins/pipeline-github%2Fcore/detail/PR-88/1/pipeline/1051

      Every node in the graph is a green checkmark, making me think they are passing.

      The top header is red, making me think that it failed, but it doesn't say anything on the screen to indicate why it is considered a failure. This information should probably be in a prominent location, but because it isn't, I have to assume it's a bug.

      There is a similar-sounding report in JENKINS-32146 but I'm not entirely sure it's the same.

       

          [JENKINS-47365] Overall pipeline build is a failure even though all stages are green, and reason for failure is mentioned nowhere

          James Dumay added a comment -

          trejkaz could you please share your build log and Jenkinsfile? Its impossible for us to know what is going on without that info.

          If you wish, you can share directly with me by emailing them to me at jdumay@cloudbees.com

          James Dumay added a comment - trejkaz could you please share your build log and Jenkinsfile? Its impossible for us to know what is going on without that info. If you wish, you can share directly with me by emailing them to me at jdumay@cloudbees.com

          trejkaz added a comment -

          I'm doing my best, but now I hit that other frequent bug where the /pr/ URL never loads, so I can't get back to the build which generated that result.

           

          trejkaz added a comment - I'm doing my best, but now I hit that other frequent bug where the /pr/ URL never loads, so I can't get back to the build which generated that result.  

          trejkaz added a comment -

          Spun off JENKINS-47492 for the issue with the blue ocean listing page and meanwhile will wait until the next time I see it happen and then post logs for that one.

          trejkaz added a comment - Spun off  JENKINS-47492 for the issue with the blue ocean listing page and meanwhile will wait until the next time I see it happen and then post logs for that one.

          trejkaz added a comment -

          The other issue temporarily stopped happening but for some reason Jenkins has deleted the build which originally had the problem, so now I definitely have to wait to find some other build doing it.

          trejkaz added a comment - The other issue temporarily stopped happening but for some reason Jenkins has deleted the build which originally had the problem, so now I definitely have to wait to find some other build doing it.

          Karl Shultz added a comment -

          Testing Notes:

          • If implemented, automated tests (at the unit level is fine) should be included to verify that overall run status is appropriate to the build and test results for that run
          • UI tests could be provided as well, to check for consistent, useful messaging for failed builds. Many of the existing UI tests are happy-path in nature, and testing for correct function during failed builds would be a welcome addition.

          Karl Shultz added a comment - Testing Notes: If implemented, automated tests (at the unit level is fine) should be included to verify that overall run status is appropriate to the build and test results for that run UI tests could be provided as well, to check for consistent, useful messaging for failed builds. Many of the existing UI tests are happy-path in nature, and testing for correct function during failed builds would be a welcome addition.

          trejkaz added a comment - - edited

          I caught it again. The structure of the build has been rearranged a bit since the last time - the graph has been shrunk due to some other rendering issue, but now it's possible to see the whole graph.

          Trying to get a build log out but I think I see the reason for the red just by looking at the non-Blue Ocean page. It's probably test failures...

          trejkaz added a comment - - edited I caught it again. The structure of the build has been rearranged a bit since the last time - the graph has been shrunk due to some other rendering issue, but now it's possible to see the whole graph. Trying to get a build log out but I think I see the reason for the red just by looking at the non-Blue Ocean page. It's probably test failures...

          James Dumay added a comment -

          trejkaz I've been unable to reproduce this one given I do not have the original Jenkinsfile.

          James Dumay added a comment - trejkaz I've been unable to reproduce this one given I do not have the original Jenkinsfile.

            jamesdumay James Dumay
            trejkaz trejkaz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: