Skip to content

chore: add flag --dist=loadfile to distribute the test-case by file

b6fb5dc
Select commit
Loading
Failed to load commit list.
Closed

perf: Improve test performance by parallelizing pytest #662

chore: add flag --dist=loadfile to distribute the test-case by file
b6fb5dc
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / test-unit-py312 failed Mar 10, 2025 in 2m 55s

FirefoxCI (pull_request)

Run unit tests with py312 (Treeherder push)

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2025-03-10T18:05:25.981Z
Resolved: 2025-03-10T18:06:37.040Z
Task Execution Time: 1 minute, 11 seconds, 59 milliseconds
Task Status: failed
Reason Resolved: failed
RunId: 0

Artifacts

- public/coverage.py312
- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2025-03-10 18:05:26.120Z] Task ID: Nz3Ly-CvSEO_MLDY1QbbTw
[taskcluster 2025-03-10 18:05:26.120Z] Worker ID: 8720812127044147067
[taskcluster 2025-03-10 18:05:26.120Z] Worker Group: us-central1-a
[taskcluster 2025-03-10 18:05:26.120Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-03-10 18:05:26.120Z] Worker Pool: taskgraph-t/linux-gcp
[taskcluster 2025-03-10 18:05:26.120Z] Worker Version: 38.0.5
[taskcluster 2025-03-10 18:05:26.120Z] Public IP: 34.46.158.165
[taskcluster 2025-03-10 18:05:26.120Z] Hostname: taskgraph-t-linux-gcp-abvpcjc1rdilhdaz38xu7w
[taskcluster 2025-03-10 18:05:26.120Z] using cache "taskgraph-level-1-uv-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/.task-cache/uv
[taskcluster 2025-03-10 18:05:26.120Z] using cache "taskgraph-level-1-checkouts-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/checkouts

[taskcluster 2025-03-10 18:05:28.706Z] Downloading artifact "public/image.tar.zst" from task ID: DioawIE5Qsm1jWS15x-kdA.
[taskcluster 2025-03-10 18:05:33.707Z] Download Progress: 64.24%
[taskcluster 2025-03-10 18:05:36.361Z] Downloaded artifact successfully.
[taskcluster 2025-03-10 18:05:36.367Z] Downloaded 255.298 mb
[taskcluster 2025-03-10 18:05:36.368Z] Decompressing downloaded image
[taskcluster 2025-03-10 18:05:38.756Z] Loading docker image from downloaded archive.
[taskcluster 2025-03-10 18:05:59.839Z] Image 'public/image.tar.zst' from task 'DioawIE5Qsm1jWS15x-kdA' loaded.  Using image ID sha256:3bdbeef87bc568b141c346f85993bafb9d8fbfdfce1b6ee9652e0ba75764a5e2.
[taskcluster 2025-03-10 18:06:00.021Z] === Task Starting ===
[setup 2025-03-10T18:06:02.364+00:00] run-task started in /

...(2105 lines hidden)...

[task 2025-03-10T18:06:35.770+00:00]         *,
[task 2025-03-10T18:06:35.770+00:00]         retries: Optional["_Retry"] = None,
[task 2025-03-10T18:06:35.770+00:00]         **kwargs: Any,
[task 2025-03-10T18:06:35.770+00:00]     ) -> "models.Response":
[task 2025-03-10T18:06:35.770+00:00]         # add attributes params and req_kwargs to 'request' object for further match comparison
[task 2025-03-10T18:06:35.770+00:00]         # original request object does not have these attributes
[task 2025-03-10T18:06:35.770+00:00]         request.params = self._parse_request_params(request.path_url)  # type: ignore[attr-defined]
[task 2025-03-10T18:06:35.770+00:00]         request.req_kwargs = kwargs  # type: ignore[attr-defined]
[task 2025-03-10T18:06:35.770+00:00]         request_url = str(request.url)
[task 2025-03-10T18:06:35.770+00:00]     
[task 2025-03-10T18:06:35.770+00:00]         match, match_failed_reasons = self._find_match(request)
[task 2025-03-10T18:06:35.770+00:00]         resp_callback = self.response_callback
[task 2025-03-10T18:06:35.770+00:00]     
[task 2025-03-10T18:06:35.770+00:00]         if match is None:
[task 2025-03-10T18:06:35.770+00:00]             if any(
[task 2025-03-10T18:06:35.770+00:00]                 [
[task 2025-03-10T18:06:35.770+00:00]                     p.match(request_url)
[task 2025-03-10T18:06:35.770+00:00]                     if isinstance(p, Pattern)
[task 2025-03-10T18:06:35.770+00:00]                     else request_url.startswith(p)
[task 2025-03-10T18:06:35.770+00:00]                     for p in self.passthru_prefixes
[task 2025-03-10T18:06:35.770+00:00]                 ]
[task 2025-03-10T18:06:35.770+00:00]             ):
[task 2025-03-10T18:06:35.770+00:00]                 logger.info("request.allowed-passthru", extra={"url": request_url})
[task 2025-03-10T18:06:35.770+00:00]                 return self._real_send(adapter, request, **kwargs)  # type: ignore
[task 2025-03-10T18:06:35.771+00:00]     
[task 2025-03-10T18:06:35.771+00:00]             error_msg = (
[task 2025-03-10T18:06:35.771+00:00]                 "Connection refused by Responses - the call doesn't "
[task 2025-03-10T18:06:35.771+00:00]                 "match any registered mock.\n\n"
[task 2025-03-10T18:06:35.771+00:00]                 "Request: \n"
[task 2025-03-10T18:06:35.771+00:00]                 f"- {request.method} {request_url}\n\n"
[task 2025-03-10T18:06:35.771+00:00]                 "Available matches:\n"
[task 2025-03-10T18:06:35.771+00:00]             )
[task 2025-03-10T18:06:35.771+00:00]             for i, m in enumerate(self.registered()):
[task 2025-03-10T18:06:35.771+00:00]                 error_msg += "- {} {} {}\n".format(
[task 2025-03-10T18:06:35.771+00:00]                     m.method, m.url, match_failed_reasons[i]
[task 2025-03-10T18:06:35.771+00:00]                 )
[task 2025-03-10T18:06:35.771+00:00]     
[task 2025-03-10T18:06:35.771+00:00]             if self.passthru_prefixes:
[task 2025-03-10T18:06:35.771+00:00]                 error_msg += "Passthru prefixes:\n"
[task 2025-03-10T18:06:35.771+00:00]                 for p in self.passthru_prefixes:
[task 2025-03-10T18:06:35.771+00:00]                     error_msg += f"- {p}\n"
[task 2025-03-10T18:06:35.771+00:00]     
[task 2025-03-10T18:06:35.771+00:00]             response = ConnectionError(error_msg)
[task 2025-03-10T18:06:35.771+00:00]             response.request = request
[task 2025-03-10T18:06:35.771+00:00]     
[task 2025-03-10T18:06:35.771+00:00]             self._calls.add(request, response)
[task 2025-03-10T18:06:35.771+00:00] >           raise response
[task 2025-03-10T18:06:35.771+00:00] E           requests.exceptions.ConnectionError: Connection refused by Responses - the call doesn't match any registered mock.
[task 2025-03-10T18:06:35.771+00:00] E           
[task 2025-03-10T18:06:35.771+00:00] E           Request: 
[task 2025-03-10T18:06:35.771+00:00] E           - GET https://tc-tests.example.com/api/index/v1/task/foo.bar.latest
[task 2025-03-10T18:06:35.771+00:00] E           
[task 2025-03-10T18:06:35.771+00:00] E           Available matches:
[task 2025-03-10T18:06:35.771+00:00] E           - GET https://tc-tests.localhost/api/index/v1/task/foo.bar.latest URL does not match
[task 2025-03-10T18:06:35.771+00:00] E           - GET https://tc-tests.localhost/api/queue/v1/task/abc/status URL does not match
[task 2025-03-10T18:06:35.771+00:00] 
[task 2025-03-10T18:06:35.771+00:00] .venv/lib/python3.12/site-packages/responses/__init__.py:1107: ConnectionError
[task 2025-03-10T18:06:35.771+00:00] ------------------------------ Captured log call -------------------------------
[task 2025-03-10T18:06:35.771+00:00] DEBUG    optimization:strategies.py:52 not replacing task-label with abc because it is in failed or exception state
[task 2025-03-10T18:06:35.771+00:00] =============================== warnings summary ===============================
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py: 9 warnings
[task 2025-03-10T18:06:35.771+00:00] test/test_main.py: 2 warnings
[task 2025-03-10T18:06:35.771+00:00] test/test_generator.py: 1 warning
[task 2025-03-10T18:06:35.771+00:00]   /builds/worker/checkouts/vcs/src/taskgraph/optimize/base.py:336: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
[task 2025-03-10T18:06:35.771+00:00]     now = datetime.datetime.utcnow()
[task 2025-03-10T18:06:35.771+00:00] 
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py::test_replace_tasks[blocked]
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py::test_replace_tasks[do_not_optimize]
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py::test_replace_tasks[all]
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py::test_replace_tasks[all]
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py::test_replace_tasks[all]
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py::test_replace_tasks[tasks_removed]
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py::test_replace_tasks[tasks_removed]
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py::test_replace_tasks[tasks_removed]
[task 2025-03-10T18:06:35.771+00:00] test/test_optimize.py::test_replace_tasks[deadline]
[task 2025-03-10T18:06:35.771+00:00]   /builds/worker/checkouts/vcs/test/test_optimize.py:31: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
[task 2025-03-10T18:06:35.771+00:00]     expires = datetime.utcnow() + timedelta(days=1)
[task 2025-03-10T18:06:35.771+00:00] 
[task 2025-03-10T18:06:35.771+00:00] test/test_main.py::test_show_taskgraph_parallel
[task 2025-03-10T18:06:35.771+00:00] test/test_main.py::test_show_taskgraph_parallel
[task 2025-03-10T18:06:35.771+00:00] test/test_main.py::test_show_taskgraph_parallel
[task 2025-03-10T18:06:35.771+00:00] test/test_main.py::test_show_taskgraph_parallel
[task 2025-03-10T18:06:35.771+00:00] test/test_main.py::test_show_taskgraph_parallel
[task 2025-03-10T18:06:35.771+00:00] test/test_main.py::test_show_taskgraph_parallel
[task 2025-03-10T18:06:35.771+00:00] test/test_main.py::test_show_taskgraph_parallel
[task 2025-03-10T18:06:35.771+00:00] test/test_main.py::test_show_taskgraph_parallel
[task 2025-03-10T18:06:35.771+00:00]   /builds/worker/.local/share/uv/python/cpython-3.12.9-linux-x86_64-gnu/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=93) is multi-threaded, use of fork() may lead to deadlocks in the child.
[task 2025-03-10T18:06:35.771+00:00]     self.pid = os.fork()
[task 2025-03-10T18:06:35.771+00:00] 
[task 2025-03-10T18:06:35.771+00:00] test/test_util_time.py::FromNowTest::test_json_from_now_utc_now
[task 2025-03-10T18:06:35.771+00:00]   /builds/worker/checkouts/vcs/src/taskgraph/util/time.py:91: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
[task 2025-03-10T18:06:35.771+00:00]     now = datetime.datetime.utcnow()
[task 2025-03-10T18:06:35.772+00:00] 
[task 2025-03-10T18:06:35.772+00:00] test/test_actions_rebuild_cached_tasks.py::test_rebuild_cached_tasks
[task 2025-03-10T18:06:35.772+00:00]   /builds/worker/checkouts/vcs/src/taskgraph/util/time.py:110: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
[task 2025-03-10T18:06:35.772+00:00]     return datetime.datetime.utcnow()
[task 2025-03-10T18:06:35.772+00:00] 
[task 2025-03-10T18:06:35.772+00:00] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2025-03-10T18:06:35.772+00:00] =========================== short test summary info ============================
[task 2025-03-10T18:06:35.772+00:00] FAILED test/test_optimize_strategies.py::test_index_search[completed-2021-06-06T14:53:16.937Z-False-logs0] - requests.exceptions.ConnectionError: Connection refused by Responses - the call doesn't match any registered mock.
[task 2025-03-10T18:06:35.772+00:00] 
[task 2025-03-10T18:06:35.772+00:00] Request: 
[task 2025-03-10T18:06:35.772+00:00] - GET https://tc-tests.example.com/api/index/v1/task/foo.bar.latest
[task 2025-03-10T18:06:35.772+00:00] 
[task 2025-03-10T18:06:35.772+00:00] Available matches:
[task 2025-03-10T18:06:35.772+00:00] - GET https://tc-tests.localhost/api/index/v1/task/foo.bar.latest URL does not match
[task 2025-03-10T18:06:35.772+00:00] - GET https://tc-tests.localhost/api/queue/v1/task/abc/status URL does not match
[task 2025-03-10T18:06:35.772+00:00] FAILED test/test_optimize_strategies.py::test_index_search[completed-2021-06-08T14:53:16.937Z-abc-logs1] - requests.exceptions.ConnectionError: Connection refused by Responses - the call doesn't match any registered mock.
[task 2025-03-10T18:06:35.772+00:00] 
[task 2025-03-10T18:06:35.772+00:00] Request: 
[task 2025-03-10T18:06:35.772+00:00] - GET https://tc-tests.example.com/api/index/v1/task/foo.bar.latest
[task 2025-03-10T18:06:35.772+00:00] 
[task 2025-03-10T18:06:35.772+00:00] Available matches:
[task 2025-03-10T18:06:35.772+00:00] - GET https://tc-tests.localhost/api/index/v1/task/foo.bar.latest URL does not match
[task 2025-03-10T18:06:35.772+00:00] - GET https://tc-tests.localhost/api/queue/v1/task/abc/status URL does not match
[task 2025-03-10T18:06:35.772+00:00] FAILED test/test_transforms_run_run_task.py::test_run_task[generic_worker] - assert {'description': 'fake description', 'label': 'fake-task-label', 'worker-type': 'b-win2012', 'worker': {'implementation': 'generic-worker', 'os': 'windows', 'env': {'HG_STORE_PATH': 'y:/hg-shared', 'REPOSITORIES': '{"ci": "Taskgraph"}', 'VCS_PATH': 'build/src', 'CI_BASE_REPOSITORY': 'http://hg.example.com', 'CI_HEAD_REPOSITORY': 'http://hg.example.com', 'CI_HEAD_REV': 'abcdef', 'CI_HEAD_REF': 'default', 'CI_REPOSITORY_TYPE': 'hg', 'MOZ_SCM_LEVEL': '1'}, 'mounts': [{'cache-name': 'checkouts', 'directory': 'build'}, {'content': {'url': 'https://tc.example.com/api/queue/v1/task/<TASK_ID>/artifacts/public/run-task'}, 'file': './run-task'}], 'command': ['C:/mozilla-build/python3/python3.exe run-task --ci-checkout=build/src/ -- bash -cx "echo hello world"']}, 'attributes': {}, 'dependencies': {}, 'soft-dependencies': [], 'routes': [], 'scopes': [], 'extra': {}} == {'attributes': {}, 'dependencies': {}, 'description': 'fake description', 'extra': {}, 'label': 'fake-task-label', 'routes': [], 'scopes': [], 'soft-dependencies': [], 'worker': {'command': ['C:/mozilla-build/python3/python3.exe run-task --ci-checkout=build/src/ -- bash -cx "echo hello world"'], 'env': {'CI_BASE_REPOSITORY': 'http://hg.example.com', 'CI_HEAD_REF': 'default', 'CI_HEAD_REPOSITORY': 'http://hg.example.com', 'CI_HEAD_REV': 'abcdef', 'CI_REPOSITORY_TYPE': 'hg', 'HG_STORE_PATH': 'y:/hg-shared', 'MOZ_SCM_LEVEL': '1', 'REPOSITORIES': '{"ci": "Taskgraph"}', 'VCS_PATH': 'build/src'}, 'implementation': 'generic-worker', 'mounts': [{'cache-name': 'checkouts', 'directory': 'build'}, {'content': {'url': 'https://tc-tests.localhost/api/queue/v1/task/<TASK_ID>/artifacts/public/run-task'}, 'file': './run-task'}], 'os': 'windows'}, 'worker-type': 'b-win2012'}
[task 2025-03-10T18:06:35.772+00:00]   
[task 2025-03-10T18:06:35.772+00:00]   Common items:
[task 2025-03-10T18:06:35.772+00:00]   {'attributes': {},
[task 2025-03-10T18:06:35.772+00:00]    'dependencies': {},
[task 2025-03-10T18:06:35.772+00:00]    'description': 'fake description',
[task 2025-03-10T18:06:35.772+00:00]    'extra': {},
[task 2025-03-10T18:06:35.772+00:00]    'label': 'fake-task-label',
[task 2025-03-10T18:06:35.772+00:00]    'routes': [],
[task 2025-03-10T18:06:35.772+00:00]    'scopes': [],
[task 2025-03-10T18:06:35.772+00:00]    'soft-dependencies': [],
[task 2025-03-10T18:06:35.772+00:00]    'worker-type': 'b-win2012'}
[task 2025-03-10T18:06:35.772+00:00]   Differing items:
[task 2025-03-10T18:06:35.772+00:00]   {'worker': {'command': ['C:/mozilla-build/python3/python3.exe run-task --ci-checkout=build/src/ -- bash -cx "echo hell... {'url': 'https://tc.example.com/api/queue/v1/task/<TASK_ID>/artifacts/public/run-task'}, 'file': './run-task'}], ...}} != {'worker': {'command': ['C:/mozilla-build/python3/python3.exe run-task --ci-checkout=build/src/ -- bash -cx "echo hell...rl': 'https://tc-tests.localhost/api/queue/v1/task/<TASK_ID>/artifacts/public/run-task'}, 'file': './run-task'}], ...}}
[task 2025-03-10T18:06:35.772+00:00]   
[task 2025-03-10T18:06:35.772+00:00]   Full diff:
[task 2025-03-10T18:06:35.772+00:00]     {
[task 2025-03-10T18:06:35.772+00:00]         'attributes': {},
[task 2025-03-10T18:06:35.772+00:00]         'dependencies': {},
[task 2025-03-10T18:06:35.772+00:00]         'description': 'fake description',
[task 2025-03-10T18:06:35.772+00:00]         'extra': {},
[task 2025-03-10T18:06:35.772+00:00]         'label': 'fake-task-label',
[task 2025-03-10T18:06:35.772+00:00]         'routes': [],
[task 2025-03-10T18:06:35.772+00:00]         'scopes': [],
[task 2025-03-10T18:06:35.772+00:00]         'soft-dependencies': [],
[task 2025-03-10T18:06:35.772+00:00]         'worker': {
[task 2025-03-10T18:06:35.772+00:00]             'command': [
[task 2025-03-10T18:06:35.772+00:00]                 'C:/mozilla-build/python3/python3.exe run-task '
[task 2025-03-10T18:06:35.772+00:00]                 '--ci-checkout=build/src/ -- bash -cx "echo hello world"',
[task 2025-03-10T18:06:35.772+00:00]             ],
[task 2025-03-10T18:06:35.772+00:00]             'env': {
[task 2025-03-10T18:06:35.772+00:00]                 'CI_BASE_REPOSITORY': 'http://hg.example.com',
[task 2025-03-10T18:06:35.772+00:00]                 'CI_HEAD_REF': 'default',
[task 2025-03-10T18:06:35.772+00:00]                 'CI_HEAD_REPOSITORY': 'http://hg.example.com',
[task 2025-03-10T18:06:35.772+00:00]                 'CI_HEAD_REV': 'abcdef',
[task 2025-03-10T18:06:35.772+00:00]                 'CI_REPOSITORY_TYPE': 'hg',
[task 2025-03-10T18:06:35.772+00:00]                 'HG_STORE_PATH': 'y:/hg-shared',
[task 2025-03-10T18:06:35.772+00:00]                 'MOZ_SCM_LEVEL': '1',
[task 2025-03-10T18:06:35.772+00:00]                 'REPOSITORIES': '{"ci": "Taskgraph"}',
[task 2025-03-10T18:06:35.772+00:00]                 'VCS_PATH': 'build/src',
[task 2025-03-10T18:06:35.772+00:00]             },
[task 2025-03-10T18:06:35.772+00:00]             'implementation': 'generic-worker',
[task 2025-03-10T18:06:35.772+00:00]             'mounts': [
[task 2025-03-10T18:06:35.772+00:00]                 {
[task 2025-03-10T18:06:35.772+00:00]                     'cache-name': 'checkouts',
[task 2025-03-10T18:06:35.772+00:00]                     'directory': 'build',
[task 2025-03-10T18:06:35.773+00:00]                 },
[task 2025-03-10T18:06:35.773+00:00]                 {
[task 2025-03-10T18:06:35.773+00:00]                     'content': {
[task 2025-03-10T18:06:35.773+00:00]   -                     'url': 'https://tc-tests.localhost/api/queue/v1/task/<TASK_ID>/artifacts/public/run-task',
[task 2025-03-10T18:06:35.773+00:00]   ?                                       ^^ ^^^ ^ ^^^^^^^
[task 2025-03-10T18:06:35.773+00:00]   +                     'url': 'https://tc.example.com/api/queue/v1/task/<TASK_ID>/artifacts/public/run-task',
[task 2025-03-10T18:06:35.773+00:00]   ?                                       ^ ^^^^^^ ^ ^
[task 2025-03-10T18:06:35.773+00:00]                     },
[task 2025-03-10T18:06:35.773+00:00]                     'file': './run-task',
[task 2025-03-10T18:06:35.773+00:00]                 },
[task 2025-03-10T18:06:35.773+00:00]             ],
[task 2025-03-10T18:06:35.773+00:00]             'os': 'windows',
[task 2025-03-10T18:06:35.773+00:00]         },
[task 2025-03-10T18:06:35.773+00:00]         'worker-type': 'b-win2012',
[task 2025-03-10T18:06:35.773+00:00]     }
[task 2025-03-10T18:06:35.773+00:00] FAILED test/test_optimize_strategies.py::test_index_search[exception-2021-06-08T14:53:16.937Z-False-logs2] - requests.exceptions.ConnectionError: Connection refused by Responses - the call doesn't match any registered mock.
[task 2025-03-10T18:06:35.773+00:00] 
[task 2025-03-10T18:06:35.773+00:00] Request: 
[task 2025-03-10T18:06:35.773+00:00] - GET https://tc-tests.example.com/api/index/v1/task/foo.bar.latest
[task 2025-03-10T18:06:35.773+00:00] 
[task 2025-03-10T18:06:35.773+00:00] Available matches:
[task 2025-03-10T18:06:35.773+00:00] - GET https://tc-tests.localhost/api/index/v1/task/foo.bar.latest URL does not match
[task 2025-03-10T18:06:35.773+00:00] - GET https://tc-tests.localhost/api/queue/v1/task/abc/status URL does not match
[task 2025-03-10T18:06:35.773+00:00] FAILED test/test_optimize_strategies.py::test_index_search[failed-2021-06-08T14:53:16.937Z-False-logs3] - requests.exceptions.ConnectionError: Connection refused by Responses - the call doesn't match any registered mock.
[task 2025-03-10T18:06:35.773+00:00] 
[task 2025-03-10T18:06:35.773+00:00] Request: 
[task 2025-03-10T18:06:35.773+00:00] - GET https://tc-tests.example.com/api/index/v1/task/foo.bar.latest
[task 2025-03-10T18:06:35.773+00:00] 
[task 2025-03-10T18:06:35.773+00:00] Available matches:
[task 2025-03-10T18:06:35.773+00:00] - GET https://tc-tests.localhost/api/index/v1/task/foo.bar.latest URL does not match
[task 2025-03-10T18:06:35.773+00:00] - GET https://tc-tests.localhost/api/queue/v1/task/abc/status URL does not match
[task 2025-03-10T18:06:35.773+00:00] ERROR test/test_optimize_strategies.py::test_index_search[completed-2021-06-06T14:53:16.937Z-False-logs0] - AssertionError: Not all requests have been executed [('GET', 'https://tc-tests.localhost/api/index/v1/task/foo.bar.latest'), ('GET', 'https://tc-tests.localhost/api/queue/v1/task/abc/status')]
[task 2025-03-10T18:06:35.773+00:00] ERROR test/test_optimize_strategies.py::test_index_search[completed-2021-06-08T14:53:16.937Z-abc-logs1] - AssertionError: Not all requests have been executed [('GET', 'https://tc-tests.localhost/api/index/v1/task/foo.bar.latest'), ('GET', 'https://tc-tests.localhost/api/queue/v1/task/abc/status')]
[task 2025-03-10T18:06:35.773+00:00] ERROR test/test_optimize_strategies.py::test_index_search[exception-2021-06-08T14:53:16.937Z-False-logs2] - AssertionError: Not all requests have been executed [('GET', 'https://tc-tests.localhost/api/index/v1/task/foo.bar.latest'), ('GET', 'https://tc-tests.localhost/api/queue/v1/task/abc/status')]
[task 2025-03-10T18:06:35.773+00:00] ERROR test/test_optimize_strategies.py::test_index_search[failed-2021-06-08T14:53:16.937Z-False-logs3] - AssertionError: Not all requests have been executed [('GET', 'https://tc-tests.localhost/api/index/v1/task/foo.bar.latest'), ('GET', 'https://tc-tests.localhost/api/queue/v1/task/abc/status')]
[task 2025-03-10T18:06:35.773+00:00] ======= 5 failed, 499 passed, 3 xfailed, 31 warnings, 4 errors in 24.50s =======
[taskcluster 2025-03-10 18:06:36.219Z] === Task Finished ===
[taskcluster 2025-03-10 18:06:36.561Z] Unsuccessful task run with exit code: 1 completed in 70.442 seconds