You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Intermittent issue in feature_bip68_sequence.py: in test_sequence_lock_confirmed_inputs num_inputs = random.randint(1, min(10, available_utxos)): ValueError: empty range in randint(1, 0) #34205
...
node0 2026-01-05T18:28:42.795754Z [httpworker.1] [D:\a\bitcoin\bitcoin\src\rpc\request.cpp:243] [parse] [rpc] ThreadRPCServer method=getblockchaininfo user=__cookie__
node0 2026-01-05T18:28:42.796627Z [http] [D:\a\bitcoin\bitcoin\src\httpserver.cpp:307] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:59122
node0 2026-01-05T18:28:42.796705Z [httpworker.0] [D:\a\bitcoin\bitcoin\src\rpc\request.cpp:243] [parse] [rpc] ThreadRPCServer method=getrawtransaction user=__cookie__
node0 2026-01-05T18:28:42.797538Z [http] [D:\a\bitcoin\bitcoin\src\httpserver.cpp:307] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:59122
node0 2026-01-05T18:28:42.797608Z [httpworker.1] [D:\a\bitcoin\bitcoin\src\rpc\request.cpp:243] [parse] [rpc] ThreadRPCServer method=getblockchaininfo user=__cookie__
node0 2026-01-05T18:28:42.798538Z [http] [D:\a\bitcoin\bitcoin\src\httpserver.cpp:307] [http_request_cb] [http] Received a POST request for / from 127.0.0.1:59122
node0 2026-01-05T18:28:42.798612Z [httpworker.1] [D:\a\bitcoin\bitcoin\src\rpc\request.cpp:243] [parse] [rpc] ThreadRPCServer method=getblockchaininfo user=__cookie__
test 2026-01-05T18:28:42.799132Z TestFramework (ERROR): Unexpected exception
Traceback (most recent call last):
File "D:\a\bitcoin\bitcoin\build\test\functional\test_framework\test_framework.py", line 142, in main
self.run_test()
~~~~~~~~~~~~~^^
File "D:\a\bitcoin\bitcoin\build\test\functional\feature_bip68_sequence.py", line 66, in run_test
self.test_sequence_lock_confirmed_inputs()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "D:\a\bitcoin\bitcoin\build\test\functional\feature_bip68_sequence.py", line 149, in test_sequence_lock_confirmed_inputs
num_inputs = random.randint(1, min(10, available_utxos))
File "C:\hostedtoolcache\windows\Python\3.14.2\x64\Lib\random.py", line 341, in randint
raise ValueError(f"empty range in randint({a}, {b})")
ValueError: empty range in randint(1, 0)
Activity
fjahr commentedon Jan 9, 2026
I have looked and this and suggest a fix here: #34244