run-task: replace another use of datetime.utcnow() #714
firefoxci-taskcluster / codecov-upload
succeeded
Jun 30, 2025 in 6m 11s
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-06-30T12:40:40.317Z
Resolved: 2025-06-30T12:40:51.588Z
Task Execution Time: 11 seconds, 271 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-06-30 12:40:40.367Z] Task ID: TXw-IH4iSaGbJg2MAaxxWA
[taskcluster 2025-06-30 12:40:40.367Z] Worker ID: 95076994018917321
[taskcluster 2025-06-30 12:40:40.367Z] Worker Group: us-west1-b
[taskcluster 2025-06-30 12:40:40.367Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-06-30 12:40:40.367Z] Worker Pool: taskgraph-t/linux-gcp
[taskcluster 2025-06-30 12:40:40.367Z] Worker Version: 38.0.5
[taskcluster 2025-06-30 12:40:40.367Z] Public IP: 34.53.27.146
[taskcluster 2025-06-30 12:40:40.367Z] Hostname: taskgraph-t-linux-gcp-xokg4i5prded0ni9lpdina
[taskcluster 2025-06-30 12:40:40.367Z] using cache "taskgraph-level-1-uv-v3-f59e202b9f4c189775df-FqEsW8loR--yumjiWpy0yA" -> /builds/worker/.task-cache/uv
[taskcluster 2025-06-30 12:40:40.367Z] using cache "taskgraph-level-1-checkouts-v3-f59e202b9f4c189775df-FqEsW8loR--yumjiWpy0yA" -> /builds/worker/checkouts
[taskcluster 2025-06-30 12:40:40.688Z] Image 'public/image.tar.zst' from task 'FqEsW8loR--yumjiWpy0yA' loaded. Using image ID sha256:d3bd80bb1e7f48c03af70abe19bdcc979d586b8f64118f3ab9d9c5bee01758b8.
[taskcluster 2025-06-30 12:40:40.701Z] === Task Starting ===
[setup 2025-06-30T12:40:40.961+00:00] run-task started in /
[setup 2025-06-30T12:40:40.961+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-06-30T12:40:40.961+00:00] Python version: 3.11.2
[cache 2025-06-30T12:40:40.963+00:00] cache /builds/worker/.task-cache/uv exists; requirements: gid=1000 uid=1000 version=1
[cache 2025-06-30T12:40:40.963+00:00] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2025-06-30T12:40:40.963+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2025-06-30T12:40:40.963+00:00] volume /builds/worker/checkouts is a cache
[setup 2025-06-30T12:40:40.963+00:00] running as worker:worker
[vcs 2025-06-30T12:40:40.963+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-06-30T12:40:40.965+00:00] executing ['git', 'fetch', '--no-tags', 'https://github.com/jcristau/taskgraph', 'audit-utcnow']
[vcs 2025-06-30T12:40:41.267+00:00] From https://github.com/jcristau/taskgraph
[vcs 2025-06-30T12:40:41.267+00:00] * branch audit-utcnow -> FETCH_HEAD
[vcs 2025-06-30T12:40:41.272+00:00] executing ['git', 'checkout', '-f', '-B', 'audit-utcnow', '98ce50565a4f71544f62ddab5b8e7411745beca1']
[vcs 2025-06-30T12:40:41.276+00:00] Reset branch 'audit-utcnow'
[vcs 2025-06-30T12:40:41.276+00:00] cleaning git checkout...
[vcs 2025-06-30T12:40:41.276+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2025-06-30T12:40:41.382+00:00] removing ['/builds/worker/checkouts/vcs/.pytest_cache/', '/builds/worker/checkouts/vcs/.venv/', '/builds/worker/checkouts/vcs/artifacts/', '/builds/worker/checkouts/vcs/packages/pytest-taskgraph/src/pytest_taskgraph/__pycache__/', '/builds/worker/checkouts/vcs/packages/pytest-taskgraph/src/pytest_taskgraph/fixtures/__pycache__/', '/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-06-30T12:40:41.772+00:00] successfully cleaned git checkout!
[vcs 2025-06-30T12:40:41.774+00:00] TinderboxPrint:<a href='https://github.com/jcristau/taskgraph/commit/98ce50565a4f71544f62ddab5b8e7411745beca1' title='Built from taskgraph commit 98ce50565a4f71544f62ddab5b8e7411745beca1'>98ce50565a4f71544f62ddab5b8e7411745beca1</a>
[fetches 2025-06-30T12:40:41.775+00:00] fetching artifacts
[fetches 2025-06-30T12:40:41.775+00:00] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JdbUC4yZQTKGDg2gKqpojw/artifacts/public/codecov to /builds/worker/fetches/codecovDownloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fLu0dkInTYKkuwOqPntSqw/artifacts/public/coverage.py310 to /builds/worker/fetches/coverage.py310
attempt 1/5
attempt 1/5Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IwPL4Yn3SH-VtiAJ5aby1g/artifacts/public/coverage.py311 to /builds/worker/fetches/coverage.py311Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fLu0dkInTYKkuwOqPntSqw/artifacts/public/coverage.py310
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JdbUC4yZQTKGDg2gKqpojw/artifacts/public/codecovDownloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/C_pAgugwTDSbWTob48FsvA/artifacts/public/coverage.py312 to /builds/worker/fetches/coverage.py312
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/C_pAgugwTDSbWTob48FsvA/artifacts/public/coverage.py312
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IwPL4Yn3SH-VtiAJ5aby1g/artifacts/public/coverage.py311
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/C_pAgugwTDSbWTob48FsvA/artifacts/public/coverage.py312 resolved to 663552 bytes with sha256 9150f4f110938f309a2331f23dbefa610b1d64faca17387b9eae16127736b314 in 0.289s
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/Kh4nx-SWQRiXs9AOcUKUew/artifacts/public/coverage.py313 to /builds/worker/fetches/coverage.py313
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Kh4nx-SWQRiXs9AOcUKUew/artifacts/public/coverage.py313
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fLu0dkInTYKkuwOqPntSqw/artifacts/public/coverage.py310 resolved to 655360 bytes with sha256 a24cdf930064083046381117e9ae43ad6b69edaea70487ae7e48f96633a43651 in 0.295s
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/CGgtKze8SZOSAyrpT9Nrcg/artifacts/public/coverage.py38 to /builds/worker/fetches/coverage.py38
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CGgtKze8SZOSAyrpT9Nrcg/artifacts/public/coverage.py38
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CGgtKze8SZOSAyrpT9Nrcg/artifacts/public/coverage.py38 resolved to 634880 bytes with sha256 34eabf54cec415a6d65ddde7c21ff5c9a6f437c261089ae52f5cd153d230c771 in 0.161s
Extracting /builds/worker/fetches/coverage.py38 to /builds/worker/fetches
attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cxwz4IHJSsKRr3qri0H52w/artifacts/public/coverage.py39 to /builds/worker/fetches/coverage.py39
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cxwz4IHJSsKRr3qri0H52w/artifacts/public/coverage.py39
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Kh4nx-SWQRiXs9AOcUKUew/artifacts/public/coverage.py313 resolved to 663552 bytes with sha256 6e24d0c720bc6f29a9ac6cf8d4e6dacd661986d16ba400d9a64324d36415dc33 in 0.223s
Extracting /builds/worker/fetches/coverage.py313 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IwPL4Yn3SH-VtiAJ5aby1g/artifacts/public/coverage.py311 resolved to 667648 bytes with sha256 822b99904b0b23ff4f661eac0cd4b26c16777485eb106115ab0d8a70f54b165c in 0.521s
Extracting /builds/worker/fetches/coverage.py311 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cxwz4IHJSsKRr3qri0H52w/artifacts/public/coverage.py39 resolved to 634880 bytes with sha256 2175e8fb2af2fef88fa8a048c4666ffe033466bf5d31dda7ff78ad23a09d7cfc in 0.173s
Extracting /builds/worker/fetches/coverage.py39 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/JdbUC4yZQTKGDg2gKqpojw/artifacts/public/codecov resolved to 28918392 bytes with sha256 209d13481be406d6a2aa9519fa61c84883e3213308b5628c43a5e94cae75b8e6 in 0.678s
Extracting /builds/worker/fetches/codecov to /builds/worker/fetches
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 0.6840589800000032, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2025-06-30T12:40:42.545+00:00] finished fetching artifacts
[task 2025-06-30T12:40:42.545+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-06-30T12:40:42.546+00:00] + uv run coverage combine --data-file /builds/worker/fetches/coverage /builds/worker/fetches
[task 2025-06-30T12:40:42.729+00:00] Using CPython 3.13.2
[task 2025-06-30T12:40:42.729+00:00] Creating virtual environment at: .venv
[task 2025-06-30T12:40:42.789+00:00] Downloading sphinx (3.4MiB)
[task 2025-06-30T12:40:42.789+00:00] Downloading zstandard (5.2MiB)
[task 2025-06-30T12:40:42.915+00:00] Downloaded zstandard
[task 2025-06-30T12:40:43.030+00:00] Downloaded sphinx
[task 2025-06-30T12:40:43.031+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2025-06-30T12:40:43.031+00:00] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2025-06-30T12:40:43.032+00:00] If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2025-06-30T12:40:43.260+00:00] Installed 81 packages in 229ms
[task 2025-06-30T12:40:44.261+00:00] Combined data file ../../fetches/coverage.py310
[task 2025-06-30T12:40:44.261+00:00] Combined data file ../../fetches/coverage.py311
[task 2025-06-30T12:40:44.261+00:00] Combined data file ../../fetches/coverage.py312
[task 2025-06-30T12:40:44.261+00:00] Combined data file ../../fetches/coverage.py313
[task 2025-06-30T12:40:44.261+00:00] Combined data file ../../fetches/coverage.py38
[task 2025-06-30T12:40:44.261+00:00] Combined data file ../../fetches/coverage.py39
[task 2025-06-30T12:40:44.284+00:00] + uv run coverage xml --data-file /builds/worker/fetches/coverage -o /builds/worker/fetches/coverage.xml
[task 2025-06-30T12:40:46.530+00:00] Wrote XML report to /builds/worker/fetches/coverage.xml
[task 2025-06-30T12:40:46.928+00:00] + uv run python taskcluster/scripts/codecov-upload.py
[task 2025-06-30T12:40:48.506+00:00] info - 2025-06-30 12:40:48,506 -- ci service found: local
[task 2025-06-30T12:40:48.508+00:00] debug - 2025-06-30 12:40:48,507 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2025-06-30T12:40:48.509+00:00] debug - 2025-06-30 12:40:48,509 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2025-06-30T12:40:48.511+00:00] warning - 2025-06-30 12:40:48,510 -- No config file could be found. Ignoring config.
[task 2025-06-30T12:40:48.511+00:00] debug - 2025-06-30 12:40:48,511 -- No codecov_yaml found
[task 2025-06-30T12:40:48.522+00:00] debug - 2025-06-30 12:40:48,522 -- Starting upload process --- {"commit_sha": "98ce50565a4f71544f62ddab5b8e7411745beca1", "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": "audit-utcnow", "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-06-30T12:40:48.522+00:00] debug - 2025-06-30 12:40:48,522 -- Starting create commit process --- {"commit_sha": "98ce50565a4f71544f62ddab5b8e7411745beca1", "parent_sha": null, "pr": null, "branch": "audit-utcnow", "slug": "taskcluster/taskgraph", "token": "4******************", "service": "github", "enterprise_url": null}
[task 2025-06-30T12:40:48.996+00:00] info - 2025-06-30 12:40:48,996 -- Process Commit creating complete
[task 2025-06-30T12:40:48.996+00:00] debug - 2025-06-30 12:40:48,996 -- Commit creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2025-06-30T12:40:48.996+00:00] debug - 2025-06-30 12:40:48,996 -- Starting create report process --- {"commit_sha": "98ce50565a4f71544f62ddab5b8e7411745beca1", "code": "default", "slug": "taskcluster/taskgraph", "service": "github", "enterprise_url": null, "token": "4******************"}
[task 2025-06-30T12:40:49.350+00:00] info - 2025-06-30 12:40:49,350 -- Process Report creating complete
[task 2025-06-30T12:40:49.350+00:00] debug - 2025-06-30 12:40:49,350 -- Report creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2025-06-30T12:40:49.350+00:00] info - 2025-06-30 12:40:49,350 -- Finished creating report successfully --- {"response": "{\"status\":\"queued\"}\n"}
[task 2025-06-30T12:40:49.351+00:00] debug - 2025-06-30 12:40:49,350 -- Starting upload processing --- {"branch": "audit-utcnow", "build_code": null, "build_url": null, "commit_sha": "98ce50565a4f71544f62ddab5b8e7411745beca1", "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-06-30T12:40:49.351+00:00] debug - 2025-06-30 12:40:49,351 -- 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-06-30T12:40:49.351+00:00] debug - 2025-06-30 12:40:49,351 -- Running preparation plugin: <class 'codecov_cli.plugins.xcode.XcodePlugin'>
[task 2025-06-30T12:40:49.351+00:00] debug - 2025-06-30 12:40:49,351 -- Running xcode plugin...
[task 2025-06-30T12:40:49.351+00:00] warning - 2025-06-30 12:40:49,351 -- xcrun is not installed or can't be found.
[task 2025-06-30T12:40:49.351+00:00] debug - 2025-06-30 12:40:49,351 -- Running preparation plugin: <class 'codecov_cli.plugins.gcov.GcovPlugin'>
[task 2025-06-30T12:40:49.352+00:00] debug - 2025-06-30 12:40:49,351 -- Running gcov plugin...
[task 2025-06-30T12:40:49.478+00:00] warning - 2025-06-30 12:40:49,478 -- No gcov data found.
[task 2025-06-30T12:40:49.478+00:00] debug - 2025-06-30 12:40:49,478 -- Running preparation plugin: <class 'codecov_cli.plugins.pycoverage.Pycoverage'>
[task 2025-06-30T12:40:49.604+00:00] warning - 2025-06-30 12:40:49,604 -- No coverage data found to transform
[task 2025-06-30T12:40:49.604+00:00] debug - 2025-06-30 12:40:49,604 -- Collecting relevant files
[task 2025-06-30T12:40:49.745+00:00] info - 2025-06-30 12:40:49,745 -- Found 1 coverage files to report
[task 2025-06-30T12:40:49.745+00:00] info - 2025-06-30 12:40:49,745 -- > /builds/worker/fetches/coverage.xml
[task 2025-06-30T12:40:49.750+00:00] debug - 2025-06-30 12:40:49,750 -- Selected uploader to use: <class 'codecov_cli.services.upload.upload_sender.UploadSender'>
[task 2025-06-30T12:40:49.757+00:00] debug - 2025-06-30 12:40:49,757 -- Sending upload request to Codecov
[task 2025-06-30T12:40:50.098+00:00] info - 2025-06-30 12:40:50,098 -- Your upload is now processing. When finished, results will be available at: https://app.codecov.io/github/taskcluster/taskgraph/commit/98ce50565a4f71544f62ddab5b8e7411745beca1
[task 2025-06-30T12:40:50.098+00:00] debug - 2025-06-30 12:40:50,098 -- Upload request to Codecov complete. --- {"response": {"raw_upload_location": "https://storage.googleapis.com/codecov-production/shelter/github/taskcluster%3A%3A%3A%3Ataskgraph/98ce50565a4f71544f62ddab5b8e7411745beca1/d6f93ce9-1efa-480a-ad0e-c71a3f8777ca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250630%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250630T124050Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=2967311576cc4bdf85d58cdadeb8d1512ffac0347766cf13adc1347eaf3f6bad", "url": "https://app.codecov.io/github/taskcluster/taskgraph/commit/98ce50565a4f71544f62ddab5b8e7411745beca1"}}
[task 2025-06-30T12:40:50.098+00:00] debug - 2025-06-30 12:40:50,098 -- Sending upload to storage
[task 2025-06-30T12:40:50.304+00:00] info - 2025-06-30 12:40:50,304 -- Process Upload complete
[task 2025-06-30T12:40:50.304+00:00] debug - 2025-06-30 12:40:50,304 -- Upload result --- {"result": "RequestResult(error=None, warnings=[], status_code=200, text='')"}
[fetches 2025-06-30T12:40:50.428+00:00] removing /builds/worker/fetches
[fetches 2025-06-30T12:40:50.432+00:00] finished
[taskcluster 2025-06-30 12:40:51.149Z] === Task Finished ===
[taskcluster 2025-06-30 12:40:51.149Z] Successful task run with exit code: 0 completed in 10.784 seconds
Loading