qa: feature_notifications fails with "IndexError: string index out of range" #21776

issue hebasto opened this issue on April 25, 2021
  1. hebasto commented at 8:51 PM on April 25, 2021: member

    https://cirrus-ci.com/task/5737232834232320?logs=ci#L3345

     node0 2021-04-25T19:08:05.681303Z [http] [httpserver.cpp:238] [http_request_cb] Received a POST request for / from 127.0.0.1:33768 
     node0 2021-04-25T19:08:05.681424Z [httpworker.1] [rpc/request.cpp:174] [parse] ThreadRPCServer method=getrawmempool user=__cookie__ 
     node1 2021-04-25T19:08:05.682485Z [http] [httpserver.cpp:238] [http_request_cb] Received a POST request for / from 127.0.0.1:57040 
     node1 2021-04-25T19:08:05.682592Z [httpworker.1] [rpc/request.cpp:174] [parse] ThreadRPCServer method=getrawmempool user=__cookie__ 
     node0 2021-04-25T19:08:05.683502Z [http] [httpserver.cpp:238] [http_request_cb] Received a POST request for / from 127.0.0.1:33768 
     node0 2021-04-25T19:08:05.683593Z [httpworker.2] [rpc/request.cpp:174] [parse] ThreadRPCServer method=syncwithvalidationinterfacequeue user=__cookie__ 
     node1 2021-04-25T19:08:05.684285Z [http] [httpserver.cpp:238] [http_request_cb] Received a POST request for / from 127.0.0.1:57040 
     node1 2021-04-25T19:08:05.684366Z [httpworker.2] [rpc/request.cpp:174] [parse] ThreadRPCServer method=syncwithvalidationinterfacequeue user=__cookie__ 
     test  2021-04-25T19:08:05.685000Z TestFramework (ERROR): Unexpected exception caught during testing 
                                       Traceback (most recent call last):
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-i686-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 128, in main
                                           self.run_test()
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-i686-pc-linux-gnu/test/functional/feature_notifications.py", line 144, in run_test
                                           self.expect_wallet_notify([(tx2, -1, UNCONFIRMED_HASH_STRING)])
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-i686-pc-linux-gnu/test/functional/feature_notifications.py", line 172, in expect_wallet_notify
                                           assert_equal(text[-1], '\n')
                                       IndexError: string index out of range
     test  2021-04-25T19:08:05.685000Z TestFramework (DEBUG): Closing down network thread 
     test  2021-04-25T19:08:05.736000Z TestFramework (INFO): Stopping nodes 
    
  2. hebasto added the label Bug on Apr 25, 2021
  3. hebasto added the label Tests on Apr 25, 2021
  4. jonatack commented at 9:18 PM on April 25, 2021: member
  5. hebasto commented at 9:59 PM on April 25, 2021: member

    Maybe duplicate of #21683

    Right.

  6. hebasto closed this on Apr 25, 2021

  7. DrahtBot locked this on Aug 18, 2022
Contributors
Labels

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-24 21:14 UTC

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