codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

Failed to execute script 'main' due to unhandled exception

Open nazarhussain opened this issue 1 year ago • 0 comments

Caused the failure on the Github CI with following logs.

Run codecov/codecov-action@v4
  with:
    token: ***
    fail_ci_if_error: true
    verbose: true
    flags: unit
==> linux OS detected

https://cli.codecov.io/latest/linux/codecov.SHA[2](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:2)56SUM
Received SHA256SUM 10[3](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:3)bfefcc56f76[4](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:4)73179e600b96eb81[5](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:5)0b0f349ad9483[6](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:6)b0f63f03ffac469ad[7](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:8)  codecov
Received SHA256SUM signature -----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEJwNOf9uFDgu[8](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:9)LGL/gGuyiu13mGkFAmW8+QUACgkQgGuyiu13
mGll6A/8CVDQ3LQaqpgQEIekCJUNKU/+tpF1EGpuUsMi7DZZ0RA6cmazUJFUlZK2
GS7Ptcwly+SYTT+a61SzeVlewPLa47XZIFyC+7tgSO6XgUNlJ+KTevyeL6GG0Qs1
YaciuJv8IHAqaaYT4[9](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:10)iKpWE99OME1VXY3fIm4uEHlc4pgnmLv+FNdxnit4AYLGlw
2JHzdDMd5aHlnYYIyYJ9UbM8fFVWgddL1venoYl59NKc5gXjH1/+yPPWz2R+4f22
jZfofI04aEJxNhGinfV5Vykb9asyfMupmLUweArgTIF3wzIEoYo/pK0nVgRBiROE
1hiaH5lti8brA2NF+pzp4+xFEyCU1m/mgN/rj1VRkDs0CW4S86eYWVbfuHEb0ymQ
o7Oe/rST6IjqM72B8eleEdT1DKdeX8DYSXnKvR2J1POyoPMMt/HUoCxphiNOq6Ei
416xOCgqWwOEGbeZ1pxp4Eovf6fffbd2F9MUcJTzgWocOqLh3lZB/EX3G9eLKsyf
WLW3s3NXzajS9j4zEPZxGPmnqAadfm9dzffwokFZnqMTJ7HB4qXH87BPgwPbq8R+
y/1Hv7hHEbJJhbE1fitwHFMg4gfUP6q39VtrfooQSBRYYDzrstowO/L2xsr+AkwW
EQGY70I4SY4XPKKzs8tF3Jch7Oa+xgeNMM1qSGyb2Vjn0KKSDMk=
=jEIQ
-----END PGP SIGNATURE-----

==> Running version latest
gpg: directory '/home/runner/.gnupg' created
gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
gpg: /home/runner/.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 Fri Feb  2 14:15:33 2024 UTC
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

==> Uploader SHASUM verified ([10](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:11)3bfefcc56f76473179e600b96eb8150b0f349ad94836b0f63f03ffac469ad7  codecov)
==> Running version v0.4.6
==> Running command '/home/runner/actions-runner/_work/_actions/codecov/codecov-action/v4/dist/codecov -v create-commit'
/home/runner/actions-runner/_work/_actions/codecov/codecov-action/v4/dist/codecov -v create-commit -C c749723d9525f68a39de27a5d85f789514392ae9 -Z
info - 2024-02-14 15:32:12,948 -- ci service found: github-actions
debug - 2024-02-14 15:32:12,948 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-02-14 15:32:12,949 -- versioning system found: <class 'codecov_cli.helpers.versioning_systems.GitVersioningSystem'>
debug - 2024-02-14 15:32:12,950 -- Loading config from /home/runner/actions-runner/_work/lodestar/lodestar/.codecov.yml
debug - 2024-02-14 15:32:12,955 -- Starting create commit process --- {"commit_sha": "c749723d9525f68a39de27a5d85f789514392ae9", "parent_sha": null, "pr": "6429", "branch": "nh/sim-debug-data", "slug": "ChainSafe/lodestar", "token": "a******************", "service": "github", "enterprise_url": null}
info - 2024-02-14 15:32:13,[11](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:12)7 -- Process Commit creating complete
debug - 2024-02-14 15:32:[13](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:14),118 -- Commit creating result --- {"result": "RequestResult(error=RequestError(code='HTTP Error 502', params={}, description='\\n<html><head>\\n<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\\n<title>502 Server Error</title>\\n</head>\\n<body text=#000000 bgcolor=#ffffff>\\n<h1>Error: Server Error</h1>\\n<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>\\n<h2></h2>\\n</body></html>\\n'), warnings=[], status_code=502, text='\\n<html><head>\\n<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\\n<title>502 Server Error</title>\\n</head>\\n<body text=#000000 bgcolor=#ffffff>\\n<h1>Error: Server Error</h1>\\n<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>\\n<h2></h2>\\n</body></html>\\n')"}
error - 2024-02-[14](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:15) [15](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:16):32:13,119 -- Commit creating failed: 
error - 2024-02-14 15:32:13,119 -- <html><head>
error - 2024-02-14 15:32:13,119 -- <meta http-equiv="content-type" content="text/html;charset=utf-8">
error - 2024-02-14 15:32:13,119 -- <title>502 Server Error</title>
error - 2024-02-14 15:32:13,119 -- </head>
error - 2024-02-14 15:32:13,119 -- <body text=#000000 bgcolor=#ffffff>
error - 2024-02-14 15:32:13,119 -- <h1>Error: Server Error</h1>
error - 2024-02-14 15:32:13,119 -- <h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
error - 2024-02-14 15:32:13,119 -- <h2></h2>
error - 2024-02-14 15:32:13,119 -- </body></html>
Traceback (most recent call last):
  File "codecov_cli/main.py", line 81, in <module>
  File "codecov_cli/main.py", line 77, in run
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line [16](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:17)88, in invoke
  File "click/core.py", line 1434, in invoke
  File "click/core.py", line 783, in invoke
  File "click/decorators.py", line 33, in new_func
  File "codecov_cli/commands/commit.py", line 64, in create_commit
  File "codecov_cli/services/commit/__init__.py", line 39, in create_commit_logic
  File "codecov_cli/helpers/request.py", line 133, in log_warnings_and_errors_if_any
NameError: name 'exit' is not defined
[109[19](https://github.com/ChainSafe/lodestar/actions/runs/7903444027/job/21571585730?pr=6429#step:7:20)] Failed to execute script 'main' due to unhandled exception!
Error: Codecov: Failed to properly create commit: The process '/home/runner/actions-runner/_work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1

nazarhussain avatar Feb 15 '24 10:02 nazarhussain