8000 test: feature_framework_startup_failures.py fails with `--timeout-factor=0` · Issue #32506 · bitcoin/bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
test: feature_framework_startup_failures.py fails with --timeout-factor=0 #32506
Closed
@fanquake

Description

846C
@fanquake

master @ c779ee3

./build/test/functional/test_runner.py feature_framework_startup_failures.py --timeout-factor=0
Temporary test directory at /tmp/test_runner_₿_🏃_20250515_101739
Remaining jobs: [feature_framework_startup_failures.py]
1/1 - feature_framework_startup_failures.py failed, Duration: 1 s

stdout:
2025-05-15T10:17:39.659000Z TestFramework (INFO): PRNG seed is: 8331063254222734517
2025-05-15T10:17:39.660000Z TestFramework (INFO): Initializing test directory /tmp/test_runner_₿_🏃_20250515_101739/feature_framework_startup_failures_0
2025-05-15T10:17:40.344000Z TestFramework (INFO): Verifying _verify_startup_failure() functionality (self-check).
2025-05-15T10:17:40.346000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/root/bitcoin/test/functional/test_framework/util.py", line 100, in assert_raises_message
    fun(*args, **kwds)
    ~~~^^^^^^^^^^^^^^^
  File "/root/bitcoin/build/test/functional/feature_framework_startup_failures.py", line 52, in _verify_startup_failure
    output = subprocess.run(args, timeout=60 * self.options.timeout_factor,
             ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            stdout=subprocess.PIPE, stderr=subprocess.STDOUT).stdout.decode("utf-8")
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/subprocess.py", line 556, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
                     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/subprocess.py", line 1222, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
                     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.13/subprocess.py", line 2125, in _communicate
    ready = selector.select(timeout)
  File "/usr/lib64/python3.13/selectors.py", line 398, in select
    fd_event_list = self._selector.poll(timeout)
OverflowError: timeout is too large

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/bitcoin/test/functional/test_framework/test_framework.py", line 183, in main
    self.run_test()
    ~~~~~~~~~~~~~^^
  File "/root/bitcoin/build/test/functional/feature_framework_startup_failures.py", line 74, in run_test
    assert_raises_message(
    ~~~~~~~~~~~~~~~~~~~~~^
        AssertionError,
        ^^^^^^^^^^^^^^^
    ...<6 lines>...
        "NonExistentError",
        ^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/root/bitcoin/test/functional/test_framework/util.py", line 108, in assert_raises_message
    raise AssertionError("Unexpected exception raised: " + type(e).__name__)
AssertionError: Unexpected exception raised: OverflowError
2025-05-15T10:17:40.400000Z TestFramework (INFO): Not stopping nodes as test failed. The dangling processes will be cleaned up later.
2025-05-15T10:17:40.400000Z TestFramework (WARNING): Not cleaning up dir /tmp/test_runner_₿_🏃_20250515_101739/feature_framework_startup_failures_0
2025-05-15T10:17:40.400000Z TestFramework (ERROR): Test failed. Test logging available at /tmp/test_runner_₿_🏃_20250515_101739/feature_framework_startup_failures_0/test_framework.log
2025-05-15T10:17:40.400000Z TestFramework (ERROR): 
2025-05-15T10:17:40.400000Z TestFramework (ERROR): Hint: Call /root/bitcoin/test/functional/combine_logs.py '/tmp/test_runner_₿_🏃_20250515_101739/feature_framework_startup_failures_0' to consolidate all logs
2025-05-15T10:17:40.400000Z TestFramework (ERROR): 
2025-05-15T10:17:40.400000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2025-05-15T10:17:40.401000Z TestFramework (ERROR): https://github.com/bitcoin/bitcoin/issues
2025-05-15T10:17:40.401000Z TestFramework (ERROR): 

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

      0