codecov-action
codecov-action copied to clipboard
codecov.exe missing on Windows (randomly)
Randomly, the codecov.exe will be missing when running on the windows GitHub runners.
Run codecov/codecov-action@v4
with:
fail_ci_if_error: true
flags: Windows-x64
token: ***
verbose: true
env:
pythonLocation: C:\hostedtoolcache\windows\Python\3.9.13\x64
PKG_CONFIG_PATH: C:\hostedtoolcache\windows\Python\3.9.13\x64/lib/pkgconfig
Python_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
Python2_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
Python3_ROOT_DIR: C:\hostedtoolcache\windows\Python\3.9.13\x64
==> windows OS detected
https://cli.codecov.io/latest/windows/codecov.exe.SHA256SUM
Received SHA256SUM a5e9b74b946578d274e84cede2484b80098e24b52d267c37598f06c11d29322a codecov.exe
Received SHA256SUM signature -----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEJwNOf9uFDgu8LGL/gGuyiu13mGkFAmY7uzkACgkQgGuyiu13
mGnrIg/+JIYq9YBXLEvCwHhIwF8mtvKUAtCL9Me881j1KSetRBQU4WeMp78jfCXg
gBZHdbaFxCkdYRtsXHyqXdzbjUDgEUs2fRv/0z9667F6kL37GoaFIF8ezMir4EsQ
mNDABYqBfTKCG85rmdihYGhc+ZDSFzt4pSj3mK041knTK2Qi6Kbmo8Uwv5QnWGvf
j5imQAeNBJHPgAcjVCORQqMyAnRnb5ltG0oVdI8zb6MDj980D2Dm47fy/1FM3W0Y
7k1ywa5KMckUfQzZYWMhjZLIsZGphApuzda7ts7q+XITuQwBfL+LI1+1P1EHUadh
YRTfL2AZVoSXI6KjzVIUIeaTt1TjxTawJTslrgZdktAd1vaKc3IP3ioVEAXNd3sl
gulkDsEMURBqbDhHLH1/X1CzUJlRlYjBHACaakTDNJa/p804nFinnNIzvj/XYQz2
9bFSi24VEvD+c0DMHPonz7kJHAe3tqG/IUVGddCCFF3bwtKDk1HzjKBdOeGDRdmz
IaXKwls3F31kp0dv/LD7FS+zVEcEdyuZTgkT3QNSsqw9K+2MUl9xhleTXTE517p7
/Q1+jWTduDUc06AoweaBr0MU6G7gBfkMPG13Yz+6drr509amh7VWO574YYQj5qNw
/zDeyHpRMlAdvEvgL7A+TBAC4xZTkIHK872pRzokw0TIxv6kxds=
=eqte
-----END PGP SIGNATURE-----
==> Running version latest
==> Running version v0.6.0
==> Running git config --global --add safe.directory D:\a\RetroArcher\RetroArcher
"C:\Program Files\Git\bin\git.exe" config --global --add safe.directory D:\a\RetroArcher\RetroArcher
==> Running command 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe -v create-commit'
D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe -v create-commit --git-service github -C d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd -Z
info - 2024-05-12 01:58:27,980 -- ci service found: github-actions
debug - 2024-05-12 01:58:28,418 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-05-12 01:58:28,449 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-05-12 01:58:28,480 -- Loading config from D:\a\RetroArcher\RetroArcher\codecov.yml
debug - 2024-05-12 01:58:28,480 -- Starting create commit process --- {"commit_sha": "d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd", "parent_sha": null, "pr": "489", "branch": "build(deps)-bump-codecov/codecov-action-from-v3-to-v4", "slug": "LizardByte/RetroArcher", "token": "6******************", "service": "github", "enterprise_url": null}
info - 2024-05-12 01:58:28,762 -- Process Commit creating complete
debug - 2024-05-12 01:58:28,762 -- Commit creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=201, text='{\"message\":\"build(deps): bump codecov/codecov-action from v3 to v4\",\"timestamp\":\"2024-05-12T01:52:26Z\",\"ci_passed\":true,\"state\":\"complete\",\"repository\":{\"name\":\"RetroArcher\",\"is_private\":false,\"active\":true,\"language\":\"python\",\"yaml\":{\"codecov\":{\"branch\":\"master\"},\"comment\":{\"layout\":\"diff, flags, files\",\"behavior\":\"default\",\"require_changes\":false},\"coverage\":{\"status\":{\"project\":{\"default\":{\"target\":\"auto\",\"threshold\":10.0}}}}}},\"author\":{\"avatar_url\":\"https://avatars0.githubusercontent.com/u/42013603?v=3&s=55\",\"service\":\"github\",\"username\":\"ReenigneArcher\",\"name\":\"ReenigneArcher\",\"ownerid\":3343103},\"commitid\":\"d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd\",\"parent_commit_id\":\"a5fed6ce63a9d6c54aa87a84e518000cee1a86ae\",\"pullid\":489,\"branch\":\"build(deps)-bump-codecov/codecov-action-from-v3-to-v4\"}')"}
==> Running command 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe -v create-report'
D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe -v create-report --git-service github -C d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd -Z
info - 2024-05-12 01:58:31,794 -- ci service found: github-actions
debug - 2024-05-12 01:58:31,825 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-05-12 01:58:31,856 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-05-12 01:58:31,872 -- Loading config from D:\a\RetroArcher\RetroArcher\codecov.yml
debug - 2024-05-12 01:58:31,872 -- Starting create report process --- {"commit_sha": "d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd", "code": "default", "slug": "LizardByte/RetroArcher", "service": "github", "enterprise_url": null, "token": "6******************"}
info - 2024-05-12 01:58:32,142 -- Process Report creating complete
debug - 2024-05-12 01:58:32,142 -- Report creating result --- {"result": "RequestResult(error=None, warnings=[], status_code=201, text='{\"external_id\":\"a16e78ee-315c-47e8-b31f-2bc7621598de\",\"created_at\":\"2024-05-12T01:55:12.878160Z\",\"commit_sha\":\"d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd\",\"code\":null}')"}
info - 2024-05-12 01:58:32,142 -- Finished creating report successfully --- {"response": "{\"external_id\":\"a16e78ee-315c-47e8-b31f-2bc7621598de\",\"created_at\":\"2024-05-12T01:55:12.878160Z\",\"commit_sha\":\"d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd\",\"code\":null}"}
==> Running command 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe -v do-upload'
D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe -v do-upload -Z -F Windows-x64 --git-service github -C d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd
info - 2024-05-12 01:58:37,586 -- ci service found: github-actions
debug - 2024-05-12 01:58:37,601 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-05-12 01:58:37,633 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-05-12 01:58:37,664 -- Loading config from D:\a\RetroArcher\RetroArcher\codecov.yml
debug - 2024-05-12 01:58:37,664 -- Starting upload processing --- {"branch": "build(deps)-bump-codecov/codecov-action-from-v3-to-v4", "build_code": "9047991122", "build_url": "https://github.com/LizardByte/RetroArcher/actions/runs/9047991122", "commit_sha": "d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd", "disable_file_fixes": false, "disable_search": false, "enterprise_url": null, "env_vars": {}, "files_search_exclude_folders": [], "files_search_explicitly_listed_files": [], "files_search_root_folder": "D:\\a\\RetroArcher\\RetroArcher", "flags": ["Windows-x64"], "git_service": "github", "handle_no_reports_found": false, "job_code": "CI", "name": "9047991122", "network_filter": null, "network_prefix": null, "network_root_folder": "D:\\a\\RetroArcher\\RetroArcher", "plugin_names": ["xcode", "gcov", "pycoverage"], "pull_request_number": "489", "report_code": "default", "slug": "LizardByte/RetroArcher", "token": "6******************", "upload_file_type": "coverage"}
debug - 2024-05-12 01:58:37,664 -- Selected preparation plugins --- {"selected_plugins": ["<class 'codecov_cli.plugins.xcode.XcodePlugin'>", "<class 'codecov_cli.plugins.gcov.GcovPlugin'>", "<class 'codecov_cli.plugins.pycoverage.Pycoverage'>"]}
debug - 2024-05-12 01:58:37,664 -- Running preparation plugin: <class 'codecov_cli.plugins.xcode.XcodePlugin'>
debug - 2024-05-12 01:58:37,664 -- Running xcode plugin...
warning - 2024-05-12 01:58:37,680 -- xcrun is not installed or can't be found.
debug - 2024-05-12 01:58:37,680 -- Running preparation plugin: <class 'codecov_cli.plugins.gcov.GcovPlugin'>
debug - 2024-05-12 01:58:37,680 -- Running gcov plugin...
warning - 2024-05-12 01:58:37,758 -- No gcov data found.
debug - 2024-05-12 01:58:37,758 -- Running preparation plugin: <class 'codecov_cli.plugins.pycoverage.Pycoverage'>
info - 2024-05-12 01:58:37,758 -- Generating coverage.xml report in D:\a\RetroArcher\RetroArcher
info - 2024-05-12 01:58:37,992 -- Wrote XML report to coverage.xml
debug - 2024-05-12 01:58:37,992 -- Collecting relevant files
info - 2024-05-12 01:58:38,118 -- Found 1 coverage files to report
info - 2024-05-12 01:58:38,118 -- > D:\a\RetroArcher\RetroArcher\coverage.xml
debug - 2024-05-12 01:58:38,133 -- Selected uploader to use: <class 'codecov_cli.services.upload.upload_sender.UploadSender'>
debug - 2024-05-12 01:58:38,149 -- Sending upload request to Codecov
info - 2024-05-12 01:58:38,555 -- Your upload is now processing. When finished, results will be available at: https://app.codecov.io/github/LizardByte/RetroArcher/commit/d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd
debug - 2024-05-12 01:58:38,555 -- Upload request to Codecov complete. --- {"response": {"external_id": "b78735ee-d2fa-46b5-beda-e46c9c93f7a8", "created_at": "2024-05-12T01:58:38.461566Z", "raw_upload_location": "https://storage.googleapis.com/codecov/v4/raw/2024-05-12/59E47EE49D1C613B24B70FEA30144CBB/d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd/a16e78ee-315c-47e8-b31f-2bc7621598de/b78735ee-d2fa-46b5-beda-e46c9c93f7a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240512%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240512T015838Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=37bce5b5a1d89cdaf196ffd80ccb8b493f8399dedf2a0b2e2c0e78278fa0e95e", "state": "", "provider": null, "upload_type": "uploaded", "url": "https://app.codecov.io/github/LizardByte/RetroArcher/commit/d93cc9c6350b1d98849b5b9d5e65bf2e3df153cd", "ci_url": "https://github.com/LizardByte/RetroArcher/actions/runs/9047991122", "flags": ["Windows-x64"], "env": {}, "name": "9047991122", "job_code": "CI"}}
debug - 2024-05-12 01:58:38,555 -- Sending upload to storage
info - 2024-05-12 01:58:38,915 -- Process Upload complete
debug - 2024-05-12 01:58:38,915 -- Upload result --- {"result": "RequestResult(error=None, warnings=[], status_code=200, text='')"}
gpg: directory '/c/Users/runneradmin/.gnupg' created
gpg: /c/Users/runneradmin/.gnupg/trustdb.gpg: trustdb created
gpg: key 806BB28AED779869: public key "Codecov Uploader (Codecov Uploader Verification Key) <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: Signature made Wed May 8 17:49:45 2024 CUT
gpg: using RSA key 27034E7FDB850E0BBC2C62FF806BB28AED779869
gpg: Good signature from "Codecov Uploader (Codecov Uploader Verification Key) <[email protected]>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 2703 4E7F DB85 0E0B BC2C 62FF 806B B28A ED77 9869
Error: ENOENT: no such file or directory, open 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe'
@ReenigneArcher do you mind providing a link to CI to help us investigate here? I have an idea but I'd like to be able to repro
@thomasrockhu-codecov here you go, https://github.com/LizardByte/RetroArcher/actions/runs/9047991122/job/24869338466?pr=489#step:12:97
I can't seem to make it happen in other repos/projects so I'm not sure what's going on.
I don't know what changed, but this is working now.
huh, that is strange. @ReenigneArcher let me know if it pops up again