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)
hit this a number of times since it was reported. Even with only a single autobuld running this returns i/o timeouts randomly. If this cannot be fixed now, can we mark this flapping?
please mark this as flapping, too until time permits to find the root cause.
This bug was referenced in samba master: a871fae0b94fae5b052f14ae06cf3400b4a0ef33
Created attachment 19151 [details] backport for 4.24 and 4.23
Comment on attachment 19151 [details] backport for 4.24 and 4.23 This doesn't work :-( [14(82)/14 at 2m52s] 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_unregister(clusteredmember:local) REASON: Exception: Exception: Traceback (most recent call last): File "/m/metze/aMASTER/b3118864/samba-ctdb/bin/python/samba/tests/blackbox/rpcd_witness_samba_only.py", line 1185, in test_net_witness_force_unregister self.check_combinations(check_force_unregister) File "/m/metze/aMASTER/b3118864/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/metze/aMASTER/b3118864/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.') It's an error not a failure so it can't be marked flapping... The python code and an expection to handle samba.NTSTATUSError and wrap it into a AssertionExpection
(In reply to Stefan Metzmacher from comment #5) This should make it work and needs some review: https://gitlab.com/samba-team/samba/-/merge_requests/4660
This bug was referenced in samba master: f16269a6fc586071da81052ee4e76827e5b774be
Created attachment 19157 [details] backport patch for 4.23 and 4.24
This bug was referenced in samba v4-23-test: 948b4f39ae78475520dc980490e8c87800f14082 d57ed1c0927c4e5be00c1f4d9f7d96eec20bc31c
This bug was referenced in samba v4-24-test: 4906c4d490523c0e6d81998ccada33953e780dc2 71c1e9f2f8604a956a6127d2908a4b960df8b93c
This bug was referenced in samba v4-24-stable (Release samba-4.24.6): 4906c4d490523c0e6d81998ccada33953e780dc2 71c1e9f2f8604a956a6127d2908a4b960df8b93c
This bug was referenced in samba v4-23-stable (Release samba-4.23.12): 948b4f39ae78475520dc980490e8c87800f14082 d57ed1c0927c4e5be00c1f4d9f7d96eec20bc31c