~sircmpwn/builds.sr.ht#298: 
Build fails with hanging process

I have a strange problem, that sometimes a nodejs process is hanging.

For Example this: https://builds.sr.ht/~xaffe/job/278818

Other times it works without a flaw: https://builds.sr.ht/~xaffe/job/278815

Sometimes I resubmit m builds and this fixes the problem, but not always. I'm currently a bit at a loss, because I don't see any way to fix this?

Status
REPORTED
Submitter
~xaffe
Assigned to
No-one
Submitted
1 year, 3 months ago
Updated
1 year, 1 month ago
Labels
No labels applied.

~j0ni 1 year, 1 month ago

Adding a +1 to this - my build hangs right after staring docker - here's the hanging task:

  - build-image: |
      cd voidshrieker
      sudo nohup dockerd &
      sleep 10
      sudo docker build -t void/nginx .
      sudo docker save void/nginx:latest > webimage.tar
      sudo chmod 644 webimage.tar

I see the following logs:

+ cd voidshrieker
+ sleep 10
+ sudo nohup dockerd
nohup: appending output to 'nohup.out'

and then nothing else. Similarly, sometimes it works fine when I cancel and resubmit, but not always.

It would be super helpful if you could ssh into a canceled build as you can a failed build, otherwise you have to wait a very long time to investigate.

~sircmpwn 1 year, 1 month ago

Docker has unrelated networking issues. It's only supported on Debian or Arch Linux.

~sircmpwn 1 year, 1 month ago

Should work on Alpine too.

~j0ni 1 year, 1 month ago

My build is using the archlinux image, I should have mentioned that, sorry.

~sircmpwn 1 year, 1 month ago*

Please open a separate ticket and mention ~eschwartz.

~j0ni referenced this from #308 1 year, 1 month ago

Register here or Log in to comment, or comment via email.