bug: Seems to hang for ever on my build agent
See original GitHub issueContext:
Trying to run this on my azure devops build agent ( Ubuntu-20.04)
I install using sudo npm install md-to-pdf -g -unsafe-perm=true
then run simply md-to-pdf Release1.0.0.md
When i do this on my local machine a pdf is generated in less than a second
On my build agent it hangs indefinitely
Strangely if i kill the task i see this in the logs
[17:18:10] generating PDF from Release1.0.0.md [started]
[17:18:12] generating PDF from Release1.0.0.md [completed]
so it seems it is running in about 2 seconds, but not existing properly so the script task doesnt exit
UPDATE - I managed to work around it by using the following syntax cat file.md | md-to-pdf > path/to/output.pdf
but leaving this open in case the above issue is of interest to you
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Some stages in release appear to hang even though ...
Recently, we've seen an increased number of stages continue to run (looking hung up), even though the corresponding work in Azure Portal is...
Read more >What to do when your build hangs on the Hosted Pool...
Disabling the Just-in-time debugger is a simple matter of resetting a couple of registry keys. And now the build no longer freezes and...
Read more >Troubleshoot pipeline runs - Azure DevOps
A pipeline may run for a long time and then fail due to job time-out. Job timeout closely depends on the agent being...
Read more >Builds hang when agent stops capturing build log | Bamboo
We have long running builds and the lack of logging triggers the hung build event, but the build on the agent is actually...
Read more >Builds hanging forever following a symlink · Issue #22
Running builds using any of the repositories that include the git submodule cause the build to hang. We had to disable the browserstack...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A small update from me. I have got it working, even the function
mdToPdf
works on my self-hosted Drone CI/CD with Docker Runner, both running in a Docker.yml
file that installspuppeteer
that works on my serverwith
launch_options: { args: ["--no-sandbox"]
inconfObj
Thanks for the update 🙌 I think there’s enough info here for now, so I’ll go ahead and close this as there’s nothing actionable about it for me. But feel free to add more comments about possible solutions or causes of this issue.