#9751 Nightly test failure (rawhide) in test_trust.py::TestTrust::test_server_option_with_unreachable_ad
Closed: fixed 3 months ago by sumenon. Opened 4 months ago by frenaud.

Issue

The nightly test test_integration/test_trust.py::TestTrust::test_server_option_with_unreachable_ad in failing in rawhide with samba-4.22.0-0.4.rc2.fc43.

Steps to Reproduce

  1. Install IPA server
  2. Configure the DNS with SRV records pointing to an unreachable AD server
  3. Try to establish trust with ipa trust-add addomain.test --admin Administrator@addomain.test --password

Actual behavior

The test expects the command to fail with ipa: ERROR: Unable to read domain information, check /var/log/httpd/error_log and reads httpd error_log looking for the following error message:

CIFS server communication error: code "3221225653", message "{Device Timeout}

With samba 4.22.0-0.4.rc2 the test gets a different error_log message:

CIFS server communication error: code "3221226021", message "The object was not found." (both may be "None")

Logs from failing test: https://$ARTIFACTS_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-rawhide/master/2025-02-15_19-30/rawhide/test_trust/2/
Logs from green test: https:/$ARTIFACTS_SERVER/idm-ci/freeipa_upstream_nightly/Nightly-rawhide/master/2025-02-08_19-30/rawhide/test_trust/1/

The test probably needs to be adapted in order to accept both messages.


Metadata Update from @sumenon:
- Issue assigned to sumenon

4 months ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7718
- Issue assigned to frenaud (was: sumenon)

3 months ago

master:

  • cd3b7b9 ipatests: adapt error code and message for samba 4.22

ipa-4-12:

  • d03164f ipatests: adapt error code and message for samba 4.22

Metadata Update from @sumenon:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

3 months ago

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-96920

a day ago

Log in to comment on this ticket.

Metadata