Skip to content

Rare walletbackup.py failure: cannot reproduce #8425

@laanwj

Description

@laanwj

I had this problem once while I was running the walletbackup.py test on 0.13.0rc2:

walletbackup.py:
Initializing test directory /tmp/testo3khmc00/37
INFO: Generating initial blockchain
Assertion failed: 76.69962300 != 50
Stopping nodes
Not cleaning up dir /tmp/testo3khmc00/37
Failed

stderr:
 Error: Unable to start HTTP server. See debug log for details.


************************
EXCEPTION: N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_10lock_errorEEEEE       
boost: mutex lock failed in pthread_mutex_lock: Invalid argument       
bitcoin in scheduler       

  File "/data/src/bitcoin-0.13/qa/rpc-tests/test_framework/test_framework.py", line 148, in main
    self.run_test()
  File "/home/user/src/bitcoin-0.13/qa/rpc-tests/walletbackup.py", line 114, in run_test
    assert_equal(self.nodes[0].getbalance(), 50)
  File "/data/src/bitcoin-0.13/qa/rpc-tests/test_framework/util.py", line 496, in assert_equal
    raise AssertionError("%s != %s"%(str(thing1),str(thing2)))

I'm unfortunately unable to reproduce it again, looks like a race condition.

Data directory available here: https://dev.visucore.com/bitcoin/tmp/8425_failed_testdata.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions