Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937359 - [guru] dev-python/daiquiri-3.2.3 fails tests: FAILED test_daiquiri.py::TestDaiquiri::test_setup_json_formatter - AssertionError: {message: foobar, taskName: None} != {message: foobar}
Summary: [guru] dev-python/daiquiri-3.2.3 fails tests: FAILED test_daiquiri.py::TestDa...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-08-05 09:38 UTC by Agostino Sarubbo
Modified: 2024-10-29 22:14 UTC (History)
1 user (show)

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


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

Issue: dev-python/daiquiri-3.2.3 fails tests.
Discovered on: amd64 (internal ref: guru_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-05 09:38:17 UTC
Created attachment 899065 [details]
build.log

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


            except ZeroDivisionError:
 call(b'{"message": "backtrace", "timestamp": "2024-08-03T23:53:04.766605+00:00", "status": "error", "logger": {"name": "saymyname"}, "error": {"kind": "ZeroDivisionError", "stack": null, "message": "Traceback (most recent call last):\n  File \"/var/tmp/portage/dev-python/daiquiri-3.2.3/work/daiquiri-3.2.3/daiquiri/tests/test_output.py\", line 133, in test_datadog\n    1 / 0\n    ~~^~~\nZeroDivisionError: division by zero"}}
')]
E                call(b'{"message": "backtrace", "timestamp": "2024-08-03T23:53:04.766605+00:00", "status": "error", "logger": {"name": "saymyname"}, "error": {"kind": "ZeroDivisionError", "stack": null, "message": "Traceback (most recent call last):\n  File \"/var/tmp/portage/dev-python/daiquiri-3.2.3/work/daiquiri-3.2.3/daiquiri/tests/test_output.py\", line 133, in test_datadog\n    1 / 0\n    ~~^~~\nZeroDivisionError: division by zero"}}
E               AssertionError: Calls not found.
E       AssertionError: {'message': 'foobar', 'foo': 'bar', 'taskName': None} != {'message': 'foobar', 'foo': 'bar'}
E       AssertionError: {'message': 'foobar', 'taskName': None} != {'message': 'foobar'}
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED daiquiri/tests/test_daiquiri.py::TestDaiquiri::test_setup_json_formatter - AssertionError: {'message': 'foobar', 'taskName': None} != {'message': 'foobar'}
FAILED daiquiri/tests/test_daiquiri.py::TestDaiquiri::test_setup_json_formatter_with_extras - AssertionError: {'message': 'foobar', 'foo': 'bar', 'taskName': None} != {'message': 'foobar', 'foo': 'bar'}
FAILED daiquiri/tests/test_output.py::TestOutput::test_datadog - AssertionError: Calls not found.
daiquiri/tests/test_daiquiri.py::TestDaiquiri::test_setup_json_formatter FAILED [ 7/20]
daiquiri/tests/test_daiquiri.py::TestDaiquiri::test_setup_json_formatter_with_extras FAILED [ 8/20]
daiquiri/tests/test_output.py::TestOutput::test_datadog FAILED          [17/20]
Comment 3 Anna Vyalkova 2024-08-08 22:05:04 UTC
Gentoo patches for dev-python/python-json-logger change expected behavior, and it
makes tests fail.
Comment 4 Larry the Git Cow gentoo-dev 2024-10-29 22:14:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad9fc7a7d48f4d860a3f034efb120de87ea607bc

commit ad9fc7a7d48f4d860a3f034efb120de87ea607bc
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2024-10-29 21:51:26 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2024-10-29 21:51:26 +0000

    dev-python/daiquiri: enable py3.13
    
    Closes: https://bugs.gentoo.org/937359
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 dev-python/daiquiri/daiquiri-3.2.3.ebuild | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)