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