Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928355 - dev-python/alembic-1.13.1 fails tests: FAILED test_command.py::HistoryTest::test_history_num_plus_relative - AssertionError: environment included OKnRev: 080aa5ba073b (head)nParent:..
Summary: dev-python/alembic-1.13.1 fails tests: FAILED test_command.py::HistoryTest::t...
Status: RESOLVED FIXED
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-04-01 08:11 UTC by Agostino Sarubbo
Modified: 2024-04-01 14:44 UTC (History)
0 users

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


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

Issue: dev-python/alembic-1.13.1 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-01 08:11:19 UTC
Created attachment 889186 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-01 08:11:20 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


    Rev A'
    Rev A' != 'Rev: 080aa5ba073b (head)
    Rev A' != 'Rev: 89734b99e5a7
    Rev B, m?il, %3
    Rev C
E           AttributeError: 'RevisionEnvironmentTest' object has no attribute 'cfg'
E       AssertionError: 'environment included OK
E       AttributeError: 'RevisionEnvironmentTest' object has no attribute 'cfg'
FAILED tests/test_command.py::HistoryTest::test_history_num_plus_relative - AssertionError: 'environment included OK
FAILED tests/test_command.py::HistoryTest::test_history_num_range - AssertionError: 'environment included OK
FAILED tests/test_command.py::HistoryTest::test_history_num_to_head - AssertionError: 'environment included OK
FAILED tests/test_command.py::HistoryTest::test_history_relative_to_num - AssertionError: 'environment included OK
FAILED tests/test_command.py::HistoryTest::test_history_too_large_relative_to_num - AssertionError: 'environment included OK
FAILED tests/test_command.py::RevisionEnvironmentTest::test_merge_cmd_revision_environment[False] - AttributeError: 'RevisionEnvironmentTest' object has no attribute 'cfg'
FAILED tests/test_command.py::RevisionEnvironmentTest::test_merge_cmd_revision_environment[True] - AttributeError: 'RevisionEnvironmentTest' object has no attribute 'cfg'
Parent: 18eb8b...
Parent: 18eb8b3f2ff4
Parent: 89734b99e5a7
Parent: <base>
Parent:...
Path: /var/tmp/portage/dev-python/alembic-1.13.1/work/alembic-1.13.1/scratch_test_1a4d749b7f7d/scripts/versions/080aa5ba073b_revision_c.py
Path: /var/tmp/portage/dev-python/alembic-1.13.1/work/alembic-1.13.1/scratch_test_1a4d749b7f7d/scripts/versions/18eb8b3f2ff4_revision_a.py
Path: /var/tmp/portage/dev-python/alembic-1.13.1/work/alembic-1.13.1/scratch_test_1a4d749b7f7d/scripts/versions/89734b99e5a7_revision_b.py
Rev: 080aa5ba073b (head)
Rev: 18eb8b3f2ff4
Rev: 89734b99e5a7
[gw13] [1017/1951] FAILED tests/test_command.py::HistoryTest::test_history_num_plus_relative 
[gw13] [1118/1951] FAILED tests/test_command.py::HistoryTest::test_history_num_range 
[gw13] [1225/1951] FAILED tests/test_command.py::HistoryTest::test_history_num_to_head 
[gw13] [1329/1951] FAILED tests/test_command.py::HistoryTest::test_history_relative_to_num 
[gw13] [1406/1951] FAILED tests/test_command.py::HistoryTest::test_history_too_large_relative_to_num 
[gw13] [1630/1951] FAILED tests/test_command.py::RevisionEnvironmentTest::test_merge_cmd_revision_environment[False] 
[gw13] [1677/1951] FAILED tests/test_command.py::RevisionEnvironmentTest::test_merge_cmd_revision_environment[True]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-01 14:44:25 UTC
The bug has been closed via the following commit(s):

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

commit bc1c06b215faefb5e78238d70fd9d72312a42640
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-01 14:42:14 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-01 14:44:20 +0000

    dev-python/alembic: Backport pytest-8 fix
    
    Closes: https://bugs.gentoo.org/928355
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/alembic/alembic-1.13.1.ebuild           |  5 ++
 .../alembic/files/alembic-1.13.1-pytest-8.patch    | 68 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)