test: Intermittent failure in feature_config_args #21448

issue laanwj opened this issue on March 16, 2021
  1. laanwj commented at 11:37 AM on March 16, 2021: member

    What looks like an intermittent failure in feature_config_args.py happened in CI testing of #21407.

    https://cirrus-ci.com/task/5952013763608576

     test  2021-03-16T11:11:46.877000Z TestFramework (ERROR): Assertion failed 
                                       Traceback (most recent call last):
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 128, in main
                                           self.run_test()
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/feature_config_args.py", line 219, in run_test
                                           self.test_seed_peers()
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/feature_config_args.py", line 214, in test_seed_peers
                                           self.nodes[0].setmocktime(start + 65)
                                         File "/usr/lib/python3.6/contextlib.py", line 88, in __exit__
                                           next(self.gen)
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_node.py", line 400, in assert_debug_log
                                           self._raise_assertion_error('Expected messages "{}" does not partially match log:\n\n{}\n\n'.format(str(expected_msgs), print_log))
                                         File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_node.py", line 166, in _raise_assertion_error
                                           raise AssertionError(self._node_msg(msg))
                                       AssertionError: [node 0] Expected messages "['Adding fixed seeds as 60 seconds have passed and addrman is empty']" does not partially match log:
                                        - 2021-03-16T11:10:26.849988Z (mocktime: 2021-03-16T11:10:26Z) [httpserver.cpp:238] [http_request_cb] Received a POST request for / from 127.0.0.1:35268
                                        - 2021-03-16T11:10:26.850095Z (mocktime: 2021-03-16T11:10:26Z) [rpc/request.cpp:174] [parse] ThreadRPCServer method=setmocktime user=__cookie__
                                        - 2021-03-16T11:10:26.853443Z (mocktime: 2021-03-16T11:11:31Z) [util/system.h:468] [TraceThread] msghand thread start
                                        - 2021-03-16T11:10:26.853489Z (mocktime: 2021-03-16T11:11:31Z) [util/system.h:468] [TraceThread] opencon thread start
                                        - 2021-03-16T11:10:26.853541Z (mocktime: 2021-03-16T11:11:31Z) [util/system.h:468] [TraceThread] addcon thread start
                                        - 2021-03-16T11:10:26.853580Z (mocktime: 2021-03-16T11:11:31Z) [net.cpp:394] [ConnectNode] trying connection fakenodeaddr lastseen=0.0hrs
                                        - 2021-03-16T11:10:26.854222Z (mocktime: 2021-03-16T11:11:31Z) [util/system.h:468] [TraceThread] net thread start
                                        - 2021-03-16T11:11:26.797916Z (mocktime: 2021-03-16T11:11:31Z) [random.cpp:523] [SeedPeriodic] Feeding 14413 bytes of dynamic environment data into RNG
                                        - 2021-03-16T11:11:27.362393Z (mocktime: 2021-03-16T11:11:31Z) [net.cpp:394] [ConnectNode] trying connection fakenodeaddr lastseen=0.0hrs
    

    It is expecting the messsage "Adding fixed seeds as 60 seconds have passed and addrman is empty" but is not getting it.

  2. laanwj added the label Tests on Mar 16, 2021
  3. hebasto commented at 5:06 PM on March 22, 2021: member
  4. MarcoFalke commented at 8:52 AM on April 30, 2021: member
  5. MarcoFalke referenced this in commit a0f46028fc on May 5, 2021
  6. MarcoFalke closed this on May 5, 2021

  7. sidhujag referenced this in commit f502389a98 on May 5, 2021
  8. DrahtBot locked this on Aug 18, 2022

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-13 15:14 UTC

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