#9667 Nightly test failure (f42) in test_trust
Closed: fixed by frenaud. Opened by frenaud.

The test test_trust is failing in rawhide since the update to samba-4.20.4-1.fc42 .

The test failure is seen in test_integration/test_trust.py::TestTrust::test_establish_forest_trust_with_shared_secret when using powershell to create a trust, because the previous test test_remove_external_rootdomain_trust didn't manage to remove the trust with rpcclient command.

Trace:

INFO RUN ['rpcclient', '--use-kerberos=desired', 'root-dc-kmhd.ad-kmhd.test', '-c', 'deletetrustdom ufreeipa.test']
DEBUG RUN ['rpcclient', '--use-kerberos=desired', 'root-dc-kmhd.ad-kmhd.test', '-c', 'deletetrustdom ufreeipa.test']
DEBUG Warning: Identity file /home/jenkins/workspace/Projects/freeipa_upstream_nightly/master/Nightly-rawhide/2024-09-14_19-30/rawhide-test_trust/test_trust/config/id_rsa not accessible: No such file or directory.
DEBUG Password for [Administrator@AD-KMHD.TEST]:
DEBUG Cannot connect to server.  Error was NT_STATUS_LOGON_FAILURE
DEBUG Exit code: 1

The rpcclient command needs to be provided a ccache with --use-krb5-ccache=CCACHE.


Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/7541

master:

  • 3203afcc11487730aceb222a54cbdbaaaf371d15 ipatests: provide a ccache to rpcclient deletetrustdom
  • c33e92d8954dd1578c89693e10d59d2bd4f31940 test_adtrust_install: add --use-krb5-ccache to smbclient command

ipa-4-12:

  • a343c149838a3058794f33c75c58b75bc1748f7f ipatests: provide a ccache to rpcclient deletetrustdom
  • 743c7b46e463bef666dc84e9f513eb7dee7f59f6 test_adtrust_install: add --use-krb5-ccache to smbclient command

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

Metadata