Build failed in Jenkins: yast-yast-network-master #114
See https://ci.suse.de/job/yast-yast-network-master/114/display/redirect?page=ch...
Changes:
[teclator] Improve additional IP addresses validation
[teclator] Adapt changelog
[teclator] Changes based on CR
------------------------------------------
[...truncated 176.14 KB...]
[ 42s] adds a new device with the given name
[ 42s] when no device name is given
[ 42s] adds a new device with the current device name
[ 42s] when the interface already exists
[ 42s] does not add any interface
[ 42s] LanItems.move_routes
[ 42s] assigns all the 'from' routes to the 'to' interface
[ 42s]
[ 42s] #Yast::DNSClass:0x0000560356be59b0
[ 42s] .default_dhcp_hostname
[ 42s] with dhcp_hostname=true in control file
[ 42s] in a laptop
[ 42s] returns the value from product features
[ 42s] in a workstation
[ 42s] returns the value from product features
[ 42s] with dhcp_hostname=false in control file
[ 42s] in a laptop
[ 42s] returns the value from product features
[ 42s] in a workstation
[ 42s] returns the value from product features
[ 42s] without dhcp_hostname in control file
[ 42s] in a laptop
[ 42s] returns false
[ 42s] in a workstation
[ 42s] returns true
[ 42s] .IsHostLocal
[ 42s] returns true when host is "localhost"
[ 42s] returns true when host is "localhost.localdomain"
[ 42s] returns true when host is "::1"
[ 42s] returns true when host is "127.0.0.1"
[ 42s] returns true when the short hostname is given
[ 42s] returns true when the fq hostname is given
[ 42s] for IPv4
[ 42s] returns true when the ip of local machine is given
[ 42s] returns false when the ip of local machine is not given
[ 42s] for IPv6
[ 42s] logs that the implementation is still pending
[ 42s] returns false
[ 42s] .Read
[ 42s] delegates DNS settings reading to Yast::Lan module
[ 42s] .Write
[ 42s] writes DNS settings
[ 42s] .modified
[ 42s] when DNS configuration has changed
[ 42s] returns true
[ 42s] when DNS configuration has not changed
[ 42s] returns false
[ 42s] #hostname
[ 42s] provides static hostname
[ 42s]
[ 42s] phy_connected?
[ 42s] returns true if PHY layer is available
[ 42s] returns false if PHY layer is not available
[ 42s]
[ 42s] NetworkServicesHostInclude
[ 42s] #encode_hosts_line
[ 42s] encodes canonical name even aliases
[ 42s] returns empty string when invalid arguments were passed
[ 42s]
[ 42s] Yast::HostAutoClient
[ 42s] #main
[ 42s] when func is Import
[ 42s] blames empty host name entries
[ 42s]
[ 42s] #Yast::HostClass:0x0000560356e71378
[ 42s] .Read
[ 42s] reads hosts configuration from system
[ 42s] .clear
[ 42s] removes all entries from host table
[ 42s] .name_map
[ 42s] returns hash with ip as key and hostnames as value
[ 42s] .names
[ 42s] returns empty array if given ip is not is hosts table
[ 42s] returns single element array with string containing canonical name and aliases separated by space
[ 42s] .add_name
[ 43s] adds host to hosts entry even if it is already there
[ 43s] .Write
[ 43s] writes content of file
[ 43s] creates backup of file
[ 43s] settings have not been modified
[ 43s] does nothing
[ 43s] does nothing although system settings have been read
[ 43s] .Import
[ 43s] loads the current '/etc/hosts' entries
[ 43s] merges current entries with the given ones
[ 43s] when the profile contains multiple host entries for ::1
[ 43s] converts each duplicated entry to just one line
[ 43s] import an emtpy host section
[ 43s] does not reset /etc/hosts
[ 43s] .Export
[ 43s] Successfully exports stored mapping
[ 43s] removes empty name lists
[ 43s] exports empty hash when no mapping is defined
[ 43s] .Update
[ 43s] doesn't drop records with two spaces but make it single space
[ 43s] adds alias for added hostname
[ 43s] deletes old hostnames passed as first parameter
[ 43s] adds hostname as alias if ip have already its entry
[ 43s] raises an error when empty ip is provided
[ 43s] raises an error when nil ip is provided
[ 43s] doesn't write entry with duplicate hostname
[ 43s] doesn't write entry with duplicate hostname
[ 43s] .ResolveHostnameToStaticIPs
[ 43s] doesn't call .Update when an IP already has a hostname
[ 43s] .ResolveHostnameToStaticIPs
[ 43s] do not send array of IPs into .Update
[ 43s] doesn't call .Update when an IP already has a hostname
[ 43s] .StaticIPs
[ 43s] do not return invalid items for devices with static configuration but invalid IP
[ 43s] returns all devices with valid setup
[ 43s]
[ 43s] NetworkLanCmdlineInclude
[ 43s] #validateId
[ 43s] reports error and returns false if options missing "id"
[ 43s] reports error and returns false if options "id" is not number
[ 43s] reports error and returns false if options "id" do not fit config size
[ 43s] returns true otherwise
[ 43s] #ShowHandler
[ 43s] prints to command line
[ 43s] #ListHandler
[ 43s] prints to command line
[ 43s] #AddHandler
[ 43s] when called without type
[ 43s] and it cannot be infered from the given options
[ 43s] reports an error
[ 43s] returns false
[ 43s] when bootproto is given
[ 43s] but with an invalid option
[ 43s] reports an error
[ 43s] returns false
[ 43s] when a valid configuration is providen
[ 43s] commits the new configuration
[ 43s] lists the final configuration
[ 43s] returns true
[ 43s] #EditHandler
[ 43s] when a valid configuration is providen
[ 43s] commits the configuration changes
[ 43s] shows the configuration of the edited interface
[ 43s] returns true
[ 43s] #DeleteHandler
[ 43s] when a valid configuration is providen
[ 43s]
[ 43s] (No hardware information)
[ 43s] The device is not configured. Press Edit
[ 43s] to configure.
[ 43s]
[ 43s] removes given interface
[ 43s]
[ 43s] (No hardware information)
[ 43s] The device is not configured. Press Edit
[ 43s] to configure.
[ 43s]
[ 43s] returns true
[ 43s]
[ 43s] Pending: (Failures listed here are expected and do not affect your suite's status)
[ 43s]
[ 43s] 1) Y2Network::Sysconfig::InterfacesReader#interfaces reads wifi interfaces
[ 43s] # Not yet implemented
[ 43s] # ./test/y2network/sysconfig/interfaces_reader_test.rb:99
[ 43s]
[ 43s] 2) Y2Network::Sysconfig::InterfacesReader#interfaces reads bridge interfaces
[ 43s] # Not yet implemented
[ 43s] # ./test/y2network/sysconfig/interfaces_reader_test.rb:100
[ 43s]
[ 43s] 3) Y2Network::Sysconfig::InterfacesReader#interfaces reads bonding interfaces
[ 43s] # Not yet implemented
[ 43s] # ./test/y2network/sysconfig/interfaces_reader_test.rb:101
[ 43s]
[ 43s] 4) Y2Network::Sysconfig::InterfacesReader#interfaces reads interfaces configuration
[ 43s] # Not yet implemented
[ 43s] # ./test/y2network/sysconfig/interfaces_reader_test.rb:102
[ 43s]
[ 43s] 5) Y2Network::Widgets::BootProtocol#store static configuration selected sets netmask for ipv4 netmask value
[ 43s] # drop netmask
[ 43s] Failure/Error: expect(builder.subnet_prefix).to eq "255.255.0.0"
[ 43s]
[ 43s] expected: "255.255.0.0"
[ 43s] got: "/16"
[ 43s]
[ 43s] (compared using ==)
[ 43s] # ./test/y2network/widgets/boot_protocol_test.rb:243:in `block (4 levels) in
participants (1)
-
jenkins@suse.de