-
Notifications
You must be signed in to change notification settings - Fork 38.7k
test: bump test timeouts so that functional tests run in valgrind #17770
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
|
Last failure: https://travis-ci.org/bitcoin/bitcoin/jobs/629019510#L3660 Re-run ci, to see if it is reproducible. |
|
To fix the wallet_groups timeout, you might need a diff that looks like: diff --git a/test/functional/wallet_groups.py b/test/functional/wallet_groups.py
index 3cf8aaf3d..f2fa1d3e4 100755
--- a/test/functional/wallet_groups.py
+++ b/test/functional/wallet_groups.py
@@ -16,7 +16,7 @@ class WalletGroupTest(BitcoinTestFramework):
self.setup_clean_chain = True
self.num_nodes = 3
self.extra_args = [[], [], ['-avoidpartialspends']]
- self.rpc_timeout = 120
+ self.rpc_timeout = 240
def skip_test_if_missing_module(self):
self.skip_if_no_wallet() |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Looks like feature_assumevalid needs the |
|
Ok, down to three failures 🚀
I think they can be excluded for now because they mine too many blocks
Timeout should be bumped here, probably |
|
Concept ACK Nice first-time contribution! Welcome as a contributor @michiboo :) |
|
ok, one more timeout on travis. Might want to bump that and remove the temporary workarounds in the ci files ( Then it should be ready for merge. |
|
Also could adjust the commit title to match the pull request title, which is a bit more descriptive. |
|
Hi There is error: The job exceeded the maximum time limit for jobs, and has been terminated. Not sure how to avoid this. |
maflcko
left a 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.
ACK. Let's look at travis some time later, but I'd like to get the bumped timeouts in, so that I can start running valgrind on my infrastructure.
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.
ok, then maybe revert the changes to this file altogether, but I'd still like to get this merged. The timeout changes help me running the valgrind tests on my own ci infrastructure. We can look into how to enable them on travis later on.
…n valgrind 2d23082 bump test timeouts so that functional tests run in valgrind (Micky Yun Chan) Pull request description: ci/tests: Bump timeouts so all functional tests run on travis in valgrind #17763 Top commit has no ACKs. Tree-SHA512: 5a8c6e2ea02b715facfcb58c761577be15ae58c45a61654beb98c2c2653361196c2eec521bcae4a9a1bab8e409d6807de771ef4c46d3d05996ae47a22d499d54
This was added in bitcoin#17770, but is identical to the supression above.
d7120f7 valgrind : remove duplicate BCLog::Logger suppression (fanquake) 708e3c7 valgrind: remove rest_blockhash_by_height suppression (fanquake) Pull request description: bitcoin@708e3c7: `Suppress rest_blockhash_by_height` should no longer be needed after bitcoin#18785. bitcoin@d7120f7 : Removes a duplicate `Suppress BCLog::Logger::StartLogging()` suppression that was added in bitcoin#17770. ACKs for top commit: MarcoFalke: ACK d7120f7 practicalswift: ACK d7120f7 -- patch looks correct and valgrind Travis job is happy Tree-SHA512: 45f5b9fa64bf83cada3cd9ad33c245f660376d5b29f51a2531d83133940090df945f5ef26c5847d6ec024ffab9528d55573c5cf9ca5e73795f9abfc971b3d29b
This was added in bitcoin#17770, but is identical to the supression above.
Summary: > Also speed up tx relay while touching the file anyway. This should fix the intermittent error `AssertionError: Mempool sync timed out:` If it doesn't solve the issue completely, we may also need [[bitcoin/bitcoin#17770 | PR17770]], [[bitcoin/bitcoin#18345 | PR18345]] and [[bitcoin/bitcoin#18704 | PR18704]]. These 3 PRs were previous unsuccesful attempts to solve this issue by Core, maybe they are useless or maybe they are part of the solution. This is a backport of Core [[bitcoin/bitcoin#18752 | PR18752]] Test Plan: `ninja && test/functional/test_runner.py mempool_reorg` Reviewers: #bitcoin_abc, majcosta Reviewed By: #bitcoin_abc, majcosta Subscribers: majcosta Differential Revision: https://reviews.bitcoinabc.org/D8436
ci/tests: Bump timeouts so all functional tests run on travis in valgrind #17763