#8261 [ipatests] Integration tests fail on non-firewalld distros
Closed: fixed 4 years ago by abbra. Opened 4 years ago by slev.

The FreeIPA integration tests strictly require firewalld. But some distros don't provide high-level means for managing a firewall.

For example, I run such tests on ALTLinux, which doesn't have firewalld.
Of course, these tests fail with:

[2020-04-08 07:34:05] [ipatests.pytest_ipa.integration.host.Host.master1.IPAOpenSSHTransport] RUN ['systemctl', 'enable', 'firewalld']ipa.integration.host.Host.master1.cmd50] RUN ['systemctl', 'enable', 'firewalld']atests.pytest_ipa.integration.host.Host.master1.cmd50] Failed to enable unit: Unit file firewalld.service does not exist.ion.host.Host.master1.cmd50] Exit code: 1
[2020-04-08 07:34:05] [ipatests.pytest_ipa.integration.host.Host.master1.cmd50] stderr: Failed to enable unit: Unit file firewalld.service does not exist.

Metadata Update from @slev:
- Issue assigned to slev

4 years ago

master:

  • ba162b9 ipatests: Mark firewalld commands as no-op on non-firewalld distros

ipa-4-8:

  • d320997 ipatests: Mark firewalld commands as no-op on non-firewalld distros

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

4 years ago

Login to comment on this ticket.

Metadata