Skip to content

intermittent issue in feature_init.py (bitcoind should have exited with expected error LevelDB error: Corruption) #32600

@maflcko

Description

@maflcko

https://cirrus-ci.com/task/5185890844147712?logs=ci#L3553:

267/267 - �[1mfeature_init.py�[0m failed, Duration: 2420 s
[17:16:50.450] 
[17:16:50.450] �[1mstdout:
[17:16:50.450] �[0m2025-05-21T20:36:30.563000Z TestFramework (INFO): PRNG seed is: 630547506121562679

...

[17:16:50.450] 2025-05-21T20:36:49.282000Z TestFramework (INFO): Perturbing file to ensure failure /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250521_201845/feature_init_53/node0/regtest/indexes/coinstats/db/000033.ldb
[17:16:50.450] 2025-05-21T20:36:49.282000Z TestFramework (INFO): Perturbing file to ensure failure /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250521_201845/feature_init_53/node0/regtest/indexes/coinstats/db/000034.log
[17:16:50.450] 2025-05-21T20:36:50.003000Z TestFramework (INFO): Perturbing file to ensure failure /ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250521_201845/feature_init_53/node0/regtest/indexes/txindex/000029.log
[17:16:50.450] 2025-05-21T21:16:50.010000Z TestFramework (ERROR): Assertion failed
[17:16:50.450] Traceback (most recent call last):
[17:16:50.450]   File "/ci_container_base/test/functional/test_framework/test_node.py", line 682, in assert_start_raises_init_error
[17:16:50.450]     ret = self.process.wait(timeout=self.rpc_timeout)
[17:16:50.450]           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[17:16:50.450]   File "/usr/lib/python3.12/subprocess.py", line 1264, in wait
[17:16:50.450]     return self._wait(timeout=timeout)
[17:16:50.450]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[17:16:50.450]   File "/usr/lib/python3.12/subprocess.py", line 2045, in _wait
[17:16:50.450]     raise TimeoutExpired(self.args, timeout)
[17:16:50.450] subprocess.TimeoutExpired: Command '['bitcoin-node', '-datadir=/ci_container_base/ci/scratch/test_runner/test_runner_₿_🏃_20250521_201845/feature_init_53/node0', '-logtimemicros', '-debug', '-debugexclude=libevent', '-debugexclude=leveldb', '-debugexclude=rand', '-uacomment=testnode0', '-logthreadnames', '-logsourcelocations', '-loglevel=trace', '-v2transport=1', '-txindex=1', '-blockfilterindex=1', '-coinstatsindex=1', '-checkblocks=200', '-checklevel=4']' timed out after 2400 seconds
[17:16:50.450] 
[17:16:50.450] During handling of the above exception, another exception occurred:
[17:16:50.450] 
[17:16:50.450] Traceback (most recent call last):
[17:16:50.450]   File "/ci_container_base/test/functional/test_framework/test_framework.py", line 184, in main
[17:16:50.450]     self.run_test()
[17:16:50.450]   File "/ci_container_base/ci/scratch/build-i686-pc-linux-gnu/test/functional/feature_init.py", line 190, in run_test
[17:16:50.450]     self.init_stress_test()
[17:16:50.450]   File "/ci_container_base/ci/scratch/build-i686-pc-linux-gnu/test/functional/feature_init.py", line 161, in init_stress_test
[17:16:50.450]     start_expecting_error(err_fragment)
[17:16:50.450]   File "/ci_container_base/ci/scratch/build-i686-pc-linux-gnu/test/functional/feature_init.py", line 51, in start_expecting_error
[17:16:50.450]     node.assert_start_raises_init_error(
[17:16:50.450]   File "/ci_container_base/test/functional/test_framework/test_node.py", line 712, in assert_start_raises_init_error
[17:16:50.450]     self._raise_assertion_error(assert_msg)
[17:16:50.450]   File "/ci_container_base/test/functional/test_framework/test_node.py", line 195, in _raise_assertion_error
[17:16:50.450]     raise AssertionError(self._node_msg(msg))
[17:16:50.450] AssertionError: [node 0] bitcoind should have exited within 2400s with expected error LevelDB error: Corruption

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions