Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924042 - dev-python/vcrpy-6.0.1 fails tests
Summary: dev-python/vcrpy-6.0.1 fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-02-08 07:52 UTC by Agostino Sarubbo
Modified: 2024-10-07 21:38 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,278.83 KB, text/plain)
2024-02-08 07:52 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-02-08 07:52:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/vcrpy-6.0.1 fails tests.
Discovered on: arm64 (internal ref: tinderbox_arm64)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-08 07:52:21 UTC
Created attachment 884513 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-08 07:52:22 UTC
Error(s) that match a know pattern:


1 - ('similar request').
2 - ('similar request 2').
AssertionError: write() argument must be a bytes instance
E       AssertionError: assert 6 == 4
FAILED tests/integration/test_basic.py::test_basic_json_use - assert b'A simple HTTP Request &amp; Response Service.' in b'<!DOCTYPE html...
FAILED tests/integration/test_basic.py::test_patched_content - assert 2 == 1
FAILED tests/integration/test_basic.py::test_patched_content_json - assert 2 == 1
FAILED tests/integration/test_httplib2.py::test_cross_scheme - assert 4 == 2
FAILED tests/integration/test_httplib2.py::test_multiple_requests[http] - AssertionError: assert 6 == 4
FAILED tests/integration/test_httplib2.py::test_multiple_requests[https] - AssertionError: assert 6 == 4
FAILED tests/integration/test_ignore.py::test_ignore_httpbin - assert 2 == 1
FAILED tests/integration/test_ignore.py::test_ignore_localhost - assert 2 == 1
FAILED tests/integration/test_ignore.py::test_ignore_localhost_twice - assert 2 == 1
FAILED tests/integration/test_proxy.py::test_use_proxy - assert 2 == 1
FAILED tests/integration/test_record_mode.py::test_new_episodes_record_mode - assert 2 == 1
FAILED tests/integration/test_record_mode.py::test_none_record_mode_with_existing_cassette - assert 2 == 1
FAILED tests/integration/test_register_persister.py::test_load_cassette_with_custom_persister - assert b'A simple HTTP Request &amp; Response Service.' in b'<!DOCTYPE html...
FAILED tests/integration/test_requests.py::test_cross_scheme - assert 4 == 2
FAILED tests/integration/test_urllib2.py::test_cross_scheme - assert 4 == 2
FAILED tests/integration/test_urllib3.py::test_cross_scheme - assert 4 == 2
Matchers failed :
Matchers succeeded : ['method']
SKIPPED [1] tests/integration/test_httpx.py:10: could not import 'httpx': No module named 'httpx'
[2024-02-07 22:38:29,379] WARNING in core: Swagger not found, legacy index will be used.
] PASSED [176/305]
failed : query
failed : query 2
query - assertion failure :
tests/unit/test_errors.py::test_CannotOverwriteExistingCassetteException_get_message[most_matches3-Found 2 similar requests with 1 different matcher(s) :
Comment 3 Sebastian Pipping gentoo-dev 2024-10-07 21:38:02 UTC
The "No module named 'httpx'" is fixed in 6.0.2 now, the rest I have not yet managed to reproduce.