wallet_create_tx.py “Not solvable pre-selected input” exception #27316

issue ryanofsky openend this issue on March 23, 2023
  1. ryanofsky commented at 6:21 pm on March 23, 2023: contributor

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    CI test failure https://cirrus-ci.com/task/5315879898972160?logs=functional_tests#L2675:

     0test  2023-03-23T17:23:41.645000Z TestFramework (ERROR): JSONRPC error 
     1Traceback (most recent call last):
     2  File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\test_framework.py", line 132, in main
     3    self.run_test()
     4  File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\wallet_create_tx.py", line 35, in run_test
     5    self.test_create_too_long_mempool_chain()
     6  File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\wallet_create_tx.py", line 98, in test_create_too_long_mempool_chain
     7    tx_data = test_wallet.send(outputs=[{test_wallet.getnewaddress(): 25 - i}], options=options)
     8  File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\coverage.py", line 49, in __call__
     9    return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
    10  File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\authproxy.py", line 149, in __call__
    11    raise JSONRPCException(response['error'], status)
    12test_framework.authproxy.JSONRPCException: Not solvable pre-selected input COutPoint(e425cbbd63, 1) (-4)
    

    (log also includes a feature_config_args failure not related to this issue)

    Expected behaviour

    Test should pass. This seems like a race condition as there is an AddToWallet log line immediately below the exception.

    Steps to reproduce

    Happened in CI on commit 53d99551e913bfb85769a2b34fed73898779ff0f, but probably does not happen reliably.

    Relevant log output

    https://cirrus-ci.com/task/5315879898972160?logs=functional_tests#L2675

    How did you obtain Bitcoin Core

    Other

    What version of Bitcoin Core are you using?

    master@ a70911492fcd1f726782cca2f1ffac18c25e8fb4

    Operating system and version

    Windows

    Machine specifications

    No response

  2. maflcko added the label Wallet on Mar 23, 2023
  3. maflcko added the label Tests on Mar 23, 2023
  4. jonatack commented at 1:22 pm on March 24, 2023: contributor

    Same error reported by CI in https://cirrus-ci.com/task/5776249860128768?logs=functional_tests#L2682.

     0[default_wallet] AddToWallet 87b8816da11c3e05844802cf2ca4ac0fdcd605d0b53ae046f470264aec116878 
     1 test  2023-03-23T23:35:57.593000Z TestFramework (ERROR): JSONRPC error 
     2                                   Traceback (most recent call last):
     3                                     File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\test_framework.py", line 132, in main
     4                                       self.run_test()
     5                                     File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\wallet_create_tx.py", line 35, in run_test
     6                                       self.test_create_too_long_mempool_chain()
     7                                     File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\wallet_create_tx.py", line 98, in test_create_too_long_mempool_chain
     8                                       tx_data = test_wallet.send(outputs=[{test_wallet.getnewaddress(): 25 - i}], options=options)
     9                                     File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\coverage.py", line 49, in __call__
    10                                       return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
    11                                     File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\authproxy.py", line 149, in __call__
    12                                       raise JSONRPCException(response['error'], status)
    13                                   test_framework.authproxy.JSONRPCException: Not solvable pre-selected input COutPoint(87b8816da1, 1) (-4)
    
  5. furszy commented at 1:26 pm on March 24, 2023: member
  6. fanquake commented at 10:48 am on March 28, 2023: member
  7. josibake commented at 2:03 pm on March 28, 2023: member
  8. fanquake closed this on Mar 28, 2023

  9. sidhujag referenced this in commit 13a44c77a4 on Mar 28, 2023
  10. bitcoin locked this on Mar 27, 2024

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-07-05 19:13 UTC

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