Skip to content
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

test: add logging, reduce blocks, move sync_all in wallet_ groups #21411

Merged
merged 2 commits into from Mar 11, 2021

Conversation

jonatack
Copy link
Contributor

@jonatack jonatack commented Mar 10, 2021

L2742     File "/home/ubuntu/src/test/functional/wallet_groups.py", line 162, in run_test
L2743       self.sync_all()
test_framework.authproxy.JSONRPCException: 'syncwithvalidationinterfacequeue' RPC took longer than 960.000000 seconds. Consider using larger timeout for calls that take longer to return. (-344)

@fanquake fanquake added the Tests label Mar 10, 2021
@maflcko
Copy link
Member

maflcko commented Mar 11, 2021

The timeout happens in line 162, not in line 34. It can be fixed by moving the sync_all into the loop, so that less blocks are synced to the wallet on each call.

(Note that #20362 probably fixes this too)

- generate 101 blocks instead of 110

- move a sync_all call into the loop so that fewer blocks are
  synced on each call to hopefully see fewer timeouts
@jonatack
Copy link
Contributor Author

Added to the second commit. I thought about moving the sync_all call into the loop; thanks for confirming. Will look at #20362 as well.

@jonatack jonatack changed the title test: add logging, reduce blocks generated in wallet groups test test: add logging, reduce blocks, move sync_all in wallet_ groups Mar 11, 2021
@maflcko
Copy link
Member

maflcko commented Mar 11, 2021

cr ACK c62f9bc

@maflcko maflcko merged commit e9b6400 into bitcoin:master Mar 11, 2021
@jonatack jonatack deleted the wallet_groups-test branch March 11, 2021 18:12
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Mar 11, 2021
…in wallet_ groups

c62f9bc test: use fewer blocks in wallet_groups and move sync call (Jon Atack)
3a16b5e test: add missing logging to wallet_groups.py (Jon Atack)

Pull request description:

  - add logging (particularly useful as the tests are somewhat slow)
  - generate 101 blocks instead of 110
  - move `sync_all` call into the loop, so fewer blocks are synced on each call, to hopefully see fewer CI timeouts as in https://bitcoinbuilds.org/index.php?ansilog=88eee99e-1727-44ed-b778-3b9c75c33928.log

  ```
  L2742     File "/home/ubuntu/src/test/functional/wallet_groups.py", line 162, in run_test
  L2743       self.sync_all()
  test_framework.authproxy.JSONRPCException: 'syncwithvalidationinterfacequeue' RPC took longer than 960.000000 seconds. Consider using larger timeout for calls that take longer to return. (-344)
  ```

ACKs for top commit:
  MarcoFalke:
    cr ACK c62f9bc

Tree-SHA512: 711deafcd589cb8196cb207ff882e0f2ab6b70828a6abad91f83f535974cc430a56b9e8a960fd233d31d610932a0d48b49ee681aae564d145a3040288ecda8f8
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 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.

None yet

3 participants