Bug 16077 - witness test flappy needs to be fixed
Summary: witness test flappy needs to be fixed
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Test infrastructure (show other bugs)
Version: 4.24.2
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-05-12 11:04 UTC by Björn Jacke
Modified: 2026-05-12 11:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2026-05-12 11:04:47 UTC
the witness test should become more stable or get marked flapping, this needs also be fixed for the release branches then:

[11(53)/11 at 1m4s] samba.tests.blackbox.rpcd_witness_samba_only(clusteredmember:local)
UNEXPECTED(error): samba.tests.blackbox.rpcd_witness_samba_only.samba.tests.blackbox.rpcd_witness_samba_only.RpcdWitnessSambaTests.test_net_witness_force_response_ip_changes(clusteredmember:local)
REASON: Exception: Exception: Traceback (most recent call last):
  File "/m/bjacke/a424/b3240057/samba-ctdb/bin/python/samba/tests/blackbox/rpcd_witness_samba_only.py", line 1335, in test_net_witness_force_response_ip_changes
    self._test_net_witness_force_response_generic_moves(msg_type)
  File "/m/bjacke/a424/b3240057/samba-ctdb/bin/python/samba/tests/blackbox/rpcd_witness_samba_only.py", line 1322, in _test_net_witness_force_response_generic_moves
    self._test_net_witness_force_response(msg_type=msg_type,
  File "/m/bjacke/a424/b3240057/samba-ctdb/bin/python/samba/tests/blackbox/rpcd_witness_samba_only.py", line 1276, in _test_net_witness_force_response
    self.check_combinations(check_force_response)
  File "/m/bjacke/a424/b3240057/samba-ctdb/bin/python/samba/tests/blackbox/rpcd_witness_samba_only.py", line 939, in check_combinations
    all_regs = self.prepare_all_registrations()
  File "/m/bjacke/a424/b3240057/samba-ctdb/bin/python/samba/tests/blackbox/rpcd_witness_samba_only.py", line 569, in prepare_all_registrations
    conn = witness.witness(binding_string, self.lp, self.remote_creds)
samba.NTSTATUSError: (3221225653, '{Device Timeout} The specified I/O operation on %hs was not completed before the time-out period expired.')

FAILED (0 failures, 1 errors and 0 unexpected successes in 0 testsuites)