Disable IPv6 on Travis s390x case.#2819
Merged
nurse merged 1 commit intoJan 7, 2020
Merged
Conversation
This fixes following error that sometimes happens once in a few times on Travis s390x environment. ``` $ tool/travis_retry.sh sudo -E apt-add-repository -y "ppa:ubuntu-toolchain-r/test" + sudo -E apt-add-repository -y ppa:ubuntu-toolchain-r/test Error: retrieving gpg key timed out. ```
f5be0b0 to
1af6f9d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is pointed out from https://bugs.ruby-lang.org/issues/16360#note-16 .
This fixes following error that sometimes happens once in a few times
on Travis s390x environment.
For above line, I put
bash -cxbecause when run${BEFORE_INSTALL}withoutbash -cx, thesedcommand outputs the following error. https://travis-ci.org/junaruga/ruby/jobs/633341625#L210It's useful to see the actual executed command in the Travis log like this.
I added the script
tool/travis_disable_ipv6.sh, as I had no idea about how to add the multiple commands to${BEFORE_INSTALL}.The ruby code
was used in
wercker.ymlin the past.I tested
s390x-linuxcase, and I executed the case 5 times continuously, and all the jobs is succeeded. And I want to watch the case keeping it as allow_failures, on master branch for now, until we can see it will be stable.I tested
SUPPORT_JOKEcase too that is using${BEFORE_INSTALL}.