[Bug 2059156] [NEW] proposed-migration for m2crypto 0.40.1-2build1
Launchpad Bug Tracker
2059156 at bugs.launchpad.net
Fri Jun 14 09:04:54 UTC 2024
You have been subscribed to a public bug by Spyros Seimenis (sespiros):
m2crypto 0.40.1-2build1 fails tests on armhf:
423s =================================== FAILURES ==============================
=====
423s ______________ MiscSSLClientTestCase.test_server_simple_timeouts __________
_____
423s
423s self = <tests.test_ssl.MiscSSLClientTestCase testMethod=test_server_simple_
timeouts>
423s
423s def test_server_simple_timeouts(self):
423s pid = self.start_server(self.args)
423s # Arbitrary value:
423s test_timeout_sec = 909
423s # Linux rounds microseconds in the timeouts up to the HZ kernel par
ameter.
423s # Windows rounds down to milliseconds.
423s # To avoid checking for rounded values, pick interval long enough
423s # so that it is a whole number of ms and HZ for any reasonable HZ v
alue.
423s test_timeout_microsec = 500000
423s
423s try:
423s with self.assertRaises(ValueError):
423s SSL.Context('tlsv5')
423s ctx = SSL.Context()
423s s = SSL.Connection(ctx)
423s
423s r = s.get_socket_read_timeout()
423s w = s.get_socket_write_timeout()
423s self.assertEqual(r.sec, 0, r.sec)
423s self.assertEqual(r.microsec, 0, r.microsec)
423s self.assertEqual(w.sec, 0, w.sec)
423s self.assertEqual(w.microsec, 0, w.microsec)
423s
423s > s.set_socket_read_timeout(SSL.timeout())
"timeout" means time_t regression.
** Affects: m2crypto (Ubuntu)
Importance: High
Assignee: Spyros Seimenis (sespiros)
Status: Fix Released
** Affects: m2crypto (Ubuntu Noble)
Importance: High
Assignee: Spyros Seimenis (sespiros)
Status: In Progress
** Affects: m2crypto (Ubuntu Oracular)
Importance: High
Assignee: Spyros Seimenis (sespiros)
Status: Fix Released
** Tags: time-t update-excuse
--
proposed-migration for m2crypto 0.40.1-2build1
https://bugs.launchpad.net/bugs/2059156
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list