http://ci.opensuse.org/job/yast-ntp-client-master/84/-----------------------...
[...truncated 652 lines...]
[ 34s] #Read
[ 34s] when config has been read previously
[ 34s] returns true
[ 34s] when config has not been read
[ 35s] returns false if abort is pressed
[ 35s] doesn't show progress if it is not in normal Mode
[ 36s] reads network interfaces config
[ 36s] reads ntp policy
[ 37s] loads known ntp servers and known country names
[ 37s] checks if ntpd service is enable
[ 38s] reads ntp config from /etc/ntp.conf
[ 38s] reads synchronization config
[ 39s] reads ntpd chroot config
[ 40s] returns true if all reads were performed
[ 40s] when Mode is not installation
[ 40s] returns false if the ntp package neither is installed nor available
[ 40s] when active directory's ntp dumped data file exists
[ 40s] reads active directory address from file
[ 40s] #Write
[ 40s] returns false if abort is pressed
[ 40s] writes current ntp records to ntp config
[ 40s] writes ntp policy and updates ntp with netconfig
[ 40s] writes chroot ntp config
[ 40s] calls SuSEFirewall.Write to check pending changes
[ 40s] checks ntp service
[ 40s] updates cron settings
[ 40s] returns true if not aborted
[ 40s] #MakePoolRecord
[ 40s] returns a pool ntp record for the given country code and location
[ 40s] returns a pool ntp record with 'uk.pool.ntp.org' address if country code is GB
[ 40s] #GetNtpServers
[ 40s] when ntp servers haven't been read before
[ 40s] caches known ntp servers
[ 40s] returns known ntp servers
[ 40s] when ntp servers have been read before
[ 40s] returns known ntp servers
[ 40s] #IsRandomServersServiceEnabled
[ 40s] returns true if all random pool ntp servers are in use
[ 40s] returns false in other case
[ 40s] #DeActivateRandomPoolServersFunction
[ 40s] removes random pool ntp servers from @ntp_records (FAILED - 5)
[ 40s] #GetNtpServersByCountry
[ 40s] gets all ntp servers
[ 40s] gets all country names if given country name is an empty string
[ 40s] returns a list of items with read servers (PENDING: Not yet implemented)
[ 40s] #ReadSynchronization
[ 40s] reads cron file
[ 40s] when cron file does not exist
[ 40s] sets synchronize_time as false
[ 40s] sets sync interval with default value
[ 40s] when cron file exists
[ 40s] when there is no cron entry
[ 40s] sets synchronize_time as false
[ 40s] sets sync interval with default value
[ 40s] when there is cron entry
[ 40s] sets synchronize time as true if first cron entry is valid
[ 40s] sets sync_interval with cron minute interval
[ 40s] #reachable_ntp_server?
[ 40s] given a server
[ 40s] returns true if sntp test passed with IPv4
[ 41s] returns true if sntp test passed with IPv6
[ 41s] returns false if sntp test fails with IPv4 and with IPv6
[ 41s] #sntp_test
[ 41s] calls sntp command with ip version 4 by default
[ 41s] returns false if server is not reachable
[ 41s] returns false if sntp response includes 'no UCST'
[ 41s] returns true if sntp command's exit code is 0
[ 41s] #TestNtpServer
[ 41s] returns true if ntp server is reachable
[ 41s] returns false if ntp server is not reachable
[ 41s] when given verbosity is :no_ui
[ 41s] doesn't show any dialog
[ 41s] when given verbosity is :result_popup
[ 41s] shows Feedback Popup
[ 41s] notifies with a Popup if success
[ 41s] reports with an error if not reachable server
[ 41s] when given vervosity is any other argument
[ 41s] only shows Feedback Popup
[ 41s] #GetUsedNtpServers
[ 41s] returns a list of NTP servers used in the current configuration (FAILED - 6)
[ 41s] #getSyncRecords
[ 41s] returns a map's list with current synchronization related entries with index
[ 41s] #selectSyncRecord
[ 41s] when given index is not between -1 an ntp_records size
[ 41s] returns false
[ 41s] sets selected_index as -1
[ 41s] sets selected_record as an empty hash
[ 41s] when given index is -1
[ 41s] sets selected_index as -1
[ 41s] sets selected_record as an empty hash
[ 41s] returns true
[ 41s] when given index is between 0 and ntp_records size
[ 41s] sets selected_index as given value
[ 41s] sets selected_record as the ntp_records entry for given index
[ 41s] returns true
[ 41s] #deleteSyncRecord
[ 41s] returns false if given index is not in @ntp_records size range
[ 41s] returns true otherwise
[ 41s] sets modified as true if deleted record
[ 41s] removes record entry from ntp records at given index position (FAILED - 7)
[ 41s] #ProcessNtpConf
[ 41s] returns false if config has been read previously
[ 41s] returns false if config doesn't exist
[ 41s] sets configuration as read and returns true (FAILED - 8)
[ 41s] initializes ntp records excluding restrict and fudge entries
[ 41s] initializes restrict records (FAILED - 9)
[ 41s] #read_ad_address!
[ 41s] when there is an active directory data file
[ 41s] reads and sets active directory controller
[ 41s] removes data file if controller is read
[ 41s] #read_chroot_config!
[ 41s] reads sysconfig NTPD_RUN_CHROOTED variable
[ 41s] when NTPD_RUN_CHROOTED variable doesn't exist
[ 41s] returns false
[ 41s] when NTPD_RUN_CHROOTED variable exists
[ 41s] returns true
[ 41s] sets ntpd as chrooted if variable is 'yes'
[ 41s] sets ntpd as no chrooted in any other case
[ 41s] #update_ntp_servers!
[ 41s] initializes ntp_servers as an empty hash
[ 41s] adds known servers to ntp_servers
[ 41s] adds ntp pool servers for known countries to ntp_servers
[ 41s]
[ 41s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 41s]
[ 41s] 1) #Yast::NtpClientClass:0x000000019910a0 #GetNtpServersByCountry returns a list of items with read servers
[ 41s] # Not yet implemented
[ 41s] # ./test/ntp_client_test.rb:328
[ 41s]
[ 41s] Failures:
[ 41s]
[ 41s] 1) CFA::NtpConf::RestrictRecord#options obtains the options of the record
[ 41s] Failure/Error: expect(record.options).to eq(%w(default notrap nomodify nopeer))
[ 41s]
[ 41s] expected: ["default", "notrap", "nomodify", "nopeer"]
[ 41s] got: ["notrap", "nomodify", "nopeer"]
[ 41s]
[ 41s] (compared using ==)
[ 41s] # ./test/cfa/ntp_conf_test.rb:362:in `block (3 levels) in