Skip to content

Tries to address the recent network issues - #51420

Merged
bors merged 2 commits into
rust-lang:masterfrom
kennytm:some-network-issues
Jun 8, 2018
Merged

Tries to address the recent network issues#51420
bors merged 2 commits into
rust-lang:masterfrom
kennytm:some-network-issues

Conversation

@kennytm

@kennytmkennytm commented Jun 7, 2018

Copy link
Copy Markdown
Member
  1. Set the DNS server to 8.8.8.8/8.8.4.4/1.1.1.1/1.0.0.1 to workaround the daily "Cannot resolve host" error these two weeks.
  2. Remove the unnecessary command gem update --system (originally added as experiment of the "Could not find a valid gem" error, which turns out to be useless).

It has no effect on deployment error and may cause further network issues.
@kennytm
kennytmforce-pushed the some-network-issues branch from ec7d602 to c023bb1CompareJune 7, 2018 20:48
@kennytm
kennytmforce-pushed the some-network-issues branch from c023bb1 to 32e8bdaCompareJune 7, 2018 21:16
@kennytmkennytm changed the title [WIP] Tries to address the recent network issuesTries to address the recent network issuesJun 7, 2018
@kennytm

Copy link
Copy Markdown
MemberAuthor

r? @Mark-Simulacrum cc @pietroalbini

@Mark-Simulacrum

Copy link
Copy Markdown
Member

This looks good to me, r=me when ready.

@emilyalbini

Copy link
Copy Markdown
Member

Do we know which DNS servers Travis was using before?

@emilyalbiniemilyalbini added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Jun 7, 2018
@kennytm

Copy link
Copy Markdown
MemberAuthor

@pietroalbini 169.254.169.254, which according to https://stackoverflow.com/a/32723910 is the same as the Google Public DNS for external domains, but I'm not sure if Travis has done some additional configuration in between.

@emilyalbini

Copy link
Copy Markdown
Member

Hmm, if that points to the same resolver it shouldn't make a difference using 8.8.8.8, but whatever, this change won't hurt, let's try it.

@kennytm

Copy link
Copy Markdown
MemberAuthor

Yeah that's also why I've included 1.1.1.1 as backup. Though if 8.8.8.8 really responded "cannot resolve" then the OS won't consult the remaining items.

@kennytm

Copy link
Copy Markdown
MemberAuthor

@bors r=Mark-Simulacrum

@bors

bors commented Jun 7, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 32e8bda has been approved by Mark-Simulacrum

@bors

bors commented Jun 7, 2018

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 10, this pull request will be tested once the tree is reopened

@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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Jun 7, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Jun 7, 2018
…-Simulacrum
Tries to address the recent network issues
1. Set the DNS server to 8.8.8.8/8.8.4.4/1.1.1.1/1.0.0.1 to workaround the daily "Cannot resolve host" error these two weeks.
2. Remove the unnecessary command `gem update --system` (originally added as experiment of the "Could not find a valid gem" error, which turns out to be useless).
@kennytmkennytm mentioned this pull request Jun 7, 2018
bors added a commit that referenced this pull request Jun 7, 2018
Rollup of 9 pull requests
Successful merges:
- #51186 (Remove two redundant .nll.stderr files)
- #51283 (Deny #[cfg] and #[cfg_attr] on generic parameters.)
- #51368 (Fix the use of closures within #[panic_implementation])
- #51380 (Remove dependency on fmt_macros from typeck)
- #51389 (rustdoc: Fix missing stability and src links for inlined external macros)
- #51399 (NLL performance boost)
- #51407 (Update RLS and Rustfmt)
- #51417 (Revert #49719)
- #51420 (Tries to address the recent network issues)
Failed merges:
@bors
bors merged commit 32e8bda into rust-lang:masterJun 8, 2018
@kennytm
kennytm deleted the some-network-issues branch June 8, 2018 02:08
kennytm added a commit to kennytm/rust that referenced this pull request Aug 16, 2018
Remove Travis shutdown debug scripts, and remove CI-specific DNS settings
Since the cause of the host shutdown (travis-ci/travis-ci#4924) is found, we could revert the shutdown debug attempts to shorten the logs.
Additionally, we're pretty sure a custom DNS (added in will not help travis-ci/travis-ci#9696, so reverting that part of rust-lang#51420 to reduce CI-specific settings.
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.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@kennytm@Mark-Simulacrum@emilyalbini@bors