[Bug 2083158] Re: Sync python-testtools 2.7.2-2 (main) from Debian unstable (main) to fix FTBFS on oracular
Graham Inggs
2083158 at bugs.launchpad.net
Mon Sep 30 08:47:54 UTC 2024
This bug was fixed in the package python-testtools - 2.7.2-2
Sponsored for Olivier Gayot (ogayot)
---------------
python-testtools (2.7.2-2) unstable; urgency=medium
* Disable failing twisted tests (Closes: #1082697):
- TestAsynchronousDeferredRunTest.test_log_in_details
- TestAsynchronousDeferredRunTest.test_log_to_twisted
-- Thomas Goirand <zigo at debian.org> Wed, 25 Sep 2024 09:59:04 +0200
** Tags added: ftbfs
** Changed in: python-testtools (Ubuntu)
Assignee: (unassigned) => Graham Inggs (ginggs)
** Changed in: python-testtools (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2083158
Title:
Sync python-testtools 2.7.2-2 (main) from Debian unstable (main) to
fix FTBFS on oracular
Status in python-testtools package in Ubuntu:
Fix Released
Status in python-testtools package in Debian:
Fix Released
Bug description:
Please sync python-testtools 2.7.2-2 (main) from Debian unstable
(main)
python-testtools 2.7.2-1 currently in oracular FTBFS because the
build-time test-suite fails. This is addressed by Debian debbug
1082697.
FAIL: testtools.tests.twistedsupport.test_runtest.TestAsynchronousDeferredRunTest.test_log_in_details
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testtools/tests/twistedsupport/test_runtest.py", line 743, in test_log_in_details
self.assertThat(
File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 509, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: Differences: [
Differences: [
Differences: {
'twisted-log': '''\
2024-09-15 08:20:13+0000 [-] foo
2024-09-15 08:20:13+0000 [-] Main loop terminated.
''' does not end with '''\
foo
'''.: after <function <lambda>> on <Content type=text/plain; charset="utf8", value=b'2024-09-15 08:20:13+0000 [-] foo\n2024-09-15 08:20:13+0000 [-] Main loop terminated.\n'>,
}
]
]
======================================================================
FAIL: testtools.tests.twistedsupport.test_runtest.TestAsynchronousDeferredRunTest.test_log_to_twisted
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/testtools/tests/twistedsupport/test_runtest.py", line 792, in test_log_to_twisted
self.assertThat(
File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 509, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: Differences: [
len([{'system': '-', 'message': ('foo',), 'time': 1726388413.606103, 'isError': 0, 'log_time': 1726388413.606103, 'log_text': 'foo', 'log_format': '{log_text}', 'log_level': <LogLevel=info>, 'log_namespace': 'log_legacy', 'log_system': '-', 'format': '%(log_legacy)s', 'log_legacy': <twisted.logger._stdlib.StringifiableFromEvent object at 0x7fcc9a266930>}, {'log_logger': <Logger 'twisted.internet.base'>, 'log_level': <LogLevel=info>, 'log_namespace': 'twisted.internet.base', 'log_source': None, 'log_format': 'Main loop terminated.', 'log_time': 1726388413.6062098, 'message': (), 'time': 1726388413.6062098, 'system': '-', 'format': '%(log_legacy)s', 'log_legacy': <twisted.logger._stdlib.StringifiableFromEvent object at 0x7fcc9a267170>, 'isError': 0}]) != 1: Length mismatch
https://launchpadlibrarian.net/749245792/buildlog_ubuntu-oracular-amd64.python-testtools_2.7.2-1_BUILDING.txt.gz
Changelog entries since current oracular version 2.7.2-1:
python-testtools (2.7.2-2) unstable; urgency=medium
* Disable failing twisted tests (Closes: #1082697):
- TestAsynchronousDeferredRunTest.test_log_in_details
- TestAsynchronousDeferredRunTest.test_log_to_twisted
-- Thomas Goirand <zigo at debian.org> Wed, 25 Sep 2024 09:59:04 +0200
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-testtools/+bug/2083158/+subscriptions
More information about the Ubuntu-sponsors
mailing list