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

Tests time out due to slow Setup Cpp setup #365

Closed
dsharlet opened this issue May 28, 2024 · 3 comments
Closed

Tests time out due to slow Setup Cpp setup #365

dsharlet opened this issue May 28, 2024 · 3 comments
Assignees

Comments

@dsharlet
Copy link
Owner

Intermittently, our tests are slow to run due to Setup Cpp taking a long time. When it's fast, it takes <1 minutes, when it's slow, it can take almost 10 minutes.

Some relevant background:

It seems like the setup is supposed to be cached on GH actions, but maybe it isn't sometimes?

Maybe using docker would fix this?

@dsharlet
Copy link
Owner Author

Looking at an example of this, I see this in the log:

Warning: Failed to add apt key via server keyserver.ubuntu.com: Error: Command failed with exit code 2: sudo 'gpg' '--no-default-keyring' '--keyring' 'gnupg-ring:/etc/apt/trusted.gpg.d/setup-cpp-ubuntu-archive.gpg' '--keyserver' 'keyserver.ubuntu.com' '--recv-keys' '3B4FE6ACC0B21F32'

Maybe this causes the cache to not work?

@dsharlet
Copy link
Owner Author

Hmm, there's another example that's slow, but does not have that failure in the log.

@dsharlet
Copy link
Owner Author

I think this will be fixed by #366. I thought we needed LLVM for asan or something else, but I guess not any more.

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

2 participants