Skip to content

CI: make docker cache download and docker load time out after 10 minutes - #90122

Merged
bors merged 3 commits into
rust-lang:masterfrom
rusticstuff:ci_curl_max_time
Oct 23, 2021
Merged

CI: make docker cache download and docker load time out after 10 minutes#90122
bors merged 3 commits into
rust-lang:masterfrom
rusticstuff:ci_curl_max_time

Conversation

@hkratz

@hkratzhkratz commented Oct 21, 2021

Copy link
Copy Markdown
Contributor

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 21, 2021
@hkratz

Copy link
Copy Markdown
ContributorAuthor

On second thought it seems much more likely that docker load hangs.

@rust-log-analyzer

This comment has been minimized.

@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Oct 21, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 838e673 has been approved by Mark-Simulacrum

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 21, 2021
@hkratz

hkratz commented Oct 21, 2021

Copy link
Copy Markdown
ContributorAuthor

@Mark-Simulacrum I now strongly suspect that it is docker load. Not sure if we can do anything about it, might be a problem specific to docker in the hosted GA runners.

We could try /usr/bin/timeout -s KILL 600 docker load -i /tmp/rustci_docker_cache (kill after 10 min.), then it would at least fail earlier if stuck just not use the cached docker images.

JohnTitor added a commit to JohnTitor/rust that referenced this pull request Oct 21, 2021
@JohnTitorJohnTitor mentioned this pull request Oct 21, 2021
@hkratz

Copy link
Copy Markdown
ContributorAuthor

@JohnTitorJohnTitor mentioned this pull request Oct 21, 2021
@hkratzhkratz changed the title CI: make docker cache download attempt time out after 10 minutesCI: make docker cache download and docker load time out after 10 minutesOct 21, 2021
@hkratz

Copy link
Copy Markdown
ContributorAuthor

Adding timeout for docker load as the rollup will time out again anyway so the dl was not to blame: https://github.com/rust-lang-ci/rust/runs/3967892291?check_suite_focus=true

@hkratz

Copy link
Copy Markdown
ContributorAuthor

@rustbot label -S-waiting-on-bors +S-waiting-on-review

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 21, 2021
@Mark-Simulacrum

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Oct 23, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 3e6a695 has been approved by Mark-Simulacrum

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 23, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 23, 2021
…askrgr
Rollup of 11 pull requests
Successful merges:
- rust-lang#83233 (Implement split_array and split_array_mut)
- rust-lang#88300 (Stabilise unix_process_wait_more, extra ExitStatusExt methods)
- rust-lang#89416 (nice_region_error: Include lifetime placeholders in error output)
- rust-lang#89468 (Report fatal lexer errors in `--cfg` command line arguments)
- rust-lang#89730 (add feature flag for `type_changing_struct_update`)
- rust-lang#89920 (Implement -Z location-detail flag)
- rust-lang#90070 (Add edition configuration to compiletest)
- rust-lang#90087 (Sync rustfmt subtree)
- rust-lang#90117 (Make RSplit<T, P>: Clone not require T: Clone)
- rust-lang#90122 (CI: make docker cache download and `docker load` time out after 10 minutes)
- rust-lang#90166 (Add comment documenting why we can't use a simpler solution)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 1ea34fb into rust-lang:masterOct 23, 2021
@rustbotrustbot added this to the 1.58.0 milestone Oct 23, 2021
@hkratz
hkratz deleted the ci_curl_max_time branch November 6, 2021 20:36
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@hkratz@rust-highfive@rust-log-analyzer@Mark-Simulacrum@bors@rustbot