#9553 Multiple nightly test failures in test_integration/test_otp.py/TestOTPToken
Closed: fixed a year ago by frenaud. Opened a year ago by mpolovka.

The nightly tests
- test_2fa_enable_single_prompt
- test_2fa_disable_single_prompt

are failing in [testing_master_sssd] Nightly PR #3475 with following errors:

enable:

        if auth_method == "password":
            if expect_auth_success is True:
                patterns = [
                    r'Authenticated to .* using "keyboard-interactive"',
                    r'Authentication succeeded \(keyboard-interactive\)'
                ]
>               assert any(re.search(pattern, stderr) for pattern in patterns)
E               assert False
E                +  where False = any(<generator object run_ssh_cmd.<locals>.<genexpr> at 0x7fb00734aea0>)

pytest_ipa/integration/tasks.py:2873: AssertionError

and disable:

    def answer_handler(title, instructions, prompt_list):
        resp = []
        if title:
            print(title.strip())
        if instructions:
            print(instructions.strip())
        for prmpt in prompt_list:
            prmpt_str = prmpt[0].strip()
>           resp.append(answers_dict[prmpt_str])
E           KeyError: 'Password:'

Full report, logs


SSSD PR #7243 has been merged in their master branch and the test is now passing in our nightly test:

[testing_master_sssd] Nightly PR#3538:
sssd-fedora/test_otp: Report

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

a year ago

Metadata Update from @frenaud:
- Issue tagged with: tracker

a year ago

Log in to comment on this ticket.

Metadata