jamesob
commented at 8:41 pm on April 3, 2018:
member
As noted in #12843, we’re currently missing bugs unique to bitcoin-qt during the Travis build because the functional test framework only uses bitcoind (and not bitcoin-qt).
Run a single Travis job under xvfb for framebuffer virtualization and using bitcoin-qt as the binary. I’ve also removed the NEED_XVFB configuration since our usage of xvfb is outdated per Travis’ docs and the corresponding pre-build step is no longer necessary.
jnewbery
commented at 8:44 pm on April 3, 2018:
member
Concept ACK!
jnewbery added the label
Tests
on Apr 3, 2018
practicalswift
commented at 9:09 pm on April 3, 2018:
contributor
Concept ACK
jamesob force-pushed
on Apr 4, 2018
jamesob force-pushed
on Apr 4, 2018
jamesob closed this
on Apr 4, 2018
jamesob reopened this
on Apr 4, 2018
jamesob force-pushed
on Apr 4, 2018
Sjors
commented at 3:40 pm on April 4, 2018:
member
Concept ACK
jamesob force-pushed
on Apr 4, 2018
jamesob
commented at 5:45 pm on April 4, 2018:
member
Closing and re-opening in an attempt to get Travis to kick off a build - I was flagged (and then unflagged) as abusing Travis.
jamesob closed this
on Apr 4, 2018
jamesob reopened this
on Apr 4, 2018
jamesob force-pushed
on Apr 4, 2018
jamesob closed this
on Apr 4, 2018
jamesob reopened this
on Apr 4, 2018
jamesob force-pushed
on Apr 4, 2018
jamesob closed this
on Apr 4, 2018
jamesob reopened this
on Apr 4, 2018
in
.travis.yml:62
in
709bfaebe0outdated
61@@ -61,7 +62,6 @@ before_script:
62 - if [ -n "$OSX_SDK" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz; fi
63 - if [ -z "$NO_DEPENDS" ]; then make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS; fi
64 # Start xvfb if needed, as documented at https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
practicalswift
commented at 2:20 pm on April 9, 2018:
contributor
@jamesob Try force pushing a change instead (say after changing the commit message) - that should trigger a Travis rebuild. Closing and re-opening an issue will create a notification to followers to I think force pushing is a better way to wake up Travis :-)
jamesob
commented at 3:19 pm on April 9, 2018:
member
@practicalswift I’m really sorry about the spam, but force pushing isn’t kicking off a Travis build for this PR (for reasons unknown to me). You can see above that @MarcoFalke had to do the same thing. I’ll try opening a new PR next time I’d otherwise have to resort to an open/close. Sorry again for the trouble.
practicalswift
commented at 3:37 pm on April 9, 2018:
contributor
@jamesob I’ve now restarted the failing Travis build jobs :-)
practicalswift
commented at 3:41 pm on April 9, 2018:
contributor
@jamesob You may want to contact Travis CI support and make sure you’re account has not been flagged on their side. That happens and they’re usually fixing that quickly after receiving a ticket about it.
laanwj
commented at 3:47 pm on April 10, 2018:
member
Concept ACK (needs rebase)
jamesob force-pushed
on Apr 10, 2018
jamesob force-pushed
on Apr 10, 2018
jamesob force-pushed
on Apr 17, 2018
jamesob force-pushed
on Apr 17, 2018
jamesob force-pushed
on Apr 17, 2018
jamesob force-pushed
on Apr 17, 2018
conscott
commented at 1:05 pm on April 23, 2018:
contributor
For the actual bitcoin-qt job failing I tried to reproduce errors locally with Xvfd, manually setting BITCOIND to bitcoin-qt, but had no luck (all tests pass).
laanwj referenced this in commit
896a9d026c
on Apr 24, 2018
jamesob
commented at 12:42 pm on April 25, 2018:
member
@conscott thanks for trying to reproduce locally. I’ve been doing same and while I’m unable to reproduce on my 16.04 host, I’ve been able to reproduce reliably on a 14.04 VM.
I think running the functional suite using the qt binary has uncovered a latent deadlock, perhaps due to 14.04’s older default version of OpenSSL (1.0.1f) based on a tip from @TheBlueMatt.
MarcoFalke
commented at 2:42 pm on April 25, 2018:
Needs rebase due to conflict here
jamesob force-pushed
on Apr 25, 2018
Make functional tests compatible with bitcoin-qt usage
In particular, skip any assert_start_raises_init_error checks due to the way
QT handles startup errors (presents the user with an error dialog which must be
closed). In the future we may implement a better way of handling this.
85e2b57749
jamesob force-pushed
on Jun 4, 2018
jamesob force-pushed
on Jun 4, 2018
jamesob force-pushed
on Jun 4, 2018
[ci] Run functional tests using bitcoin-qt in one Travis job
As noted in https://github.com/bitcoin/bitcoin/pull/12843, we're currently
missing bugs unique to bitcoin-qt during the Travis build because the
functional test framework only uses bitcoind (and not bitcoin-qt).
Run a single Travis job under xvfb for framebuffer virtualization and using
bitcoin-qt as the binary. Remove outdated NEED_XVFB Travis configuration.
20323ee533
jamesob force-pushed
on Jun 4, 2018
DrahtBot added the label
Needs rebase
on Jun 24, 2018
DrahtBot
commented at 2:21 pm on June 24, 2018:
member
in
.travis.yml:84
in
20323ee533
79@@ -74,7 +80,11 @@ script:
80 - DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && DOCKER_EXEC make $GOAL V=1 ; false )
81 - if [ "$RUN_TESTS" = "true" ]; then DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1; fi
82 - if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then extended="--extended --exclude feature_pruning,feature_dbcrash"; fi
83- - if [ "$RUN_TESTS" = "true" ]; then DOCKER_EXEC test/functional/test_runner.py --combinedlogslen=4000 --coverage --quiet --failfast ${extended}; fi
84+ - if [ "$RUN_TESTS_WITH_QT" = "true" ]; then
85+ DOCKER_EXEC BITCOIND=$(DOCKER_EXEC find . -name 'bitcoin-qt' -executable) $FUNCTIONAL_TEST_CMD ${extended};
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2025-04-05 09:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me