[yast-commit] Build failed in Jenkins: yast-yast-network-master #99
See <https://ci.suse.de/job/yast-yast-network-master/99/display/redirect?page=changes> Changes: [teclator] Pick the first hostname when there is more than one [teclator] Bump version & changelog [teclator] Write hostname if modified through the dns client [teclator] Changes based on code review. [teclator] More changes based on code review. [teclator] Bump version & changelog [teclator] Moved the write of interfaces routes to the routing write method [teclator] Moved dns client under y2network namespace and fixed finish write [noreply] Update package/yast2-network.changes [teclator] Changes based on CR [teclator] Fixed sections parameter documentation [teclator] Changed ton a only parameter to request the explicit sections to be [teclator] Fix write parameter ------------------------------------------ [...truncated 182.69 KB...] [ 47s] .Export [ 47s] Successfully exports stored mapping [ 47s] removes empty name lists [ 47s] exports empty hash when no mapping is defined [ 47s] .Update [ 47s] doesn't drop records with two spaces but make it single space [ 47s] adds alias for added hostname [ 47s] deletes old hostnames passed as first parameter [ 48s] adds hostname as alias if ip have already its entry [ 48s] raises an error when empty ip is provided [ 48s] raises an error when nil ip is provided [ 48s] doesn't write entry with duplicate hostname [ 48s] doesn't write entry with duplicate hostname [ 48s] .ResolveHostnameToStaticIPs [ 48s] doesn't call .Update when an IP already has a hostname [ 48s] .ResolveHostnameToStaticIPs [ 48s] do not send array of IPs into .Update [ 48s] doesn't call .Update when an IP already has a hostname [ 48s] .StaticIPs [ 48s] do not return invalid items for devices with static configuration but invalid IP [ 48s] returns all devices with valid setup [ 48s] [ 48s] NetworkLanCmdlineInclude [ 48s] #validateId [ 48s] reports error and returns false if options missing "id" [ 48s] reports error and returns false if options "id" is not number [ 48s] reports error and returns false if options "id" do not fit config size [ 48s] returns true otherwise [ 48s] #ShowHandler [ 48s] prints to command line [ 48s] #ListHandler [ 48s] prints to command line [ 48s] #AddHandler [ 48s] when called without type [ 48s] and it cannot be infered from the given options [ 48s] reports an error [ 48s] returns false [ 48s] when bootproto is given [ 48s] but with an invalid option [ 48s] reports an error [ 48s] returns false [ 48s] when a valid configuration is providen [ 48s] commits the new configuration [ 48s] lists the final configuration [ 48s] returns true [ 48s] #EditHandler [ 48s] when a valid configuration is providen [ 48s] commits the configuration changes [ 48s] shows the configuration of the edited interface [ 48s] returns true [ 48s] #DeleteHandler [ 48s] when a valid configuration is providen [ 48s] [ 48s] (No hardware information) [ 48s] The device is not configured. Press Edit [ 48s] to configure. [ 48s] [ 48s] removes given interface [ 48s] [ 48s] (No hardware information) [ 48s] The device is not configured. Press Edit [ 48s] to configure. [ 48s] [ 48s] returns true [ 48s] [ 48s] Pending: (Failures listed here are expected and do not affect your suite's status) [ 48s] [ 48s] 1) Y2Network::Sysconfig::InterfacesReader#interfaces reads wifi interfaces [ 48s] # Not yet implemented [ 48s] # ./test/y2network/sysconfig/interfaces_reader_test.rb:99 [ 48s] [ 48s] 2) Y2Network::Sysconfig::InterfacesReader#interfaces reads bridge interfaces [ 48s] # Not yet implemented [ 48s] # ./test/y2network/sysconfig/interfaces_reader_test.rb:100 [ 48s] [ 48s] 3) Y2Network::Sysconfig::InterfacesReader#interfaces reads bonding interfaces [ 48s] # Not yet implemented [ 48s] # ./test/y2network/sysconfig/interfaces_reader_test.rb:101 [ 48s] [ 48s] 4) Y2Network::Sysconfig::InterfacesReader#interfaces reads interfaces configuration [ 48s] # Not yet implemented [ 48s] # ./test/y2network/sysconfig/interfaces_reader_test.rb:102 [ 48s] [ 48s] 5) Y2Network::Widgets::BootProtocol#store static configuration selected sets netmask for ipv4 netmask value [ 48s] # drop netmask [ 48s] Failure/Error: expect(builder.subnet_prefix).to eq "255.255.0.0" [ 48s] [ 48s] expected: "255.255.0.0" [ 48s] got: "/16" [ 48s] [ 48s] (compared using ==) [ 48s] # ./test/y2network/widgets/boot_protocol_test.rb:243:in `block (4 levels) in <top (required)>' [ 48s] [ 48s] 6) LanClass #Import flushes internal state of LanItems correctly when asked for reset [ 48s] # Temporarily skipped with xdescribe [ 48s] # ./test/lan_test.rb:159 [ 48s] [ 48s] 7) LanClass #Import reads the current /etc/hosts entries [ 48s] # Temporarily skipped with xdescribe [ 48s] # ./test/lan_test.rb:169 [ 48s] [ 48s] 8) #<Yast::LanItemsClass:0x0000561489bfcf40> #GetBridgeableInterfaces returns list of slave candidates [ 48s] # old API is dropped, so adapt it [ 48s] Failure/Error: [ 48s] expect(builder.bridgeable_interfaces.map(&:name)) [ 48s] .to match_array expected_bridgeable [ 48s] [ 48s] expected collection contained: ["bond0", "eth11", "eth12", "eth4", "tap0"] [ 48s] actual collection contained: [] [ 48s] the missing elements were: ["bond0", "eth11", "eth12", "eth4", "tap0"] [ 48s] # ./test/bridge_test.rb:140:in `block (3 levels) in <top (required)>' [ 48s] [ 48s] Failures: [ 48s] [ 48s] 1) Y2Network::AutoinstProfile::S390DeviceSection#section_path returns the section path [ 48s] Failure/Error: expect(section.section_path.to_s).to eq("networking,s390-devices,0") [ 48s] [ 48s] NoMethodError: [ 48s] undefined method `section_path' for nil:NilClass [ 48s] # ./test/y2network/autoinst_profile/s390_device_section_test.rb:102:in `block (3 levels) in <top (required)>' [ 48s] [ 48s] 2) Y2Network::AutoinstProfile::UdevRuleSection#section_path returns the section path [ 48s] Failure/Error: expect(section.section_path.to_s).to eq("networking,net-udev,0") [ 48s] [ 48s] NoMethodError: [ 48s] undefined method `section_path' for nil:NilClass [ 48s] # ./test/y2network/autoinst_profile/udev_rule_section_test.rb:60:in `block (3 levels) in <top (required)>' [ 48s] [ 48s] 3) Y2Network::AutoinstProfile::InterfaceSection#section_path returns the section path [ 48s] Failure/Error: expect(section.section_path.to_s).to eq("networking,interfaces,0") [ 48s] [ 48s] NoMethodError: [ 48s] undefined method `section_path' for nil:NilClass [ 48s] # ./test/y2network/autoinst_profile/interface_section_test.rb:159:in `block (3 levels) in <top (required)>' [ 48s] [ 48s] 4) Y2Network::Autoinst::UdevRulesReader#apply renames interface with matching hardware properties [ 48s] Failure/Error: expect(config).to receive(:rename_interface).with("eth0", "eth1", :bus_id) [ 48s] [ 48s] (Double (anonymous)).rename_interface("eth0", "eth1", :bus_id) [ 48s] expected: 1 time with arguments: ("eth0", "eth1", :bus_id) [ 48s] received: 0 times [ 48s] # ./test/y2network/autoinst/udev_rules_reader_test.rb:54:in `block (3 levels) in <top (required)>' [ 48s] [ 48s] 5) Y2Network::Autoinst::UdevRulesReader#apply when there is already interface with matching name and non-matching hardware renames colliding interface to new free name [ 48s] Failure/Error: expect(config).to receive(:rename_interface).with("eth1", "eth2", :mac) [ 48s] [ 48s] (Double (anonymous)).rename_interface("eth1", "eth2", :mac) [ 48s] expected: 1 time with arguments: ("eth1", "eth2", :mac) [ 48s] received: 0 times [ 48s] # ./test/y2network/autoinst/udev_rules_reader_test.rb:72:in `block (4 levels) in <top (required)>' [ 48s] [ 48s] 6) Y2Network::Autoinst::InterfacesReader#config builds a new Y2Network::ConnectionConfigsCollection [ 48s] Failure/Error: expect(subject.config.size).to eq(2) [ 48s] [ 48s] expected: 2 [ 48s] got: 0 [ 48s] [ 48s] (compared using ==) [ 48s] # ./test/y2network/autoinst/interfaces_reader_test.rb:68:in `block (3 levels) in <top (required)>' [ 48s] [ 48s] 7) Y2Network::Autoinst::InterfacesReader#config assign properly all values in profile [ 48s] Failure/Error: expect(eth0_config.startmode).to eq Y2Network::Startmode.create("auto") [ 48s] [ 48s] NoMethodError: [ 48s] undefined method `startmode' for nil:NilClass [ 48s] # ./test/y2network/autoinst/interfaces_reader_test.rb:73:in `block (3 levels) in <top (required)>' [ 48s] [ 48s] 8) Y2Network::Autoinst::S390DevicesReader#config builds a new Y2Network::ConnectionConfigsCollection [ 48s] Failure/Error: [ 48s] expect(subject.config).to contain_exactly( [ 48s] an_object_having_attributes( [ 48s] read_channel: "0.0.0700", [ 48s] write_channel: "0.0.0701", [ 48s] data_channel: "0.0.0702" [ 48s] ), [ 48s] an_object_having_attributes( [ 48s] read_channel: "0.0.0800", [ 48s] write_channel: "0.0.0801", [ 48s] data_channel: "0.0.0802", [ 48s] [ 48s] expected collection contained: [(an object having attributes {:read_channel => "0.0.0700", :write_channel => "0.0.0701", :data_chann...channel => "0.0.0800", :write_channel => "0.0.0801", :data_channel => "0.0.0802", :layer2 => true})] [ 48s] actual collection contained: [] [ 48s] the missing elements were: [(an object having attributes {:read_channel => "0.0.0700", :write_channel => "0.0.0701", :data_chann...channel => "0.0.0800", :write_channel => "0.0.0801", :data_channel => "0.0.0802", :layer2 => true})] [ 48s] # ./test/y2network/autoinst/s390_devices_reader_test.rb:54:in `block (3 levels) in <top (required)>' [ 48s] [ 48s] 9) NetworkAutoYast #activate_s390_devices activates the given device [ 48s] Failure/Error: expect(activator).to receive(:configure) [ 48s] [ 48s] (InstanceDouble(Y2Network::S390DeviceActivators::Qeth) (anonymous)).configure(*(any args)) [ 48s] expected: 1 time with any arguments [ 48s] received: 0 times with any arguments [ 48s] # ./test/network_autoyast_test.rb:290:in `block (3 levels) in <top (required)>' [ 48s] [ 48s] 10) NetworkAutoYast #activate_s390_devices if the activation fails logs the error [ 48s] Failure/Error: expect(subject.log).to receive(:error).at_least(1) [ 48s] [ 48s] (#<Yast::Y2Logger:0x000056148880b360 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x000056148880b298 @datetime_format=nil>, @formatter=nil, @logdev=nil>).error(*(any args)) [ 48s] expected: at least 1 time with any arguments [ 48s] received: 0 times with any arguments [ 48s] # ./test/network_autoyast_test.rb:309:in `block (4 levels) in <top (required)>' [ 48s] [ 48s] Finished in 33.37 seconds (files took 2.17 seconds to load) [ 48s] 1655 examples, 10 failures, 8 pending [ 48s] [ 48s] Failed examples: [ 48s] [ 48s] rspec ./test/y2network/autoinst_profile/s390_device_section_test.rb:101 # Y2Network::AutoinstProfile::S390DeviceSection#section_path returns the section path [ 48s] rspec ./test/y2network/autoinst_profile/udev_rule_section_test.rb:59 # Y2Network::AutoinstProfile::UdevRuleSection#section_path returns the section path [ 48s] rspec ./test/y2network/autoinst_profile/interface_section_test.rb:158 # Y2Network::AutoinstProfile::InterfaceSection#section_path returns the section path [ 48s] rspec ./test/y2network/autoinst/udev_rules_reader_test.rb:53 # Y2Network::Autoinst::UdevRulesReader#apply renames interface with matching hardware properties [ 48s] rspec ./test/y2network/autoinst/udev_rules_reader_test.rb:71 # Y2Network::Autoinst::UdevRulesReader#apply when there is already interface with matching name and non-matching hardware renames colliding interface to new free name [ 48s] rspec ./test/y2network/autoinst/interfaces_reader_test.rb:66 # Y2Network::Autoinst::InterfacesReader#config builds a new Y2Network::ConnectionConfigsCollection [ 48s] rspec ./test/y2network/autoinst/interfaces_reader_test.rb:71 # Y2Network::Autoinst::InterfacesReader#config assign properly all values in profile [ 48s] rspec ./test/y2network/autoinst/s390_devices_reader_test.rb:53 # Y2Network::Autoinst::S390DevicesReader#config builds a new Y2Network::ConnectionConfigsCollection [ 48s] rspec ./test/network_autoyast_test.rb:289 # NetworkAutoYast #activate_s390_devices activates the given device [ 48s] rspec ./test/network_autoyast_test.rb:308 # NetworkAutoYast #activate_s390_devices if the activation fails logs the error [ 48s] [ 48s] rake aborted! [ 48s] Command failed with status (1): [rspec --color --format doc 'test/cfa/gener...] [ 48s] [ 48s] Tasks: TOP => test:unit [ 48s] (See full trace by running task with --trace) [ 48s] error: Bad exit status from /var/tmp/rpm-tmp.vVWJdc (%check) [ 48s] [ 48s] [ 48s] RPM build errors: [ 48s] Bad exit status from /var/tmp/rpm-tmp.vVWJdc (%check) [ 48s] [ 48s] yast-ci-worker-2 failed "build yast2-network.spec" at Thu Oct 8 14:25:31 UTC 2020. [ 48s] The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP3_GA-x86_64 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 18519 exited with value 1 Scanning for a pull request... Found pull request #1116 Adding comment ":x: Internal Jenkins [job #99](https://ci.suse.de/job/yast-yast-network-master/99/) failed" to pull request https://github.com/yast/yast-network/pull/1116 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-network/issues/1116/comments... OK Success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user teclator@gmail.com Not sending mail to unregistered user noreply@github.com
See <https://ci.suse.de/job/yast-yast-network-master/100/display/redirect> Changes: ------------------------------------------ [...truncated 178.69 KB...] [ 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 <top (required)>' [ 43s] [ 43s] 6) LanClass #Import flushes internal state of LanItems correctly when asked for reset [ 43s] # Temporarily skipped with xdescribe [ 43s] # ./test/lan_test.rb:159 [ 43s] [ 43s] 7) LanClass #Import reads the current /etc/hosts entries [ 43s] # Temporarily skipped with xdescribe [ 43s] # ./test/lan_test.rb:169 [ 43s] [ 43s] 8) #<Yast::LanItemsClass:0x0000557713ebd0e0> #GetBridgeableInterfaces returns list of slave candidates [ 43s] # old API is dropped, so adapt it [ 43s] Failure/Error: [ 43s] expect(builder.bridgeable_interfaces.map(&:name)) [ 43s] .to match_array expected_bridgeable [ 43s] [ 43s] expected collection contained: ["bond0", "eth11", "eth12", "eth4", "tap0"] [ 43s] actual collection contained: [] [ 43s] the missing elements were: ["bond0", "eth11", "eth12", "eth4", "tap0"] [ 43s] # ./test/bridge_test.rb:140:in `block (3 levels) in <top (required)>' [ 43s] [ 43s] Failures: [ 43s] [ 43s] 1) Y2Network::AutoinstProfile::S390DeviceSection#section_path returns the section path [ 43s] Failure/Error: expect(section.section_path.to_s).to eq("networking,s390-devices,0") [ 43s] [ 43s] NoMethodError: [ 43s] undefined method `section_path' for nil:NilClass [ 43s] # ./test/y2network/autoinst_profile/s390_device_section_test.rb:102:in `block (3 levels) in <top (required)>' [ 43s] [ 43s] 2) Y2Network::AutoinstProfile::UdevRuleSection#section_path returns the section path [ 43s] Failure/Error: expect(section.section_path.to_s).to eq("networking,net-udev,0") [ 43s] [ 43s] NoMethodError: [ 43s] undefined method `section_path' for nil:NilClass [ 43s] # ./test/y2network/autoinst_profile/udev_rule_section_test.rb:60:in `block (3 levels) in <top (required)>' [ 43s] [ 43s] 3) Y2Network::AutoinstProfile::InterfaceSection#section_path returns the section path [ 43s] Failure/Error: expect(section.section_path.to_s).to eq("networking,interfaces,0") [ 43s] [ 43s] NoMethodError: [ 43s] undefined method `section_path' for nil:NilClass [ 43s] # ./test/y2network/autoinst_profile/interface_section_test.rb:159:in `block (3 levels) in <top (required)>' [ 43s] [ 43s] 4) Y2Network::Autoinst::UdevRulesReader#apply renames interface with matching hardware properties [ 43s] Failure/Error: expect(config).to receive(:rename_interface).with("eth0", "eth1", :bus_id) [ 43s] [ 43s] (Double (anonymous)).rename_interface("eth0", "eth1", :bus_id) [ 43s] expected: 1 time with arguments: ("eth0", "eth1", :bus_id) [ 43s] received: 0 times [ 43s] # ./test/y2network/autoinst/udev_rules_reader_test.rb:54:in `block (3 levels) in <top (required)>' [ 43s] [ 43s] 5) Y2Network::Autoinst::UdevRulesReader#apply when there is already interface with matching name and non-matching hardware renames colliding interface to new free name [ 43s] Failure/Error: expect(config).to receive(:rename_interface).with("eth1", "eth2", :mac) [ 43s] [ 43s] (Double (anonymous)).rename_interface("eth1", "eth2", :mac) [ 43s] expected: 1 time with arguments: ("eth1", "eth2", :mac) [ 43s] received: 0 times [ 43s] # ./test/y2network/autoinst/udev_rules_reader_test.rb:72:in `block (4 levels) in <top (required)>' [ 43s] [ 43s] 6) Y2Network::Autoinst::InterfacesReader#config builds a new Y2Network::ConnectionConfigsCollection [ 43s] Failure/Error: expect(subject.config.size).to eq(2) [ 43s] [ 43s] expected: 2 [ 43s] got: 0 [ 43s] [ 43s] (compared using ==) [ 43s] # ./test/y2network/autoinst/interfaces_reader_test.rb:68:in `block (3 levels) in <top (required)>' [ 43s] [ 43s] 7) Y2Network::Autoinst::InterfacesReader#config assign properly all values in profile [ 43s] Failure/Error: expect(eth0_config.startmode).to eq Y2Network::Startmode.create("auto") [ 43s] [ 43s] NoMethodError: [ 43s] undefined method `startmode' for nil:NilClass [ 43s] # ./test/y2network/autoinst/interfaces_reader_test.rb:73:in `block (3 levels) in <top (required)>' [ 43s] [ 43s] 8) Y2Network::Autoinst::S390DevicesReader#config builds a new Y2Network::ConnectionConfigsCollection [ 43s] Failure/Error: [ 43s] expect(subject.config).to contain_exactly( [ 43s] an_object_having_attributes( [ 43s] read_channel: "0.0.0700", [ 43s] write_channel: "0.0.0701", [ 43s] data_channel: "0.0.0702" [ 43s] ), [ 43s] an_object_having_attributes( [ 43s] read_channel: "0.0.0800", [ 43s] write_channel: "0.0.0801", [ 43s] data_channel: "0.0.0802", [ 43s] [ 43s] expected collection contained: [(an object having attributes {:read_channel => "0.0.0700", :write_channel => "0.0.0701", :data_chann...channel => "0.0.0800", :write_channel => "0.0.0801", :data_channel => "0.0.0802", :layer2 => true})] [ 43s] actual collection contained: [] [ 43s] the missing elements were: [(an object having attributes {:read_channel => "0.0.0700", :write_channel => "0.0.0701", :data_chann...channel => "0.0.0800", :write_channel => "0.0.0801", :data_channel => "0.0.0802", :layer2 => true})] [ 43s] # ./test/y2network/autoinst/s390_devices_reader_test.rb:54:in `block (3 levels) in <top (required)>' [ 43s] [ 43s] 9) NetworkAutoYast #activate_s390_devices activates the given device [ 43s] Failure/Error: expect(activator).to receive(:configure) [ 43s] [ 43s] (InstanceDouble(Y2Network::S390DeviceActivators::Qeth) (anonymous)).configure(*(any args)) [ 43s] expected: 1 time with any arguments [ 43s] received: 0 times with any arguments [ 43s] # ./test/network_autoyast_test.rb:290:in `block (3 levels) in <top (required)>' [ 43s] [ 43s] 10) NetworkAutoYast #activate_s390_devices if the activation fails logs the error [ 43s] Failure/Error: expect(subject.log).to receive(:error).at_least(1) [ 43s] [ 43s] (#<Yast::Y2Logger:0x0000557712acf290 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x0000557712acf1f0 @datetime_format=nil>, @formatter=nil, @logdev=nil>).error(*(any args)) [ 43s] expected: at least 1 time with any arguments [ 43s] received: 0 times with any arguments [ 43s] # ./test/network_autoyast_test.rb:309:in `block (4 levels) in <top (required)>' [ 43s] [ 43s] Finished in 32.45 seconds (files took 2.21 seconds to load) [ 43s] 1655 examples, 10 failures, 8 pending [ 43s] [ 43s] Failed examples: [ 43s] [ 43s] rspec ./test/y2network/autoinst_profile/s390_device_section_test.rb:101 # Y2Network::AutoinstProfile::S390DeviceSection#section_path returns the section path [ 43s] rspec ./test/y2network/autoinst_profile/udev_rule_section_test.rb:59 # Y2Network::AutoinstProfile::UdevRuleSection#section_path returns the section path [ 43s] rspec ./test/y2network/autoinst_profile/interface_section_test.rb:158 # Y2Network::AutoinstProfile::InterfaceSection#section_path returns the section path [ 43s] rspec ./test/y2network/autoinst/udev_rules_reader_test.rb:53 # Y2Network::Autoinst::UdevRulesReader#apply renames interface with matching hardware properties [ 43s] rspec ./test/y2network/autoinst/udev_rules_reader_test.rb:71 # Y2Network::Autoinst::UdevRulesReader#apply when there is already interface with matching name and non-matching hardware renames colliding interface to new free name [ 43s] rspec ./test/y2network/autoinst/interfaces_reader_test.rb:66 # Y2Network::Autoinst::InterfacesReader#config builds a new Y2Network::ConnectionConfigsCollection [ 43s] rspec ./test/y2network/autoinst/interfaces_reader_test.rb:71 # Y2Network::Autoinst::InterfacesReader#config assign properly all values in profile [ 43s] rspec ./test/y2network/autoinst/s390_devices_reader_test.rb:53 # Y2Network::Autoinst::S390DevicesReader#config builds a new Y2Network::ConnectionConfigsCollection [ 43s] rspec ./test/network_autoyast_test.rb:289 # NetworkAutoYast #activate_s390_devices activates the given device [ 43s] rspec ./test/network_autoyast_test.rb:308 # NetworkAutoYast #activate_s390_devices if the activation fails logs the error [ 43s] [ 43s] rake aborted! [ 43s] Command failed with status (1): [rspec --color --format doc 'test/cfa/gener...] [ 43s] [ 43s] Tasks: TOP => test:unit [ 43s] (See full trace by running task with --trace) [ 43s] error: Bad exit status from /var/tmp/rpm-tmp.vOTlKk (%check) [ 43s] [ 43s] [ 43s] RPM build errors: [ 43s] Bad exit status from /var/tmp/rpm-tmp.vOTlKk (%check) [ 43s] [ 43s] yast-ci-worker-2 failed "build yast2-network.spec" at Thu Oct 8 18:28:33 UTC 2020. [ 43s] The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP3_GA-x86_64 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 28233 exited with value 1 Scanning for a pull request... Found pull request #1116 Adding comment ":x: Internal Jenkins [job #100](https://ci.suse.de/job/yast-yast-network-master/100/) failed" to pull request https://github.com/yast/yast-network/pull/1116 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-network/issues/1116/comments... OK Success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user noreply@github.com Not sending mail to unregistered user teclator@gmail.com
participants (1)
-
jenkins@suse.de