Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIntermittent "Connection to server timed out" while building gecko-media (sccache) #19495
Labels
Comments
|
See related discussion at https://groups.google.com/forum/#!topic/mozilla.dev.servo/yZhbwrV7Yd4. |
This was referenced Dec 7, 2017
jdm
added a commit
to servo/saltfs
that referenced
this issue
Dec 14, 2017
Per https://github.com/mozilla/sccache/blob/a310f6a62eb34281bda083f88dc96c736a3eeb74/src/server.rs#L69-L76 this variable controls how long the server waits before shutting down. For long compiles that exceed this timeout, this can cause compilation to fail like servo/servo#19495. https://github.com/mozilla/sccache/blob/629813f2d2f0b3ac8102696df69d57200688d320/docs/Jenkins.md#L11 describes the effect of making this timeout zero for CI infrastructure - the server process becomes long-lived and never shuts down.
This was referenced Dec 17, 2017
bors-servo
added a commit
to servo/saltfs
that referenced
this issue
Dec 20, 2017
Make sccache never time out This should fix servo/servo#19495. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/763) <!-- Reviewable:end -->
|
This appears to still be happening. |
|
Our builders have sccache 0.1.1-pre installed, but support for SCCACHE_IDLE_TIMEOUT was not introduced until 0.2.1-pre. This explains why we're still seeing the problem on our build machines. This makes servo/saltfs#755 much more urgent. |
This was referenced Jan 4, 2018
This was referenced Jan 9, 2018
This was referenced Jan 9, 2018
bors-servo
added a commit
to servo/saltfs
that referenced
this issue
Jan 9, 2018
Upgrade sccache This puts the binaries in a s3 bucket that we control and upgrades to the latest version. This should finally fix servo/servo#19495. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/774) <!-- Reviewable:end -->
|
This should now be fixed, since servo/saltfs#774 has been deployed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example log: https://gist.github.com/jdm/14b33c3f609730891733d1a41e3f0af2
In particular:
My guess is this is related to the jobserver integration. cc @aturon, since this is significantly affecting Servo's CI throughput.