GLOB sdist-make: /tmp/tmprhq4wk8a/pytest-jira-0.3.15/setup.py py38 create: /tmp/tmprhq4wk8a/pytest-jira-0.3.15/.tox/py38 py38 installdeps: -rrequirements.txt, -rtests/requirements.txt py38 inst: /tmp/tmprhq4wk8a/pytest-jira-0.3.15/.tox/.tmp/package/1/pytest-jira-0.3.15.zip py38 installed: attrs==20.1.0,certifi==2020.6.20,chardet==3.0.4,coverage==5.2.1,decorator==4.4.2,flake8==3.8.3,idna==2.10,iniconfig==1.0.1,marshmallow==3.7.1,mccabe==0.6.1,more-itertools==8.5.0,packaging==20.4,pluggy==0.13.1,py==1.9.0,pycodestyle==2.6.0,pyflakes==2.2.0,pyparsing==2.4.7,pytest==6.0.1,pytest-jira @ file:///tmp/tmprhq4wk8a/pytest-jira-0.3.15/.tox/.tmp/package/1/pytest-jira-0.3.15.zip,requests==2.24.0,retry==0.9.2,six==1.15.0,toml==0.10.1,urllib3==1.25.10 py38 run-test-pre: PYTHONHASHSEED='2469822738' py38 run-test: commands[0] | coverage run --source pytest_jira -m py.test ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 cachedir: .tox/py38/.pytest_cache rootdir: /tmp/tmprhq4wk8a/pytest-jira-0.3.15 plugins: jira-0.3.15 collected 65 items tests/test_jira.py .........................F.........................s. [ 81%] ......... [ 95%] tests/test_utils.py ... [100%] =================================== FAILURES =================================== ____________________ test_invalid_authentication_exception _____________________ testdir = def test_invalid_authentication_exception(testdir): """Failed authentication, exception should be raised""" testdir.makepyfile(""" import pytest @pytest.mark.jira('FOO-1234') def test_pass(): pass """) ARGS = ( '--jira', '--jira-url', 'https://issues.jboss.org', '--jira-user', 'user123', '--jira-password', 'passwd123' ) result = testdir.runpytest(*ARGS) > assert '403 Client Error' in result.stdout.str() E AssertionError: assert '403 Client Error' in '============================= test session starts ==============================\nplatform linux -- Python 3.8.0, pyt... [100%]\n\n============================== 1 xpassed in 1.58s ==============================' E + where '============================= test session starts ==============================\nplatform linux -- Python 3.8.0, pyt... [100%]\n\n============================== 1 xpassed in 1.58s ==============================' = >() E + where > = <_pytest.pytester.LineMatcher object at 0x7fe2093d8d90>.str E + where <_pytest.pytester.LineMatcher object at 0x7fe2093d8d90> = .stdout /tmp/tmprhq4wk8a/pytest-jira-0.3.15/tests/test_jira.py:449: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/tmprhq4wk8a/pytest-jira-0.3.15 plugins: jira-0.3.15 collected 1 item test_invalid_authentication_exception.py X [100%] ============================== 1 xpassed in 1.58s ============================== =========================== short test summary info ============================ FAILED tests/test_jira.py::test_invalid_authentication_exception - AssertionE... ============== 1 failed, 63 passed, 1 skipped in 62.91s (0:01:02) ============== ERROR: InvocationError for command /tmp/tmprhq4wk8a/pytest-jira-0.3.15/.tox/py38/bin/coverage run --source pytest_jira -m py.test (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py38: commands failed write json report at: /tmp/tmprhq4wk8a/pytest-jira-0.3.15/result.json Time: 116.0 seconds