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

fail build step instead of hang in "unsure what happened to downstream build"

      Our jenkins have crashed a few times lately due to other resons, but one issue we have seen is that build() steps have just bin hanging after the pipeline have bin resumed, with the status "unsure what happened to downstream build".

      The real answer is that the downstream build crashed, but the pipeline resumed.

      I would prefer if the build()-step right out failed, rather than just hang there.

          [JENKINS-41250] fail build step instead of hang in "unsure what happened to downstream build"

          Jesse Glick added a comment -

          What do you mean by “crashed”? Any known way to reproduce from scratch?

          Jesse Glick added a comment - What do you mean by “crashed”? Any known way to reproduce from scratch?

          Anton Lundin added a comment -

          jenkins crash as ex in something leaked memory until oom killed it.

           

          to reproduce this you could:

          Create a freestyle job (job1) which just does sleep 1h

          create another pipeline (job2) job which calls build(job: "job1").

          start job2

          "crash" / kill -9 / or just hard restart jenkins.

          job1 is now failed.

          job2 still runs but with the build()-step state "unsure what happened to downstream build"

           

          It would be better if the build() step just plain failed than hang forever there.

          Anton Lundin added a comment - jenkins crash as ex in something leaked memory until oom killed it.   to reproduce this you could: Create a freestyle job (job1) which just does sleep 1h create another pipeline (job2) job which calls build(job: "job1"). start job2 "crash" / kill -9 / or just hard restart jenkins. job1 is now failed. job2 still runs but with the build()-step state "unsure what happened to downstream build"   It would be better if the build() step just plain failed than hang forever there.

            Unassigned Unassigned
            glance Anton Lundin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: