-
Notifications
You must be signed in to change notification settings - Fork 38.7k
[ci] Run functional tests using bitcoin-qt in one Travis job #12873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Concept ACK! |
|
Concept ACK |
15e4bb0 to
76d6c0c
Compare
76d6c0c to
9be7c60
Compare
|
Concept ACK |
9be7c60 to
971e34a
Compare
|
Closing and re-opening in an attempt to get Travis to kick off a build - I was flagged (and then unflagged) as abusing Travis. |
971e34a to
f9af997
Compare
f9af997 to
709bfae
Compare
.travis.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should remove this comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Fixed.
709bfae to
0256aab
Compare
0256aab to
4d19340
Compare
|
@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 :-) |
|
@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. |
|
@jamesob I've now restarted the failing Travis build jobs :-) |
|
@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. |
|
Concept ACK b42a408783b345d3f6c46e26a2d24dd00e1cff70 Seems one test is failing due to #12863. 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). |
…print messages 80a5e59 [qa] Attach node index to test_node AssertionError and print messages (James O'Beirne) Pull request description: In the midst of fighting with #12873 it became apparent that there're a number of assertions and print statements which are emitted by test nodes but don't identify the node in question. This change makes debugging a bit easier by adding identifying information to non-logger test_node-related error messages. Tree-SHA512: 7cc86f2c81f4b3fdba15ec9a2d21a84c4b083629e845e82288087c3affbbdc5c68e74067621856cc97fe84fbc8cb4f5ca4977a51ef381e5d74515df8eb001239
|
@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. Here's some relevant log output from the tests: I'm going to continue to investigate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs rebase due to conflict here
15a2f8f to
2f83646
Compare
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.
384bb4f to
5fd09df
Compare
As noted in bitcoin#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.
5fd09df to
20323ee
Compare
| Needs rebase |
| - if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then extended="--extended --exclude feature_pruning,feature_dbcrash"; fi | ||
| - if [ "$RUN_TESTS" = "true" ]; then DOCKER_EXEC test/functional/test_runner.py --combinedlogslen=4000 --coverage --quiet --failfast ${extended}; fi | ||
| - if [ "$RUN_TESTS_WITH_QT" = "true" ]; then | ||
| DOCKER_EXEC BITCOIND=$(DOCKER_EXEC find . -name 'bitcoin-qt' -executable) $FUNCTIONAL_TEST_CMD ${extended}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe you can just write BITCOIND=bitcoin-qt and it will look in the build dir automatically, as opposed to ./, what your find does.
|
this has needed rebase for a long time |
…print messages Summary: 80a5e59 [qa] Attach node index to test_node AssertionError and print messages (James O'Beirne) Pull request description: In the midst of fighting with bitcoin/bitcoin#12873 it became apparent that there're a number of assertions and print statements which are emitted by test nodes but don't identify the node in question. This change makes debugging a bit easier by adding identifying information to non-logger test_node-related error messages. Tree-SHA512: 7cc86f2c81f4b3fdba15ec9a2d21a84c4b083629e845e82288087c3affbbdc5c68e74067621856cc97fe84fbc8cb4f5ca4977a51ef381e5d74515df8eb001239 Backport of Core PR13022 https://github.com/bitcoin/bitcoin/pull/13022/files Depends on D3914 Test Plan: `test_runner.py` Reviewers: #bitcoin_abc, deadalnix, Fabien Reviewed By: #bitcoin_abc, deadalnix, Fabien Subscribers: Fabien Differential Revision: https://reviews.bitcoinabc.org/D3915
…or and print messages 80a5e59 [qa] Attach node index to test_node AssertionError and print messages (James O'Beirne) Pull request description: In the midst of fighting with bitcoin#12873 it became apparent that there're a number of assertions and print statements which are emitted by test nodes but don't identify the node in question. This change makes debugging a bit easier by adding identifying information to non-logger test_node-related error messages. Tree-SHA512: 7cc86f2c81f4b3fdba15ec9a2d21a84c4b083629e845e82288087c3affbbdc5c68e74067621856cc97fe84fbc8cb4f5ca4977a51ef381e5d74515df8eb001239 fix 13022 Signed-off-by: pasta <[email protected]>
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_XVFBconfiguration since our usage of xvfb is outdated per Travis' docs and the corresponding pre-build step is no longer necessary.