Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch linux CI workflow fails #770

Open
tmakatos opened this issue Aug 29, 2023 · 11 comments
Open

arch linux CI workflow fails #770

tmakatos opened this issue Aug 29, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@tmakatos
Copy link
Member

https://github.com/nutanix/libvfio-user/actions/runs/6011550391/job/16305137885?pr=769

pacman -Sy --noconfirm \

...

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
Error: The operation was canceled.

@gierens any ideas?

@tmakatos tmakatos added the bug Something isn't working label Aug 29, 2023
@jlevon
Copy link
Collaborator

jlevon commented Aug 30, 2023

It looks like it timed out.

@gierens
Copy link
Contributor

gierens commented Aug 31, 2023

pacman has a download timeout of 10s if I'm not mistaken that can be disabled by:

SmartSelect_20230831_064604_Samsung Internet.jpg

Not sure if you can also simply increase this, but one could simply use the timeout command on the pacman command in combination with this flag. I can have a look at this later the day.

@jlevon
Copy link
Collaborator

jlevon commented Aug 31, 2023

It's the entire workflow that's timing out though, I think, if you check the execution times. It shouldn't really take 10 minutes to update (!)

@gierens
Copy link
Contributor

gierens commented Aug 31, 2023

Ah yeah, thank's for the hint, now I see it too in the workflow run. Hm, I'll sync my fork and try to reproduce this on my runner.

@gierens
Copy link
Contributor

gierens commented Sep 4, 2023

I looked into this but I'm not able to reproduce it: https://github.com/gierens/libvfio-user/actions/runs/6066677383 ... ran it multiple times and the arch job always succeeds as the fastest.

What I did notice however is that the centos job sometimes comes pretty close to the 10 minute mark (https://github.com/gierens/libvfio-user/actions/runs/6066677383/attempts/1):
Screenshot from 2023-09-04 10-13-34

And also failed one time (https://github.com/gierens/libvfio-user/actions/runs/6066677383/attempts/3):
Screenshot from 2023-09-04 10-13-39
Apparently due to some connection issue:
Screenshot from 2023-09-04 10-13-54

So my best guess is, that something similar happened to the arch job on the mentioned PR ... some connection issue to the arch repos and then a timeout. Nothing to worry too much about.

I'm also not convinced that the timeout came from Github since the default Github Actions timeout is 6 hours unless configured otherwise: https://nesin.io/blog/github-action-timeout ... and I cannot find any such config in the workflows.

@jlevon
Copy link
Collaborator

jlevon commented Sep 4, 2023

See the yaml in .github - we set timeout to 10 minutes as that really should be long enough for pre-commit CI.

@gierens
Copy link
Contributor

gierens commented Sep 4, 2023

Ah, yeah you're right ... my editor plugin for searching doesn't seem to go into hidden directories that's why I could find it, my bad!

@gierens
Copy link
Contributor

gierens commented Sep 4, 2023

But then that's actually settled I'd say, just a timeout due to a connection issue.

@jlevon
Copy link
Collaborator

jlevon commented Sep 4, 2023

we saw this a few times but will keep open and monitor...

@gierens
Copy link
Contributor

gierens commented Sep 4, 2023

I wonder if maybe the arch repo mirror that is chosen in the jobs on your runner is flaky.

@jlevon
Copy link
Collaborator

jlevon commented Sep 4, 2023

Well, it's github's runner so not something we'd control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants