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

Build stuck on final "exit 0"

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • core
    • Jenkins 2.150
      Windows 7
      cygwin

    Description

      After executing successfully the shell script the workers remain stuck for 10 minutes on the final "exit 0".

      There hasn't been any other failure that I could find: all the jobs run exactly as planned, they just don't seem to exit.

      The fact that the jobs remain stuck for exactly 600 seconds makes me think of a timeout of some sort.

      Reverting to 2.138 fixed the issue, that's why I am marking it as a regression.

      Attachments

        Issue Links

          Activity

            loafloaf Andy Lin added a comment -

            rocha_stratovan, I do use MS Visual Studio on some of my slave machines, but I don't think it does parallel compilation. I'll be sure to try out what you suggested. Do you experience the issue if you don't do parallel compiles?

            I have Mac slave machines for the other half. The solution you had might apply in some way so I'll have to investigate if xcodebuild also does something similar with lingering processes. Thanks!

            loafloaf Andy Lin added a comment - rocha_stratovan , I do use MS Visual Studio on some of my slave machines, but I don't think it does parallel compilation. I'll be sure to try out what you suggested. Do you experience the issue if you don't do parallel compiles? I have Mac slave machines for the other half. The solution you had might apply in some way so I'll have to investigate if xcodebuild also does something similar with lingering processes. Thanks!
            rocha_stratovan John Rocha added a comment -

            loafloaf, I didn't seem to notice it when I did simple compiles without parallel compilation. Although I honestly would expect there to be at least a 2 minute delay even if there is just one compile process. But I don't know.

            Good luck.

            rocha_stratovan John Rocha added a comment - loafloaf , I didn't seem to notice it when I did simple compiles without parallel compilation. Although I honestly would expect there to be at least a 2 minute delay even if there is just one compile process. But I don't know. Good luck.
            kredens kredens added a comment -

            Well, time passes, and some jobs still get stuck on the FINAL stage for about two minutes before finally letting go. How hard can it be to fix this?

            kredens kredens added a comment - Well, time passes, and some jobs still get stuck on the FINAL stage for about two minutes before finally letting go. How hard can it be to fix this?
            danielbeck Daniel Beck added a comment -

            kredens If it's so easy, submit a PR that does it.

            danielbeck Daniel Beck added a comment - kredens If it's so easy, submit a PR that does it.
            kredens kredens added a comment -

            danielbeck I'm not a developer on this project, neither am I using it by choice. Also - it used to work fine until someone changed something and can't be bothered to fix it.

            kredens kredens added a comment - danielbeck I'm not a developer on this project, neither am I using it by choice. Also - it used to work fine until someone changed something and can't be bothered to fix it.

            People

              Unassigned Unassigned
              ippo343 Michele Ippolito
              Votes:
              22 Vote for this issue
              Watchers:
              31 Start watching this issue

              Dates

                Created:
                Updated: