feat: port taskgraph action from gecko_taskgraph
#645
Merged
firefoxci-taskcluster / codecov-upload
succeeded
Feb 25, 2025 in 3m 14s
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-02-25T12:22:00.532Z
Resolved: 2025-02-25T12:22:13.493Z
Task Execution Time: 12 seconds, 961 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-02-25 12:22:00.628Z] Task ID: CzbTrWzYTRKoTUcyQp4yCg
[taskcluster 2025-02-25 12:22:00.628Z] Worker ID: 2390508126371580838
[taskcluster 2025-02-25 12:22:00.628Z] Worker Group: us-central1-b
[taskcluster 2025-02-25 12:22:00.628Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-02-25 12:22:00.628Z] Worker Pool: taskgraph-t/linux-gcp
[taskcluster 2025-02-25 12:22:00.628Z] Worker Version: 38.0.5
[taskcluster 2025-02-25 12:22:00.628Z] Public IP: 35.222.245.48
[taskcluster 2025-02-25 12:22:00.628Z] Hostname: taskgraph-t-linux-gcp-qztfarnxtn2gwwtoqj8ayg
[taskcluster 2025-02-25 12:22:00.628Z] using cache "taskgraph-level-1-uv-v3-c9406427cc19e2928f68-VHlJcXYQR3iHcVSCAbk9vA" -> /builds/worker/.task-cache/uv
[taskcluster 2025-02-25 12:22:00.628Z] using cache "taskgraph-level-1-checkouts-v3-c9406427cc19e2928f68-VHlJcXYQR3iHcVSCAbk9vA" -> /builds/worker/checkouts
[taskcluster 2025-02-25 12:22:01.172Z] Image 'public/image.tar.zst' from task 'VHlJcXYQR3iHcVSCAbk9vA' loaded. Using image ID sha256:636dfc328094b88785be1ae90561ebfe0bb890d7877f8b90e26961ecc9471980.
[taskcluster 2025-02-25 12:22:01.223Z] === Task Starting ===
[setup 2025-02-25T12:22:01.488+00:00] run-task started in /
[setup 2025-02-25T12:22:01.488+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-02-25T12:22:01.488+00:00] Python version: 3.11.2
[cache 2025-02-25T12:22:01.490+00:00] cache /builds/worker/.task-cache/uv exists; requirements: gid=1000 uid=1000 version=1
[cache 2025-02-25T12:22:01.490+00:00] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2025-02-25T12:22:01.490+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2025-02-25T12:22:01.490+00:00] volume /builds/worker/checkouts is a cache
[setup 2025-02-25T12:22:01.490+00:00] running as worker:worker
[vcs 2025-02-25T12:22:01.490+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-02-25T12:22:01.492+00:00] executing ['git', 'fetch', '--no-tags', 'https://github.com/Eijebong/taskgraph', 'taskgraph-actions']
[vcs 2025-02-25T12:22:02.325+00:00] From https://github.com/Eijebong/taskgraph
[vcs 2025-02-25T12:22:02.325+00:00] * branch taskgraph-actions -> FETCH_HEAD
[vcs 2025-02-25T12:22:02.330+00:00] executing ['git', 'checkout', '-f', '-B', 'taskgraph-actions', 'd6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446']
[vcs 2025-02-25T12:22:02.345+00:00] Reset branch 'taskgraph-actions'
[vcs 2025-02-25T12:22:02.346+00:00] cleaning git checkout...
[vcs 2025-02-25T12:22:02.346+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2025-02-25T12:22:02.401+00:00] removing ['/builds/worker/checkouts/vcs/.pytest_cache/', '/builds/worker/checkouts/vcs/.venv/', '/builds/worker/checkouts/vcs/__pycache__/', '/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-02-25T12:22:02.613+00:00] successfully cleaned git checkout!
[vcs 2025-02-25T12:22:02.615+00:00] TinderboxPrint:<a href='https://github.com/Eijebong/taskgraph/commit/d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446' title='Built from taskgraph commit d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446'>d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446</a>
[fetches 2025-02-25T12:22:02.615+00:00] fetching artifacts
[fetches 2025-02-25T12:22:02.615+00:00] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5
attempt 1/5attempt 1/5Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GfyqX_ClTWy5hNK6vfZ--g/artifacts/public/codecov to /builds/worker/fetches/codecov
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/e4ZFk5uURnSNMlmXyN3t4Q/artifacts/public/coverage.py311 to /builds/worker/fetches/coverage.py311
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ww8VDR-NSFKO7SqbYOsvSw/artifacts/public/coverage.py310 to /builds/worker/fetches/coverage.py310attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bG6aJ652Rf-0TWSddWgSqQ/artifacts/public/coverage.py312 to /builds/worker/fetches/coverage.py312
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/e4ZFk5uURnSNMlmXyN3t4Q/artifacts/public/coverage.py311
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bG6aJ652Rf-0TWSddWgSqQ/artifacts/public/coverage.py312Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ww8VDR-NSFKO7SqbYOsvSw/artifacts/public/coverage.py310
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GfyqX_ClTWy5hNK6vfZ--g/artifacts/public/codecov
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/e4ZFk5uURnSNMlmXyN3t4Q/artifacts/public/coverage.py311 resolved to 606208 bytes with sha256 bd02dd9a0c3d995f15ad89085ed0045dc1bb28d59127dff2dad267ec190876d0 in 0.278s
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/R7R7CP3GQhyE_-z_kyqGEQ/artifacts/public/coverage.py313 to /builds/worker/fetches/coverage.py313
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R7R7CP3GQhyE_-z_kyqGEQ/artifacts/public/coverage.py313
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Ww8VDR-NSFKO7SqbYOsvSw/artifacts/public/coverage.py310 resolved to 593920 bytes with sha256 b42e2a78ccae4f4d50334fa53640702ddecc8f114e6e1478955a415dd3aa05a1 in 0.283s
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/UNzUJTxUSn2Xg1N6L7Z0TQ/artifacts/public/coverage.py38 to /builds/worker/fetches/coverage.py38
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UNzUJTxUSn2Xg1N6L7Z0TQ/artifacts/public/coverage.py38
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/bG6aJ652Rf-0TWSddWgSqQ/artifacts/public/coverage.py312 resolved to 602112 bytes with sha256 41cf4428ea5ed184385bd9b3c3c6b744ebe9a764c7769f86c6e53fda4ff7ca26 in 0.294s
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/d_VYNAPHQiyh3jtGJXu-4Q/artifacts/public/coverage.py39 to /builds/worker/fetches/coverage.py39
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/d_VYNAPHQiyh3jtGJXu-4Q/artifacts/public/coverage.py39
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/UNzUJTxUSn2Xg1N6L7Z0TQ/artifacts/public/coverage.py38 resolved to 573440 bytes with sha256 5f556d252bc47422a4c2a14788831576e156064fca299284dd19406393299db3 in 0.228s
Extracting /builds/worker/fetches/coverage.py38 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/d_VYNAPHQiyh3jtGJXu-4Q/artifacts/public/coverage.py39 resolved to 573440 bytes with sha256 2387da0378eda2c609bca7e2d52dec28b7a2a4c0421b5255f6d97f267308e188 in 0.319s
Extracting /builds/worker/fetches/coverage.py39 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R7R7CP3GQhyE_-z_kyqGEQ/artifacts/public/coverage.py313 resolved to 602112 bytes with sha256 a8698834cf69dc40ace1c472c04e5af2d06e223200dfe9ab281afaf6855ade72 in 0.370s
Extracting /builds/worker/fetches/coverage.py313 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GfyqX_ClTWy5hNK6vfZ--g/artifacts/public/codecov resolved to 28918392 bytes with sha256 209d13481be406d6a2aa9519fa61c84883e3213308b5628c43a5e94cae75b8e6 in 0.925s
Extracting /builds/worker/fetches/codecov to /builds/worker/fetches
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 0.9303929750000179, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2025-02-25T12:22:03.627+00:00] finished fetching artifacts
[task 2025-02-25T12:22:03.627+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-02-25T12:22:03.628+00:00] + uv run coverage combine --data-file /builds/worker/fetches/coverage /builds/worker/fetches
[task 2025-02-25T12:22:03.793+00:00] Using CPython 3.13.2
[task 2025-02-25T12:22:03.793+00:00] Creating virtual environment at: .venv
[task 2025-02-25T12:22:03.842+00:00] Downloading zstandard (5.2MiB)
[task 2025-02-25T12:22:03.882+00:00] Building markupsafe==2.1.5
[task 2025-02-25T12:22:03.994+00:00] Downloaded zstandard
[task 2025-02-25T12:22:05.721+00:00] Built markupsafe==2.1.5
[task 2025-02-25T12:22:05.724+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2025-02-25T12:22:05.724+00:00] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2025-02-25T12:22:05.724+00:00] If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2025-02-25T12:22:05.828+00:00] Installed 74 packages in 105ms
[task 2025-02-25T12:22:06.753+00:00] Combined data file ../../fetches/coverage.py310
[task 2025-02-25T12:22:06.753+00:00] Combined data file ../../fetches/coverage.py311
[task 2025-02-25T12:22:06.753+00:00] Combined data file ../../fetches/coverage.py312
[task 2025-02-25T12:22:06.753+00:00] Combined data file ../../fetches/coverage.py313
[task 2025-02-25T12:22:06.753+00:00] Combined data file ../../fetches/coverage.py38
[task 2025-02-25T12:22:06.753+00:00] Combined data file ../../fetches/coverage.py39
[task 2025-02-25T12:22:06.773+00:00] + uv run coverage xml --data-file /builds/worker/fetches/coverage -o /builds/worker/fetches/coverage.xml
[task 2025-02-25T12:22:08.816+00:00] Wrote XML report to /builds/worker/fetches/coverage.xml
[task 2025-02-25T12:22:09.098+00:00] + uv run python taskcluster/scripts/codecov-upload.py
[task 2025-02-25T12:22:10.657+00:00] info - 2025-02-25 12:22:10,657 -- ci service found: local
[task 2025-02-25T12:22:10.658+00:00] debug - 2025-02-25 12:22:10,658 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2025-02-25T12:22:10.660+00:00] debug - 2025-02-25 12:22:10,660 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2025-02-25T12:22:10.661+00:00] warning - 2025-02-25 12:22:10,661 -- No config file could be found. Ignoring config.
[task 2025-02-25T12:22:10.661+00:00] debug - 2025-02-25 12:22:10,661 -- No codecov_yaml found
[task 2025-02-25T12:22:10.672+00:00] debug - 2025-02-25 12:22:10,672 -- Starting upload process --- {"commit_sha": "d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446", "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": "taskgraph-actions", "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-02-25T12:22:10.672+00:00] debug - 2025-02-25 12:22:10,672 -- Starting create commit process --- {"commit_sha": "d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446", "parent_sha": null, "pr": null, "branch": "taskgraph-actions", "slug": "taskcluster/taskgraph", "token": "4******************", "service": "github", "enterprise_url": null}
[task 2025-02-25T12:22:11.206+00:00] info - 2025-02-25 12:22:11,206 -- Process Commit creating complete
[task 2025-02-25T12:22:11.206+00:00] debug - 2025-02-25 12:22:11,206 -- Commit creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2025-02-25T12:22:11.207+00:00] debug - 2025-02-25 12:22:11,206 -- Starting create report process --- {"commit_sha": "d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446", "code": "default", "slug": "taskcluster/taskgraph", "service": "github", "enterprise_url": null, "token": "4******************"}
[task 2025-02-25T12:22:11.656+00:00] info - 2025-02-25 12:22:11,655 -- Process Report creating complete
[task 2025-02-25T12:22:11.656+00:00] debug - 2025-02-25 12:22:11,656 -- Report creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2025-02-25T12:22:11.656+00:00] info - 2025-02-25 12:22:11,656 -- Finished creating report successfully --- {"response": "{\"status\":\"queued\"}\n"}
[task 2025-02-25T12:22:11.656+00:00] debug - 2025-02-25 12:22:11,656 -- Starting upload processing --- {"branch": "taskgraph-actions", "build_code": null, "build_url": null, "commit_sha": "d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446", "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-02-25T12:22:11.656+00:00] debug - 2025-02-25 12:22:11,656 -- 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-02-25T12:22:11.656+00:00] debug - 2025-02-25 12:22:11,656 -- Running preparation plugin: <class 'codecov_cli.plugins.xcode.XcodePlugin'>
[task 2025-02-25T12:22:11.657+00:00] debug - 2025-02-25 12:22:11,656 -- Running xcode plugin...
[task 2025-02-25T12:22:11.657+00:00] warning - 2025-02-25 12:22:11,657 -- xcrun is not installed or can't be found.
[task 2025-02-25T12:22:11.657+00:00] debug - 2025-02-25 12:22:11,657 -- Running preparation plugin: <class 'codecov_cli.plugins.gcov.GcovPlugin'>
[task 2025-02-25T12:22:11.657+00:00] debug - 2025-02-25 12:22:11,657 -- Running gcov plugin...
[task 2025-02-25T12:22:11.721+00:00] warning - 2025-02-25 12:22:11,721 -- No gcov data found.
[task 2025-02-25T12:22:11.721+00:00] debug - 2025-02-25 12:22:11,721 -- Running preparation plugin: <class 'codecov_cli.plugins.pycoverage.Pycoverage'>
[task 2025-02-25T12:22:11.784+00:00] warning - 2025-02-25 12:22:11,784 -- No coverage data found to transform
[task 2025-02-25T12:22:11.784+00:00] debug - 2025-02-25 12:22:11,784 -- Collecting relevant files
[task 2025-02-25T12:22:11.861+00:00] info - 2025-02-25 12:22:11,861 -- Found 1 coverage files to report
[task 2025-02-25T12:22:11.861+00:00] info - 2025-02-25 12:22:11,861 -- > /builds/worker/fetches/coverage.xml
[task 2025-02-25T12:22:11.867+00:00] debug - 2025-02-25 12:22:11,866 -- Selected uploader to use: <class 'codecov_cli.services.upload.upload_sender.UploadSender'>
[task 2025-02-25T12:22:11.873+00:00] debug - 2025-02-25 12:22:11,873 -- Sending upload request to Codecov
[task 2025-02-25T12:22:12.318+00:00] info - 2025-02-25 12:22:12,317 -- Your upload is now processing. When finished, results will be available at: https://app.codecov.io/github/taskcluster/taskgraph/commit/d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446
[task 2025-02-25T12:22:12.318+00:00] debug - 2025-02-25 12:22:12,317 -- Upload request to Codecov complete. --- {"response": {"raw_upload_location": "https://storage.googleapis.com/codecov-production/shelter/github/taskcluster%3A%3A%3A%3Ataskgraph/d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446/2b10c3a9-9a92-4de2-9d99-1335ccefe062.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250225%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250225T122212Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5d30d3f01c6f4ee350d61c51d9ba0940c442afb00ab06308a469545ad16c6129", "url": "https://app.codecov.io/github/taskcluster/taskgraph/commit/d6a7f3d9c2ae51966a1a5b45f90bcd2efdf29446"}}
[task 2025-02-25T12:22:12.318+00:00] debug - 2025-02-25 12:22:12,318 -- Sending upload to storage
[task 2025-02-25T12:22:12.447+00:00] info - 2025-02-25 12:22:12,447 -- Process Upload complete
[task 2025-02-25T12:22:12.447+00:00] debug - 2025-02-25 12:22:12,447 -- Upload result --- {"result": "RequestResult(error=None, warnings=[], status_code=200, text='')"}
[fetches 2025-02-25T12:22:12.546+00:00] removing /builds/worker/fetches
[fetches 2025-02-25T12:22:12.550+00:00] finished
[taskcluster 2025-02-25 12:22:13.040Z] === Task Finished ===
[taskcluster 2025-02-25 12:22:13.040Z] Successful task run with exit code: 0 completed in 12.414 seconds
Loading