Open mikkonie opened 2 years ago
Dump from GitHub Actions:
Run codacy/codacy-coverage-reporter-action@master
Run echo "ORGANIZATION_PROVIDER=$(if [[ $GITHUB_SERVER_URL == "https://github.com" ]]; then echo "gh"; else echo "ghe"; fi)" >> $GITHUB_ENV
Run set -eux
+ report_list=
+ '[' -n coverage.xml ']'
+ report_list=coverage.xml
+ IFS=,
+ report_array=coverage.xml
+ params=
+ for report in $report_array
+ '[' '!' -z coverage.xml ']'
+ params=' -r coverage.xml'
+ auth=
+ '[' -n '' ']'
+ '[' -n *** ']'
+ auth='--project-token ***'
+ bash /dev/fd/63 report '--project-token ***' ' -r coverage.xml' --partial
++ 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.5.3)
#=#=#
######################## 34.0%
######################################################################## 100.0%
--> Checking checksum...
######################################################################## 100.0%
######################################################################## 100.0%
--> Expected checksum
2d814f379f165e2aaccd9ccae11cc8d9c56968f72a8302d6ba723af991dc21627ac9152ba48efc31868cb33f915b386a03915ad6debed1a6cf150c757fb670fe codacy-coverage-reporter-linux
--> Actual checksum
2d814f379f165e2aaccd9ccae11cc8d9c56968f72a8302d6ba723af991dc21627ac9152ba48efc31868cb33f915b386a03915ad6debed1a6cf150c757fb670fe codacy-coverage-reporter-linux
codacy-coverage-reporter-linux: OK
2021-12-16 12:22:21.008Z info [ConfigurationRules] API base URL: https://api.codacy.com - (ConfigurationRules.scala:79)
2021-12-16 12:22:21.323Z info [CommitUUIDProvider] CI/CD provider GitHub Actions found Commit UUID 0c6a03c274ab34cd8987280fe97dc8989551d4bd - (CommitUUIDProvider.scala:131)
2021-12-16 12:22:21.323Z info [ReportRules] Parsing coverage data from: /home/runner/work/sodar-server/sodar-server/coverage.xml ... - (ReportRules.scala:37)
2021-12-16 12:22:21.438Z info [ReportRules] Coverage parser used is com.codacy.parsers.implementation.CoberturaParser$@60a1a01e - (ReportRules.scala:42)
2021-12-16 12:22:21.455Z info [ReportRules] Generated coverage report: /tmp/codacy-coverage-3119553024123042260.json (85.36 kB) - (ReportRules.scala:255)
2021-12-16 12:22:21.455Z info [ReportRules] Uploading coverage data... - (ReportRules.scala:256)
2021-12-16 12:22:21.994Z info [ReportRules] Coverage data uploaded. Coverage received successfully. - (ReportRules.scala:167)
2021-12-16 12:22:21.994Z info [ReportRules]
--> Succeeded!
______ __
/ ____/___ ____/ /___ ________ __
/ / / __ \/ __ / __ `/ ___/ / / /
/ /___/ /_/ / /_/ / /_/ / /__/ /_/ /
\____/\____/\__,_/\__,_/\___/\__, /
/____/
Codacy Coverage Reporter
--> Codacy reporter codacy-coverage-reporter-linux already in cache
To complete the reporting process, call coverage-reporter with the final flag.
Check https://docs.codacy.com/coverage-reporter/#multiple-reports
for more information. - (ReportRules.scala:80)
2021-12-16 12:22:21.994Z info [CodacyCoverageReporter] All coverage data uploaded. - (CodacyCoverageReporter.scala:22)
+ bash /dev/fd/62 final '--project-token ***'
++ curl -Ls https://raw.githubusercontent.com/codacy/codacy-coverage-reporter/master/get.sh
######################################################################## 100.0%
2021-12-16 12:22:22.897Z info [ConfigurationRules] API base URL: https://api.codacy.com - (ConfigurationRules.scala:79)
2021-12-16 12:22:23.210Z info [CommitUUIDProvider] CI/CD provider GitHub Actions found Commit UUID 0c6a03c274ab34cd8987280fe97dc8989551d4bd - (CommitUUIDProvider.scala:131)
2021-12-16 12:22:23.395Z info [CodacyCoverageReporter] Final coverage notification sent. Final notification received successfully. - (CodacyCoverageReporter.scala:22)
Update: All of a sudden this started working on their end, without me changing anything? Possible some temporary glitch on their side then.
I'll keep this issue open as "ongoing" just in case this occurs again.
Codacy is set up similarly to SODAR Core for the GitHub repo. Same settings, token correctly set in secrets, but this seems to be failing for some reason.
The following error is displayed:
We stopped receiving your coverage results. Check if your CI workflow is set up correctly
.However, according to the GitHub Actions log, reporting works fine. Will paste dump in comments.
Possibly something temporarily going wrong in their end? Works fine in SODAR Core though and I fail to see what I'd have done differently.