#5501 test_sudo.py FAILED
Closed: Fixed None Opened 8 years ago by lslebodn.

Version:

freeipa-tests    x86_64 4.2.3-1.fc23    updates    751 k



=================================== FAILURES ===================================
______________ TestSudo.test_sudo_rule_restricted_to_one_hostmask ______________

self = <ipatests.test_integration.test_sudo.TestSudo object at 0x7f236b0b9890>

    def test_sudo_rule_restricted_to_one_hostmask(self):
        result1 = self.list_sudo_commands("testuser1")
>       assert "(ALL : ALL) NOPASSWD: ALL" in result1.stdout_text
E       assert '(ALL : ALL) NOPASSWD: ALL' in ''
E        +  where '' = <pytest_multihost.transport.SSHCommand object at 0x7f236b0b9a90>.stdout_text

test_integration/test_sudo.py:280: AssertionError
==================== 1 failed, 74 passed in 1310.24 seconds ====================

Priority was changed to blocker because it blocks testing of native ipa sudo provider in sssd.
This feature is planned for next sssd release 1.13.3

Fortunately, it looks like a bug in test. Tomas found out a reason. So we can decrease priority.

master:

  • a02f83f tests: Add hostmask detection for sudo rules validating on hostmask

ipa-4-2:

  • f676b12 tests: Add hostmask detection for sudo rules validating on hostmask

Metadata Update from @lslebodn:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 4.2.4

7 years ago

Login to comment on this ticket.

Metadata