[yast-commit] Build failed in Jenkins: yast-ruby-bindings-master #139
http://ci.opensuse.org/job/yast-ruby-bindings-master/139/Changes: [Josef Reidinger] drop manual addition to y2dir planned in past for implementing -I and -M [Josef Reidinger] changes [github] Added a "the". ------------------------------------------ [...truncated 2407 lines...] yast2-ruby-bindings-3.2.4/.travis.yml yast2-ruby-bindings-3.2.4/package/ yast2-ruby-bindings-3.2.4/package/yast2-ruby-bindings.spec yast2-ruby-bindings-3.2.4/package/yast2-ruby-bindings.changes tar xvf http://ci.opensuse.org/job/yast-ruby-bindings-master/ws/YaST:Head/yast2-ruby-bindings/yast2-ruby-bindings-3.2.4.tar.bz2 -C /tmp/unpacked_tarball20170109-15839-w63ye1 yast2-ruby-bindings-3.2.4/ yast2-ruby-bindings-3.2.4/AUTHORS.md yast2-ruby-bindings-3.2.4/CONTRIBUTING.md yast2-ruby-bindings-3.2.4/Dockerfile yast2-ruby-bindings-3.2.4/tests/ yast2-ruby-bindings-3.2.4/tests/term_spec.rb yast2-ruby-bindings-3.2.4/tests/builtins_multiset_spec.rb yast2-ruby-bindings-3.2.4/tests/convert_spec.rb yast2-ruby-bindings-3.2.4/tests/y2logger_spec.rb yast2-ruby-bindings-3.2.4/tests/ui_shortcuts_spec.rb yast2-ruby-bindings-3.2.4/tests/builtins_regexps_spec.rb yast2-ruby-bindings-3.2.4/tests/test_helper.rb yast2-ruby-bindings-3.2.4/tests/CMakeLists.txt yast2-ruby-bindings-3.2.4/tests/ops_spec.rb yast2-ruby-bindings-3.2.4/tests/rspec_matchers_spec.rb yast2-ruby-bindings-3.2.4/tests/path_spec.rb yast2-ruby-bindings-3.2.4/tests/builtins_spec.rb yast2-ruby-bindings-3.2.4/tests/i18n_spec.rb yast2-ruby-bindings-3.2.4/tests/integration/ yast2-ruby-bindings-3.2.4/tests/integration/run.rb yast2-ruby-bindings-3.2.4/tests/integration/std_streams_spec.rb yast2-ruby-bindings-3.2.4/tests/rspec_scr_spec.rb yast2-ruby-bindings-3.2.4/tests/builtins_float_spec.rb yast2-ruby-bindings-3.2.4/tests/rspec_shortcuts_spec.rb yast2-ruby-bindings-3.2.4/tests/builtins_strings_spec.rb yast2-ruby-bindings-3.2.4/tests/data/ yast2-ruby-bindings-3.2.4/tests/data/ansi_both.txt yast2-ruby-bindings-3.2.4/tests/data/ansi_cursor.txt yast2-ruby-bindings-3.2.4/tests/data/ansi_colors.txt yast2-ruby-bindings-3.2.4/tests/exportable_spec.rb yast2-ruby-bindings-3.2.4/tests/yast_spec.rb yast2-ruby-bindings-3.2.4/tests/wfm_spec.rb yast2-ruby-bindings-3.2.4/tests/builtins_list_spec.rb yast2-ruby-bindings-3.2.4/tests/builtins_casts_spec.rb yast2-ruby-bindings-3.2.4/tests/test_module/ yast2-ruby-bindings-3.2.4/tests/test_module/clients/ yast2-ruby-bindings-3.2.4/tests/test_module/clients/test_client.rb yast2-ruby-bindings-3.2.4/tests/test_module/modules/ yast2-ruby-bindings-3.2.4/tests/test_module/modules/InvalidTypeModule.rb yast2-ruby-bindings-3.2.4/tests/test_module/modules/ExampleTestModule.ybc yast2-ruby-bindings-3.2.4/tests/test_module/modules/ExampleTestModule.ycp yast2-ruby-bindings-3.2.4/tests/test_module/modules/RaisingModule.rb yast2-ruby-bindings-3.2.4/tests/test_module/include/ yast2-ruby-bindings-3.2.4/tests/test_module/include/example.rb yast2-ruby-bindings-3.2.4/tests/test_module/include/cyclic_yang.rb yast2-ruby-bindings-3.2.4/tests/test_module/include/cyclic_yin.rb yast2-ruby-bindings-3.2.4/tests/ansi_string_spec.rb yast2-ruby-bindings-3.2.4/tests/chroot/ yast2-ruby-bindings-3.2.4/tests/chroot/just_a_file yast2-ruby-bindings-3.2.4/CMakeLists.txt yast2-ruby-bindings-3.2.4/README.md yast2-ruby-bindings-3.2.4/MAINTAINER yast2-ruby-bindings-3.2.4/src/ yast2-ruby-bindings-3.2.4/src/CMakeLists.txt yast2-ruby-bindings-3.2.4/src/binary/ yast2-ruby-bindings-3.2.4/src/binary/Y2RubyUtils.h yast2-ruby-bindings-3.2.4/src/binary/YRubyNamespace.h yast2-ruby-bindings-3.2.4/src/binary/Y2RubyClientComponent.h yast2-ruby-bindings-3.2.4/src/binary/Y2RubyUtils.cc yast2-ruby-bindings-3.2.4/src/binary/Builtin.cc yast2-ruby-bindings-3.2.4/src/binary/Y2RubyReference.cc yast2-ruby-bindings-3.2.4/src/binary/Yast.cc yast2-ruby-bindings-3.2.4/src/binary/CMakeLists.txt yast2-ruby-bindings-3.2.4/src/binary/Y2RubyComponent.cc yast2-ruby-bindings-3.2.4/src/binary/YRuby.h yast2-ruby-bindings-3.2.4/src/binary/Y2CCRuby.h yast2-ruby-bindings-3.2.4/src/binary/YRubyNamespace.cc yast2-ruby-bindings-3.2.4/src/binary/RubyLogger.cc yast2-ruby-bindings-3.2.4/src/binary/YRuby.cc yast2-ruby-bindings-3.2.4/src/binary/Y2RubyReference.h yast2-ruby-bindings-3.2.4/src/binary/Y2RubyClientComponent.cc yast2-ruby-bindings-3.2.4/src/binary/Y2YCPTypeConv.cc yast2-ruby-bindings-3.2.4/src/binary/Y2CCRubyClient.h yast2-ruby-bindings-3.2.4/src/binary/Y2CCRubyClient.cc yast2-ruby-bindings-3.2.4/src/binary/Y2RubyTypeConv.cc yast2-ruby-bindings-3.2.4/src/binary/Y2RubyTypeConv.h yast2-ruby-bindings-3.2.4/src/binary/Y2CCRuby.cc yast2-ruby-bindings-3.2.4/src/binary/Y2RubyComponent.h yast2-ruby-bindings-3.2.4/src/binary/RubyLogger.h yast2-ruby-bindings-3.2.4/src/binary/Y2YCPTypeConv.h yast2-ruby-bindings-3.2.4/src/ruby/ yast2-ruby-bindings-3.2.4/src/ruby/yast.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/ yast2-ruby-bindings-3.2.4/src/ruby/yast/yast.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/break.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/wfm.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/ops.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/profiler.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/arg_ref.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/term.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/builtins.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/core_ext.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/exportable.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/module.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/external.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/i18n.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/y2logger.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/rspec/ yast2-ruby-bindings-3.2.4/src/ruby/yast/rspec/shortcuts.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/rspec/scr.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/rspec/matchers.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/fun_ref.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/scr.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/ui.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/debugger.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/core_ext/ yast2-ruby-bindings-3.2.4/src/ruby/yast/core_ext/ansi_string.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/path.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/logger.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/convert.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/client.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/ui_shortcuts.rb yast2-ruby-bindings-3.2.4/src/ruby/yast/rspec.rb yast2-ruby-bindings-3.2.4/src/ruby/CMakeLists.txt yast2-ruby-bindings-3.2.4/.rubocop.yml yast2-ruby-bindings-3.2.4/Rakefile yast2-ruby-bindings-3.2.4/config.h.in yast2-ruby-bindings-3.2.4/.yardopts yast2-ruby-bindings-3.2.4/RPMNAME yast2-ruby-bindings-3.2.4/cmake/ yast2-ruby-bindings-3.2.4/cmake/modules/ yast2-ruby-bindings-3.2.4/cmake/modules/FindRuby.cmake yast2-ruby-bindings-3.2.4/.travis.yml yast2-ruby-bindings-3.2.4/package/ yast2-ruby-bindings-3.2.4/package/yast2-ruby-bindings.spec yast2-ruby-bindings-3.2.4/package/yast2-ruby-bindings.changes rm http://ci.opensuse.org/job/yast-ruby-bindings-master/ws/YaST:Head/yast2-ruby-bindings/yast2-ruby-bindings.spec rm http://ci.opensuse.org/job/yast-ruby-bindings-master/ws/YaST:Head/yast2-ruby-bindings/yast2-ruby-bindings-3.2.4.tar.bz2 rm http://ci.opensuse.org/job/yast-ruby-bindings-master/ws/YaST:Head/yast2-ruby-bindings/yast2-ruby-bindings.changes cp package/yast2-ruby-bindings.spec http://ci.opensuse.org/job/yast-ruby-bindings-master/ws/YaST:Head/yast2-ruby-bindings cp package/yast2-ruby-bindings-3.2.4.tar.bz2 http://ci.opensuse.org/job/yast-ruby-bindings-master/ws/YaST:Head/yast2-ruby-bindings cp package/yast2-ruby-bindings.changes http://ci.opensuse.org/job/yast-ruby-bindings-master/ws/YaST:Head/yast2-ruby-bindings osc -A 'https://api.opensuse.org/' addremove diff -ur /tmp/unpacked_tarball20170109-15839-91hp3c/yast2-ruby-bindings-3.2.4/package/yast2-ruby-bindings.changes /tmp/unpacked_tarball20170109-15839-w63ye1/yast2-ruby-bindings-3.2.4/package/yast2-ruby-bindings.changes --- /tmp/unpacked_tarball20170109-15839-91hp3c/yast2-ruby-bindings-3.2.4/package/yast2-ruby-bindings.changes 2017-01-09 13:52:04.872270000 +0000 +++ /tmp/unpacked_tarball20170109-15839-w63ye1/yast2-ruby-bindings-3.2.4/package/yast2-ruby-bindings.changes 2017-01-05 09:14:41.720074652 +0000 @@ -1,10 +1,4 @@ ------------------------------------------------------------------- -Mon Jan 9 12:15:20 UTC 2017 - jreidinger@suse.com - -- drop Yast.add_module_dir and Yast.add_include_dir as the only - reliable way is to use Y2DIR env (gh#yast/yast-ruby-bindings#72) - -------------------------------------------------------------------- Wed Jan 4 12:36:06 UTC 2017 - jreidinger@suse.com - Throw exception with more detailed error specification when diff -ur /tmp/unpacked_tarball20170109-15839-91hp3c/yast2-ruby-bindings-3.2.4/src/binary/Yast.cc /tmp/unpacked_tarball20170109-15839-w63ye1/yast2-ruby-bindings-3.2.4/src/binary/Yast.cc --- /tmp/unpacked_tarball20170109-15839-91hp3c/yast2-ruby-bindings-3.2.4/src/binary/Yast.cc 2017-01-09 13:52:04.888270000 +0000 +++ /tmp/unpacked_tarball20170109-15839-w63ye1/yast2-ruby-bindings-3.2.4/src/binary/Yast.cc 2017-01-05 09:14:41.724074652 +0000 @@ -142,7 +142,6 @@ * * iterates all symbols in a namespace and yields the * symbol name and category - * Internal API only for defining methods for given namespace * * call-seq: * each_symbol("namespace") { |symbol,category| ... } @@ -403,6 +402,34 @@ return Qnil; } +/*-------------------------------------------- + * Document-method: add_module_path(path) + * call-seq: + * Yast.add_module_path([String]) -> nil + * + * Adds path to module search path. Useful to test modules from specific directory. + * + * For testing recomended way is to set properly Y2DIR ENV. + */ +static VALUE add_module_path( VALUE self, VALUE path ) +{ + y2debug ("add module path %s", RSTRING_PTR(path)); + YCPPathSearch::addPath (YCPPathSearch::Module, RSTRING_PTR(path)); + return Qnil; +} + +/* + * Adds path to include search path. Useful to test includes from specific directory. + * For testing recomended way is to set properly Y2DIR ENV. + */ +static VALUE +add_include_path( VALUE self, VALUE path ) +{ + y2debug ("add include path %s", RSTRING_PTR(path)); + YCPPathSearch::addPath (YCPPathSearch::Include, RSTRING_PTR(path)); + return Qnil; +} + static VALUE y2dir_paths( VALUE self ) { @@ -580,6 +607,8 @@ rb_define_singleton_method( rb_mYast, "call_yast_function", RUBY_METHOD_FUNC(ycp_module_call_ycp_function), -1); rb_define_singleton_method( rb_mYast, "symbols", RUBY_METHOD_FUNC(ycp_module_symbols), 1); + rb_define_singleton_method( rb_mYast, "add_module_path", RUBY_METHOD_FUNC(add_module_path), 1); + rb_define_singleton_method( rb_mYast, "add_include_path", RUBY_METHOD_FUNC(add_include_path), 1); rb_define_singleton_method( rb_mYast, "y2paths", RUBY_METHOD_FUNC(y2dir_paths), 0); rb_define_method( rb_mYast, "y2_logger", RUBY_METHOD_FUNC(yast_y2_logger), -1); submitting package... osc -A https://api.opensuse.org/ commit -m - drop Yast.add_module_dir and Yast.add_include_dir as the only reliable way is to use Y2DIR env (gh#yast/yast-ruby-bindings#72) Sending yast2-ruby-bindings-3.2.4.tar.bz2 Sending yast2-ruby-bindings.changes Transmitting file data .. Committed revision 249. Waiting for server side source service run At revision 249. rm -rf YaST:Head osc -A 'https://api.opensuse.org/' --traceback --verbose checkout 'YaST:Head' yast2-ruby-bindings New package submitted to YaST:Head cleaning makeurl: https://api.opensuse.org ['source', 'YaST:Head', 'yast2-ruby-bindings', '_meta'] {} makeurl: https://api.opensuse.org ['source', 'YaST:Head', 'yast2-ruby-bindings'] {'rev': 'latest'} A YaST:Head makeurl: https://api.opensuse.org ['source', 'YaST:Head'] {} A YaST:Head/yast2-ruby-bindings makeurl: https://api.opensuse.org ['source', 'YaST:Head'] {} makeurl: https://api.opensuse.org ['source', 'YaST:Head', 'yast2-ruby-bindings'] {'rev': 'latest'} makeurl: https://api.opensuse.org ['source', 'YaST:Head', 'yast2-ruby-bindings', 'yast2-ruby-bindings-3.2.4.tar.bz2'] {'rev': '249'} A YaST:Head/yast2-ruby-bindings/yast2-ruby-bindings-3.2.4.tar.bz2 makeurl: https://api.opensuse.org ['source', 'YaST:Head', 'yast2-ruby-bindings', 'yast2-ruby-bindings.changes'] {'rev': '249'} A YaST:Head/yast2-ruby-bindings/yast2-ruby-bindings.changes makeurl: https://api.opensuse.org ['source', 'YaST:Head', 'yast2-ruby-bindings', 'yast2-ruby-bindings.spec'] {'rev': '249'} A YaST:Head/yast2-ruby-bindings/yast2-ruby-bindings.spec makeurl: https://api.opensuse.org ['source', 'YaST:Head', 'yast2-ruby-bindings', '_meta'] {} At revision 249. osc -A 'https://api.opensuse.org/' cat 'openSUSE:Factory' 'yast2-ruby-bindings' 'yast2-ruby-bindings.spec' > /tmp/yast-rake20170109-15839-1ni7h0u Version has been changed in *.spec file yes | osc -A 'https://api.opensuse.org/' submitreq --no-cleanup 'YaST:Head' 'yast2-ruby-bindings' 'openSUSE:Factory' -m 'submit new version 3.2.4' --yes Package yast2-ruby-bindings has a failed source service Please fix this first rm -rf YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.opensuse.org/' s...] Tasks: TOP => osc:sr (See full trace by running task with --trace) cleaning Build step 'Execute shell' marked build as failure
participants (1)
-
admin@opensuse.org