During the pipeline run, we see that the plugin is trying to publish test results even before the test-output.xml file is created.
We keep getting warnings as a result of this.
*** Run Integration test (CLI)
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-1.0.0
We are running pytests using the following command:
During the pipeline run, we see that the plugin is trying to publish test results even before the test-output.xml file is created. We keep getting warnings as a result of this.
*** Run Integration test (CLI)
============================= test session starts ==============================
platform linux -- Python 3.10.6, pytest-7.1.2, pluggy-1.0.0
rootdir: /integration
plugins: env-0.6.2, azurepipelines-1.0.3, nunit-1.0.1, cov-3.0.0
Updating Configuration
CLI Version: build: Linux x64 Portable
Service URL:
collected 11 items
[warning]Failed to publish test results: Could not find a part of the path '/integration/test-output.xml'.
Skipping uploading of coverage data.
------------ generated Nunit xml file: /integration/test-output.xml ------------
----------- generated xml file: /integration/qa_integration_cli.xml ------------
Azure Pipeline team mentioned that this seems like issue with plugin pytest-azurepipelines.