ci: failure in rpc_scantxoutset.py #23847

issue fanquake openend this issue on December 23, 2021
  1. fanquake commented at 6:01 am on December 23, 2021: member

    Seen in #23842. https://cirrus-ci.com/task/6388867203858432:

     0 node0 2021-12-22T19:23:59.527668Z [http] [httpserver.cpp:238] [http_request_cb] Received a POST request for / from 127.0.0.1:47384 
     1 node0 2021-12-22T19:23:59.527720Z [httpworker.1] [rpc/request.cpp:174] [parse] ThreadRPCServer method=scantxoutset user=__cookie__ 
     2 node0 2021-12-22T19:23:59.527890Z [httpworker.1] [logging/timer.h:57] [Log] FlushStateToDisk: write block and undo data to disk started 
     3 node0 2021-12-22T19:23:59.529826Z [httpworker.1] [logging/timer.h:57] [Log] FlushStateToDisk: write block and undo data to disk completed (1.92ms) 
     4 node0 2021-12-22T19:23:59.529841Z [httpworker.1] [logging/timer.h:57] [Log] FlushStateToDisk: write block index to disk started 
     5 node0 2021-12-22T19:23:59.530512Z [httpworker.1] [logging/timer.h:57] [Log] FlushStateToDisk: write block index to disk completed (0.66ms) 
     6 node0 2021-12-22T19:23:59.530530Z [httpworker.1] [logging/timer.h:57] [Log] FlushStateToDisk: write coins cache to disk (0 coins, 0kB) started 
     7 node0 2021-12-22T19:23:59.530557Z [httpworker.1] [txdb.cpp:161] [BatchWrite] Writing final batch of 0.00 MiB 
     8 node0 2021-12-22T19:23:59.530569Z [httpworker.1] [txdb.cpp:163] [BatchWrite] Committed 0 changed transaction outputs (out of 0) to coin database... 
     9 node0 2021-12-22T19:23:59.530578Z [httpworker.1] [logging/timer.h:57] [Log] FlushStateToDisk: write coins cache to disk (0 coins, 0kB) completed (0.04ms) 
    10 node0 2021-12-22T19:23:59.530591Z [httpworker.1] [validationinterface.cpp:244] [ChainStateFlushed] Enqueuing ChainStateFlushed: block hash=1da9728920712f0193810f287cb3b9ce59171e90d13b6dfe87094be9a6810176 
    11 test  2021-12-22T19:23:59.531000Z TestFramework (ERROR): Assertion failed 
    12                                   Traceback (most recent call last):
    13                                     File "/tmp/cirrus-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 132, in main
    14                                       self.run_test()
    15                                     File "/tmp/cirrus-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/rpc_scantxoutset.py", line 72, in run_test
    16                                       assert_equal(self.nodes[0].scantxoutset("start", [ "wpkh(" + pubk1 + ")", "wpkh(" + pubk2 + ")", "wpkh(" + pubk3 + ")"])['total_amount'], Decimal("0.004"))
    17                                     File "/tmp/cirrus-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/util.py", line 50, in assert_equal
    18                                       raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
    19                                   AssertionError: not(0E-8 == 0.004)
    20 node0 2021-12-22T19:23:59.531303Z [scheduler] [validationinterface.cpp:244] [operator()] ChainStateFlushed: block hash=1da9728920712f0193810f287cb3b9ce59171e90d13b6dfe87094be9a6810176 
    21 test  2021-12-22T19:23:59.532000Z TestFramework (DEBUG): Closing down network thread 
    22 test  2021-12-22T19:23:59.583000Z TestFramework (INFO): Stopping nodes 
    23 test  2021-12-22T19:23:59.583000Z TestFramework.node0 (DEBUG): Stopping node 
    
  2. fanquake added the label Tests on Dec 23, 2021
  3. fanquake commented at 8:25 am on December 23, 2021: member
  4. MarcoFalke commented at 5:44 pm on December 23, 2021: member
    I can reproduce locally
  5. MarcoFalke commented at 10:59 pm on December 23, 2021: member

    This was introduced in commit 3ac38058ce :thinking:

    Seems odd either way that a blockchain rpc depends on the wallet, so would probably be best to remove the wallet and replace it with MiniWallet.

  6. MarcoFalke closed this on Dec 26, 2021

  7. DrahtBot locked this on Dec 26, 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: 2024-12-23 15:12 UTC

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