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

Build failed due to SCCACHE_IDLE_TIMEOUT being too short #24510

Open
pylbrecht opened this issue Oct 20, 2019 · 2 comments
Open

Build failed due to SCCACHE_IDLE_TIMEOUT being too short #24510

pylbrecht opened this issue Oct 20, 2019 · 2 comments

Comments

@pylbrecht
Copy link
Contributor

@pylbrecht pylbrecht commented Oct 20, 2019

Recently trying to ./mach build --release, which resulted in the following output:

▶ ./mach build --release
   Compiling script v0.0.1 (/home/palbrecht/dev/servo/components/script)
error: failed to execute compile
caused by: error reading compile response from server
caused by: Failed to read response header
caused by: failed to fill whole buffer
error: could not compile `script`.

Google led me to #19907. Disabling the timeout fixed the issue for me: export SCCACHE_IDLE_TIMEOUT=0;./mach build --release.

@emilio pointed out that this might be worth filing an issue.

@SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Nov 10, 2019

It looks like we’re hitting this on CI too: https://community-tc.services.mozilla.com/tasks/HXPJxNepSsGvj0SoRU8F1g/runs/0

@jdm, @emilio, do you know why we set SCCACHE_IDLE_TIMEOUT to 1200 rather than 0?

@jdm
Copy link
Member

@jdm jdm commented Nov 10, 2019

I vaguely recall having sccache problems with the default timeout and being told to use a non-zero timeout, but it's been a long time since that conversation.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.