bitcoin core – Failing to create a debug log in purposeful check

0
33


I’m engaged on a PR emigrate all test-only rpcs beneath the -test rpc . I’m going through a difficulty the place in one of many purposeful check feature_config_args.py , the node will not be making a debug log . Right here is the test_framework.log.

2024-08-26T15:07:46.488000Z TestFramework (ERROR): Sudden exception caught throughout testing
Traceback (most up-to-date name final):
  File "/residence/probot/bitcoin/check/purposeful/test_framework/test_framework.py", line 132, in principal
    self.run_test()
  File "/residence/probot/bitcoin/check/purposeful/feature_config_args.py", line 429, in run_test
    self.test_testnet3_deprecation_msg()
  File "/residence/probot/bitcoin/check/purposeful/feature_config_args.py", line 393, in test_testnet3_deprecation_msg
    with open(f"{log_dir}/debug.log", 'w'), self.nodes[0].assert_debug_log([t3_warning_log]):
  File "/residence/probot/.pyenv/variations/3.10.8/lib/python3.10/contextlib.py", line 135, in __enter__
    return subsequent(self.gen)
  File "/residence/probot/bitcoin/check/purposeful/test_framework/test_node.py", line 485, in assert_debug_log
    prev_size = self.debug_log_size(encoding="utf-8")  # Should use similar encoding that's used to learn() beneath
  File "/residence/probot/bitcoin/check/purposeful/test_framework/test_node.py", line 473, in debug_log_size
    with open(self.debug_log_path, **kwargs) as dl:
FileNotFoundError: [Errno 2] No such file or listing: '/tmp/test_runner_₿_🏃_20240826_203720/feature_config_args_0/node0/testnet3/debug.log'
2024-08-26T15:07:46.540000Z TestFramework (INFO): Stopping nodes

You may have a look at the PR right here PR

The failing check is unrelated to the modifications made within the file and I am unable to appear to determine why the debug.log will not be being created.

LEAVE A REPLY

Please enter your comment!
Please enter your name here