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

occasional failures during setup #91

Closed
cpcloud opened this issue Sep 2, 2021 · 8 comments
Closed

occasional failures during setup #91

cpcloud opened this issue Sep 2, 2021 · 8 comments

Comments

@cpcloud
Copy link

cpcloud commented Sep 2, 2021

I am seeing some (seemingly infrequent) errors during the setup of nix: https://github.com/ibis-project/ibis/runs/3497522732

image

I'm not sure what's happening here, but I've seen a similar error that also occurred today: https://github.com/cpcloud/ibis/runs/3496144019

image

@cpcloud
Copy link
Author

cpcloud commented Sep 2, 2021

@domenkozar
Copy link
Member

The first error is most likely a networking issue, not sure there's an easy fix.

The second error is NixOS/nix#3605

The last error is likely a bug in your code, you're importing <nixpkgs> while expecting to use a channel syntax.

@CohenCyril
Copy link

CohenCyril commented Oct 29, 2021

The first error is most likely a networking issue, not sure there's an easy fix.

I'm having this one a lot. Isn't it possible to detect network failures and retry? (with a configurable number of attempts)
(e.g. https://github.com/coq-community/coq-nix-toolbox/runs/4052073223?check_suite_focus=true#step:4:17)

@domenkozar
Copy link
Member

@CohenCyril how often does it happen? I could provide a script to debug and see what's going on, but it seems like the output gets cut prematurely.

@CohenCyril
Copy link

@CohenCyril how often does it happen? I could provide a script to debug and see what's going on, but it seems like the output gets cut prematurely.

Our piplines are getting big now (5 * 80ish jobs), and every day I need to relaunch at least one or two pipelines (github actions provides no way to retry individual jobs so I need to restart a full pipeline every time this happens) because of this particular error.

@domenkozar
Copy link
Member

@CohenCyril could you try using #105 and let's see if and how it breaks?

@CohenCyril
Copy link

@CohenCyril could you try using #105 and let's see if and how it breaks?

I will try. Thanks.

@domenkozar
Copy link
Member

The first error is fixed, the rest are either Nix bugs or bugs in user code. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants