Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Jun 14, 2020

It seems odd to have travis related workarounds in the general ci config files. Fix that oddity by moving the travis related workarounds to the travis yaml file.

For unexplained reasons, this should also work around and thus close #19171

@maflcko maflcko force-pushed the 2006-ciNoTravisArm branch 2 times, most recently from 6e84e89 to 6fbe3b2 Compare June 14, 2020 15:29
@maflcko maflcko force-pushed the 2006-ciNoTravisArm branch from 6fbe3b2 to fa71667 Compare June 14, 2020 15:33
@maflcko
Copy link
Member Author

maflcko commented Jun 14, 2020

Run 1 passed: https://travis-ci.org/github/bitcoin/bitcoin/builds/698236561

@hebasto
Copy link
Member

hebasto commented Jun 14, 2020

Has anyone an explanation?

@@ -33,9 +33,7 @@ if [ -z "$NO_DEPENDS" ]; then
else
SHELL_OPTS="CONFIG_SHELL="
fi
# Temporary workaround for https://github.com/bitcoin/bitcoin/issues/16368
python3 -c 'import time; [print(".") or time.sleep(500) for _ in range(4)]' &
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the issue was that this print did nothing, because by default flush=False (see https://docs.python.org/3.8/library/functions.html#print ).

Testing locally and on travis x86, it did always happen to print, just not on travis arm.

Comment on lines -24 to -25
bash -c "${CI_WAIT}" & # Print dots in case the tests take a long time to run

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This deletion is also necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI_WAIT no longer exists and this should be a no-op

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, CI_WAIT was dropped from the .travis.yml in #18929.

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fa71667, I have reviewed the code and it looks OK, I agree it can be merged.

@maflcko maflcko merged commit 1c86ed4 into bitcoin:master Jun 15, 2020
@maflcko maflcko deleted the 2006-ciNoTravisArm branch June 15, 2020 10:28
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Feb 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

travis arm64 errors: sudo: unable to resolve host travis-job-bitcoin-bitcoin-694885469
3 participants