Failure in wallet_balance.py #16020

issue promag opened this issue on May 13, 2019
  1. promag commented at 6:14 PM on May 13, 2019: member

    Failure observed in #14047, output:

    82/119 - wallet_balance.py failed, Duration: 13 s
    stdout:
    2019-05-11T08:00:06.629000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20190511_074808/wallet_balance_37
    2019-05-11T08:00:07.651000Z TestFramework (INFO): Check that only node 0 is watching an address
    2019-05-11T08:00:07.658000Z TestFramework (INFO): Mining blocks ...
    2019-05-11T08:00:11.525000Z TestFramework (INFO): Test getbalance with different arguments
    2019-05-11T08:00:11.708000Z TestFramework (INFO): Test getbalance and getunconfirmedbalance with unconfirmed inputs
    2019-05-11T08:00:11.787000Z TestFramework (INFO): Test getbalance and getunconfirmedbalance with conflicted unconfirmed inputs
    2019-05-11T08:00:15.377000Z TestFramework (INFO): Check that wallet txs not in the mempool are untrusted
    2019-05-11T08:00:15.388000Z TestFramework (INFO): Test replacement and reorg of non-mempool tx
    2019-05-11T08:00:18.538000Z TestFramework (INFO): Put txs back into mempool of node 1 (not node 0)
    2019-05-11T08:00:18.604000Z TestFramework (ERROR): Assertion failed
    Traceback (most recent call last):
      File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/test_framework/test_framework.py", line 175, in main
        self.run_test()
      File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/wallet_balance.py", line 203, in run_test
        assert_equal(self.nodes[0].getbalance(minconf=0), 0)  # wallet txs not in the mempool are untrusted
      File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/test/functional/test_framework/util.py", line 39, in assert_equal
        raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
    AssertionError: not(98.85979500 == 0)
    2019-05-11T08:00:18.612000Z TestFramework (INFO): Stopping nodes
    
  2. fanquake added the label Tests on May 13, 2019
  3. IlyasRidhuan commented at 5:04 AM on June 28, 2019: none

    Since #14047 is now merged, wallet_balance.py test seems to be working properly on master.

     ./test/functional/wallet_balance.py
    2019-06-28T04:50:49.713000Z TestFramework (INFO): Initializing test directory /var/folders/yl/l7k1vc813lx130hnkhm45tt40000gn/T/bitcoin_func_test_b8ubn_vq
    2019-06-28T04:50:50.898000Z TestFramework (INFO): Check that only node 0 is watching an address
    2019-06-28T04:50:50.900000Z TestFramework (INFO): Mining blocks ...
    2019-06-28T04:50:52.060000Z TestFramework (INFO): Test getbalance with different arguments
    2019-06-28T04:50:52.351000Z TestFramework (INFO): Test getbalance and getunconfirmedbalance with unconfirmed inputs
    2019-06-28T04:50:52.399000Z TestFramework (INFO): Test getbalance and getunconfirmedbalance with conflicted unconfirmed inputs
    2019-06-28T04:50:56.346000Z TestFramework (INFO): Check that wallet txs not in the mempool are untrusted
    2019-06-28T04:50:56.355000Z TestFramework (INFO): Test replacement and reorg of non-mempool tx
    2019-06-28T04:50:59.398000Z TestFramework (INFO): Put txs back into mempool of node 1 (not node 0)
    2019-06-28T04:51:01.380000Z TestFramework (INFO): Stopping nodes
    2019-06-28T04:51:01.802000Z TestFramework (INFO): Cleaning up /var/folders/yl/l7k1vc813lx130hnkhm45tt40000gn/T/bitcoin_func_test_b8ubn_vq on exit
    2019-06-28T04:51:01.802000Z TestFramework (INFO): Tests successful
    
  4. MarcoFalke commented at 12:43 PM on June 28, 2019: member

    I saw the same failure just yesterday, maybe it is a race with the mempool?

  5. MarcoFalke commented at 12:45 PM on June 28, 2019: member

    Might be related to #14193

  6. MarcoFalke added this to the milestone 0.19.0 on Jun 28, 2019
  7. MarcoFalke referenced this in commit e7f3450b7d on Jun 30, 2019
  8. MarcoFalke closed this on Jun 30, 2019

  9. DrahtBot locked this on Dec 16, 2021
  10. Munkybooty referenced this in commit 8ecd5dd23e on Feb 6, 2022
  11. Munkybooty referenced this in commit 34f9961a25 on Feb 15, 2022
  12. Munkybooty referenced this in commit 424506d27e on Apr 21, 2022
  13. Munkybooty referenced this in commit a5e2035392 on Apr 26, 2022
  14. Munkybooty referenced this in commit e575660b35 on May 4, 2022
  15. Munkybooty referenced this in commit 8103458630 on May 10, 2022
  16. Munkybooty referenced this in commit 89e7df11a8 on May 17, 2022

github-metadata-mirror

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: 2026-04-17 09:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me