#7719 Automation added for NTP Replacement test scenarios
Closed: fixed by tdudlak. Opened by mvarun.

-test_server_and_client_install_without_option_n
-test_server_and_client_install_with_option_n
-test_server_and_client_install_with_multiple_ntp_server
-test_server_and_client_install_with_ntp_pool_and_ntp_server
-test_server_and_client_install_with_mixed_options
-test_server_install_with_dns_setup_and_ntp_server

master:

  • dde2aa4b16b10f39ed595fef4d2425a4229fd7d5 ipatests: add tests for NTP options usage on server, replica, and client
  • 715d1223dd8d38c12c5a2812248288b20465fafb nightly_master.yaml Added test_integration/test_ntp_options.py
  • 83487c49f69c6ceef3fddc0c176027c4bed7aab4 nightly_rawhide.yaml Added test_integration/test_ntp_options.py

Upstream tests are failing:

def test_replica_promotion_without_ntp(self):
"""
test to verify that replica promotion without ntp options
- ipa-client install with ntp option
- ipa-replica without ntp option
will be successful
"""
ntp_pool = "pool.ntp.org"
exp_str = "ipa-replica-install command was successful"
tasks.install_master(self.master, setup_dns=False)
tasks.install_client(self.master, self.replica,
extra_args=['--ntp-pool=%s' % ntp_pool])
replica_install = self.replica.run_command(
['ipa-replica-install'], raiseonerr=False)
> assert exp_str in replica_install.stderr_text
E       AssertionError: assert 'ipa-replica-install command was successful' in 'Connection check failed!\nSee /var/log/ipareplica-conncheck.log for more information.\nIf the check results are not v...nncheck parameter.\nThe ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information\n'
E        +  where 'Connection check failed!\nSee /var/log/ipareplica-conncheck.log for more information.\nIf the check results are not v...nncheck parameter.\nThe ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information\n' = <pytest_multihost.transport.SSHCommand object at 0x7f6127f88b38>.stderr_text

Metadata Update from @cheimes:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2638
- Issue assigned to tdudlak
- Issue priority set to: important
- Issue set to the milestone: FreeIPA 4.7 backlog
- Issue tagged with: test-failure

master:

  • 256f2982acb331e5066b512df466167b8ea2bdb2 Mark failing NTP test as expected failure

master:

  • 692cbc5d3f15720e59030c4a24912519bf6ce2bf Fix test_ntp_options to use tasks' methods

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

ipa-4-7:

  • 5cacd1357875606537c8f88242afded4949e6486 ipatests: add tests for NTP options usage on server, replica, and client
  • 4714c543dab4230f5b0d68ac6a04ad7c0b3f8f2b nightly_master.yaml Added test_integration/test_ntp_options.py
  • d02e0c367850bac308afb16afa748689732b269c nightly_rawhide.yaml Added test_integration/test_ntp_options.py
  • 657fc760dab834f352a552cba486e69e80c676c0 Fix test_ntp_options to use tasks' methods
Metadata