Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928007 - dev-python/tavern-2.10.1 fails tests: AssertionError: assert False
Summary: dev-python/tavern-2.10.1 fails tests: AssertionError: assert False
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matt Jolly
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-03-28 07:39 UTC by Agostino Sarubbo
Modified: 2024-03-28 12:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,108.03 KB, text/plain)
2024-03-28 07:39 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-28 07:39:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/tavern-2.10.1 fails tests.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-28 07:39:11 UTC
Created attachment 888870 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-28 07:39:12 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E   AssertionError: assert False
ERROR tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_grpc_backend] - AssertionError: assert False
ERROR tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_http_backend] - AssertionError: assert False
ERROR tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_mqtt_backend] - AssertionError: assert False
ERROR tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_strict] - AssertionError: assert False
E   TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_grpc_backend] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_http_backend] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_mqtt_backend] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_strict] - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
pykwalify.errors.SchemaError: <SchemaError: error code 2: Schema validation failed:
tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_grpc_backend] FAILED [ 98/432]
tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_http_backend] FAILED [ 97/432]
tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_mqtt_backend] FAILED [ 96/432]
tests/unit/test_call_run.py::TestBasicRun::test_doesnt_warn_about_expected_kwargs[tavern_strict] FAILED [ 99/432]
Comment 3 Larry the Git Cow gentoo-dev 2024-03-28 12:26:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d50af73c819aaf6efc84a954dc8cb42a70bed8c

commit 9d50af73c819aaf6efc84a954dc8cb42a70bed8c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-03-28 12:23:51 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-03-28 12:26:51 +0000

    dev-python/tavern: Fix test failures with pytest-8
    
    Closes: https://bugs.gentoo.org/928007
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../tavern/files/tavern-2.10.1-pytest-8.patch      | 36 ++++++++++++++++++++++
 dev-python/tavern/tavern-2.10.1.ebuild             |  5 +++
 2 files changed, 41 insertions(+)