rhel83-zseries tests are failing due to this pip bug during mongo-orchestration setup:
[2022/10/24 16:59:03.111] --- Logging error --- [2022/10/24 16:59:03.111] Traceback (most recent call last): [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/utils/logging.py", line 177, in emit [2022/10/24 16:59:03.111] self.console.print(renderable, overflow="ignore", crop=False, style=style) [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_vendor/rich/console.py", line 1673, in print [2022/10/24 16:59:03.111] extend(render(renderable, render_options)) [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_vendor/rich/console.py", line 1305, in render [2022/10/24 16:59:03.111] for render_output in iter_render: [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/utils/logging.py", line 134, in __rich_console__ [2022/10/24 16:59:03.111] for line in lines: [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_vendor/rich/segment.py", line 249, in split_lines [2022/10/24 16:59:03.111] for segment in segments: [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_vendor/rich/console.py", line 1283, in render [2022/10/24 16:59:03.111] renderable = rich_cast(renderable) [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_vendor/rich/protocol.py", line 36, in rich_cast [2022/10/24 16:59:03.111] renderable = cast_method() [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/self_outdated_check.py", line 130, in __rich__ [2022/10/24 16:59:03.111] pip_cmd = get_best_invocation_for_this_pip() [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/utils/entrypoints.py", line 58, in get_best_invocation_for_this_pip [2022/10/24 16:59:03.111] if found_executable and os.path.samefile( [2022/10/24 16:59:03.111] File "/usr/lib64/python3.8/genericpath.py", line 101, in samefile [2022/10/24 16:59:03.111] s2 = os.stat(f2) [2022/10/24 16:59:03.111] FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/pip' [2022/10/24 16:59:03.111] Call stack: [2022/10/24 16:59:03.111] File "/usr/local/bin/pip", line 8, in <module> [2022/10/24 16:59:03.111] sys.exit(main()) [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/cli/main.py", line 70, in main [2022/10/24 16:59:03.111] return command.main(cmd_args) [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 101, in main [2022/10/24 16:59:03.111] return self._main(args) [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 223, in _main [2022/10/24 16:59:03.111] self.handle_pip_version_check(options) [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 190, in handle_pip_version_check [2022/10/24 16:59:03.111] pip_self_version_check(session, options) [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/self_outdated_check.py", line 236, in pip_self_version_check [2022/10/24 16:59:03.111] logger.warning("[present-rich] %s", upgrade_prompt) [2022/10/24 16:59:03.111] File "/usr/lib64/python3.8/logging/__init__.py", line 1446, in warning [2022/10/24 16:59:03.111] self._log(WARNING, msg, args, **kwargs) [2022/10/24 16:59:03.111] File "/usr/lib64/python3.8/logging/__init__.py", line 1577, in _log [2022/10/24 16:59:03.111] self.handle(record) [2022/10/24 16:59:03.111] File "/usr/lib64/python3.8/logging/__init__.py", line 1587, in handle [2022/10/24 16:59:03.111] self.callHandlers(record) [2022/10/24 16:59:03.111] File "/usr/lib64/python3.8/logging/__init__.py", line 1649, in callHandlers [2022/10/24 16:59:03.111] hdlr.handle(record) [2022/10/24 16:59:03.111] File "/usr/lib64/python3.8/logging/__init__.py", line 950, in handle [2022/10/24 16:59:03.111] self.emit(record) [2022/10/24 16:59:03.111] File "/home/mci-exec/.local/lib/python3.8/site-packages/pip/_internal/utils/logging.py", line 179, in emit [2022/10/24 16:59:03.111] self.handleError(record) [2022/10/24 16:59:03.111] Message: '[present-rich] %s' [2022/10/24 16:59:03.111] Arguments: (UpgradePrompt(old='22.2.2', new='22.3'),)