Build failed in Jenkins: yast-yast-autoinstallation-master #111
See <https://ci.suse.de/job/yast-yast-autoinstallation-master/111/display/redirect?page=changes> Changes: [jlopez] Show rendering errors [jlopez] Fix command option [jlopez] Add run-erb option [jlopez] Improve help ------------------------------------------ [...truncated 170.04 KB...] [ 70s] removes that section [ 70s] when multiple sections are given [ 70s] removes every given section [ 70s] #Prepare [ 70s] exports modules data into the current profile [ 70s] when a 'target' is given [ 71s] exports the module data using the given 'target' [ 71s] when preparation is not needed [ 71s] does not set the current profile [ 71s] when a module is 'hidden' [ 71s] includes that module [ 71s] when a module exports empty data [ 71s] removes section from Profile [ 71s] when a module has not changed [ 71s] does not include that module [ 71s] when a module has elements to merge [ 71s] adds each element into the current profile [ 71s] but there is no content for some of the elements [ 71s] does not include the element with no content [ 71s] when a module uses an alternative resource name [ 71s] uses the alternative name [ 71s] #create [ 72s] exports modules data into the current profile [ 72s] when a module is 'hidden' [ 72s] includes that module [ 72s] when a module exports empty data [ 72s] does not include it [ 72s] when a module has elements to merge [ 72s] creates each element in the current profile [ 72s] but there is no content for some of the elements [ 72s] does not include the element with no content [ 72s] when a module uses an alternative resource name [ 72s] uses the alternative name [ 72s] #ReadXML [ 72s] when the file is valid [ 72s] returns true [ 72s] imports the file content [ 72s] when the file content is invalid [ 72s] returns false [ 72s] displays an error message [ 72s] does not import the file content [ 72s] when the content is encrypted [ 73s] decrypts and imports the file content [ 73s] during the first stage [ 73s] saves the unencrypted content [ 73s] #Save [ 73s] returns true if saved profile to file [ 73s] returns false when failed [ 73s] #SaveSingleSections [ 73s] returns list of saved sections [ 73s] it does not return sections that failed to save [ 73s] #set_element_by_path [ 73s] when a string is given as path [ 73s] sets the element by using the path's parts [ 73s] when a profile path object is given as path [ 73s] sets the element by using the path's parts [ 73s] #setElementByList [ 73s] when the element exists [ 73s] replaces its value [ 73s] when the element does not exist [ 73s] adds the element in the given path [ 73s] when the element is supposed to be an array member but it does not exist [ 73s] adds an element to the array [ 73s] fills any gap with nil [ 73s] when parent elements are missing [ 73s] adds all the full hierarchy up to the given path [ 73s] [ 73s] Yast::AutoinstClass [ 73s] #Read [ 73s] when some class definition exists [ 73s] read content into @Classes [ 73s] returns nil [ 73s] when class definition is not valid [ 73s] sets Classes to [] [ 73s] returns nil [ 73s] when classes definition file does not exist [ 73s] sets Classes to [] [ 73s] returns nil [ 73s] when classes definition is empty or not valid XML [ 73s] set Classes to [] [ 73s] returns nil [ 73s] #Files [ 73s] when some class definition exists [ 73s] sets confs to an array containing classes configurations [ 73s] when classes definitions are not found [ 73s] when directory does not exist [ 73s] sets confs to an empty array [ 73s] when directory is empty [ 73s] sets confs to an empty array [ 73s] #classDirChanged [ 73s] reads again the classes definitions [ 73s] #findPath [ 73s] when class and configuration exists [ 73s] returns string with path to classes directory, class name and configuration [ 73s] when class does not exist [ 73s] returns string with path to a default directory below the classes directory [ 73s] when name does not exist [ 73s] returns string with path to a default directory below the classes directory [ 73s] #Compat [ 73s] when a classes.xml file exists in the new location [ 73s] does not overwrite classes.xml file [ 73s] when a classes.xml file does not exist in the new location [ 73s] and /etc/autoinstall/classes.xml exists [ 73s] creates a classes.xml file in the new location [ 73s] and /etc/autoinstall/classes.xml is empty or not valid XML [ 73s] creates a classes.xmlfile in the new location with no classes [ 73s] #class_dir= [ 73s] sets the classes definitions directory [ 73s] #MergeClasses [ 73s] executes xsltproc and returns a hash with info about the result [ 73s] when all elements must be merged [ 73s] merges elements from profile and configuration [ 73s] when some elements are not intended to be merged [ 73s] does not merge those elements [ 73s] #Import [ 73s] sets profile_conf variable as a copy of the given settings [ 73s] #Export [ 73s] returns a copy of profile_conf [ 73s] #Summary [ 73s] when some settings are given [ 73s] returns a summary containing class names and configurations [ 73s] when no class name is given [ 73s] 'None' is used instead [ 73s] when no configuration is given [ 73s] 'None' is used instead [ 73s] when no settings are given [ 73s] returns an empty summary [ 73s] #Save [ 73s] creates a classes.xml file in the new location [ 73s] does not raise exception when serialization failed [ 73s] when classes are marked for deletion [ 73s] deletes classes files [ 73s] [ 73s] Yast::AutoinstallConfTreeInclude [ 73s] #ShowSource [ 73s] shows xml with current profile serialized to XML [ 73s] shows error popup when profile serialization failed [ 73s] #configureModule [ 73s] when the user accepts the configuration dialog [ 73s] and the settings have been changed [ 74s] sets the module and the profile as modified [ 74s] and the settings has not been changed [ 74s] does not set the module or profile as modified [ 74s] when new settings are not valid [ 74s] imports the original settings again [ 74s] reports the error and returns :abort [ 74s] when the user aborts the configuration dialog [ 74s] imports the original settings again [ 74s] [ 74s] Pending: (Failures listed here are expected and do not affect your suite's status) [ 74s] [ 74s] 1) Yast::AutoinstPartPlan #read partition target exporting nfs root partition [ 74s] # pending on nfs definition in yml files [ 74s] # ./test/AutoinstPartPlan_test.rb:41 [ 74s] [ 74s] Failures: [ 74s] [ 74s] 1) Yast::AutoinstScripts #Import pre-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] Failure/Error: expect(subject.public_send(type).map(&:location)).to eq expected [ 74s] [ 74s] expected: ["https://test.com/script", "https://example.com/script2"] [ 74s] got: ["https://test.com/script", "https://example.com/distribution/leap/15.1/repo/oss/script2"] [ 74s] [ 74s] (compared using ==) [ 74s] Shared Example Group: "resolve location" called from ./test/AutoinstScripts_test.rb:101 [ 74s] # ./test/AutoinstScripts_test.rb:72:in `block (5 levels) in <top (required)>' [ 74s] [ 74s] 2) Yast::AutoinstScripts #Import init-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] Failure/Error: expect(subject.public_send(type).map(&:location)).to eq expected [ 74s] [ 74s] expected: ["https://test.com/script", "https://example.com/script2"] [ 74s] got: ["https://test.com/script", "https://example.com/distribution/leap/15.1/repo/oss/script2"] [ 74s] [ 74s] (compared using ==) [ 74s] Shared Example Group: "resolve location" called from ./test/AutoinstScripts_test.rb:107 [ 74s] # ./test/AutoinstScripts_test.rb:72:in `block (5 levels) in <top (required)>' [ 74s] [ 74s] 3) Yast::AutoinstScripts #Import post-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] Failure/Error: expect(subject.public_send(type).map(&:location)).to eq expected [ 74s] [ 74s] expected: ["https://test.com/script", "https://example.com/script2"] [ 74s] got: ["https://test.com/script", "https://example.com/distribution/leap/15.1/repo/oss/script2"] [ 74s] [ 74s] (compared using ==) [ 74s] Shared Example Group: "resolve location" called from ./test/AutoinstScripts_test.rb:113 [ 74s] # ./test/AutoinstScripts_test.rb:72:in `block (5 levels) in <top (required)>' [ 74s] [ 74s] 4) Yast::AutoinstScripts #Import chroot-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] Failure/Error: expect(subject.public_send(type).map(&:location)).to eq expected [ 74s] [ 74s] expected: ["https://test.com/script", "https://example.com/script2"] [ 74s] got: ["https://test.com/script", "https://example.com/distribution/leap/15.1/repo/oss/script2"] [ 74s] [ 74s] (compared using ==) [ 74s] Shared Example Group: "resolve location" called from ./test/AutoinstScripts_test.rb:119 [ 74s] # ./test/AutoinstScripts_test.rb:72:in `block (5 levels) in <top (required)>' [ 74s] [ 74s] 5) Yast::AutoinstScripts #Import postpartitioning-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] Failure/Error: expect(subject.public_send(type).map(&:location)).to eq expected [ 74s] [ 74s] expected: ["https://test.com/script", "https://example.com/script2"] [ 74s] got: ["https://test.com/script", "https://example.com/distribution/leap/15.1/repo/oss/script2"] [ 74s] [ 74s] (compared using ==) [ 74s] Shared Example Group: "resolve location" called from ./test/AutoinstScripts_test.rb:125 [ 74s] # ./test/AutoinstScripts_test.rb:72:in `block (5 levels) in <top (required)>' [ 74s] [ 74s] Finished in 23.86 seconds (files took 2.86 seconds to load) [ 74s] 1535 examples, 5 failures, 1 pending [ 74s] [ 74s] Failed examples: [ 74s] [ 74s] rspec ./test/AutoinstScripts_test.rb[1:3:1:2:1] # Yast::AutoinstScripts #Import pre-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] rspec ./test/AutoinstScripts_test.rb[1:3:2:2:1] # Yast::AutoinstScripts #Import init-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] rspec ./test/AutoinstScripts_test.rb[1:3:3:2:1] # Yast::AutoinstScripts #Import post-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] rspec ./test/AutoinstScripts_test.rb[1:3:4:2:1] # Yast::AutoinstScripts #Import chroot-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] rspec ./test/AutoinstScripts_test.rb[1:3:5:2:1] # Yast::AutoinstScripts #Import postpartitioning-scripts autoyast profile url is not relurl schema resolve relurl using autoyast profile url [ 74s] [ 74s] rake aborted! [ 74s] Command failed with status (1): [rspec --color --format doc 'test/AutoinstP...] [ 74s] [ 74s] Tasks: TOP => test:unit [ 74s] (See full trace by running task with --trace) [ 75s] error: Bad exit status from /var/tmp/rpm-tmp.SU1q6G (%check) [ 75s] [ 75s] [ 75s] RPM build errors: [ 75s] Bad exit status from /var/tmp/rpm-tmp.SU1q6G (%check) [ 75s] [ 75s] yast-ci-worker failed "build autoyast2.spec" at Mon Jul 5 16:10:28 UTC 2021. [ 75s] The buildroot was: /var/tmp/build-root/SUSE_SLE-15-SP4_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 20028 exited with value 1 Scanning for a pull request... Found pull request #773 Adding comment ":x: Internal Jenkins [job #111](https://ci.suse.de/job/yast-yast-autoinstallation-master/111/) failed" to pull request https://github.com/yast/yast-autoinstallation/pull/773 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-autoinstallation/issues/773/comments... OK Success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user jlopez@suse.com
participants (1)
-
jenkins@suse.de