codacy / codacy-coverage-reporter-action

GitHub Action for the codacy-coverage-reporter
Other
56 stars 15 forks source link

[CY-6237] Issue with `codacy-coverage-reporter-linux` checksum mismatch #62

Closed xipasduarte closed 2 years ago

xipasduarte commented 2 years ago

I am using both the GitHub Action and the bash script to push coverage to Codacy, but for a while this has been giving the following error:

--> Expected checksum
4d8299f9fb58aedaee0c2e2948b0cfbdc39be3b0620e64211b8a22bbca607d05a3164edb753b9c5e6128dad56b14d89a1fd4c5b2d56a64c43b08fe0fc384ccd7  codacy-coverage-reporter-linux
--> Actual checksum
424da32d5e55d5a2c20724541807ec7ca7200d2d91b332522e8024df481040f0bdb147d48e9683f406c11d81441ba6fa7221f10a3676d0a04b0ff7f4201d5947  codacy-coverage-reporter-linux
sha512sum: WARNING: 1 computed checksum did NOT match
codacy-coverage-reporter-linux: FAILED

Was only able to run this action after setting CODACY_REPORTER_SKIP_CHECKSUM=true.

github-actions[bot] commented 2 years ago

Internal ticket created : CY-6237

abhayshiravanthe commented 2 years ago

This error is also happening for me and many of our PRs

Run codacy/codacy-coverage-reporter-action@master
  ....
......
++ curl -Ls https://raw.githubusercontent.com/codacy/codacy-coverage-reporter/master/get.sh
     ______          __
    / ____/___  ____/ /___ ________  __
   / /   / __ \/ __  / __ `/ ___/ / / /
  / /___/ /_/ / /_/ / /_/ / /__/ /_/ /
  \____/\____/\__,_/\__,_/\___/\__, /
                              /____/
  Codacy Coverage Reporter
#=#=#                                                                         
######################################################################## 100.0%
--> Downloading the codacy reporter codacy-coverage-reporter-linux... (13.9.14)
                                                                           1.0%
##########################################################                81.8%
######################################################################## 100.0%
--> Checking checksum...
#=#=#                                                                         
######################################################################## 100.0%
--> Expected checksum
4d8299f9fb58aedaee0c2e2948b0cfbdc39be3b0620e64211b8a22bbca607d05a3164edb753b9c5e6128dad56b14d89a1fd4c5b2d56a64c43b08fe0fc384ccd7  codacy-coverage-reporter-linux
--> Actual checksum
424da32d5e55d5a2c20724541807ec7ca7200d2d91b332522e8024df481040f0bdb147d48e9683f406c11d81441ba6fa7221f10a3676d0a04b0ff7f4201d5947  codacy-coverage-reporter-linux
sha512sum: WARNING: 1 computed checksum did NOT match
codacy-coverage-reporter-linux: FAILED
--> Failed!
Error: Process completed with exit code 1.
pedrocodacy commented 2 years ago

Thank you for the report @xipasduarte @abhayshiravanthe 🙏

This relates to https://github.com/codacy/codacy-coverage-reporter/issues/393 that was fixed yesterday with the release of version 13.9.15 of the codacy-coverage-reporter

It should be fixed for this action as well

xipasduarte commented 2 years ago

@pedrocodacy thanks for the quick reply 👍