[yast-commit] Build failed in Jenkins: yast-yast-ruby-bindings-master #33
See <https://ci.opensuse.org/job/yast-yast-ruby-bindings-master/33/display/redirect?page=changes> Changes: [Martin Vidner] Test table_sort_wrong_cell (bsc#1165388) [Martin Vidner] Run the libyui tests [Martin Vidner] version + changelog [Martin Vidner] Optionally check shell syntax [Martin Vidner] tmux-uitest.sh: debug failed sessions [Martin Vidner] Test https://bugzilla.suse.com/show_bug.cgi?id=1177760 [Martin Vidner] Run without /usr/sbin/yast [Martin Vidner] Fixup container test run [Martin Vidner] RSpec test with TmuxTui [Martin Vidner] Verify that changing a value in a sorted table works correctly. (RSpec) [Martin Vidner] Ignore the screen captures [Martin Vidner] Added a (skipped) test for boo#1177145, wrong item is selected [Martin Vidner] Remove shell tests and library, RSpec can do it now [Martin Vidner] Style improvements [Martin Vidner] Use remain-on-exit instead of shell sleep. [Martin Vidner] Automatic session cleanup with a block; YastTui#example. [github] Distinguish parsing errors from internal errors (bsc#1174198) (#255) [Martin Vidner] Test MultiSelectionBox (TODO bug#) [Martin Vidner] Real test cases for MultiSelectionBox [Martin Vidner] Version bump and change log [Martin Vidner] TmuxTui#capture_pane will wait 300ms by default [Martin Vidner] Doc capture_pane_to [Martin Vidner] Removed obsolete comment [shundhammer] Removed misleading double-toggling veggie checkbox ------------------------------------------ [...truncated 133.17 KB...] [ 128s] 21: logs debug messages via y2debug() [ 128s] 21: logs info messages via y2milestone() [ 128s] 21: logs warnings via y2warning() [ 128s] 21: logs errors via y2error() [ 128s] 21: logs fatal errors via y2error() [ 128s] 21: handles a message passed via block [ 128s] 21: does not crash when logging an invalid UTF-8 string [ 128s] 21: does not crash when logging ASCII string with invalid UTF-8 [ 128s] 21: processes parameters using Builtins::sformat [ 128s] 21: [ 128s] 21: Yast::Logger [ 128s] 21: module adds log() method for accessing the Logger [ 128s] 21: [ 128s] 21: Finished in 0.01942 seconds (files took 0.22957 seconds to load) [ 128s] 21: 10 examples, 0 failures [ 128s] 21: [ 128s] 21/29 Test #21: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/y2logger_spec.rb ...................... Passed 0.48 sec [ 128s] test 22 [ 128s] Start 22: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/y2start_helpers_spec.rb [ 128s] [ 128s] 22: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/y2start_helpers_spec.rb" [ 128s] 22: Test timeout computed to be: 1500 [ 128s] 22: [ 128s] 22: Yast::Y2StartHelpers [ 128s] 22: .help [ 128s] 22: returns multiline help text [ 128s] 22: .setup_signals [ 128s] 22: setups signal trap [ 128s] 22: .parse_arguments [ 128s] 22: parses passed arguments and returns it as hash [ 128s] 22: raises exception if wrong arguments are passed [ 128s] 22: .application_title [ 128s] 22: s390 architecture [ 128s] 22: is in text mode [ 128s] 22: returns s390 architecture [ 128s] 22: is in QT mode [ 128s] 22: sets environment variable YAST_BANNER [ 128s] 22: read_values returns empty string [ 128s] 22: returns client name only [ 128s] 22: x86_64 archtecture [ 128s] 22: is in text mode [ 128s] 22: returns client name only [ 128s] 22: is in QT mode [ 128s] 22: does not set environment variable YAST_BANNER [ 128s] 22: .generate_exit_code [ 128s] 22: returns 0 for nil [ 128s] 22: returns 0 for true [ 128s] 22: returns 16 for false [ 128s] 22: returns 16 for `:abort` [ 128s] 22: returns 16 for `:cancel` [ 128s] 22: returns 0 for other symbols [ 128s] 22: returns 16+number for number [ 128s] 22: [ 128s] 22: Finished in 0.02315 seconds (files took 0.17632 seconds to load) [ 128s] 22: 16 examples, 0 failures [ 128s] 22: [ 128s] 22/29 Test #22: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/y2start_helpers_spec.rb ............... Passed 0.42 sec [ 128s] test 23 [ 128s] Start 23: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/y2start_spec.rb [ 128s] [ 128s] 23: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/y2start_spec.rb" [ 128s] 23: Test timeout computed to be: 1500 [ 129s] 23: [ 129s] 23: y2start [ 129s] 23: prints helps and exit 0 if run with --help [ 129s] 23: prints help and exit 1 if invalid argument passed [ 129s] 23: prints that client not found and exit 1 if client not found [ 129s] 23: [ 129s] 23: Finished in 0.69878 seconds (files took 0.17532 seconds to load) [ 129s] 23: 3 examples, 0 failures [ 129s] 23: [ 129s] 23/29 Test #23: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/y2start_spec.rb ....................... Passed 1.11 sec [ 129s] test 24 [ 129s] Start 24: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/yast_spec.rb [ 129s] [ 129s] 24: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/yast_spec.rb" [ 129s] 24: Test timeout computed to be: 1500 [ 130s] 24: [ 130s] 24: Yast [ 130s] 24: .include [ 130s] 24: include methods to target class set as first argument [ 130s] 24: call its initialization method [ 130s] 24: call its initialization only during first include [ 130s] 24: does not loop endlessly on cyclic includes [ 130s] 24: .import [ 130s] 24: target module raises exception [ 130s] 24: raises exception with details from original one [ 130s] 24: target module has invalid signature [ 130s] 24: raises exception with details from original one [ 130s] 24: [ 130s] 24: Finished in 0.01451 seconds (files took 0.2462 seconds to load) [ 130s] 24: 6 examples, 0 failures [ 130s] 24: [ 130s] 24/29 Test #24: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/yast_spec.rb .......................... Passed 0.49 sec [ 130s] test 25 [ 130s] Start 25: integration [ 130s] [ 130s] 25: Test command: /usr/bin/ruby "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/integration/run.rb" [ 130s] 25: Test timeout computed to be: 1500 [ 130s] 25: Test failed: 'rspec /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/integration/std_streams_spec.rb >/tmp/test_cmd_output 2>&1'. [ 130s] 25: result: '1 [ 130s] 25: ' [ 130s] 25: Output was: [ 130s] 25: Error opening terminal: unknown. [ 130s] 25/29 Test #25: integration .......................................................................................***Failed 0.63 sec [ 130s] test 26 [ 130s] Start 26: translations [ 130s] [ 130s] 26: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/integration/translations_spec.rb" [ 130s] 26: Test timeout computed to be: 1500 [ 131s] 26: [ 131s] 26: translations in YaST [ 131s] 26: translates string using _() [ 131s] 26: translates plural string using n_() with 0 value [ 131s] 26: translates plural string using n_() with 1 value [ 131s] 26: translates plural string using n_() with 2 value [ 131s] 26: translates plural string using n_() with 5 value [ 131s] 26: does not translate string using N_() [ 131s] 26: does not translate string using Nn_() [ 131s] 26: [ 131s] 26: Finished in 0.00976 seconds (files took 0.23977 seconds to load) [ 131s] 26: 7 examples, 0 failures [ 131s] 26: [ 131s] 26/29 Test #26: translations ...................................................................................... Passed 0.47 sec [ 131s] test 27 [ 131s] Start 27: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/menu_hotkeys_1177760_spec.rb [ 131s] [ 131s] 27: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/menu_hotkeys_1177760_spec.rb" [ 131s] 27: Test timeout computed to be: 1500 [ 131s] 27: [ 131s] 27: Menu Item [ 134s] 27: has hotkeys in menu items, boo#1177760 [ 134s] 27: [ 134s] 27: Finished in 2.42 seconds (files took 0.15639 seconds to load) [ 134s] 27: 1 example, 0 failures [ 134s] 27: [ 134s] 27/29 Test #27: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/menu_hotkeys_1177760_spec.rb ... Passed 2.80 sec [ 134s] test 28 [ 134s] Start 28: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/multi_selection_box_spec.rb [ 134s] [ 134s] 28: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/multi_selection_box_spec.rb" [ 134s] 28: Test timeout computed to be: 1500 [ 134s] 28: [ 134s] 28: MultiSelectionBox [ 134s] 28: Basics [ 135s] 28: Visual appearance [ 135s] 28: Has all the expected items [ 135s] 28: Visually selects the right items initially [ 135s] 28: Introspection [ 136s] 28: QueryWidget(:SelectedItems) reports the correct items [ 136s] 28: QueryWidget(:CurrentItem) reports the correct item [ 136s] 28: Basic keyboard handling [ 137s] 28: Moving the cursor works [ 137s] 28: Selecing an item works visually and in the internal state [ 138s] 28: Deselecting an item works visually and in the internal state [ 138s] 28: Exchanging content [ 141s] 28: Replacing all items works [ 141s] 28: Known fixed bugs [ 143s] 28: bsc#1177985: QueryWidget(:SelectedItems) does not return nil after replacing the items [ 143s] 28: [ 143s] 28: Finished in 8.92 seconds (files took 0.1606 seconds to load) [ 143s] 28: 9 examples, 0 failures [ 143s] 28: [ 143s] 28/29 Test #28: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/multi_selection_box_spec.rb .... Passed 9.31 sec [ 143s] test 29 [ 143s] Start 29: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/table_sort_spec.rb [ 143s] [ 143s] 29: Test command: /usr/bin/rspec "--format" "doc" "/home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/table_sort_spec.rb" [ 143s] 29: Test timeout computed to be: 1500 [ 143s] 29: [ 143s] 29: Table [ 143s] 29: when it sorts the items, [ 145s] 29: ChangeWidget(_, Cell(row, col)) changes the correct cell, boo#1165388 [ 146s] 29: ChangeWidget(_, :CurrentItem) activates the correct line, boo#1177145 (PENDING: not fixed yet) [ 146s] 29: [ 146s] 29: Pending: (Failures listed here are expected and do not affect your suite's status) [ 146s] 29: [ 146s] 29: 1) Table when it sorts the items, ChangeWidget(_, :CurrentItem) activates the correct line, boo#1177145 [ 146s] 29: # not fixed yet [ 146s] 29: Failure/Error: expect(@tui.capture_pane).to match(/Current Item: "id-yyy-2-ccc"/) [ 146s] 29: [ 146s] 29: expected " ruby @ yast-jenkins\n\n\n\n\n lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk\n ... x\n mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj\n\n\n\n\n\n" to match /Current Item: "id-yyy-2-ccc"/ [ 146s] 29: Diff: [ 146s] 29: @@ -1,19 +1,37 @@ [ 146s] 29: -/Current Item: "id-yyy-2-ccc"/ [ 146s] 29: + ruby @ yast-jenkins [ 146s] 29: + [ 146s] 29: + [ 146s] 29: + [ 146s] 29: + [ 146s] 29: + lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk [ 146s] 29: + x Table sorting test x [ 146s] 29: + xlqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkx [ 146s] 29: + xxName xValue xx [ 146s] 29: + xxname-aaaxvalue-aaa xx [ 146s] 29: + xxname-bbbxVALUE-BBB xx [ 146s] 29: + xxname-cccxvalue-ccc xx [ 146s] 29: + xx xx [ 146s] 29: + xx xx [ 146s] 29: + xmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjx [ 146s] 29: + xEnter/Double-click any item to uppercase the valuex [ 146s] 29: + xCurrent Item: "id-zzz-1-bbb" x [ 146s] 29: + x [Close] x [ 146s] 29: + mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj [ 146s] 29: # /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/table_sort_spec.rb:43:in `block (3 levels) in <top (required)>' [ 146s] 29: # /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/table_sort_spec.rb:10:in `block (4 levels) in <top (required)>' [ 146s] 29: # /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/rspec_tmux_tui.rb:51:in `new_session' [ 146s] 29: # /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/table_sort_spec.rb:9:in `block (3 levels) in <top (required)>' [ 146s] 29: [ 146s] 29: Finished in 2.76 seconds (files took 0.1566 seconds to load) [ 146s] 29: 2 examples, 0 failures, 1 pending [ 146s] 29: [ 146s] 29/29 Test #29: /home/abuild/rpmbuild/BUILD/yast2-ruby-bindings-4.3.7/tests/libyui/table_sort_spec.rb ............. Passed 3.18 sec [ 146s] [ 146s] 97% tests passed, 1 tests failed out of 29 [ 146s] [ 146s] Total Test time (real) = 28.64 sec [ 146s] [ 146s] The following tests FAILED: [ 146s] 25 - integration (Failed) [ 146s] Errors while running CTest [ 146s] make: *** [Makefile:137: test] Error 8 [ 146s] error: Bad exit status from /var/tmp/rpm-tmp.bif8Sl (%check) [ 146s] [ 146s] [ 146s] RPM build errors: [ 146s] Bad exit status from /var/tmp/rpm-tmp.bif8Sl (%check) [ 146s] [ 146s] yast-jenkins failed "build yast2-ruby-bindings.spec" at Mon Nov 2 14:01:59 UTC 2020. [ 146s] The buildroot was: /var/tmp/build-root/openSUSE_Factory-x86_64 rm -rf YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.opensuse.org/' b...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Result: PID 31547 exited with value 1 Scanning for a pull request... Found pull request #258 Adding comment ":x: Public Jenkins [job #33](https://ci.opensuse.org/job/yast-yast-ruby-bindings-master/33/) failed" to pull request https://github.com/yast/yast-ruby-bindings/pull/258 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-ruby-bindings/issues/258/comments... OK Success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user shundhammer@suse.de Not sending mail to unregistered user github@theintersect.org
participants (1)
-
admin@opensuse.org