You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just created the starter pipeline like described here. The pipeline fails with a warning and a result of 5.
PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.
Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.
Installing collected packages: py, wcwidth, attrs, zipp, importlib-metadata, pluggy, more-itertools, six, pyparsing, packaging, pytest, pytest-azurepipelines
Successfully installed attrs-19.3.0 importlib-metadata-1.6.1 more-itertools-8.3.0 packaging-20.4 pluggy-0.13.1 py-1.8.1 pyparsing-2.4.7 pytest-5.4.3 pytest-azurepipelines-0.8.0 six-1.15.0 wcwidth-0.2.4 zipp-3.1.0
##[warning]The 'junit_family' default value will change to 'xunit2' in pytest 6.0.
Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.
============================= test session starts ==============================
platform linux -- Python 3.6.10, pytest-5.4.3, py-1.8.1, pluggy-0.13.1
rootdir: /home/vsts/work/1/s
plugins: azurepipelines-0.8.0
collected 0 items
No Result Found to Publish '/home/vsts/work/1/s/test-output.xml'.
Skipping uploading of coverage data.
=============================== warnings summary ===============================
/opt/hostedtoolcache/Python/3.6.10/x64/lib/python3.6/site-packages/_pytest/junitxml.py:417
/opt/hostedtoolcache/Python/3.6.10/x64/lib/python3.6/site-packages/_pytest/junitxml.py:417: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.
Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.
_issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
----------- generated xml file: /home/vsts/work/1/s/test-output.xml ------------
============================== 1 warning in 0.02s ==============================
##[error]Bash exited with code '5'.
The text was updated successfully, but these errors were encountered:
I just created the starter pipeline like described here. The pipeline fails with a warning and a result of 5.
PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.
Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.
The text was updated successfully, but these errors were encountered: