Azure / Azure/pytest-azurepipelines

failing with Exit code 5 received /bin/bash

Open
#44 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
124
Forks
44
PR merge metrics
No merged PRs in 30d

Description

2020-05-15T11:44:29.6691383Z /opt/hostedtoolcache/Python/3.5.9/x64/lib/python3.5/site-packages/_pytest/junitxml.py:417
2020-05-15T11:44:29.6692448Z /opt/hostedtoolcache/Python/3.5.9/x64/lib/python3.5/site-packages/_pytest/junitxml.py:417: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0.
2020-05-15T11:44:29.6693530Z Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning.
2020-05-15T11:44:29.6694127Z _issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2)
2020-05-15T11:44:29.6694755Z
2020-05-15T11:44:29.6695283Z -- Docs: https://docs.pytest.org/en/latest/warnings.html
2020-05-15T11:44:29.6695997Z ----------- generated xml file: /home/vsts/work/1/s/test-output.xml ------------
2020-05-15T11:44:29.6696535Z ============================== 1 warning in 0.03s ==============================
2020-05-15T11:44:29.6696859Z
2020-05-15T11:44:29.6697825Z ##[debug]Exit code 5 received from tool '/bin/bash'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported pytest run that generates test-output.xml and exits with code 5 under /bin/bash. Read the pytest warning in junitxml.py:417 and inspect pytest.ini if present; done requires identifying why the Azure Pipelines command returns 5 and confirming the expected pipeline result with a focused test or reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.