Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Pilot Lvl 1
Message 1 of 6

Intermittent Errors During Workflow Execution

I am encountering errors during executions which seem to go away when re-running the workflow.  Here is an example:

 

https://github.com/Mike-EEE/action-jackson/runs/320906130

 

The error message seems to have a problem with this line:

https://github.com/Mike-EEE/action-jackson/blob/e72becabd0ef9d23dd951ddcb8d022deda39ffcf/.github/wor...

 

But as you can see in the output task in the previous step, the expected field is emitted as an output value:

 

::set-output name=filename::CHANGELOG.md

Re-running tests seem to make this go away (although I have encountered failures on subsequent retries), but I thought I would like to report this as it *seems* everything is configured correctly on my side.

 

I am, of course, open to any suggestions on anything I could be doing incorrectly here.  Thank you for any guidance and/or consideration.

5 Replies
GitHub Partner
Message 2 of 6

Re: Intermittent Errors During Workflow Execution

I forked your repo and the issue doesn’t repro, and it seems the error is gone on your recent workflows, so it’s fine now, right?

I checked the error message, looks the path is not correctly created or accessed, please check the similar ticket, the path should be checked and make sure it’s available in the $GITHUB_WORKSPACE.

Pilot Lvl 1
Message 3 of 6

Re: Intermittent Errors During Workflow Execution

Hi @weide-zhou thank you for your reply.  Sorry for the delay here as "subscribe" is not enabled by default and I had to visit the site to see if there were any updates.

 

I'm afraid this happens quite regularly still... especially when one attempts to push a release as we are now. 😅

 

I have had this occur on three repositories now, all of them intermittent, and all go away after retrying:

https://github.com/Mike-EEE/action-jackson/blob/71937e8e44c08614692a7f7f1bb5ba8936e105e5/.github/wor...

https://github.com/ExtendedXmlSerializer/NextRelease/blob/d7176e58f2964b793cdf7210d5a4667677047532/....

https://github.com/ExtendedXmlSerializer/home/blob/47f7567de9a45f849ffa106bd391d11026b8a2eb/.github/...

 

As for checking, $GITHUB_WORKSPACE: why would this work in some runs and not others?  Any guidance on how to check for this would be appreciated, too... are you saying we have to use script here for this particular value?

 

Again "re-run all checks" fixes the problem.  Usually this fixes it on the 2nd attempt, but I have had to retry up to four times to make it work.

 

Finally, I did check that ticket you provided (thank you!) but this seems to be a different issue.  My guess is that the template engine is not evaulating the `${{ steps.generate.outputs.filename }}` in time and it is resulting in the `null` value presented in the error.

Pilot Lvl 1
Message 4 of 6

Re: Intermittent Errors During Workflow Execution

Encountered this again.  here is the error in full:

 

2019-12-03T07:16:02.2408579Z ##[error]Value cannot be null. (Parameter 'path')
2019-12-03T07:16:02.2719818Z ##[error]Exit code 1 returned from process: file name '/home/runner/runners/2.161.0/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.

So it seems in this case, the `path` value is `null` which makes me suspect that the templated value `${{ steps.generate.outputs.filename }}` is not being evaluated in time.  Again, re-running checks eventually make it work, so it eventually evaulates in time.  However, there are times (which seem more often when trying to actually deploy rather than test 😅) when it doesn't evaluate in time, leading to the error.  This is my hunch, however.

Pilot Lvl 1
Message 5 of 6

Re: Intermittent Errors During Workflow Execution

Now it would seem that I am consistently running into this issue and cannot re-run check suite.  Or I can but the check suite does not actually re-run and I cannot cancel it. 😞

 

qKRkwa7

 

Seen here:

https://github.com/ExtendedXmlSerializer/home/actions

GitHub Partner
Message 6 of 6

Re: Intermittent Errors During Workflow Execution

Sorry for the inconvenience taken,  please ask private support to help handle the hanging workflow runs.