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

issue ryanofsky opened 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:

    test  2023-03-23T17:23:41.645000Z TestFramework (ERROR): JSONRPC error 
    Traceback (most recent call last):
      File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\test_framework.py", line 132, in main
        self.run_test()
      File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\wallet_create_tx.py", line 35, in run_test
        self.test_create_too_long_mempool_chain()
      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
        tx_data = test_wallet.send(outputs=[{test_wallet.getnewaddress(): 25 - i}], options=options)
      File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\coverage.py", line 49, in __call__
        return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
      File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\authproxy.py", line 149, in __call__
        raise JSONRPCException(response['error'], status)
    test_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.

    [default_wallet] AddToWallet 87b8816da11c3e05844802cf2ca4ac0fdcd605d0b53ae046f470264aec116878 
     test  2023-03-23T23:35:57.593000Z TestFramework (ERROR): JSONRPC error 
                                       Traceback (most recent call last):
                                         File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\test_framework.py", line 132, in main
                                           self.run_test()
                                         File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\wallet_create_tx.py", line 35, in run_test
                                           self.test_create_too_long_mempool_chain()
                                         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
                                           tx_data = test_wallet.send(outputs=[{test_wallet.getnewaddress(): 25 - i}], options=options)
                                         File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\coverage.py", line 49, in __call__
                                           return_val = self.auth_service_proxy_instance.__call__(*args, **kwargs)
                                         File "C:\Users\ContainerAdministrator\AppData\Local\Temp\cirrus-ci-build\test\functional\test_framework\authproxy.py", line 149, in __call__
                                           raise JSONRPCException(response['error'], status)
                                       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: 2026-04-21 18:13 UTC

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