Azure Pipelines / matplotlib.matplotlib
failed
Mar 24, 2025 in 34m 32s
Build #20250323.9 had test failures
Details
- Failed: 1 (0.00%)
- Passed: 33,583 (82.61%)
- Other: 7,068 (17.39%)
- Total: 40,652
Annotations
Check failure on line 500 in Build log
azure-pipelines / matplotlib.matplotlib
Build log #L500
Bash exited with code '1'.
Check failure on line 20 in Build log
azure-pipelines / matplotlib.matplotlib
Build log #L20
Bash exited with code '1'.
Check failure on line 1 in test_fallback_to_different_backend
azure-pipelines / matplotlib.matplotlib
test_fallback_to_different_backend
subprocess.TimeoutExpired: Command '['C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\python.exe', '-c', "import importlib.util;_spec = importlib.util.spec_from_file_location('matplotlib.tests.test_backends_interactive', 'D:\\\\a\\\\1\\\\s\\\\lib\\\\matplotlib\\\\tests\\\\test_backends_interactive.py');_module = importlib.util.module_from_spec(_spec);_spec.loader.exec_module(_module);_module._fallback_check()"]' timed out after 20 seconds
Raw output
def test_fallback_to_different_backend():
pytest.importorskip("IPython")
# Runs the process that caused the GH issue 23770
# making sure that this doesn't crash
# since we're supposed to be switching to a different backend instead.
> response = _run_helper(_fallback_check, timeout=_test_timeout)
lib\matplotlib\tests\test_backends_interactive.py:644:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
lib\matplotlib\testing\__init__.py:128: in subprocess_run_helper
proc = subprocess_run_for_testing(
lib\matplotlib\testing\__init__.py:96: in subprocess_run_for_testing
proc = subprocess.run(
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\subprocess.py:505: in run
stdout, stderr = process.communicate(input, timeout=timeout)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\subprocess.py:1154: in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <Popen: returncode: 1 args: ['C:\\hostedtoolcache\\windows\\Python\\3.10.11\...>
input = None, endtime = 1702.812, orig_timeout = 20
def _communicate(self, input, endtime, orig_timeout):
# Start reader threads feeding into a list hanging off of this
# object, unless they've already been started.
if self.stdout and not hasattr(self, "_stdout_buff"):
self._stdout_buff = []
self.stdout_thread = \
threading.Thread(target=self._readerthread,
args=(self.stdout, self._stdout_buff))
self.stdout_thread.daemon = True
self.stdout_thread.start()
if self.stderr and not hasattr(self, "_stderr_buff"):
self._stderr_buff = []
self.stderr_thread = \
threading.Thread(target=self._readerthread,
args=(self.stderr, self._stderr_buff))
self.stderr_thread.daemon = True
self.stderr_thread.start()
if self.stdin:
self._stdin_write(input)
# Wait for the reader threads, or time out. If we time out, the
# threads remain reading and the fds left open in case the user
# calls communicate again.
if self.stdout is not None:
self.stdout_thread.join(self._remaining_time(endtime))
if self.stdout_thread.is_alive():
> raise TimeoutExpired(self.args, orig_timeout)
E subprocess.TimeoutExpired: Command '['C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\python.exe', '-c', "import importlib.util;_spec = importlib.util.spec_from_file_location('matplotlib.tests.test_backends_interactive', 'D:\\\\a\\\\1\\\\s\\\\lib\\\\matplotlib\\\\tests\\\\test_backends_interactive.py');_module = importlib.util.module_from_spec(_spec);_spec.loader.exec_module(_module);_module._fallback_check()"]' timed out after 20 seconds
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\subprocess.py:1546: TimeoutExpired
Loading