Missing PDBs

antonello's Avatar

antonello

08 Dec, 2015 12:44 PM

Hi Guys,

I have an open-source project (https://ci.appveyor.com/project/Deveel/deveeldb) that uses Coveralls.io for publishing the coverage reports for it, but lately I'm experiencing the issue of "Missing PDBs" errors.
It seems in fact that OpenCover application, that I fire on a post-test step, it is not able to find the .pdb files of the project: when I do run the same process on a local machine I don't experience such issue.
OpenCover is a caller toward other applications, producing a report of the run, that can happen only if the target application and components provide debugging information: in my configuration, I'm firing a NUnit runner, that succeeds in its execution.

The solution is set to produce debugging information, and in fact this happens in my local machine, but seems ignored on AppVeyor

  1. Support Staff 1 Posted by Feodor Fitsner on 08 Dec, 2015 05:53 PM

    Feodor Fitsner's Avatar

    Hi Antonello,

    Can you point me to some of the builds with that error please?

  2. 2 Posted by antonello on 09 Dec, 2015 09:50 AM

    antonello's Avatar

    Privet Feodor,

    You can check this build:
    https://ci.appveyor.com/project/Deveel/deveeldb/build/job/jir3ttcj7km5gxe7

    As you will see in one of the artifacts (coverage.xml), the reason for skipping the coverage is the "Missing PDBs".
    In the console output log it is also indicated.

    As you will see, the coverage analysis is done after the NUnit tests are executed by AppVeyor's runner, and it calls the runner again, but from a PS task.

    PS. A possible improvement I dare to suggest you, is to introduce an option to produce coverage results, when executing NUnit tests ;)

  3. Support Staff 3 Posted by Feodor Fitsner on 09 Dec, 2015 06:36 PM

    Feodor Fitsner's Avatar

    Have you tried adding dir command to make sure PDB files are there in test assembly bin folder?

  4. 4 Posted by antonello on 16 Dec, 2015 03:45 PM

    antonello's Avatar

    Following your suggestion I've listed the content of the folder where the deveeldb-nunit.dll is and the .pdb files are present.
    Analyzing the coverage.xml file produced by OpenCover I noticed that actually the application covers the shadow-copy of the library: although I specifically indicate the /noshadow argument, it seems it is ignored.

    you can check it out at
    https://ci.appveyor.com/project/Deveel/deveeldb/build/2.0.4.220/job/99p3gpnyr67bwxr3

  5. Support Staff 5 Posted by Feodor Fitsner on 16 Dec, 2015 06:23 PM

    Feodor Fitsner's Avatar

    So, is it a tool or something is missing (wrong) on build workers?

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:03 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

16 Jul, 2019 05:17 PM
16 Jul, 2019 10:17 AM
16 Jul, 2019 07:46 AM
16 Jul, 2019 04:51 AM
15 Jul, 2019 06:33 PM

 

15 Jul, 2019 06:09 PM
15 Jul, 2019 05:53 PM
15 Jul, 2019 05:46 PM
15 Jul, 2019 05:21 PM
15 Jul, 2019 04:29 PM
15 Jul, 2019 03:12 PM