build(deps): bump libmozdata from 0.2.7 to 0.2.11 in /bot #2706
firefoxci-taskcluster / Code Coverage Bot checks: unit tests
failed
Jul 29, 2025 in 8m 10s
FirefoxCI (pull_request)
Check python code with pytest
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2025-07-29T15:36:55.369Z
Resolved: 2025-07-29T15:41:08.429Z
Task Execution Time: 4 minutes, 13 seconds, 60 milliseconds
Task Status: failed
Reason Resolved: failed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-07-29T15:36:55.406Z] Worker Type (code-analysis-1/linux-gw-gcp) settings:
[taskcluster 2025-07-29T15:36:55.406Z] {
[taskcluster 2025-07-29T15:36:55.406Z] "config": {
[taskcluster 2025-07-29T15:36:55.406Z] "deploymentId": ""
[taskcluster 2025-07-29T15:36:55.406Z] },
[taskcluster 2025-07-29T15:36:55.406Z] "generic-worker": {
[taskcluster 2025-07-29T15:36:55.406Z] "engine": "multiuser",
[taskcluster 2025-07-29T15:36:55.406Z] "go-arch": "amd64",
[taskcluster 2025-07-29T15:36:55.406Z] "go-os": "linux",
[taskcluster 2025-07-29T15:36:55.406Z] "go-version": "go1.22.2",
[taskcluster 2025-07-29T15:36:55.406Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v64.3.0",
[taskcluster 2025-07-29T15:36:55.406Z] "revision": "b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2025-07-29T15:36:55.406Z] "source": "https://github.com/taskcluster/taskcluster/commits/b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2025-07-29T15:36:55.406Z] "version": "64.3.0"
[taskcluster 2025-07-29T15:36:55.406Z] },
[taskcluster 2025-07-29T15:36:55.406Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-gui-googlecompute-2024-08-22t22-48-09z",
[taskcluster 2025-07-29T15:36:55.406Z] "instance-id": "1050406393563404231",
[taskcluster 2025-07-29T15:36:55.406Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2025-07-29T15:36:55.406Z] "local-ipv4": "10.128.0.75",
[taskcluster 2025-07-29T15:36:55.406Z] "project-id": "fxci-production-level1-workers",
...(385 lines hidden)...
tests/test_taskcluster.py::test_name_to_chunk[test-linux1804-64-ccov/opt-mochitest-e10s-7-mochitest-7] PASSED [ 50%]
tests/test_taskcluster.py::test_name_to_chunk[test-linux64-ccov/opt-cppunit-cppunit] PASSED [ 51%]
tests/test_taskcluster.py::test_name_to_chunk[test-linux64-ccov/opt-firefox-ui-functional-remote-e10s-firefox-ui-functional-remote] PASSED [ 51%]
tests/test_taskcluster.py::test_name_to_chunk[test-windows10-64-ccov/debug-mochitest-1-mochitest-1] PASSED [ 52%]
tests/test_taskcluster.py::test_name_to_chunk[test-windows10-64-ccov/debug-mochitest-e10s-7-mochitest-7] PASSED [ 53%]
tests/test_taskcluster.py::test_name_to_chunk[test-windows10-64-ccov/debug-cppunit-cppunit] PASSED [ 53%]
tests/test_taskcluster.py::test_name_to_chunk[test-windows10-64-ccov-qr/debug-mochitest-1-mochitest-1] PASSED [ 54%]
tests/test_taskcluster.py::test_name_to_chunk[test-windows10-64-ccov-qr/debug-mochitest-e10s-7-mochitest-7] PASSED [ 55%]
tests/test_taskcluster.py::test_name_to_chunk[test-windows10-64-ccov-qr/debug-cppunit-cppunit] PASSED [ 55%]
tests/test_taskcluster.py::test_name_to_chunk[build-linux64-ccov/opt-build] PASSED [ 56%]
tests/test_taskcluster.py::test_name_to_chunk[build-android-test-ccov/opt-build] PASSED [ 57%]
tests/test_taskcluster.py::test_name_to_chunk[build-win64-ccov/debug-build] PASSED [ 57%]
tests/test_taskcluster.py::test_name_to_chunk[build-signing-win64-ccov/debug-build-signing] PASSED [ 58%]
tests/test_taskcluster.py::test_chunk_to_suite[mochitest-1-mochitest] PASSED [ 59%]
tests/test_taskcluster.py::test_chunk_to_suite[mochitest-7-mochitest] PASSED [ 59%]
tests/test_taskcluster.py::test_chunk_to_suite[cppunit-cppunit] PASSED [ 60%]
tests/test_taskcluster.py::test_chunk_to_suite[firefox-ui-functional-remote-firefox-ui-functional-remote] PASSED [ 61%]
tests/test_taskcluster.py::test_chunk_to_suite[build-build] PASSED [ 61%]
tests/test_taskcluster.py::test_get_chunk[test-linux64-ccov/opt-mochitest-1-mochitest-plain-1] PASSED [ 62%]
tests/test_taskcluster.py::test_get_chunk[test-linux64-ccov/opt-mochitest-e10s-7-mochitest-plain-7] PASSED [ 63%]
tests/test_taskcluster.py::test_get_chunk[test-linux64-ccov/opt-cppunit-cppunittest-1] PASSED [ 63%]
tests/test_taskcluster.py::test_get_chunk[test-linux1804-64-ccov/opt-cppunit-cppunittest-1] PASSED [ 64%]
tests/test_taskcluster.py::test_get_chunk[test-linux64-ccov/opt-firefox-ui-functional-remote-e10s-firefox-ui-functional-remote-1] PASSED [ 65%]
tests/test_taskcluster.py::test_get_chunk[test-windows10-64-ccov/debug-mochitest-1-mochitest-1] PASSED [ 65%]
tests/test_taskcluster.py::test_get_chunk[test-windows10-64-ccov/debug-mochitest-e10s-7-mochitest-plain-chunked-7] PASSED [ 66%]
tests/test_taskcluster.py::test_get_chunk[test-windows10-64-ccov/debug-cppunit-cppunittest-1] PASSED [ 67%]
tests/test_taskcluster.py::test_get_chunk[test-windows10-64-ccov-qr/debug-mochitest-1-mochitest-1] PASSED [ 68%]
tests/test_taskcluster.py::test_get_chunk[test-windows10-64-ccov-qr/debug-mochitest-e10s-7-mochitest-plain-chunked-7] PASSED [ 68%]
tests/test_taskcluster.py::test_get_chunk[test-windows10-64-ccov-qr/debug-cppunit-cppunittest-1] PASSED [ 69%]
tests/test_taskcluster.py::test_get_chunk[build-linux64-ccov/opt-build] PASSED [ 70%]
tests/test_taskcluster.py::test_get_chunk[build-android-test-ccov/opt-build] PASSED [ 70%]
tests/test_taskcluster.py::test_get_chunk[build-win64-ccov/debug-build] PASSED [ 71%]
tests/test_taskcluster.py::test_get_chunk[build-signing-win64-ccov/debug-build-signing] PASSED [ 72%]
tests/test_taskcluster.py::test_get_chunk[source-test-node-newtab-unit-tests-ccov-source-test] PASSED [ 72%]
tests/test_taskcluster.py::test_get_chunk[fuzzing-grizzly-windows64-ccov-fuzzing] PASSED [ 73%]
tests/test_taskcluster.py::test_get_suite[test-linux64-ccov/opt-mochitest-1-mochitest-plain] PASSED [ 74%]
tests/test_taskcluster.py::test_get_suite[test-linux1804-64-ccov/opt-mochitest-1-mochitest-plain] PASSED [ 74%]
tests/test_taskcluster.py::test_get_suite[test-linux64-ccov/opt-mochitest-e10s-7-mochitest-plain] PASSED [ 75%]
tests/test_taskcluster.py::test_get_suite[test-linux64-ccov/opt-cppunit-cppunittest] PASSED [ 76%]
tests/test_taskcluster.py::test_get_suite[test-linux64-ccov/opt-firefox-ui-functional-remote-e10s-firefox-ui-functional-remote] PASSED [ 76%]
tests/test_taskcluster.py::test_get_suite[test-windows10-64-ccov/debug-mochitest-1-mochitest] PASSED [ 77%]
tests/test_taskcluster.py::test_get_suite[test-windows10-64-ccov/debug-mochitest-e10s-7-mochitest-plain-chunked] PASSED [ 78%]
tests/test_taskcluster.py::test_get_suite[test-windows10-64-ccov/debug-cppunit-cppunittest] PASSED [ 78%]
tests/test_taskcluster.py::test_get_suite[test-windows10-64-ccov-qr/debug-mochitest-1-mochitest] PASSED [ 79%]
tests/test_taskcluster.py::test_get_suite[test-windows10-64-ccov-qr/debug-mochitest-e10s-7-mochitest-plain-chunked] PASSED [ 80%]
tests/test_taskcluster.py::test_get_suite[test-windows10-64-ccov-qr/debug-cppunit-cppunittest] PASSED [ 80%]
tests/test_taskcluster.py::test_get_suite[build-linux64-ccov/opt-build] PASSED [ 81%]
tests/test_taskcluster.py::test_get_suite[build-android-test-ccov/opt-build] PASSED [ 82%]
tests/test_taskcluster.py::test_get_suite[build-win64-ccov/debug-build] PASSED [ 82%]
tests/test_taskcluster.py::test_get_suite[build-signing-win64-ccov/debug-build-signing] PASSED [ 83%]
tests/test_taskcluster.py::test_get_suite[source-test-node-newtab-unit-tests-ccov-source-test] PASSED [ 84%]
tests/test_taskcluster.py::test_get_suite[fuzzing-grizzly-windows64-ccov-fuzzing] PASSED [ 85%]
tests/test_taskcluster.py::test_get_platform[test-linux64-ccov/opt-mochitest-1-linux] PASSED [ 85%]
tests/test_taskcluster.py::test_get_platform[test-linux1804-64-ccov/opt-mochitest-1-linux] PASSED [ 86%]
tests/test_taskcluster.py::test_get_platform[test-linux64-ccov/opt-mochitest-e10s-7-linux] PASSED [ 87%]
tests/test_taskcluster.py::test_get_platform[test-linux64-ccov/opt-cppunit-linux] PASSED [ 87%]
tests/test_taskcluster.py::test_get_platform[test-linux64-ccov/opt-firefox-ui-functional-remote-e10s-linux] PASSED [ 88%]
tests/test_taskcluster.py::test_get_platform[test-windows10-64-ccov/debug-mochitest-1-windows] PASSED [ 89%]
tests/test_taskcluster.py::test_get_platform[test-windows10-64-ccov/debug-mochitest-e10s-7-windows] PASSED [ 89%]
tests/test_taskcluster.py::test_get_platform[test-windows10-64-ccov/debug-cppunit-windows] PASSED [ 90%]
tests/test_taskcluster.py::test_get_platform[test-windows10-64-ccov-qr/debug-mochitest-1-windows] PASSED [ 91%]
tests/test_taskcluster.py::test_get_platform[test-windows10-64-ccov-qr/debug-mochitest-e10s-7-windows] PASSED [ 91%]
tests/test_taskcluster.py::test_get_platform[test-windows10-64-ccov-qr/debug-cppunit-windows] PASSED [ 92%]
tests/test_taskcluster.py::test_get_platform[build-linux64-ccov/opt-linux] PASSED [ 93%]
tests/test_taskcluster.py::test_get_platform[build-android-test-ccov/opt-android] PASSED [ 93%]
tests/test_taskcluster.py::test_get_platform[build-win64-ccov/debug-windows] PASSED [ 94%]
tests/test_taskcluster.py::test_get_platform[build-signing-win64-ccov/debug-windows] PASSED [ 95%]
tests/test_taskcluster.py::test_get_platform[source-test-node-newtab-unit-tests-ccov-linux] PASSED [ 95%]
tests/test_taskcluster.py::test_get_platform[fuzzing-grizzly-windows64-ccov-windows] PASSED [ 96%]
tests/test_taskcluster.py::test_download_artifact_forbidden PASSED [ 97%]
tests/test_taskcluster.py::test_download_artifact_badzip PASSED [ 97%]
tests/test_trigger_missing.py::test_trigger_from_scratch PASSED [ 98%]
tests/test_trigger_missing.py::test_trigger_from_preexisting PASSED [ 99%]
tests/test_zero_coverage.py::test_zero_coverage PASSED [100%]
=================================== FAILURES ===================================
_________________________________ test_simple __________________________________
mock_secrets = None, mock_phabricator = None
fake_hg_repo = (<hglib.client.hgclient object at 0x7f9e0d71b260>, '/tmp/pytest-of-root/pytest-0/test_simple0/repos/local', '/tmp/pytest-of-root/pytest-0/test_simple0/repos/remote')
def test_simple(mock_secrets, mock_phabricator, fake_hg_repo):
hg, local, remote = fake_hg_repo
add_file(hg, local, "file", "1\n2\n3\n4\n5\n6\n7\n")
revision = commit(hg, 1)
hg.push(dest=bytes(remote, "ascii"))
copy_pushlog_database(remote, local)
phabricator = PhabricatorUploader(local, revision)
report = covdir_report(
{"source_files": [{"name": "file", "coverage": [None, 0, 1, 1, 1, 1, 0]}]}
)
with hgmo.HGMO(local) as hgmo_server:
stack = changesets(hgmo_server, revision)
with hglib.open(local) as hg:
results = phabricator.generate(hg, report, stack)
assert results == {
revision: {
"revision_id": 1,
"paths": {
"file": {
"coverage": "NUCCCCU",
"lines_added": 6,
"lines_covered": 4,
"lines_unknown": 0,
}
},
}
}
> phabricator.upload(report, stack)
tests/test_phabricator.py:53:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/local/lib/python3.12/site-packages/code_coverage_bot/phabricator.py:272: in upload
phabricator = PhabricatorAPI(
/usr/local/lib/python3.12/site-packages/libmozdata/phabricator.py:212: in __init__
self.USER_AGENT = config.get("User-Agent", "name", required=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
section = 'User-Agent', option = 'name', default = None, type = <class 'str'>
required = True
def get(section, option, default=None, type=str, required=False):
global __config
value = __config.get(section, option, default=default, type=type)
if required:
> assert value is not None, f"Option {option} in section {section} is not set"
^^^^^^^^^^^^^^^^^
E AssertionError: Option name in section User-Agent is not set
/usr/local/lib/python3.12/site-packages/libmozdata/config.py:84: AssertionError
----------------------------- Captured stdout call -----------------------------
2025-07-29 15:38:35 [warning ] Missing third party exclusion list path=/tmp/pytest-of-root/pytest-0/test_simple0/repos/local/tools/rewriting/ThirdPartyPaths.txt
2025-07-29 15:38:35 [info ] Configured HGMO server address=http://localhost:8000 dir=/tmp/pytest-of-root/pytest-0/test_simple0/repos/local
listening at http://1730aa22bbb9:8000/ (bound to *:8000)
2025-07-29 15:38:35 [info ] hgmo is running pid=921
2025-07-29 15:38:35 [info ] hgmo has been killed
=============================== warnings summary ===============================
tests/test_chunk_mapping.py::test_zero_coverage
/src/bot/tests/test_chunk_mapping.py:162: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
t.extract("chunk_mapping.sqlite", tmp_path)
tests/test_chunk_mapping.py::test_zero_coverage
/src/bot/tests/test_chunk_mapping.py:187: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
t.extract("per_chunk_mapping.sqlite", tmp_path)
tests/test_hook.py::test_hook_syntax[/src/bot/tests/../taskcluster-hook-repo.json-payload0]
tests/test_hook.py::test_hook_syntax[/src/bot/tests/../taskcluster-hook-repo.json-payload1]
tests/test_hook.py::test_hook_syntax[/src/bot/tests/../taskcluster-hook-cron.json-payload2]
/usr/local/lib/python3.12/site-packages/jsone/shared.py:97: 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).
reference = datetime.datetime.utcnow()
tests/test_taskcluster.py::test_get_tasks_in_group
tests/test_taskcluster.py::test_get_tasks_in_group
/usr/local/lib/python3.12/site-packages/responses/__init__.py:436: DeprecationWarning: Argument 'match_querystring' is deprecated. Use 'responses.matchers.query_param_matcher' or 'responses.matchers.query_string_matcher'
warn(
tests/test_taskcluster.py::test_download_artifact_badzip
/usr/local/lib/python3.12/site-packages/responses/__init__.py:609: DeprecationWarning: stream argument is deprecated. Use stream parameter in request directly
warn(
tests/test_trigger_missing.py::test_trigger_from_scratch
tests/test_trigger_missing.py::test_trigger_from_preexisting
/usr/local/lib/python3.12/site-packages/code_coverage_bot/trigger_missing.py:67: 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).
a_year_ago = datetime.utcnow() - timedelta(days=days)
tests/test_trigger_missing.py::test_trigger_from_scratch
tests/test_trigger_missing.py::test_trigger_from_preexisting
/usr/local/lib/python3.12/site-packages/code_coverage_bot/trigger_missing.py:103: 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).
yesterday = int(datetime.timestamp(datetime.utcnow() - timedelta(days=1)))
tests/test_zero_coverage.py: 12 warnings
/usr/local/lib/python3.12/site-packages/code_coverage_bot/zero_coverage.py:30: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
d = datetime.utcfromtimestamp(ts)
tests/test_zero_coverage.py::test_zero_coverage
/src/bot/tests/test_zero_coverage.py:47: 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).
today = datetime.utcnow()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_phabricator.py::test_simple - AssertionError: Option name in section User-Agent is not set
============ 1 failed, 146 passed, 25 warnings in 160.74s (0:02:40) ============
[taskcluster 2025-07-29T15:41:08.127Z] Exit Code: 1
[taskcluster 2025-07-29T15:41:08.127Z] User Time: 23.476845s
[taskcluster 2025-07-29T15:41:08.127Z] Kernel Time: 4.279031s
[taskcluster 2025-07-29T15:41:08.127Z] Wall Time: 4m12.212900218s
[taskcluster 2025-07-29T15:41:08.127Z] Result: FAILED
[taskcluster 2025-07-29T15:41:08.127Z] === Task Finished ===
[taskcluster 2025-07-29T15:41:08.127Z] Task Duration: 4m12.213494838s
[taskcluster 2025-07-29T15:41:08.195Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2026-07-29T16:32:58.548Z
[taskcluster:error] exit status 1
Loading