Repository navigation
tests: Upgrade Travis OS to Xenial - #15022
Conversation
|
This also updates the compilers and build toolchain, but that shouldn't matter on the host because everything is ran inside of Docker, correct? |
8298f5e to
b279f23
Compare
|
I can't find a legitimate reason by looking through the Docker changelogs or documentation, but when running tests with See relevant issue here: |
|
@gkrizek please stop opening and closing this :) |
|
Sorry, @meshcollider. The first time was an accident then the second was to trigger a new CI run. One of the tests seems flaky, but I’ll test that in my fork. :) |
|
@gkrizek To trigger a new build, you can set up an account at travis-ci.org and control the builds under: http://travis-ci.org/gkrizek/bitcoin |
|
Thanks @Empact. I was doing that earlier and it was passing in my fork. That's why I thought this was good to go, but now a test is failing so I need to investigate that more. |
|
This is complete and ready for review. I've fixed some issues with tests and builds are passing consistently. |
|
This should probably be broken into two or three commits. i.e the Travis change (with/without the sanitizer change) and then the test timeout change in a separate commit. |
Updating the base OS used in Travis to Xenial from Trusty. This also updates Docker to 18.06 instead of 17.06 in CI.
|
@fanquake Updated. I split it into 3 commits. Thanks! |
|
utACK b6f0db6. We don't use any features from the travis image other than docker, so changing it shouldn't matter. |
|
Thanks @MarcoFalke. If anything we might get slightly faster build times. utACK b6f0db6 - appveyor is the failure. |
|
It looks like this ran about 5 minutes faster than another PR I have open. So I haven’t done testing to compare speeds, but it does seem faster. |
b6f0db6 Increase timeout of featuer_assumevalid test to fix flaky tests (Graham Krizek) aa9aca8 If tests are ran with (ASan + LSan), Docker needs access to ptrace (Graham Krizek) a3b8b43 Update Travis base OS to Xenial (Graham Krizek) Pull request description: Update base Travis OS to `xenial` from `trusty`. Link to Travis Docs for Xenial: https://docs.travis-ci.com/user/reference/xenial/ As noted in the documentation, Docker version is also updated from `17.06` to `18.06` Also includes: - If running Bitcoin config with LSan sanitizer, Allow ptrace in Docker run command - Increase timeout of feature_assumevalid test to fix flaky tests Tree-SHA512: baf2eda0cbb9990c43c76de1aebc8dd4a3f540323ac1fe2e164ac3bcf1fe3afa3e5b026bfeb5d650dae09a6854695d5744c1130c2fa82ece86c6835ba152f68d
|
Oh nice. Thanks for the speedup |
b6f0db6 Increase timeout of featuer_assumevalid test to fix flaky tests (Graham Krizek) aa9aca8 If tests are ran with (ASan + LSan), Docker needs access to ptrace (Graham Krizek) a3b8b43 Update Travis base OS to Xenial (Graham Krizek) Pull request description: Update base Travis OS to `xenial` from `trusty`. Link to Travis Docs for Xenial: https://docs.travis-ci.com/user/reference/xenial/ As noted in the documentation, Docker version is also updated from `17.06` to `18.06` Also includes: - If running Bitcoin config with LSan sanitizer, Allow ptrace in Docker run command - Increase timeout of feature_assumevalid test to fix flaky tests Tree-SHA512: baf2eda0cbb9990c43c76de1aebc8dd4a3f540323ac1fe2e164ac3bcf1fe3afa3e5b026bfeb5d650dae09a6854695d5744c1130c2fa82ece86c6835ba152f68d
b6f0db6 Increase timeout of featuer_assumevalid test to fix flaky tests (Graham Krizek) aa9aca8 If tests are ran with (ASan + LSan), Docker needs access to ptrace (Graham Krizek) a3b8b43 Update Travis base OS to Xenial (Graham Krizek) Pull request description: Update base Travis OS to `xenial` from `trusty`. Link to Travis Docs for Xenial: https://docs.travis-ci.com/user/reference/xenial/ As noted in the documentation, Docker version is also updated from `17.06` to `18.06` Also includes: - If running Bitcoin config with LSan sanitizer, Allow ptrace in Docker run command - Increase timeout of feature_assumevalid test to fix flaky tests Tree-SHA512: baf2eda0cbb9990c43c76de1aebc8dd4a3f540323ac1fe2e164ac3bcf1fe3afa3e5b026bfeb5d650dae09a6854695d5744c1130c2fa82ece86c6835ba152f68d
Update base Travis OS to
xenialfromtrusty.Link to Travis Docs for Xenial: https://docs.travis-ci.com/user/reference/xenial/
As noted in the documentation, Docker version is also updated from
17.06to18.06Also includes:
- If running Bitcoin config with LSan sanitizer, Allow ptrace in Docker run command
- Increase timeout of feature_assumevalid test to fix flaky tests