Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927330 - net-misc/streamlink-6.7.0 fails tests
Summary: net-misc/streamlink-6.7.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-03-20 08:48 UTC by Agostino Sarubbo
Modified: 2024-03-21 02:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,71.89 KB, application/x-xz)
2024-03-20 08:48 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-20 08:48:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/streamlink-6.7.0 fails tests.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-20 08:48:09 UTC
Created attachment 887968 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-20 08:48:10 UTC
Error(s) that match a know pattern:


        | streamlink.webbrowser.cdp.exceptions.CDPError: Navigation error: failure
        | streamlink.webbrowser.cdp.exceptions.CDPError: Target has been detached
      | json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
      | streamlink.webbrowser.cdp.exceptions.CDPError: Error in CDP command response 0: Some error message
      | streamlink.webbrowser.cdp.exceptions.CDPError: Error: foo
      | streamlink.webbrowser.cdp.exceptions.CDPError: Generator of CDP command ID 0 did not exit when expected!
      | streamlink.webbrowser.cdp.exceptions.CDPError: Generator of CDP command ID 0 raised KeyError: 'value'
      | streamlink.webbrowser.cdp.exceptions.CDPError: No result in CDP command response 0
      | streamlink.webbrowser.cdp.exceptions.CDPError: Received invalid CDP JSON data: Expecting value: line 1 column 1 (char 0)
      | streamlink.webbrowser.cdp.exceptions.CDPError: Sending CDP message and receiving its response timed out
      | streamlink.webbrowser.cdp.exceptions.CDPError: SyntaxError: Invalid regular expression: missing /
      | streamlink.webbrowser.cdp.exceptions.CDPError: Unknown CDP session ID: SessionID('unknown')
FAILED tests/webbrowser/cdp/test_client.py::TestEvaluate::test_error - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_client.py::TestEvaluate::test_exception - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_client.py::TestNavigate::test_detach - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_client.py::TestNavigate::test_error - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_connection.py::TestCreateConnection::test_failure - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_connection.py::TestHandleCmdResponse::test_response_error - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_connection.py::TestHandleCmdResponse::test_response_no_result - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_connection.py::TestReaderError::test_invalid_json - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_connection.py::TestReaderError::test_unknown_session_id - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_connection.py::TestSend::test_bad_command - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_connection.py::TestSend::test_result_exception - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_connection.py::TestSend::test_timeout[Custom timeout, response not in time] - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/cdp/test_connection.py::TestSend::test_timeout[Default timeout, response not in time] - ExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
FAILED tests/webbrowser/test_webbrowser.py::TestLaunch::test_terminate_on_nursery_baseexception - BaseExceptionGroup: Exceptions from Trio nursery (1 sub-exception)
tests/cli/output/test_player.py::TestPlayerOutput::test_open_error[Player found] PASSED [6251/6418]
tests/cli/output/test_player.py::TestPlayerOutput::test_open_error[Player not found with quotation warning] PASSED [6253/6418]
tests/cli/output/test_player.py::TestPlayerOutput::test_open_error[Player not found] PASSED [6252/6418]
tests/cli/test_main.py::TestCLIMainHandleUrl::test_error[side_effect0-No plugin can handle URL: fakeurl] PASSED [6109/6418]
tests/cli/test_main.py::TestCLIMainHandleUrl::test_error[side_effect1-bar] PASSED [6110/6418]
tests/cli/test_main_check_file_output.py::test_exists[file does not exist] PASSED [6130/6418]
tests/cli/test_streamrunner.py::TestHTTPServer::test_writeerror[Acceptable error: ECONNRESET] PASSED [6199/6418]
tests/cli/test_streamrunner.py::TestHTTPServer::test_writeerror[Acceptable error: EINVAL] PASSED [6198/6418]
tests/cli/test_streamrunner.py::TestHTTPServer::test_writeerror[Acceptable error: EPIPE] PASSED [6197/6418]
tests/cli/test_streamrunner.py::TestHTTPServer::test_writeerror[Non-acceptable error] PASSED [6200/6418]
tests/cli/test_streamrunner.py::TestPlayerOutput::test_readerror[runnerthread0] PASSED [6195/6418]
tests/cli/utils/test_versioncheck.py::TestGetLatest::test_request_error[pypi0-Error while retrieving version data from PyPI API: 500 Server Error: None for url: https://pypi.python.org/pypi/streamlink/json] PASSED [6405/6418]
tests/cli/utils/test_versioncheck.py::TestGetLatest::test_request_error[pypi1-Could not parse JSON data from PyPI API response] PASSED [6406/6418]
tests/cli/utils/test_versioncheck.py::TestGetLatest::test_request_error[pypi2-Error while retrieving version data from PyPI API: 'NoneType' object has no attribute 'get'] PASSED [6407/6418]
tests/test_api_validate.py::TestGetItemSchema::test_getitem_error[AttributeError] PASSED [ 648/6418]
tests/test_api_validate.py::TestGetItemSchema::test_getitem_error[TypeError] PASSED [ 647/6418]
tests/test_api_validate.py::TestValidationError::test_context PASSED [ 769/6418]
tests/test_api_validate.py::TestValidationError::test_empty PASSED  [ 765/6418]
tests/test_api_validate.py::TestValidationError::test_multiple_nested PASSED [ 768/6418]
tests/test_api_validate.py::TestValidationError::test_multiple_nested_context PASSED [ 770/6418]
tests/test_api_validate.py::TestValidationError::test_recursion PASSED [ 772/6418]
tests/test_api_validate.py::TestValidationError::test_schema PASSED [ 771/6418]
tests/test_api_validate.py::TestValidationError::test_single PASSED [ 766/6418]
tests/test_api_validate.py::TestValidationError::test_single_nested PASSED [ 767/6418]
tests/test_api_validate.py::TestValidationError::test_subclass PASSED [ 764/6418]
tests/test_api_validate.py::TestValidationError::test_truncate PASSED [ 773/6418]
tests/utils/test_module.py::test_load_module_importerror[no-module] PASSED [ 237/6418]
tests/utils/test_module.py::test_load_module_importerror[no-package] PASSED [ 236/6418]
tests/utils/test_named_pipe.py::TestNamedPipeWindows::test_close_error[CloseHandle] SKIPPED [ 250/6418]
tests/utils/test_named_pipe.py::TestNamedPipeWindows::test_close_error[DisconnectNamedPipe] SKIPPED [ 249/6418]
tests/webbrowser/cdp/test_connection.py::TestReaderError::test_invalid_json FAILED [1043/6418]
tests/webbrowser/cdp/test_connection.py::TestReaderError::test_unknown_session_id FAILED [1044/6418]
tests/cli/test_streamrunner.py::TestPlayerOutput::test_player_close[Acceptable error: EPIPE] PASSED [6190/6418]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-21 02:11:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=473e734fcd8134efa0067a8cfc6a2f23400697ba

commit 473e734fcd8134efa0067a8cfc6a2f23400697ba
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-21 02:11:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-21 02:11:43 +0000

    net-misc/streamlink: add 6.7.1
    
    Bit awkward as we have to require brand new trio and still-masked pytest
    (=> skip the relevant tests for now on the latter).
    
    Closes: https://bugs.gentoo.org/927330
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/streamlink/Manifest                |  1 +
 net-misc/streamlink/streamlink-6.7.1.ebuild | 98 +++++++++++++++++++++++++++++
 net-misc/streamlink/streamlink-9999.ebuild  | 28 ++++++++-
 3 files changed, 125 insertions(+), 2 deletions(-)