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
8 comments
Comment actions Permalink

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.

0
Comment actions Permalink

Could you please try the following:
- remove <agent dist>/plugins/idea/coverage directory from an agent
- run build with coverage on this agent

0
Comment actions Permalink

I tried removing the coverage dir under TeamCity/buildAgent/plugins/idea/plugins , and ran the buil again, get the same result

0
Comment actions Permalink

Can you provide build log as it is shown by TeamCity (there is download build log link in the web UI).

0
Comment actions Permalink

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.

0
Comment actions Permalink

Sorry for wasting time , the pattern was messed up

was using a *Test.java

fixed it

thanks a ton,
suresh

0

Please sign in to leave a comment.