ros2 / ros2cli

ROS 2 command line interface tools
Apache License 2.0
173 stars 161 forks source link

:farmer: ros2cli pytest timeout in RHEL nightlies #932

Open Crola1702 opened 3 days ago

Crola1702 commented 3 days ago

Bug report

Required Info:

Steps to reproduce issue

  1. Run a build in nightly-rhel-debug or release
  2. See test regression fail

Additional information

Reference build: https://ci.ros2.org/job/nightly_linux-rhel_release/2020/

Test failure:

Log output:

timeout: 900.0s
timeout method: thread
timeout func_only: False
collecting ... 
collecting 0 items                                                             
collected 31 items                                                             

test/test_copyright.py .                                                 [  3%]
test/test_daemon.py ...................                                  [ 64%]
test/test_direct.py ....                                                 [ 77%]
Fatal Python error: Segmentation fault

...

  File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/src/ros2/ros2cli/ros2cli/test/test_flake8.py", line 22, in test_flake8
    rc, errors = main_with_errors(argv=[])
  File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/install/ament_flake8/lib/python3.9/site-packages/ament_flake8/main.py", line 88, in main_with_errors
    report = generate_flake8_report(
  File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/install/ament_flake8/lib/python3.9/site-packages/ament_flake8/main.py", line 281, in generate_flake8_report
    report.report = style.check_files(paths)

...

Finished <<< ros2cli [15min 10s]    [ with test failures ]

Seems ros2cli flake8 is taking a lot of time now. Failing since: https://github.com/ros2/ros2cli/pull/929, but probably not the root cause

Full log output: ``` platform linux -- Python 3.9.18, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 cachedir: /home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/build/ros2cli/.pytest_cache rootdir: /home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/src/ros2/ros2cli, configfile: pytest.ini plugins: launch-testing-3.6.1, ament-xmllint-0.18.1, ament-copyright-0.18.1, ament-pep257-0.18.1, ament-mypy-0.18.1, ament-flake8-0.18.1, ament-lint-0.18.1, timeout-1.4.2, mock-3.6.1, repeat-0.9.3, cov-4.0.0, colcon-core-0.17.0, rerunfailures-9.1.1 timeout: 900.0s timeout method: thread timeout func_only: False collecting ...  collecting 0 items  collected 31 items  test/test_copyright.py . [ 3%] test/test_daemon.py ................... [ 64%] test/test_direct.py .... [ 77%] Fatal Python error: Segmentation fault Current thread 0x00007f49407c8740 (most recent call first): File "/usr/lib/python3.9/site-packages/flake8_quotes/__init__.py", line 294 in __init__ File "/usr/lib/python3.9/site-packages/flake8_quotes/__init__.py", line 189 in File "/usr/lib/python3.9/site-packages/flake8_quotes/__init__.py", line 189 in get_noqa_lines File "/usr/lib/python3.9/site-packages/flake8_quotes/__init__.py", line 181 in run File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 500 in run_ast_checks File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 597 in run_checks File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 687 in _run_checks File "/usr/lib64/python3.9/multiprocessing/pool.py", line 48 in mapstar File "/usr/lib64/python3.9/multiprocessing/pool.py", line 125 in worker File "/usr/lib64/python3.9/multiprocessing/process.py", line 108 in run File "/usr/lib64/python3.9/multiprocessing/process.py", line 315 in _bootstrap File "/usr/lib64/python3.9/multiprocessing/popen_fork.py", line 71 in _launch File "/usr/lib64/python3.9/multiprocessing/popen_fork.py", line 19 in __init__ File "/usr/lib64/python3.9/multiprocessing/context.py", line 277 in _Popen File "/usr/lib64/python3.9/multiprocessing/process.py", line 121 in start File "/usr/lib64/python3.9/multiprocessing/pool.py", line 326 in _repopulate_pool_static File "/usr/lib64/python3.9/multiprocessing/pool.py", line 303 in _repopulate_pool File "/usr/lib64/python3.9/multiprocessing/pool.py", line 212 in __init__ File "/usr/lib64/python3.9/multiprocessing/context.py", line 119 in Pool File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 664 in _try_initialize_processpool File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 260 in run_parallel File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 309 in run File "/usr/lib/python3.9/site-packages/flake8/main/application.py", line 271 in run_checks File "/usr/lib/python3.9/site-packages/flake8/api/legacy.py", line 109 in check_files File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/install/ament_flake8/lib/python3.9/site-packages/ament_flake8/main.py", line 281 in generate_flake8_report File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/install/ament_flake8/lib/python3.9/site-packages/ament_flake8/main.py", line 88 in main_with_errors File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/src/ros2/ros2cli/ros2cli/test/test_flake8.py", line 22 in test_flake8 File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 183 in pytest_pyfunc_call File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 1641 in runtest File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 162 in pytest_runtest_call File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 255 in File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 311 in from_call File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 254 in call_runtest_hook File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 215 in call_and_report File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 126 in runtestprotocol File "/builddir/build/BUILDROOT/python-pytest-rerunfailures-9.1.1-3.el9.noarch/usr/lib/python3.9/site-packages/pytest_rerunfailures.py", line 240 in pytest_runtest_protocol File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 348 in pytest_runtestloop File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 323 in _main File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 269 in wrap_session File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 162 in main File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 185 in console_main File "/usr/lib/python3.9/site-packages/pytest/__main__.py", line 5 in File "/usr/lib64/python3.9/runpy.py", line 87 in _run_code File "/usr/lib64/python3.9/runpy.py", line 197 in _run_module_as_main Fatal Python error: Segmentation fault Current thread 0x00007f49407c8740 (most recent call first): File "", line 1 in File "/usr/lib64/python3.9/tokenize.py", line 590 in _tokenize File "/usr/lib/python3.9/site-packages/flake8_quotes/__init__.py", line 189 in File "/usr/lib/python3.9/site-packages/flake8_quotes/__init__.py", line 189 in get_noqa_lines File "/usr/lib/python3.9/site-packages/flake8_quotes/__init__.py", line 181 in run File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 500 in run_ast_checks File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 597 in run_checks File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 687 in _run_checks File "/usr/lib64/python3.9/multiprocessing/pool.py", line 48 in mapstar File "/usr/lib64/python3.9/multiprocessing/pool.py", line 125 in worker File "/usr/lib64/python3.9/multiprocessing/process.py", line 108 in run File "/usr/lib64/python3.9/multiprocessing/process.py", line 315 in _bootstrap File "/usr/lib64/python3.9/multiprocessing/popen_fork.py", line 71 in _launch File "/usr/lib64/python3.9/multiprocessing/popen_fork.py", line 19 in __init__ File "/usr/lib64/python3.9/multiprocessing/context.py", line 277 in _Popen File "/usr/lib64/python3.9/multiprocessing/process.py", line 121 in start File "/usr/lib64/python3.9/multiprocessing/pool.py", line 326 in _repopulate_pool_static File "/usr/lib64/python3.9/multiprocessing/pool.py", line 303 in _repopulate_pool File "/usr/lib64/python3.9/multiprocessing/pool.py", line 212 in __init__ File "/usr/lib64/python3.9/multiprocessing/context.py", line 119 in Pool File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 664 in _try_initialize_processpool File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 260 in run_parallel File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 309 in run File "/usr/lib/python3.9/site-packages/flake8/main/application.py", line 271 in run_checks File "/usr/lib/python3.9/site-packages/flake8/api/legacy.py", line 109 in check_files File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/install/ament_flake8/lib/python3.9/site-packages/ament_flake8/main.py", line 281 in generate_flake8_report File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/install/ament_flake8/lib/python3.9/site-packages/ament_flake8/main.py", line 88 in main_with_errors File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/src/ros2/ros2cli/ros2cli/test/test_flake8.py", line 22 in test_flake8 File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 183 in pytest_pyfunc_call File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 1641 in runtest File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 162 in pytest_runtest_call File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 255 in File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 311 in from_call File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 254 in call_runtest_hook File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 215 in call_and_report File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 126 in runtestprotocol File "/builddir/build/BUILDROOT/python-pytest-rerunfailures-9.1.1-3.el9.noarch/usr/lib/python3.9/site-packages/pytest_rerunfailures.py", line 240 in pytest_runtest_protocol File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 348 in pytest_runtestloop File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 323 in _main File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 269 in wrap_session File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 316 in pytest_cmdline_main File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187 in _multicall File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84 in File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93 in _hookexec File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286 in __call__ File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 162 in main File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 185 in console_main File "/usr/lib/python3.9/site-packages/pytest/__main__.py", line 5 in File "/usr/lib64/python3.9/runpy.py", line 87 in _run_code File "/usr/lib64/python3.9/runpy.py", line 197 in _run_module_as_main +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Captured stderr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ option --max-complexity: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future option --application-import-names: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future option --application-package-names: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future option --import-order-style: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future option --quotes: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future option --inline-quotes: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future option --multiline-quotes: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future option --docstring-quotes: please update from optparse string `type=` to argparse callable `type=` -- this will be an error in the future ~~~~~~~~~~~~~~~~~~~~~ Stack of Thread-28 (139950930503232) ~~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.9/threading.py", line 937, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/usr/lib64/python3.9/threading.py", line 917, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.9/multiprocessing/pool.py", line 576, in _handle_results task = get() File "/usr/lib64/python3.9/multiprocessing/connection.py", line 254, in recv buf = self._recv_bytes() File "/usr/lib64/python3.9/multiprocessing/connection.py", line 418, in _recv_bytes buf = self._recv(4) File "/usr/lib64/python3.9/multiprocessing/connection.py", line 383, in _recv chunk = read(handle, remaining) ~~~~~~~~~~~~~~~~~~~~~ Stack of Thread-27 (139950947288640) ~~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.9/threading.py", line 937, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/usr/lib64/python3.9/threading.py", line 917, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.9/multiprocessing/pool.py", line 528, in _handle_tasks for taskseq, set_length in iter(taskqueue.get, None): ~~~~~~~~~~~~~~~~~~~~~ Stack of Thread-26 (139951743956544) ~~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.9/threading.py", line 937, in _bootstrap self._bootstrap_inner() File "/usr/lib64/python3.9/threading.py", line 980, in _bootstrap_inner self.run() File "/usr/lib64/python3.9/threading.py", line 917, in run self._target(*self._args, **self._kwargs) File "/usr/lib64/python3.9/multiprocessing/pool.py", line 519, in _handle_workers cls._wait_for_updates(current_sentinels, change_notifier) File "/usr/lib64/python3.9/multiprocessing/pool.py", line 499, in _wait_for_updates wait(sentinels, timeout=timeout) File "/usr/lib64/python3.9/multiprocessing/connection.py", line 935, in wait ready = selector.select(timeout) File "/usr/lib64/python3.9/selectors.py", line 416, in select fd_event_list = self._selector.poll(timeout) ~~~~~~~~~~~~~~~~~~~~ Stack of MainThread (139952591243072) ~~~~~~~~~~~~~~~~~~~~~ File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/lib/python3.9/site-packages/pytest/__main__.py", line 5, in raise SystemExit(pytest.console_main()) File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 185, in console_main code = main() File "/usr/lib/python3.9/site-packages/_pytest/config/__init__.py", line 162, in main ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main( File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84, in self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 316, in pytest_cmdline_main return wrap_session(config, _main) File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 269, in wrap_session session.exitstatus = doit(config, session) or 0 File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 323, in _main config.hook.pytest_runtestloop(session=session) File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84, in self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.9/site-packages/_pytest/main.py", line 348, in pytest_runtestloop item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84, in self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(*args) File "/builddir/build/BUILDROOT/python-pytest-rerunfailures-9.1.1-3.el9.noarch/usr/lib/python3.9/site-packages/pytest_rerunfailures.py", line 240, in pytest_runtest_protocol File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 126, in runtestprotocol reports.append(call_and_report(item, "call", log)) File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 215, in call_and_report call = call_runtest_hook(item, when, **kwds) File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 254, in call_runtest_hook return CallInfo.from_call( File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 311, in from_call result: Optional[TResult] = func() File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 255, in lambda: ihook(item=item, **kwds), when=when, reraise=reraise File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84, in self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.9/site-packages/_pytest/runner.py", line 162, in pytest_runtest_call item.runtest() File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 1641, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/usr/lib/python3.9/site-packages/pluggy/hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/usr/lib/python3.9/site-packages/pluggy/manager.py", line 84, in self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "/usr/lib/python3.9/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.9/site-packages/_pytest/python.py", line 183, in pytest_pyfunc_call result = testfunction(**testargs) File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/src/ros2/ros2cli/ros2cli/test/test_flake8.py", line 22, in test_flake8 rc, errors = main_with_errors(argv=[]) File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/install/ament_flake8/lib/python3.9/site-packages/ament_flake8/main.py", line 88, in main_with_errors report = generate_flake8_report( File "/home/jenkins-agent/workspace/nightly_linux-rhel_release/ws/install/ament_flake8/lib/python3.9/site-packages/ament_flake8/main.py", line 281, in generate_flake8_report report.report = style.check_files(paths) File "/usr/lib/python3.9/site-packages/flake8/api/legacy.py", line 109, in check_files self._application.run_checks(paths) File "/usr/lib/python3.9/site-packages/flake8/main/application.py", line 271, in run_checks self.file_checker_manager.run() File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 309, in run self.run_parallel() File "/usr/lib/python3.9/site-packages/flake8/checker.py", line 275, in run_parallel for ret in pool_map: File "/usr/lib64/python3.9/multiprocessing/pool.py", line 448, in return (item for chunk in result for item in chunk) File "/usr/lib64/python3.9/multiprocessing/pool.py", line 858, in next self._cond.wait(timeout) File "/usr/lib64/python3.9/threading.py", line 312, in wait waiter.acquire() +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++ ```
clalancette commented 2 days ago

I took a look into this, and this is almost certainly failing because of https://github.com/ros2/rclpy/pull/1349 . Since that is such a large PR, it will be somewhat hard to track it down exactly, but with that reverted the failure stops happening for me.

fujitatomoya commented 2 days ago

@clalancette @Crola1702 https://github.com/ros2/rclpy/pull/1359 revert PR.

fujitatomoya commented 21 hours ago

Current Summary

There are 2 possible PRs to generate this RHEL issue.

@Crola1702 if possible, can you check with current rolling if this issue is still happening with RHEL? i just want to be sure if either or both of them are generating this issue.

CC: @clalancette @InvincibleRMC

InvincibleRMC commented 14 hours ago

Looking at nightly It still seems to be failing. So Revert "Executors types (#1345)" rclpy#1360) was not enough.

fujitatomoya commented 14 hours ago

@InvincibleRMC thanks, then let's revert https://github.com/ros2/rclpy/pull/1359

fujitatomoya commented 14 hours ago

@InvincibleRMC both https://github.com/ros2/rclpy/pull/1359 and https://github.com/ros2/rclpy/pull/1360 are reverted, hopefully RHEL nightly comes back with green light 🤞