#8385 Nightly test failure in test_integration/test_trust.py::TestTrust:
Closed: worksforme 2 years ago by frenaud. Opened 3 years ago by fcami.

From testing_master_previous Nightly PR 256

Both test_integration/test_trust.py::TestTrust::test_trustdomains_found_in_nonposix_trust and test_integration/test_trust.py::TestTrust::test_trustdomains_found_in_posix_trust fail similarly:

realm = 'ad.test', expected_ad_domains = ['ad.test', 'child.ad.test']

    def check_trustdomains(self, realm, expected_ad_domains):
        """Check that ipa trustdomain-find lists all expected domains"""
        result = self.master.run_command(['ipa', 'trustdomain-find', realm])
        for domain in expected_ad_domains:
            expected_text = 'Domain name: %s\n' % domain
>           assert expected_text in result.stdout_text
E           AssertionError: assert 'Domain name: child.ad.test\n' in '  Domain name: ad.test\n  Domain NetBIOS name: AD\n  Domain Security Identifier: S-1-5-21-4164148659-2121909333-4041899566\n  Domain enabled: True\n----------------------------\nNumber of entries returned 1\n----------------------------\n'
E            +  where '  Domain name: ad.test\n  Domain NetBIOS name: AD\n  Domain Security Identifier: S-1-5-21-4164148659-2121909333-4041899566\n  Domain enabled: True\n----------------------------\nNumber of entries returned 1\n----------------------------\n' = <pytest_multihost.transport.SSHCommand object at 0x7fa0ee58a710>.stdout_text

test_integration/test_trust.py:75: AssertionError
 -------------------------------Captured log call-------------------------------- 
INFO     ipatests.pytest_ipa.integration.host.Host.master.IPAOpenSSHTransport:transport.py:391 RUN ['ipa', 'trustdomain-find', 'ad.test']
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:513 RUN ['ipa', 'trustdomain-find', 'ad.test']
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:558   Domain name: ad.test
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:558   Domain NetBIOS name: AD
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:558   Domain Security Identifier: S-1-5-21-4164148659-2121909333-4041899566
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:558   Domain enabled: True
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:558 ----------------------------
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:558 Number of entries returned 1
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:558 ----------------------------
DEBUG    ipatests.pytest_ipa.integration.host.Host.master.cmd94:transport.py:217 Exit code: 0

logs


Lowering the priority as the failure is random and happens rarely.

Metadata Update from @frenaud:
- Issue priority set to: low

3 years ago

The failure hasn't occurred in the last 12 months, closing for now. Feel free to re-open if it happens again.

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

2 years ago

Login to comment on this ticket.

Metadata