Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(optimize): support kwargs in 'register_strategy' decorator #583

Merged
merged 1 commit into from
Oct 3, 2024

fix(optimize): support kwargs in 'register_strategy' decorator

ad118b6
Select commit
Loading
Failed to load commit list.
Merged

fix(optimize): support kwargs in 'register_strategy' decorator #583

fix(optimize): support kwargs in 'register_strategy' decorator
ad118b6
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / codecov-upload succeeded Oct 2, 2024 in 3m 17s

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: 2024-10-02T17:46:36.495Z
Resolved: 2024-10-02T17:46:47.784Z
Task Execution Time: 11 seconds, 289 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

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


[taskcluster 2024-10-02 17:46:36.536Z] Task ID: eG-s_Nw6Sya1cz4MRlBChw
[taskcluster 2024-10-02 17:46:36.536Z] Worker ID: 2730822578771867808
[taskcluster 2024-10-02 17:46:36.536Z] Worker Group: us-west1-b
[taskcluster 2024-10-02 17:46:36.536Z] Worker Node Type: projects/887720501152/machineTypes/c2-standard-4
[taskcluster 2024-10-02 17:46:36.536Z] Worker Pool: taskgraph-t/linux-gcp
[taskcluster 2024-10-02 17:46:36.536Z] Worker Version: 38.0.5
[taskcluster 2024-10-02 17:46:36.536Z] Public IP: 34.83.255.217
[taskcluster 2024-10-02 17:46:36.536Z] Hostname: taskgraph-t-linux-gcp-rip82zt9sago0-gfdt-y0w
[taskcluster 2024-10-02 17:46:36.536Z] using cache "taskgraph-level-1-checkouts-v3-c7367b56eb48a0e81da7-bu4eCYCaTHy96vZJVQfnng" -> /builds/worker/checkouts

[taskcluster 2024-10-02 17:46:36.940Z] Image 'public/image.tar.zst' from task 'bu4eCYCaTHy96vZJVQfnng' loaded.  Using image ID sha256:407fbd308145d68d75fb8b5f137c5c99da3ff30ba742cce2dd9237318dcdfd09.
[taskcluster 2024-10-02 17:46:36.951Z] === Task Starting ===
[setup 2024-10-02T17:46:37.276Z] run-task started in /
[setup 2024-10-02T17:46:37.276Z] 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 2024-10-02T17:46:37.276Z] Python version: 3.11.2
[cache 2024-10-02T17:46:37.277Z] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[volume 2024-10-02T17:46:37.277Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2024-10-02T17:46:37.277Z] volume /builds/worker/checkouts is a cache
[setup 2024-10-02T17:46:37.278Z] running as worker:worker
[vcs 2024-10-02T17:46:37.278Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2024-10-02T17:46:37.280Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/ahal/taskgraph', 'strategy_kwargs']
[vcs 2024-10-02T17:46:37.599Z] From https://github.com/ahal/taskgraph
[vcs 2024-10-02T17:46:37.599Z]  * branch              strategy_kwargs -> FETCH_HEAD
[vcs 2024-10-02T17:46:37.603Z] executing ['git', 'checkout', '-f', '-B', 'strategy_kwargs', 'ad118b601c31a2d05a63cb008f056004b326a90e']
[vcs 2024-10-02T17:46:37.607Z] Reset branch 'strategy_kwargs'
[vcs 2024-10-02T17:46:37.608Z] cleaning git checkout...
[vcs 2024-10-02T17:46:37.608Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-10-02T17:46:37.663Z] removing ['/builds/worker/checkouts/vcs/.venv/', '/builds/worker/checkouts/vcs/__pycache__/']
[vcs 2024-10-02T17:46:37.847Z] successfully cleaned git checkout!
[vcs 2024-10-02T17:46:37.849Z] TinderboxPrint:<a href='https://github.com/ahal/taskgraph/commit/ad118b601c31a2d05a63cb008f056004b326a90e' title='Built from taskgraph commit ad118b601c31a2d05a63cb008f056004b326a90e'>ad118b601c31a2d05a63cb008f056004b326a90e</a>
[setup 2024-10-02T17:46:37.849Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[fetches 2024-10-02T17:46:37.849Z] fetching artifacts
[fetches 2024-10-02T17:46:37.849Z] 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/aptqXnSjSLihSfRqYXDH-Q/artifacts/public/codecov to /builds/worker/fetches/codecov
attempt 1/5
attempt 1/5Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aptqXnSjSLihSfRqYXDH-Q/artifacts/public/codecovDownloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R7B00JGcQw21g2HXYo7p7Q/artifacts/public/coverage.py310 to /builds/worker/fetches/coverage.py310
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SfSxyVDoTNeYtm60TQ3OrQ/artifacts/public/coverage.py311 to /builds/worker/fetches/coverage.py311

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

Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R7B00JGcQw21g2HXYo7p7Q/artifacts/public/coverage.py310Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SfSxyVDoTNeYtm60TQ3OrQ/artifacts/public/coverage.py311
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TcCEAMC2SJWFYMpFzm3TDg/artifacts/public/coverage.py312

https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SfSxyVDoTNeYtm60TQ3OrQ/artifacts/public/coverage.py311 resolved to 593920 bytes with sha256 359abd9d8bc5a7ee140ca3d7a994a3fa7d45e6a878e63272222ddd39875fd19f in 0.288s
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/CDhJ03ZWSPuj7wcsz6TshA/artifacts/public/coverage.py38 to /builds/worker/fetches/coverage.py38
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CDhJ03ZWSPuj7wcsz6TshA/artifacts/public/coverage.py38
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/R7B00JGcQw21g2HXYo7p7Q/artifacts/public/coverage.py310 resolved to 581632 bytes with sha256 bd28a59a4088af1caaa4eac538108c04f9689ae84f95bd4bc279dff1c5ba4d8f in 0.306s
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/OKEjNHNDTLiBtrwO0DfDkw/artifacts/public/coverage.py39 to /builds/worker/fetches/coverage.py39
Downloading https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OKEjNHNDTLiBtrwO0DfDkw/artifacts/public/coverage.py39
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/TcCEAMC2SJWFYMpFzm3TDg/artifacts/public/coverage.py312 resolved to 589824 bytes with sha256 c7928392c9eb94e59adbcc6aaf2eabf2f76eeeffdc73e0be3508ba1b5c059ffc in 0.313s
Extracting /builds/worker/fetches/coverage.py312 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CDhJ03ZWSPuj7wcsz6TshA/artifacts/public/coverage.py38 resolved to 565248 bytes with sha256 c917c351bb36d4987b41fcfff628695629b87c87b43c72d87432cb92005d5017 in 0.158s
Extracting /builds/worker/fetches/coverage.py38 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OKEjNHNDTLiBtrwO0DfDkw/artifacts/public/coverage.py39 resolved to 565248 bytes with sha256 1f3e7daf454ff49f5efcac5d64767209178bb2cb8651821facdfd87806e629f6 in 0.259s
Extracting /builds/worker/fetches/coverage.py39 to /builds/worker/fetches
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aptqXnSjSLihSfRqYXDH-Q/artifacts/public/codecov resolved to 28918392 bytes with sha256 209d13481be406d6a2aa9519fa61c84883e3213308b5628c43a5e94cae75b8e6 in 0.946s
Extracting /builds/worker/fetches/codecov to /builds/worker/fetches
PERFHERDER_DATA: {"framework": {"name": "build_metrics"}, "suites": [{"name": "fetch_content", "value": 0.9503347339999948, "lowerIsBetter": true, "shouldAlert": false, "subtests": []}]}
[fetches 2024-10-02T17:46:38.876Z] finished fetching artifacts
[task 2024-10-02T17:46:38.876Z] 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 2024-10-02T17:46:38.878Z] + uv run coverage combine --data-file /builds/worker/fetches/coverage /builds/worker/fetches
[task 2024-10-02T17:46:39.042Z] Using Python 3.12.6
[task 2024-10-02T17:46:39.042Z] Creating virtualenv at: .venv
[task 2024-10-02T17:46:40.924Z] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2024-10-02T17:46:40.924Z]          If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2024-10-02T17:46:40.925Z]          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2024-10-02T17:46:41.036Z] Installed 73 packages in 112ms
[task 2024-10-02T17:46:41.795Z] Combined data file ../../fetches/coverage.py310
[task 2024-10-02T17:46:41.795Z] Combined data file ../../fetches/coverage.py311
[task 2024-10-02T17:46:41.795Z] Combined data file ../../fetches/coverage.py312
[task 2024-10-02T17:46:41.795Z] Combined data file ../../fetches/coverage.py38
[task 2024-10-02T17:46:41.795Z] Combined data file ../../fetches/coverage.py39
[task 2024-10-02T17:46:41.817Z] + uv run coverage xml --data-file /builds/worker/fetches/coverage -o /builds/worker/fetches/coverage.xml
[task 2024-10-02T17:46:43.796Z] Wrote XML report to /builds/worker/fetches/coverage.xml
[task 2024-10-02T17:46:44.100Z] + uv run python taskcluster/scripts/codecov-upload.py
[task 2024-10-02T17:46:45.582Z] info - 2024-10-02 17:46:45,582 -- ci service found: local
[task 2024-10-02T17:46:45.584Z] debug - 2024-10-02 17:46:45,584 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2024-10-02T17:46:45.585Z] debug - 2024-10-02 17:46:45,585 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
[task 2024-10-02T17:46:45.587Z] warning - 2024-10-02 17:46:45,587 -- No config file could be found. Ignoring config.
[task 2024-10-02T17:46:45.587Z] debug - 2024-10-02 17:46:45,587 -- No codecov_yaml found
[task 2024-10-02T17:46:45.597Z] debug - 2024-10-02 17:46:45,597 -- Starting upload process --- {"commit_sha": "ad118b601c31a2d05a63cb008f056004b326a90e", "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": "strategy_kwargs", "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 2024-10-02T17:46:45.598Z] debug - 2024-10-02 17:46:45,597 -- Starting create commit process --- {"commit_sha": "ad118b601c31a2d05a63cb008f056004b326a90e", "parent_sha": null, "pr": null, "branch": "strategy_kwargs", "slug": "taskcluster/taskgraph", "token": "4******************", "service": "github", "enterprise_url": null}
[task 2024-10-02T17:46:45.915Z] info - 2024-10-02 17:46:45,914 -- Process Commit creating complete
[task 2024-10-02T17:46:45.915Z] debug - 2024-10-02 17:46:45,915 -- Commit creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2024-10-02T17:46:45.915Z] debug - 2024-10-02 17:46:45,915 -- Starting create report process --- {"commit_sha": "ad118b601c31a2d05a63cb008f056004b326a90e", "code": "default", "slug": "taskcluster/taskgraph", "service": "github", "enterprise_url": null, "token": "4******************"}
[task 2024-10-02T17:46:46.117Z] info - 2024-10-02 17:46:46,117 -- Process Report creating complete
[task 2024-10-02T17:46:46.117Z] debug - 2024-10-02 17:46:46,117 -- Report creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=202, text='{\"status\":\"queued\"}\\n')"}
[task 2024-10-02T17:46:46.117Z] info - 2024-10-02 17:46:46,117 -- Finished creating report successfully --- {"response": "{\"status\":\"queued\"}\n"}
[task 2024-10-02T17:46:46.118Z] debug - 2024-10-02 17:46:46,117 -- Starting upload processing --- {"branch": "strategy_kwargs", "build_code": null, "build_url": null, "commit_sha": "ad118b601c31a2d05a63cb008f056004b326a90e", "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 2024-10-02T17:46:46.118Z] debug - 2024-10-02 17:46:46,118 -- Selected preparation plugins --- {"selected_plugins": ["<class 'codecov_cli.plugins.xcode.XcodePlugin'>", "<class 'codecov_cli.plugins.gcov.GcovPlugin'>", "<class 'codecov_cli.plugins.pycoverage.Pycoverage'>"]}
[task 2024-10-02T17:46:46.118Z] debug - 2024-10-02 17:46:46,118 -- Running preparation plugin: <class 'codecov_cli.plugins.xcode.XcodePlugin'>
[task 2024-10-02T17:46:46.118Z] debug - 2024-10-02 17:46:46,118 -- Running xcode plugin...
[task 2024-10-02T17:46:46.118Z] warning - 2024-10-02 17:46:46,118 -- xcrun is not installed or can't be found.
[task 2024-10-02T17:46:46.118Z] debug - 2024-10-02 17:46:46,118 -- Running preparation plugin: <class 'codecov_cli.plugins.gcov.GcovPlugin'>
[task 2024-10-02T17:46:46.118Z] debug - 2024-10-02 17:46:46,118 -- Running gcov plugin...
[task 2024-10-02T17:46:46.185Z] warning - 2024-10-02 17:46:46,184 -- No gcov data found.
[task 2024-10-02T17:46:46.185Z] debug - 2024-10-02 17:46:46,185 -- Running preparation plugin: <class 'codecov_cli.plugins.pycoverage.Pycoverage'>
[task 2024-10-02T17:46:46.249Z] warning - 2024-10-02 17:46:46,249 -- No coverage data found to transform
[task 2024-10-02T17:46:46.249Z] debug - 2024-10-02 17:46:46,249 -- Collecting relevant files
[task 2024-10-02T17:46:46.327Z] info - 2024-10-02 17:46:46,327 -- Found 1 coverage files to report
[task 2024-10-02T17:46:46.327Z] info - 2024-10-02 17:46:46,327 -- > /builds/worker/fetches/coverage.xml
[task 2024-10-02T17:46:46.333Z] debug - 2024-10-02 17:46:46,332 -- Selected uploader to use: <class 'codecov_cli.services.upload.upload_sender.UploadSender'>
[task 2024-10-02T17:46:46.339Z] debug - 2024-10-02 17:46:46,339 -- Sending upload request to Codecov
[task 2024-10-02T17:46:46.521Z] info - 2024-10-02 17:46:46,521 -- Your upload is now processing. When finished, results will be available at: https://app.codecov.io/github/taskcluster/taskgraph/commit/ad118b601c31a2d05a63cb008f056004b326a90e
[task 2024-10-02T17:46:46.521Z] debug - 2024-10-02 17:46:46,521 -- Upload request to Codecov complete. --- {"response": {"raw_upload_location": "https://storage.googleapis.com/codecov/shelter/github/taskcluster%3A%3A%3A%3Ataskgraph/ad118b601c31a2d05a63cb008f056004b326a90e/8d22a652-561d-40da-936b-e028321408c4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T174646Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=286bea21251d4533c8a7541489ce672fb10676c19164eb10697f00472502f768", "url": "https://app.codecov.io/github/taskcluster/taskgraph/commit/ad118b601c31a2d05a63cb008f056004b326a90e"}}
[task 2024-10-02T17:46:46.521Z] debug - 2024-10-02 17:46:46,521 -- Sending upload to storage
[task 2024-10-02T17:46:46.673Z] info - 2024-10-02 17:46:46,673 -- Process Upload complete
[task 2024-10-02T17:46:46.673Z] debug - 2024-10-02 17:46:46,673 -- Upload result --- {"result": "RequestResult(error=None, warnings=[], status_code=200, text='')"}
[fetches 2024-10-02T17:46:46.775Z] removing /builds/worker/fetches
[fetches 2024-10-02T17:46:46.778Z] finished
[taskcluster 2024-10-02 17:46:47.338Z] === Task Finished ===
[taskcluster 2024-10-02 17:46:47.338Z] Successful task run with exit code: 0 completed in 10.803 seconds