Details
-
Bug
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
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
- is duplicated by
-
JENKINS-41791 Build cannot be resumed if parallel was used with Kubernetes plugin
-
- Resolved
-
- is related to
-
JENKINS-44855 input leaves build hanging - input.InputAction loadExecutions no flow execution found
-
- Open
-
-
JENKINS-63820 No flow execution for input in lock block after restart
-
- Open
-
- links to
Since massively upgrading Jenkins (core 2.270 => 2.283; 77 plugins!) I stumbled again over this warning message log spam:
Admittedly the single pipeline with this "push button deployment (input step wrapped into timeout)" is under heavy development, so I guess that 2-4 colleagues have Jenkins UI for this pipeline opened in 1..N browser windows/tabs...
Potentially also interesting is, that I am using these non-official API calls (cf. "@Restricted(NoExternalUse.class)" annotation) to allow nice UI for skipped stages in scripted pipelines (like for declarative ones) based on https://github.com/comquent/imperative-when (see https://issues.jenkins-ci.org/browse/JENKINS-47286).
Thanks for any progress/help to reduce or ideally "just" avoid this log spam