Test results not displayed after uploading with build worker api

dmpots's Avatar

dmpots

13 Apr, 2017 12:55 AM

I am using the build worker api to upload our test results. The upload seems to work, but no test results are displayed. Here is an example: https://ci.appveyor.com/project/dmpots/directxshadercompiler/build/1.0.91

The tests tab shows that there are 890 tests, but when I click on the tab no results are displayed.

The test results are produced by a custom test tool and I convert the results to JSON and upload using the build worker api: https://www.appveyor.com/docs/build-worker-api/#add-tests

The script I use is here: https://github.com/dmpots/DirectXShaderCompiler/blob/master/utils/appveyor/appveyor_test.ps1

Do you have any idea what is happening or if I am doing something wrong? Thanks!

  1. Support Staff 1 Posted by Ilya Finkelshte... on 13 Apr, 2017 02:27 AM

    Ilya Finkelshteyn's Avatar

    Could you please save testresults.xml as artifact and send it to us to us to investigate?

  2. 2 Posted by dmpots on 13 Apr, 2017 06:24 AM

    dmpots's Avatar

    I have saved the original .xml and the .json file used for upload as artifacts. https://ci.appveyor.com/project/dmpots/directxshadercompiler/build/1.0.94/artifacts

    Please let me know if this is sufficient or if I should put them somewhere else. Thanks for the help!

  3. Support Staff 3 Posted by Ilya Finkelshte... on 14 Apr, 2017 03:22 AM

    Ilya Finkelshteyn's Avatar

    Yes, that's good. Was not able to look at this earlier, will look on Friday.

  4. 4 Posted by dmpots on 14 Apr, 2017 03:32 AM

    dmpots's Avatar

    Ok, sounds good. Thanks for the update!

  5. Support Staff 5 Posted by Ilya Finkelshte... on 14 Apr, 2017 10:14 PM

    Ilya Finkelshteyn's Avatar

    OK, found it. Please use Post here. Put is for update.

    Ilya.

  6. 6 Posted by dmpots on 15 Apr, 2017 12:36 AM

    dmpots's Avatar

    Thanks! It totally works now:
    https://ci.appveyor.com/project/dmpots/directxshadercompiler/build/1.0.96/tests

    I really appreciate the help. Sorry for the silly error.

  7. Support Staff 7 Posted by Ilya Finkelshte... on 15 Apr, 2017 01:21 AM

    Ilya Finkelshteyn's Avatar

    You are welcome :) We all do that kind of errors, second pair of eyes always can help. And thank you for the catch, we created this issue.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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