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