IPR coverage build (coverage.ic file does not exist)
Publishing artifacts
[21:36:33]: [Publishing artifacts] Artifacts path coverage.ic not found
[21:36:33]: Failed to generate coverage report, error: java.io.FileNotFoundException: coverage.ic file does not exist
I am getting this suddenly , the same config used to work , in the recent builds no coverage is reported.
Thanks
Suresh
[21:36:33]: Failed to generate coverage report, error: java.io.FileNotFoundException: coverage.ic file does not exist
I am getting this suddenly , the same config used to work , in the recent builds no coverage is reported.
Thanks
Suresh
Please sign in to leave a comment.
Could you please attach your build log and teamcity-agent.log from the agent where this build ran? You can also send logs to teamcity-feedback[at]jetbrains.com if logs contain sensitive data.
attaching logs
Attachment(s):
teamcity-agent.log.zip
teamcity-build.log.zip
Could you please try the following:
- remove <agent dist>/plugins/idea/coverage directory from an agent
- run build with coverage on this agent
I tried removing the coverage dir under TeamCity/buildAgent/plugins/idea/plugins , and ran the buil again, get the same result
Can you provide build log as it is shown by TeamCity (there is download build log link in the web UI).
attaching log
Attachment(s):
astroman-j_astroman-ipr-coverage_code_coverage_for_3183.log.zip
According to build log, tests were not run, in this case no coverage will be produced. Most likely you have incorrect test patterns in IPR runner, or do not have them at all.
Sorry for wasting time , the pattern was messed up
was using a *Test.java
fixed it
thanks a ton,
suresh