autopkgtest failures for 6.8.1-1

Bug #2070187 reported by Pushkar Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
streamlink (Ubuntu)
New
Undecided
Unassigned

Bug Description

autopkgtests fail with 6.8.1-1 [1]

-----

=========================== short test summary info ============================
FAILED tests/webbrowser/test_webbrowser.py::TestLaunch::test_terminate_on_exception
FAILED tests/webbrowser/cdp/test_client.py::TestEvaluate::test_exception - Ex...
FAILED tests/webbrowser/cdp/test_client.py::TestEvaluate::test_error - Except...
FAILED tests/webbrowser/cdp/test_client.py::TestNavigate::test_detach - Excep...
FAILED tests/webbrowser/cdp/test_client.py::TestNavigate::test_error - Except...
FAILED tests/webbrowser/cdp/test_connection.py::TestCreateConnection::test_failure
FAILED tests/webbrowser/cdp/test_connection.py::TestReaderError::test_invalid_json
FAILED tests/webbrowser/cdp/test_connection.py::TestReaderError::test_unknown_session_id
FAILED tests/webbrowser/cdp/test_connection.py::TestSend::test_timeout[Default timeout, response not in time]
FAILED tests/webbrowser/cdp/test_connection.py::TestSend::test_timeout[Custom timeout, response not in time]
FAILED tests/webbrowser/cdp/test_connection.py::TestSend::test_bad_command - ...
FAILED tests/webbrowser/cdp/test_connection.py::TestSend::test_result_exception
FAILED tests/webbrowser/cdp/test_connection.py::TestHandleCmdResponse::test_response_error
FAILED tests/webbrowser/cdp/test_connection.py::TestHandleCmdResponse::test_response_no_result
================= 14 failed, 6450 passed, 28 skipped in 11.68s =================

-----

All the tests fail with this exception

-----

  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 195, in _fixture_manager
    | yield nursery_fixture
    | File "/usr/lib/python3/dist-packages/pytest_trio/plugin.py", line 250, in run
    | await self._func(**resolved_kwargs)
    | File "/tmp/autopkgtest.aDBgWl/build.TT8/src/tests/webbrowser/cdp/test_connection.py", line 424, in test_response_no_result
    | assert excinfo.group_contains(CDPError, match="^No result in CDP command response 0$")
    | AttributeError: 'ExceptionInfo' object has no attribute 'group_contains'

---

This is simply because we need python3-pytest 8.2.2-1 (which is currently in oracular-proposed) here.

I am filing this bug only to indicate the above finding in the update-excuses. This should be closed when pytest and streamlink migrate.

Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :

Ran tests with pytest from -proposed and they passed.

----

$ autopkgtest --apt-upgrade --shell-fail --apt-pocket=proposed=src:streamlink,src:pytest streamlink -- lxd autopkgtest/ubuntu/oracular/amd64

...
...

autopkgtest [14:08:41]: @@@@@@@@@@@@@@@@@@@@ summary
command1 PASS
command2 PASS
command3 PASS

----

tags: added: update-excuse
Revision history for this message
Alexis Murzeau (amubtdx) wrote :

Hi,

If python3-pytest 8.2.2-1 is in oracular-proposed, does this mean it will migrate to oracular ? And thus no change to streamlink is required ?

Alexis Murzeau

Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :

> If python3-pytest 8.2.2-1 is in oracular-proposed, does this mean it will migrate to oracular ? And thus no change to streamlink is required ?

Hi, yes. Package pytest 8.2.2-1 is stuck in -proposed for now (see https://ubuntu-archive-team.ubuntu.com/proposed-migration/update_excuses.html). But once it migrates to the release pocket, it should help fix the streamlink tests. See comment #1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.