#7719 Automation added for NTP Replacement test scenarios
Closed: fixed 6 months ago by tdudlak. Opened a year ago 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:

  • dde2aa4 ipatests: add tests for NTP options usage on server, replica, and client
  • 715d122 nightly_master.yaml Added test_integration/test_ntp_options.py
  • 83487c4 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

8 months ago

master:

  • 256f298 Mark failing NTP test as expected failure

master:

  • 692cbc5 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)

6 months ago

ipa-4-7:

  • 5cacd13 ipatests: add tests for NTP options usage on server, replica, and client
  • 4714c54 nightly_master.yaml Added test_integration/test_ntp_options.py
  • d02e0c3 nightly_rawhide.yaml Added test_integration/test_ntp_options.py
  • 657fc76 Fix test_ntp_options to use tasks' methods

Login to comment on this ticket.

Metadata