Source: swift
Version: 2.36.0-3
Severity: serious
Justification: debci

swift seems to have some unstability in tests, with frequent diverse
test failure.

Different tests seem to be affected

e.g. in testing https://ci.debian.net/packages/s/swift/testing/arm64/65273423/

302s FAIL: 
test.unit.obj.test_server.TestObjectController.test_DELETE_container_updates
302s 
test.unit.obj.test_server.TestObjectController.test_DELETE_container_updates
302s ----------------------------------------------------------------------
302s testtools.testresult.real._StringException: Traceback (most recent call 
last):
302s   File 
"/tmp/autopkgtest-lxc.7zngjury/downtmp/build.3j6/src/test/unit/obj/test_server.py",
 line 5617, in test_DELETE_container_updates
302s     self.assertEqual(resp.status_int, 204)
302s     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
302s   File "/usr/lib/python3.13/unittest/case.py", line 907, in assertEqual
302s     assertion_func(first, second, msg=msg)
302s     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
302s   File "/usr/lib/python3.13/unittest/case.py", line 900, in 
_baseAssertEqual
302s     raise self.failureException(msg)
302s AssertionError: 409 != 204

in unstable https://ci.debian.net/packages/s/swift/unstable/arm64/65276908/

469s FAIL: 
test.unit.common.test_memcached.TestMemcached.test_operations_timing_stats_with_get_timeout
469s 
test.unit.common.test_memcached.TestMemcached.test_operations_timing_stats_with_get_timeout
469s ----------------------------------------------------------------------
469s testtools.testresult.real._StringException: Traceback (most recent call 
last):
469s   File 
"/tmp/autopkgtest-lxc.h6xjlnrp/downtmp/build.NSP/src/test/unit/common/test_memcached.py",
 line 1521, in test_operations_timing_stats_with_get_timeout
469s     self.assertIn(
469s     ~~~~~~~~~~~~~^
469s         'config_timeout 0.01, time_spent 1.0', error_logs[0])
469s         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
469s   File "/usr/lib/python3.13/unittest/case.py", line 1174, in assertIn
469s     self.fail(self._formatMessage(msg, standardMsg))
469s     ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
469s   File "/usr/lib/python3.13/unittest/case.py", line 732, in fail
469s     raise self.failureException(msg)
469s AssertionError: 'config_timeout 0.01, time_spent 1.0' not found in 
'Timeout talking to memcached: 1.2.3.4:11211: with key_prefix 
shard-updating-v2/acc, method get, config_timeout 0.01, time_spent 4.0'
469s 
469s 
469s ======================================================================
469s FAIL: 
test.unit.obj.test_ssync.TestSsyncECReconstructorSyncJob.test_sync_reconstructor_no_rebuilt_content
469s 
test.unit.obj.test_ssync.TestSsyncECReconstructorSyncJob.test_sync_reconstructor_no_rebuilt_content
469s ----------------------------------------------------------------------
469s testtools.testresult.real._StringException: Traceback (most recent call 
last):
469s   File 
"/tmp/autopkgtest-lxc.h6xjlnrp/downtmp/build.NSP/src/test/unit/obj/test_ssync.py",
 line 1047, in test_sync_reconstructor_no_rebuilt_content
469s     self._wait_for_rx_server()
469s     ~~~~~~~~~~~~~~~~~~~~~~~~^^
469s   File 
"/tmp/autopkgtest-lxc.h6xjlnrp/downtmp/build.NSP/src/test/unit/obj/test_ssync.py",
 line 86, in _wait_for_rx_server
469s     self.rx_server_pool.waitall()
469s     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
469s   File "/usr/lib/python3/dist-packages/eventlet/greenpool.py", line 123, 
in waitall
469s     self.no_coros_running.wait()
469s     ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
469s   File "/usr/lib/python3/dist-packages/eventlet/event.py", line 124, in 
wait
469s     result = hub.switch()
469s   File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 310, in 
switch
469s     return self.greenlet.switch()
469s            ~~~~~~~~~~~~~~~~~~~~^^
469s AssertionError: timed out waiting for ssync receiver thread

also amd64 in unstable 
https://ci.debian.net/packages/s/swift/unstable/amd64/65282970/

199s FAIL: 
test.unit.obj.test_ssync.TestSsyncECReconstructorSyncJob.test_sync_reconstructor_partial_rebuild
199s 
test.unit.obj.test_ssync.TestSsyncECReconstructorSyncJob.test_sync_reconstructor_partial_rebuild
199s ----------------------------------------------------------------------
199s testtools.testresult.real._StringException: Traceback (most recent call 
last):
199s   File 
"/tmp/autopkgtest-lxc.pwyvakvn/downtmp/build.Ug4/src/test/unit/obj/test_ssync.py",
 line 1009, in test_sync_reconstructor_partial_rebuild
199s     self._wait_for_rx_server()
199s     ~~~~~~~~~~~~~~~~~~~~~~~~^^
199s   File 
"/tmp/autopkgtest-lxc.pwyvakvn/downtmp/build.Ug4/src/test/unit/obj/test_ssync.py",
 line 86, in _wait_for_rx_server
199s     self.rx_server_pool.waitall()
199s     ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
199s   File "/usr/lib/python3/dist-packages/eventlet/greenpool.py", line 123, 
in waitall
199s     self.no_coros_running.wait()
199s     ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
199s   File "/usr/lib/python3/dist-packages/eventlet/event.py", line 124, in 
wait
199s     result = hub.switch()
199s   File "/usr/lib/python3/dist-packages/eventlet/hubs/hub.py", line 310, in 
switch
199s     return self.greenlet.switch()
199s            ~~~~~~~~~~~~~~~~~~~~^^
199s AssertionError: timed out waiting for ssync receiver thread



-- System Information:
Debian Release: forky/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.16.9+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to