Skip to content

test: make 'test_action_rebuild_cached_task' more robust

c506a04
Select commit
Loading
Failed to load commit list.
Merged

test: make 'test_action_rebuild_cached_task' more robust #670

test: make 'test_action_rebuild_cached_task' more robust
c506a04
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / codecov-upload succeeded Apr 3, 2025 in 3m 27s

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-04-03T14:16:32.172Z
Resolved: 2025-04-03T14:16:42.713Z
Task Execution Time: 10 seconds, 541 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

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


[taskcluster 2025-04-03 14:16:32.276Z] Task ID: E7QavQfkSnCWkW8gS2CnMg
[taskcluster 2025-04-03 14:16:32.276Z] Worker ID: 7080131016492525946
[taskcluster 2025-04-03 14:16:32.276Z] Worker Group: us-central1-a
[taskcluster 2025-04-03 14:16:32.276Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2025-04-03 14:16:32.276Z] Worker Pool: taskgraph-t/linux-gcp
[taskcluster 2025-04-03 14:16:32.276Z] Worker Version: 38.0.5
[taskcluster 2025-04-03 14:16:32.276Z] Public IP: 34.27.24.104
[taskcluster 2025-04-03 14:16:32.276Z] Hostname: taskgraph-t-linux-gcp-dlw3qobdtayeuc7l6mj3ug
[taskcluster 2025-04-03 14:16:32.276Z] using cache "taskgraph-level-1-uv-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/.task-cache/uv
[taskcluster 2025-04-03 14:16:32.276Z] using cache "taskgraph-level-1-checkouts-v3-581ca6876fac84fa2dd8-DioawIE5Qsm1jWS15x-kdA" -> /builds/worker/checkouts

[taskcluster 2025-04-03 14:16:32.815Z] Image 'public/image.tar.zst' from task 'DioawIE5Qsm1jWS15x-kdA' loaded.  Using image ID sha256:3bdbeef87bc568b141c346f85993bafb9d8fbfdfce1b6ee9652e0ba75764a5e2.
[taskcluster 2025-04-03 14:16:32.868Z] === Task Starting ===
[setup 2025-04-03T14:16:33.167+00:00] run-task started in /
[setup 2025-04-03T14:16:33.167+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-04-03T14:16:33.167+00:00] Python version: 3.11.2
[cache 2025-04-03T14:16:33.169+00:00] cache /builds/worker/.task-cache/uv exists; requirements: gid=1000 uid=1000 version=1
[cache 2025-04-03T14:16:33.170+00:00] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2025-04-03T14:16:33.170+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2025-04-03T14:16:33.170+00:00] volume /builds/worker/checkouts is a cache
[setup 2025-04-03T14:16:33.170+00:00] running as worker:worker
[vcs 2025-04-03T14:16:33.170+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2025-04-03T14:16:33.172+00:00] executing ['git', 'fetch', '--no-tags', 'https://github.com/ahal/taskgraph', 'ahal/push-qpwqquyltwlp']
[vcs 2025-04-03T14:16:33.368+00:00] From https://github.com/ahal/taskgraph
[vcs 2025-04-03T14:16:33.368+00:00]  * branch              ahal/push-qpwqquyltwlp -> FETCH_HEAD
[vcs 2025-04-03T14:16:33.373+00:00] executing ['git', 'checkout', '-f', '-B', 'ahal/push-qpwqquyltwlp', 'c506a0418d13068f9677dfdeb443095316271b8a']
[vcs 2025-04-03T14:16:33.389+00:00] Reset branch 'ahal/push-qpwqquyltwlp'
[vcs 2025-04-03T14:16:33.389+00:00] cleaning git checkout...
[vcs 2025-04-03T14:16:33.389+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2025-04-03T14:16:33.446+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-04-03T14:16:33.660+00:00] successfully cleaned git checkout!
[vcs 2025-04-03T14:16:33.662+00:00] TinderboxPrint:<a href='https://github.com/ahal/taskgraph/commit/c506a0418d13068f9677dfdeb443095316271b8a' title='Built from taskgraph commit c506a0418d13068f9677dfdeb443095316271b8a'>c506a0418d13068f9677dfdeb443095316271b8a</a>
[fetches 2025-04-03T14:16:33.662+00:00] fetching artifacts
[fetches 2025-04-03T14:16:33.662+00:00] executing ['/usr/bin/python3', '-u', '/usr/local/bin/fetch-content', 'task-artifacts']
attempt 1/5
attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M5MSfRhhTRCeQsT4586kYw/artifacts/public/coverage.py310 to /builds/worker/fetches/coverage.py310attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A_SqJRuxRYyft9Wxp8L8AQ/artifacts/public/codecov to /builds/worker/fetches/codecov

Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EBAPRTOGTIi0qO1EYJrPbg/artifacts/public/coverage.py311 to /builds/worker/fetches/coverage.py311Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M5MSfRhhTRCeQsT4586kYw/artifacts/public/coverage.py310

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/EBAPRTOGTIi0qO1EYJrPbg/artifacts/public/coverage.py311
attempt 1/5
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LmUQYXfrQRyFkIeHr6RBGg/artifacts/public/coverage.py312 to /builds/worker/fetches/coverage.py312
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LmUQYXfrQRyFkIeHr6RBGg/artifacts/public/coverage.py312
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M5MSfRhhTRCeQsT4586kYw/artifacts/public/coverage.py310 resolved to 593920 bytes with sha256 c3badb6d7ba7a2ff49532af9fd7e086cc55e59d140d42845717f2feefe77d5ca in 0.311s
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/AWAjIPvoScy6g2Do9xZdIQ/artifacts/public/coverage.py313 to /builds/worker/fetches/coverage.py313
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AWAjIPvoScy6g2Do9xZdIQ/artifacts/public/coverage.py313
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/EBAPRTOGTIi0qO1EYJrPbg/artifacts/public/coverage.py311 resolved to 610304 bytes with sha256 8f3003e1876f544bde87ebfed62043f1ef9711bd1c46d136a37be9cb93338e63 in 0.351s
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/J1X_-l6ZTX6_FPcOmPCHnQ/artifacts/public/coverage.py38 to /builds/worker/fetches/coverage.py38
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/J1X_-l6ZTX6_FPcOmPCHnQ/artifacts/public/coverage.py38
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LmUQYXfrQRyFkIeHr6RBGg/artifacts/public/coverage.py312 resolved to 602112 bytes with sha256 9157455da938750e601041e69d4170583962d02d741da2f85c068f2eddba9b82 in 0.424s
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/YShQq5bZTTGimcjsnsR_sw/artifacts/public/coverage.py39 to /builds/worker/fetches/coverage.py39
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YShQq5bZTTGimcjsnsR_sw/artifacts/public/coverage.py39
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AWAjIPvoScy6g2Do9xZdIQ/artifacts/public/coverage.py313 resolved to 602112 bytes with sha256 6fbd9fdc70d0270f42796ff253cd5b95a52309101bf528747ed2b44afa33cf15 in 0.224s
Extracting /builds/worker/fetches/coverage.py313 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/J1X_-l6ZTX6_FPcOmPCHnQ/artifacts/public/coverage.py38 resolved to 573440 bytes with sha256 b9ee6bdc8912e69ce045ddb55dbde25b18d7098b479f11db7758360136f325dd in 0.200s
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.640s
Extracting /builds/worker/fetches/codecov to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/YShQq5bZTTGimcjsnsR_sw/artifacts/public/coverage.py39 resolved to 573440 bytes with sha256 a5b4437b2e3ea2e6e332df61160877888880e0d26c1f8577f5f44a1806cc25e2 in 0.229s
Extracting /builds/worker/fetches/coverage.py39 to /builds/worker/fetches
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 0.6597058010000012, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2025-04-03T14:16:34.406+00:00] finished fetching artifacts
[task 2025-04-03T14:16:34.406+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-04-03T14:16:34.407+00:00] + uv run coverage combine --data-file /builds/worker/fetches/coverage /builds/worker/fetches
[task 2025-04-03T14:16:34.415+00:00] Using CPython 3.13.2
[task 2025-04-03T14:16:34.415+00:00] Creating virtual environment at: .venv
[task 2025-04-03T14:16:34.429+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2025-04-03T14:16:34.429+00:00]          If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2025-04-03T14:16:34.429+00:00]          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2025-04-03T14:16:34.536+00:00] Installed 74 packages in 108ms
[task 2025-04-03T14:16:35.564+00:00] Combined data file ../../fetches/coverage.py310
[task 2025-04-03T14:16:35.564+00:00] Combined data file ../../fetches/coverage.py311
[task 2025-04-03T14:16:35.564+00:00] Combined data file ../../fetches/coverage.py312
[task 2025-04-03T14:16:35.564+00:00] Combined data file ../../fetches/coverage.py313
[task 2025-04-03T14:16:35.564+00:00] Combined data file ../../fetches/coverage.py38
[task 2025-04-03T14:16:35.564+00:00] Combined data file ../../fetches/coverage.py39
[task 2025-04-03T14:16:35.588+00:00] + uv run coverage xml --data-file /builds/worker/fetches/coverage -o /builds/worker/fetches/coverage.xml
[task 2025-04-03T14:16:37.832+00:00] Wrote XML report to /builds/worker/fetches/coverage.xml
[task 2025-04-03T14:16:38.250+00:00] + uv run python taskcluster/scripts/codecov-upload.py
[task 2025-04-03T14:16:39.893+00:00] info - 2025-04-03 14:16:39,893 -- ci service found: local
[task 2025-04-03T14:16:39.895+00:00] debug - 2025-04-03 14:16:39,895 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2025-04-03T14:16:39.896+00:00] debug - 2025-04-03 14:16:39,896 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2025-04-03T14:16:39.898+00:00] warning - 2025-04-03 14:16:39,898 -- No config file could be found. Ignoring config.
[task 2025-04-03T14:16:39.898+00:00] debug - 2025-04-03 14:16:39,898 -- No codecov_yaml found
[task 2025-04-03T14:16:39.909+00:00] debug - 2025-04-03 14:16:39,909 -- Starting upload process --- {"commit_sha": "c506a0418d13068f9677dfdeb443095316271b8a", "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-qpwqquyltwlp", "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-04-03T14:16:39.909+00:00] debug - 2025-04-03 14:16:39,909 -- Starting create commit process --- {"commit_sha": "c506a0418d13068f9677dfdeb443095316271b8a", "parent_sha": null, "pr": null, "branch": "ahal/push-qpwqquyltwlp", "slug": "taskcluster/taskgraph", "token": "4******************", "service": "github", "enterprise_url": null}
[task 2025-04-03T14:16:40.276+00:00] info - 2025-04-03 14:16:40,275 -- Process Commit creating complete
[task 2025-04-03T14:16:40.276+00:00] debug - 2025-04-03 14:16:40,276 -- Commit creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2025-04-03T14:16:40.276+00:00] debug - 2025-04-03 14:16:40,276 -- Starting create report process --- {"commit_sha": "c506a0418d13068f9677dfdeb443095316271b8a", "code": "default", "slug": "taskcluster/taskgraph", "service": "github", "enterprise_url": null, "token": "4******************"}
[task 2025-04-03T14:16:40.670+00:00] info - 2025-04-03 14:16:40,670 -- Process Report creating complete
[task 2025-04-03T14:16:40.671+00:00] debug - 2025-04-03 14:16:40,670 -- Report creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2025-04-03T14:16:40.671+00:00] info - 2025-04-03 14:16:40,671 -- Finished creating report successfully --- {"response": "{\"status\":\"queued\"}\n"}
[task 2025-04-03T14:16:40.671+00:00] debug - 2025-04-03 14:16:40,671 -- Starting upload processing --- {"branch": "ahal/push-qpwqquyltwlp", "build_code": null, "build_url": null, "commit_sha": "c506a0418d13068f9677dfdeb443095316271b8a", "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-04-03T14:16:40.671+00:00] debug - 2025-04-03 14:16:40,671 -- 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-04-03T14:16:40.671+00:00] debug - 2025-04-03 14:16:40,671 -- Running preparation plugin: <class 'codecov_cli.plugins.xcode.XcodePlugin'>
[task 2025-04-03T14:16:40.671+00:00] debug - 2025-04-03 14:16:40,671 -- Running xcode plugin...
[task 2025-04-03T14:16:40.672+00:00] warning - 2025-04-03 14:16:40,671 -- xcrun is not installed or can't be found.
[task 2025-04-03T14:16:40.672+00:00] debug - 2025-04-03 14:16:40,672 -- Running preparation plugin: <class 'codecov_cli.plugins.gcov.GcovPlugin'>
[task 2025-04-03T14:16:40.672+00:00] debug - 2025-04-03 14:16:40,672 -- Running gcov plugin...
[task 2025-04-03T14:16:40.738+00:00] warning - 2025-04-03 14:16:40,738 -- No gcov data found.
[task 2025-04-03T14:16:40.738+00:00] debug - 2025-04-03 14:16:40,738 -- Running preparation plugin: <class 'codecov_cli.plugins.pycoverage.Pycoverage'>
[task 2025-04-03T14:16:40.803+00:00] warning - 2025-04-03 14:16:40,803 -- No coverage data found to transform
[task 2025-04-03T14:16:40.803+00:00] debug - 2025-04-03 14:16:40,803 -- Collecting relevant files
[task 2025-04-03T14:16:40.886+00:00] info - 2025-04-03 14:16:40,886 -- Found 1 coverage files to report
[task 2025-04-03T14:16:40.886+00:00] info - 2025-04-03 14:16:40,886 -- > /builds/worker/fetches/coverage.xml
[task 2025-04-03T14:16:40.891+00:00] debug - 2025-04-03 14:16:40,891 -- Selected uploader to use: <class 'codecov_cli.services.upload.upload_sender.UploadSender'>
[task 2025-04-03T14:16:40.898+00:00] debug - 2025-04-03 14:16:40,898 -- Sending upload request to Codecov
[task 2025-04-03T14:16:41.231+00:00] info - 2025-04-03 14:16:41,231 -- Your upload is now processing. When finished, results will be available at: https://app.codecov.io/github/taskcluster/taskgraph/commit/c506a0418d13068f9677dfdeb443095316271b8a
[task 2025-04-03T14:16:41.231+00:00] debug - 2025-04-03 14:16:41,231 -- Upload request to Codecov complete. --- {"response": {"raw_upload_location": "https://storage.googleapis.com/codecov-production/shelter/github/taskcluster%3A%3A%3A%3Ataskgraph/c506a0418d13068f9677dfdeb443095316271b8a/32790ba2-debc-48e9-bbc8-caa07643fed4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250403%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250403T141641Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=d79a5c20af287f28509656bcf242e5c240e783161f3b67b62a098fbae346cc2c", "url": "https://app.codecov.io/github/taskcluster/taskgraph/commit/c506a0418d13068f9677dfdeb443095316271b8a"}}
[task 2025-04-03T14:16:41.231+00:00] debug - 2025-04-03 14:16:41,231 -- Sending upload to storage
[task 2025-04-03T14:16:41.603+00:00] info - 2025-04-03 14:16:41,603 -- Process Upload complete
[task 2025-04-03T14:16:41.603+00:00] debug - 2025-04-03 14:16:41,603 -- Upload result --- {"result": "RequestResult(error=None, warnings=[], status_code=200, text='')"}
[fetches 2025-04-03T14:16:41.736+00:00] removing /builds/worker/fetches
[fetches 2025-04-03T14:16:41.741+00:00] finished
[taskcluster 2025-04-03 14:16:42.186Z] === Task Finished ===
[taskcluster 2025-04-03 14:16:42.186Z] Successful task run with exit code: 0 completed in 9.912 seconds