Skip to content

feat: implement new 'load-task' command to debug tasks locally

359d027
Select commit
Loading
Failed to load commit list.
Merged

feat: implement new 'load-task' command to debug tasks locally #680

feat: implement new 'load-task' command to debug tasks locally
359d027
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / codecov-upload succeeded May 6, 2025 in 4m 34s

FirefoxCI (pull_request)

Upload coverage.xml to codecov.io (Treeherder push)

Details

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

Task Status

Started: 2025-05-06T15:30:29.233Z
Resolved: 2025-05-06T15:30:39.188Z
Task Execution Time: 9 seconds, 955 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

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


[taskcluster 2025-05-06 15:30:29.354Z] Task ID: E5ROgN-tShGuUzIHxnnt_w
[taskcluster 2025-05-06 15:30:29.354Z] Worker ID: 747524943376782589
[taskcluster 2025-05-06 15:30:29.354Z] Worker Group: us-central1-c
[taskcluster 2025-05-06 15:30:29.354Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-05-06 15:30:29.354Z] Worker Pool: taskgraph-t/linux-gcp
[taskcluster 2025-05-06 15:30:29.354Z] Worker Version: 38.0.5
[taskcluster 2025-05-06 15:30:29.354Z] Public IP: 34.71.3.222
[taskcluster 2025-05-06 15:30:29.354Z] Hostname: taskgraph-t-linux-gcp-oio-qvg1tui2ydk5bzygta
[taskcluster 2025-05-06 15:30:29.354Z] using cache "taskgraph-level-1-uv-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/.task-cache/uv
[taskcluster 2025-05-06 15:30:29.354Z] using cache "taskgraph-level-1-checkouts-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/checkouts

[taskcluster 2025-05-06 15:30:29.784Z] Image 'public/image.tar.zst' from task 'DioawIE5Qsm1jWS15x-kdA' loaded.  Using image ID sha256:3bdbeef87bc568b141c346f85993bafb9d8fbfdfce1b6ee9652e0ba75764a5e2.
[taskcluster 2025-05-06 15:30:29.834Z] === Task Starting ===
[setup 2025-05-06T15:30:30.092+00:00] run-task started in /
[setup 2025-05-06T15:30:30.092+00:00] Invoked by command: --ci-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx uv run coverage combine --data-file $MOZ_FETCHES_DIR/coverage $MOZ_FETCHES_DIR && uv run coverage xml --data-file $MOZ_FETCHES_DIR/coverage -o $MOZ_FETCHES_DIR/coverage.xml && uv run python taskcluster/scripts/codecov-upload.py
[setup 2025-05-06T15:30:30.092+00:00] Python version: 3.11.2
[cache 2025-05-06T15:30:30.093+00:00] cache /builds/worker/.task-cache/uv exists; requirements: gid=1000 uid=1000 version=1
[cache 2025-05-06T15:30:30.094+00:00] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2025-05-06T15:30:30.094+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2025-05-06T15:30:30.094+00:00] volume /builds/worker/checkouts is a cache
[setup 2025-05-06T15:30:30.094+00:00] running as worker:worker
[vcs 2025-05-06T15:30:30.094+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-05-06T15:30:30.097+00:00] executing ['git', 'fetch', '--no-tags', 'https://github.com/ahal/taskgraph', 'ahal/push-wltzmptmptqw']
[vcs 2025-05-06T15:30:30.305+00:00] From https://github.com/ahal/taskgraph
[vcs 2025-05-06T15:30:30.305+00:00]  * branch              ahal/push-wltzmptmptqw -> FETCH_HEAD
[vcs 2025-05-06T15:30:30.309+00:00] executing ['git', 'checkout', '-f', '-B', 'ahal/push-wltzmptmptqw', '359d02737451345bdd4beaf0a760e3bc99555a34']
[vcs 2025-05-06T15:30:30.312+00:00] Reset branch 'ahal/push-wltzmptmptqw'
[vcs 2025-05-06T15:30:30.313+00:00] cleaning git checkout...
[vcs 2025-05-06T15:30:30.313+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2025-05-06T15:30:30.371+00:00] removing ['/builds/worker/checkouts/vcs/.pytest_cache/', '/builds/worker/checkouts/vcs/.venv/', '/builds/worker/checkouts/vcs/artifacts/', '/builds/worker/checkouts/vcs/src/taskgraph/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/actions/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/loader/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/optimize/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/run-task/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/transforms/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/transforms/run/__pycache__/', '/builds/worker/checkouts/vcs/src/taskgraph/util/__pycache__/', '/builds/worker/checkouts/vcs/test/__pycache__/', '/builds/worker/checkouts/vcs/test/data/taskcluster/test_taskgraph/transforms/__pycache__/', '/builds/worker/checkouts/vcs/test/data/testmod/__pycache__/']
[vcs 2025-05-06T15:30:30.575+00:00] successfully cleaned git checkout!
[vcs 2025-05-06T15:30:30.577+00:00] TinderboxPrint:<a href='https://github.com/ahal/taskgraph/commit/359d02737451345bdd4beaf0a760e3bc99555a34' title='Built from taskgraph commit 359d02737451345bdd4beaf0a760e3bc99555a34'>359d02737451345bdd4beaf0a760e3bc99555a34</a>
[fetches 2025-05-06T15:30:30.577+00:00] fetching artifacts
[fetches 2025-05-06T15:30:30.577+00:00] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A_SqJRuxRYyft9Wxp8L8AQ/artifacts/public/codecov to /builds/worker/fetches/codecovattempt 1/5

attempt 1/5Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GRwaSmuTS96m5EUQYRaooA/artifacts/public/coverage.py311 to /builds/worker/fetches/coverage.py311

Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GRwaSmuTS96m5EUQYRaooA/artifacts/public/coverage.py311
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A_SqJRuxRYyft9Wxp8L8AQ/artifacts/public/codecov
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Okzb-jjRSSyYfhQPd8OtWQ/artifacts/public/coverage.py310 to /builds/worker/fetches/coverage.py310
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Okzb-jjRSSyYfhQPd8OtWQ/artifacts/public/coverage.py310attempt 1/5

Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/KAQ95aHBRD2GRLnRK3XY8g/artifacts/public/coverage.py312 to /builds/worker/fetches/coverage.py312
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/KAQ95aHBRD2GRLnRK3XY8g/artifacts/public/coverage.py312
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Okzb-jjRSSyYfhQPd8OtWQ/artifacts/public/coverage.py310 resolved to 602112 bytes with sha256 d24fc7cdb2237f817368e4bc52934cb66e81d440e6b3f621a44823ae607f566f in 0.296s
Extracting /builds/worker/fetches/coverage.py310 to /builds/worker/fetches
attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Hko1DbKuSHq-zHq1W5Vb3Q/artifacts/public/coverage.py313 to /builds/worker/fetches/coverage.py313
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Hko1DbKuSHq-zHq1W5Vb3Q/artifacts/public/coverage.py313
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GRwaSmuTS96m5EUQYRaooA/artifacts/public/coverage.py311 resolved to 614400 bytes with sha256 8593dbc540e387ec9f8c9a4cc98c3bf79a02cb33cb67e03aa1f8da4b1a4950fe in 0.317s
Extracting /builds/worker/fetches/coverage.py311 to /builds/worker/fetches
attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cumUwr5bScqgb-y3gVvoGw/artifacts/public/coverage.py38 to /builds/worker/fetches/coverage.py38
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cumUwr5bScqgb-y3gVvoGw/artifacts/public/coverage.py38
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/KAQ95aHBRD2GRLnRK3XY8g/artifacts/public/coverage.py312 resolved to 610304 bytes with sha256 9c9492bb4c95a2881df96035b88c1b16dddc1a829c1cd9f1a93afaf58257622b in 0.325s
Extracting /builds/worker/fetches/coverage.py312 to /builds/worker/fetches
attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Rvvc_Ms3SyW3o_wRCwm3wA/artifacts/public/coverage.py39 to /builds/worker/fetches/coverage.py39
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Rvvc_Ms3SyW3o_wRCwm3wA/artifacts/public/coverage.py39
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Hko1DbKuSHq-zHq1W5Vb3Q/artifacts/public/coverage.py313 resolved to 610304 bytes with sha256 624e1141d1fc5ecd5bcede059f02d3c227f76876ea70cce65fcb1953b0469051 in 0.223s
Extracting /builds/worker/fetches/coverage.py313 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Rvvc_Ms3SyW3o_wRCwm3wA/artifacts/public/coverage.py39 resolved to 581632 bytes with sha256 5ae473490628ab38a99f4056588c05d3fcc5b81f584a76009c429b42dab58fc7 in 0.223s
Extracting /builds/worker/fetches/coverage.py39 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cumUwr5bScqgb-y3gVvoGw/artifacts/public/coverage.py38 resolved to 581632 bytes with sha256 a753a4f0b571d12ff123edcd7c445237bea0e8b36b9603953c24e9983d71593b in 0.249s
Extracting /builds/worker/fetches/coverage.py38 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A_SqJRuxRYyft9Wxp8L8AQ/artifacts/public/codecov resolved to 28918392 bytes with sha256 209d13481be406d6a2aa9519fa61c84883e3213308b5628c43a5e94cae75b8e6 in 0.858s
Extracting /builds/worker/fetches/codecov to /builds/worker/fetches
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 0.8631519239999932, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2025-05-06T15:30:31.521+00:00] finished fetching artifacts
[task 2025-05-06T15:30:31.521+00:00] executing ['bash', '-cx', 'uv run coverage combine --data-file $MOZ_FETCHES_DIR/coverage $MOZ_FETCHES_DIR && uv run coverage xml --data-file $MOZ_FETCHES_DIR/coverage -o $MOZ_FETCHES_DIR/coverage.xml && uv run python taskcluster/scripts/codecov-upload.py']
[task 2025-05-06T15:30:31.523+00:00] + uv run coverage combine --data-file /builds/worker/fetches/coverage /builds/worker/fetches
[task 2025-05-06T15:30:31.530+00:00] Using CPython 3.13.2
[task 2025-05-06T15:30:31.530+00:00] Creating virtual environment at: .venv
[task 2025-05-06T15:30:31.543+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2025-05-06T15:30:31.543+00:00]          If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2025-05-06T15:30:31.543+00:00]          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2025-05-06T15:30:31.643+00:00] Installed 74 packages in 101ms
[task 2025-05-06T15:30:32.586+00:00] Combined data file ../../fetches/coverage.py310
[task 2025-05-06T15:30:32.586+00:00] Combined data file ../../fetches/coverage.py311
[task 2025-05-06T15:30:32.586+00:00] Combined data file ../../fetches/coverage.py312
[task 2025-05-06T15:30:32.586+00:00] Combined data file ../../fetches/coverage.py313
[task 2025-05-06T15:30:32.586+00:00] Combined data file ../../fetches/coverage.py38
[task 2025-05-06T15:30:32.586+00:00] Combined data file ../../fetches/coverage.py39
[task 2025-05-06T15:30:32.605+00:00] + uv run coverage xml --data-file /builds/worker/fetches/coverage -o /builds/worker/fetches/coverage.xml
[task 2025-05-06T15:30:34.705+00:00] Wrote XML report to /builds/worker/fetches/coverage.xml
[task 2025-05-06T15:30:35.004+00:00] + uv run python taskcluster/scripts/codecov-upload.py
[task 2025-05-06T15:30:36.599+00:00] info - 2025-05-06 15:30:36,599 -- ci service found: local
[task 2025-05-06T15:30:36.601+00:00] debug - 2025-05-06 15:30:36,601 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2025-05-06T15:30:36.602+00:00] debug - 2025-05-06 15:30:36,602 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2025-05-06T15:30:36.604+00:00] warning - 2025-05-06 15:30:36,603 -- No config file could be found. Ignoring config.
[task 2025-05-06T15:30:36.604+00:00] debug - 2025-05-06 15:30:36,604 -- No codecov_yaml found
[task 2025-05-06T15:30:36.614+00:00] debug - 2025-05-06 15:30:36,614 -- Starting upload process --- {"commit_sha": "359d02737451345bdd4beaf0a760e3bc99555a34", "report_code": "default", "build_code": null, "build_url": null, "job_code": null, "env_vars": {}, "flags": [], "name": null, "network_filter": null, "network_prefix": null, "network_root_folder": "/builds/worker/checkouts/vcs", "files_search_root_folder": "/builds/worker/checkouts/vcs", "files_search_exclude_folders": [], "files_search_explicitly_listed_files": ["/builds/worker/fetches/coverage.xml"], "plugin_names": ["xcode", "gcov", "pycoverage"], "token": "4******************", "branch": "ahal/push-wltzmptmptqw", "slug": "taskcluster/taskgraph", "pull_request_number": null, "git_service": "github", "disable_search": false, "disable_file_fixes": false, "fail_on_error": true, "handle_no_reports_found": false}
[task 2025-05-06T15:30:36.614+00:00] debug - 2025-05-06 15:30:36,614 -- Starting create commit process --- {"commit_sha": "359d02737451345bdd4beaf0a760e3bc99555a34", "parent_sha": null, "pr": null, "branch": "ahal/push-wltzmptmptqw", "slug": "taskcluster/taskgraph", "token": "4******************", "service": "github", "enterprise_url": null}
[task 2025-05-06T15:30:37.005+00:00] info - 2025-05-06 15:30:37,004 -- Process Commit creating complete
[task 2025-05-06T15:30:37.005+00:00] debug - 2025-05-06 15:30:37,005 -- Commit creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2025-05-06T15:30:37.005+00:00] debug - 2025-05-06 15:30:37,005 -- Starting create report process --- {"commit_sha": "359d02737451345bdd4beaf0a760e3bc99555a34", "code": "default", "slug": "taskcluster/taskgraph", "service": "github", "enterprise_url": null, "token": "4******************"}
[task 2025-05-06T15:30:37.442+00:00] info - 2025-05-06 15:30:37,442 -- Process Report creating complete
[task 2025-05-06T15:30:37.442+00:00] debug - 2025-05-06 15:30:37,442 -- Report creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2025-05-06T15:30:37.442+00:00] info - 2025-05-06 15:30:37,442 -- Finished creating report successfully --- {"response": "{\"status\":\"queued\"}\n"}
[task 2025-05-06T15:30:37.442+00:00] debug - 2025-05-06 15:30:37,442 -- Starting upload processing --- {"branch": "ahal/push-wltzmptmptqw", "build_code": null, "build_url": null, "commit_sha": "359d02737451345bdd4beaf0a760e3bc99555a34", "disable_file_fixes": false, "disable_search": false, "enterprise_url": null, "env_vars": {}, "files_search_exclude_folders": [], "files_search_explicitly_listed_files": ["/builds/worker/fetches/coverage.xml"], "files_search_root_folder": "/builds/worker/checkouts/vcs", "flags": [], "git_service": "github", "handle_no_reports_found": false, "job_code": null, "name": null, "network_filter": null, "network_prefix": null, "network_root_folder": "/builds/worker/checkouts/vcs", "plugin_names": ["xcode", "gcov", "pycoverage"], "pull_request_number": null, "report_code": "default", "slug": "taskcluster/taskgraph", "token": "4******************", "upload_file_type": "coverage"}
[task 2025-05-06T15:30:37.443+00:00] debug - 2025-05-06 15:30:37,443 -- Selected preparation plugins --- {"selected_plugins": ["<class 'codecov_cli.plugins.xcode.XcodePlugin'>", "<class 'codecov_cli.plugins.gcov.GcovPlugin'>", "<class 'codecov_cli.plugins.pycoverage.Pycoverage'>"]}
[task 2025-05-06T15:30:37.443+00:00] debug - 2025-05-06 15:30:37,443 -- Running preparation plugin: <class 'codecov_cli.plugins.xcode.XcodePlugin'>
[task 2025-05-06T15:30:37.443+00:00] debug - 2025-05-06 15:30:37,443 -- Running xcode plugin...
[task 2025-05-06T15:30:37.443+00:00] warning - 2025-05-06 15:30:37,443 -- xcrun is not installed or can't be found.
[task 2025-05-06T15:30:37.443+00:00] debug - 2025-05-06 15:30:37,443 -- Running preparation plugin: <class 'codecov_cli.plugins.gcov.GcovPlugin'>
[task 2025-05-06T15:30:37.443+00:00] debug - 2025-05-06 15:30:37,443 -- Running gcov plugin...
[task 2025-05-06T15:30:37.507+00:00] warning - 2025-05-06 15:30:37,507 -- No gcov data found.
[task 2025-05-06T15:30:37.507+00:00] debug - 2025-05-06 15:30:37,507 -- Running preparation plugin: <class 'codecov_cli.plugins.pycoverage.Pycoverage'>
[task 2025-05-06T15:30:37.569+00:00] warning - 2025-05-06 15:30:37,569 -- No coverage data found to transform
[task 2025-05-06T15:30:37.569+00:00] debug - 2025-05-06 15:30:37,569 -- Collecting relevant files
[task 2025-05-06T15:30:37.648+00:00] info - 2025-05-06 15:30:37,648 -- Found 1 coverage files to report
[task 2025-05-06T15:30:37.648+00:00] info - 2025-05-06 15:30:37,648 -- > /builds/worker/fetches/coverage.xml
[task 2025-05-06T15:30:37.654+00:00] debug - 2025-05-06 15:30:37,653 -- Selected uploader to use: <class 'codecov_cli.services.upload.upload_sender.UploadSender'>
[task 2025-05-06T15:30:37.660+00:00] debug - 2025-05-06 15:30:37,660 -- Sending upload request to Codecov
[task 2025-05-06T15:30:38.003+00:00] info - 2025-05-06 15:30:38,002 -- Your upload is now processing. When finished, results will be available at: https://app.codecov.io/github/taskcluster/taskgraph/commit/359d02737451345bdd4beaf0a760e3bc99555a34
[task 2025-05-06T15:30:38.003+00:00] debug - 2025-05-06 15:30:38,003 -- Upload request to Codecov complete. --- {"response": {"raw_upload_location": "https://storage.googleapis.com/codecov-production/shelter/github/taskcluster%3A%3A%3A%3Ataskgraph/359d02737451345bdd4beaf0a760e3bc99555a34/3a03a07f-a928-4d77-9e88-23c01aa4d950.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250506%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250506T153037Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=3405157f75b10aa292aabd140bd516f532e03f55704f824dfac6c389677f99ea", "url": "https://app.codecov.io/github/taskcluster/taskgraph/commit/359d02737451345bdd4beaf0a760e3bc99555a34"}}
[task 2025-05-06T15:30:38.003+00:00] debug - 2025-05-06 15:30:38,003 -- Sending upload to storage
[task 2025-05-06T15:30:38.143+00:00] info - 2025-05-06 15:30:38,143 -- Process Upload complete
[task 2025-05-06T15:30:38.143+00:00] debug - 2025-05-06 15:30:38,143 -- Upload result --- {"result": "RequestResult(error=None, warnings=[], status_code=200, text='')"}
[fetches 2025-05-06T15:30:38.255+00:00] removing /builds/worker/fetches
[fetches 2025-05-06T15:30:38.260+00:00] finished
[taskcluster 2025-05-06 15:30:38.722Z] === Task Finished ===
[taskcluster 2025-05-06 15:30:38.722Z] Successful task run with exit code: 0 completed in 9.369 seconds