'Not able to publish test results on Azure devops with Tosca
I have integrated Tricentis Tosca CI with Azure devops. The pipeline is working fine and we can execute our tests but publish results is not working. My Publish test result task looks like below
- task: PublishTestResults@2 displayName: 'Publish Tosca Test Results for Dex' inputs: testResultsFormat: 'junit' testResultsFiles: 'C:\temp\ToscaCI_Result.xml' publishRunAttachments: true
I am getting below warning and the test results are not getting generated.
"##[warning]Failed to parse result files: The added or subtracted value results in an un-representable DateTime."
I did multiple execution to drill down the issue and came to know that, with the same configuration if I am running 3 tests then the test result will get published. More then 3 test will show the warning and no result will get generating. I though may be something wrong with tosca scripts but same issue is observed with other application scripts as well. Also I tried running all the test of the execution list individually and they were able to produce the test results. Its only when these tests are clubbed to 3+ then only the result will not get generated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|