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

Code coverage reports not being uploaded because they are too large #324

Open
atruskie opened this issue Jun 12, 2020 · 0 comments
Open
Labels

Comments

@atruskie
Copy link
Member

Describe the bug

When our CI server builds the app and runs unit tests it also produces a code coverage report. It seems the coverage report is being rejected by code-cov because the report is too large:

2020-06-12 05:30:28 INF AzurePipelines detected.
2020-06-12 05:30:28 INF Git detected.
2020-06-12 05:30:28 INF Project root: /home/vsts/work/1/s
2020-06-12 05:30:28 INF Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml
2020-06-12 05:30:28 INF Reading reports.
2020-06-12 05:30:28 INF /home/vsts/work/_temp/Acoustics.Test_Results/d3adb687-c617-430c-8dfc-12b473f48324/coverage.opencover.xml
/home/vsts/work/_temp/AED.Test_Results/02d5cb98-98fb-43b0-a4fb-9f0027292c57/coverage.opencover.xml
2020-06-12 05:30:29 WRN Total file size of reports is above 20MB, this may prevent report being shown on codecov.io
2020-06-12 05:30:29 WRN Reduce the total upload size if this occurs
2020-06-12 05:30:29 INF Uploading Reports.
2020-06-12 05:30:29 INF url: https://codecov.io
2020-06-12 05:30:29 INF query: https://codecov.io/upload/v4?branch=master&commit=ae0de9a1e5f41ead188eb0ae1165bcd09c1a507d&build=20200612.2&tag=&pr=323&name=&flags=&slug=QutEcoacoustics%2Faudio-analysis&package=exe-1.11.1&build_url=https://dev.azure.com/QutEcoacoustics/audio-analysis/_build/results?buildId=2098&yaml=&job=2098&service=azure_pipelines&project=audio-analysis&server_uri=https://dev.azure.com/QutEcoacoustics/
2020-06-12 05:30:29 INF Pinging Codecov
2020-06-12 05:30:30 INF Uploading
2020-06-12 05:30:34 INF Uploading to S3 https://storage.googleapis.com
2020-06-12 05:30:34 INF View reports at: https://codecov.io/github/QutEcoacoustics/audio-analysis/commit/83d0ce35ade9e1a21360b10872eb12993bd2d124

Expected behavior

The reports should upload correctly

Diagnostics

N/A (related to CI builds and not AP.exe)

@atruskie atruskie added the bug label Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant