#9648 Nightly test failures in test_hsm_TestHSMNegative
Closed: fixed 5 months ago by frenaud. Opened 5 months ago by mpolovka.

There is a test failure in teardown phase of test_integration/test_hsm.py::TestHSMNegative::test_hsm_negative_token_password_and_file::teardown

cls = <class 'ipatests.test_integration.test_hsm.TestHSMNegative'>
mh = <pytest_multihost.plugin.MultihostFixture object at 0x7fa5f0bede80>

    @classmethod
    def uninstall(cls, mh):
        cls.master.run_command(
>           ['softhsm2-util', '--delete-token', '--token', cls.token_name],
            raiseonerr=False
        )
E       AttributeError: type object 'TestHSMNegative' has no attribute 'token_name'

Full report, logs


Internal note: This issue is consistent in testing_master_previous

Metadata Update from @frenaud:
- Issue assigned to frenaud

5 months ago

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

5 months ago

The uninstall method should be skipped if PKI is too old. This can be achieved by calling check_version().

master:

  • bbc232e ipatests: skip HSM test if pki < 11.5.9

ipa-4-12:

  • 84751a2 ipatests: skip HSM test if pki < 11.5.9

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

5 months ago

Log in to comment on this ticket.

Metadata