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

Warning log "no flow execution found for pipelinejob #1"

    XMLWordPrintable

Details

    Description

      Hi,

      When testing pipeline's durability, I tried killing a sample running pipeline to see how it behaves.

      After killing forcefully the server, though there seems to me no problem from an UI standpoint, I saw the following log I thought I would report:

      WARNING: no flow execution found for pipelinejob #1
      

      How to reproduce:

      • run a brand new 2.7.3
      • install suggested plugins
      • create a pipeline job with the following script:
      // input normally returns a map, BUT returns directly the value if there's only one param
      def loopCount = input message: 'Continue? If so, how many iterations?', parameters: [string(defaultValue: '', description: '', name: 'loopCount')]
      assert loopCount.isNumber() : "oh noes, beware JENKINS-34488"
      
      stage "looping"
      
      for ( int i=0 ; i< loopCount.toInteger() ; i++) {
          echo "$i"
          sleep 5
      }
      
      • Run the pipeline
      • Answer the input, and put 10 for example
      • Kill -9 the master
      • Restart it
      • Refresh the console
      • See the pipeline finish correctly
      • Go back to the job page
      • See the message: WARNING: no flow execution found for pipelinejob #1
      • (sometimes seems to require two kills to trigger that, still trying to refine the reproduction case)

      WDYT?

      Leaving as minor because as said above, the durability seems still to be working since the pipeline always does restart from where it left in my tests.

      Attachments

        Issue Links

          Activity

            batmat Baptiste Mathus created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Labels pipeline
            jglick Jesse Glick made changes -
            Issue Type Task [ 3 ] Bug [ 1 ]
            jglick Jesse Glick made changes -
            Epic Link JENKINS-35399 [ 171192 ]
            jglick Jesse Glick made changes -
            Component/s pipeline-input-step-plugin [ 21708 ]
            Component/s pipeline [ 21692 ]
            cloudbees CloudBees Inc. made changes -
            Remote Link This issue links to "CloudBees Internal CD-48 (Web Link)" [ 19127 ]
            jglick Jesse Glick made changes -
            Remote Link This issue links to "PR 3 (Web Link)" [ 22325 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-41791 [ JENKINS-41791 ]
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Labels stalled-pr
            reinholdfuereder Reinhold Füreder made changes -
            Link This issue is related to JENKINS-63820 [ JENKINS-63820 ]
            reinholdfuereder Reinhold Füreder made changes -
            Link This issue is related to JENKINS-44855 [ JENKINS-44855 ]

            People

              Unassigned Unassigned
              batmat Baptiste Mathus
              Votes:
              8 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated: