See <http://ci.opensuse.org/job/obs_master_testsuite_api/2000/changes> Changes: [Stephan Kulow] [webui] another fix for forwarding request [Stephan Kulow] [webui] fix edit_comment in project status [Stephan Kulow] [webui] another activexml fix [Stephan Kulow] [webui] we always cache all revisions meanwhile [Stephan Kulow] [webui] back to get_package ------------------------------------------ [...truncated 25 lines...] # src/api/test/reports/ nothing added to commit but untracked files present (use "git add" to track) + echo 'Setup git submodules' Setup git submodules + git submodule init + git submodule update + echo 'Setup backend configuration template' Setup backend configuration template + sed -i -e 's|my $hostname = .*$|my $hostname = '\''localhost'\'';|' -e 's|our $bsuser = '\''obsrun'\'';|our $bsuser = '\''jenkins'\'';|' -e 's|our $bsgroup = '\''obsrun'\'';|our $bsgroup = '\''jenkins'\'';|' src/backend/BSConfig.pm.template + cp src/backend/BSConfig.pm.template src/backend/BSConfig.pm + echo 'Set environment variables' Set environment variables + export RAILS_ENV=test + RAILS_ENV=test + ret=0 + setup_api + echo 'Enter API rails root' Enter API rails root + cd src/api + echo 'Setup database configuration' Setup database configuration + cp config/database.yml.example config/database.yml + sed -i 's|database: api|database: ci_api|' config/database.yml + echo 'Setup additional configuration' Setup additional configuration + cp config/options.yml.example config/options.yml + cp config/thinking_sphinx.yml.example config/thinking_sphinx.yml + chmod a+x script/start_test_backend + chmod a+x script/start_test_api + echo 'Initialize test database, load seed data' Initialize test database, load seed data + bundle exec rake db:drop db:create db:setup --trace ** Invoke db:drop (first_time) ** Invoke db:load_config (first_time) ** Execute db:load_config ** Execute db:drop ** Invoke db:create (first_time) ** Invoke db:load_config ** Execute db:create ** Invoke db:setup (first_time) ** Execute db:setup ** Invoke db:structure:load (first_time) ** Invoke environment (first_time) ** Execute environment ** Invoke db:load_config ** Execute db:structure:load ** Invoke db:seed (first_time) ** Execute db:seed ** Invoke db:abort_if_pending_migrations (first_time) ** Invoke environment ** Execute db:abort_if_pending_migrations Seeding architectures table... Seeding roles table... Seeding users table... Seeding roles_users table... Seeding static_permissions table... Seeding static permissions for admin role in roles_static_permissions table... Seeding static permissions for maintainer role in roles_static_permissions table... Seeding static permissions for reader role in roles_static_permissions table... Seeding static permissions for downloader role in roles_static_permissions table... Seeding attrib_namespaces table... Seeding attrib_types table... Seeding db_project_type table by loading test fixtures Seeding issue trackers ... + rm -rf log/backend_access.log log/test.log log/test.searchd.log log/test.searchd.query.log tmp/cache tmp/sessions tmp/sockets + cd ../.. + cd docs/api + make cd api; make apidocs make[1]: Entering directory `<http://ci.opensuse.org/job/obs_master_testsuite_api/ws/docs/api/api'> BUNDLE_GEMFILE=../../../src/api/Gemfile bundle exec ../restility/bin/rest_doc api.txt --html -o ../html XML Example 'password.xml' is missing. XML Example 'tokenlist.xml' is missing. XML Example 'attribute.xml' is missing. XML Example 'pattern.xml' is missing. XML Example 'collection.xml' is missing. XML Example 'attribute_namespace_meta_data.xml' is missing. XML Example 'attribute_meta.xml' is missing. XML Example 'attribute_meta_data.xml' is missing. XML Example 'buildreason.xml' is missing. XML Example 'buildstatus.xml' is missing. XML Example 'buildinfo.xml' is missing. XML Example 'builddepinfo.xml' is missing. XML Example 'ymp.xml' is missing. XML Schema 'password.xsd' is missing. XML Schema 'tokenlist.xsd' is missing. XML Schema 'attribute.xsd' is missing. XML Schema 'revisionlist.xsd' is missing. XML Schema 'collection.xsd' is missing. XML Schema 'attribute_namespace_meta_data.xsd' is missing. XML Schema 'attribute_meta.xsd' is missing. XML Schema 'attribute_meta_data.xsd' is missing. XML Schema 'workerstatus.xsd' is missing. XML Schema 'buildresult.xsd' is missing. XML Schema 'buildreason.xsd' is missing. XML Schema 'buildstatus.xsd' is missing. XML Schema 'buildinfo.xsd' is missing. XML Schema 'binarylist.xsd' is missing. XML Schema 'builddepinfo.xsd' is missing. XML Schema 'ymp.xsd' is missing. XML Schema 'status_message.xsd' is missing. Written ../html/index.html. make[1]: Leaving directory `<http://ci.opensuse.org/job/obs_master_testsuite_api/ws/docs/api/api'> + cd ../.. + cd src/api + echo 'Invoke rake' Invoke rake + bundle exec rake ci:setup:minitest test:api test:webui CI_REPORTS=results --trace ** Invoke ci:setup:minitest (first_time) ** Execute ci:setup:minitest rm -rf results ** Invoke test:api (first_time) ** Execute test:api Run options: --seed 3141 # Running tests: .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Finished tests in 366.638258s, 1.3910 tests/s, 14.0411 assertions/s. 510 tests, 5148 assertions, 0 failures, 0 errors, 0 skips kill backend: 20308 ** Invoke test:webui (first_time) ** Execute test:webui Run options: --seed 28727 # Running tests: ./usr/lib64/ruby/gems/2.0.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:48:in `write': Broken pipe - <STDOUT> (Errno::EPIPE) from /usr/lib64/ruby/gems/2.0.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:48:in `puts' from /usr/lib64/ruby/gems/2.0.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:48:in `puts' from /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:849:in `puts' from /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1069:in `_run' from /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:1059:in `run' from /usr/lib64/ruby/gems/2.0.0/gems/minitest-4.7.4/lib/minitest/unit.rb:795:in `block in autorun' /usr/lib64/ruby/2.0.0/fileutils.rb:349:in `symlink': No such file or directory - (<http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/../backend/bs_srcserver,> <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/tmp/backend_config/bs_srcserver)> (Errno::ENOENT) from /usr/lib64/ruby/2.0.0/fileutils.rb:349:in `block in ln_s' from /usr/lib64/ruby/2.0.0/fileutils.rb:1567:in `fu_each_src_dest0' from /usr/lib64/ruby/2.0.0/fileutils.rb:347:in `ln_s' from <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/script/start_test_backend>:90:in `block in <main>' from <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/script/start_test_backend>:89:in `each' from <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/script/start_test_backend>:89:in `<main>' EStarting test API at port 3203 ... .....................................................................................................................................................................................E... Finished tests in 525.696596s, 0.3557 tests/s, 3.2243 assertions/s. 1) Error: test_add_all_admin_permited_package_attributes(Webui::AddAttributesTest): RuntimeError: Backend died lib/opensuse/backend.rb:210:in `start_test_backend' test/test_helper.rb:128:in `start_test_api' test/test_helper.rb:241:in `block in <class:IntegrationTest>' activesupport (4.0.1) lib/active_support/callbacks.rb:397:in `_run__4091094743524336688__setup__callbacks' activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks' activesupport (4.0.1) lib/active_support/testing/setup_and_teardown.rb:26:in `before_setup' activerecord (4.0.1) lib/active_record/fixtures.rb:713:in `before_setup' minitest (4.7.4) lib/minitest/unit.rb:1255:in `run' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:175:in `run_test' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:102:in `_run_test' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:93:in `block in _run_suite' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:92:in `each' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:92:in `_run_suite' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:83:in `block in _run_suites' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:83:in `map' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:83:in `_run_suites' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:75:in `_run_anything' minitest (4.7.4) lib/minitest/unit.rb:1085:in `run_tests' minitest (4.7.4) lib/minitest/unit.rb:1072:in `block in _run' minitest (4.7.4) lib/minitest/unit.rb:1071:in `each' minitest (4.7.4) lib/minitest/unit.rb:1071:in `_run' minitest (4.7.4) lib/minitest/unit.rb:1059:in `run' minitest (4.7.4) lib/minitest/unit.rb:795:in `block in autorun' 2) Error: test_spider_anonymously(Webui::SpiderTest): RuntimeError: Found Status code 404 test/functional/webui/spider_test.rb:87:in `raiseit' test/functional/webui/spider_test.rb:100:in `crawl' test/functional/webui/spider_test.rb:151:in `block in <class:SpiderTest>' minitest (4.7.4) lib/minitest/unit.rb:1258:in `run' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:175:in `run_test' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:102:in `_run_test' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:93:in `block in _run_suite' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:92:in `each' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:92:in `_run_suite' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:83:in `block in _run_suites' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:83:in `map' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:83:in `_run_suites' ci_reporter (1.9.0) lib/ci/reporter/minitest.rb:75:in `_run_anything' minitest (4.7.4) lib/minitest/unit.rb:1085:in `run_tests' minitest (4.7.4) lib/minitest/unit.rb:1072:in `block in _run' minitest (4.7.4) lib/minitest/unit.rb:1071:in `each' minitest (4.7.4) lib/minitest/unit.rb:1071:in `_run' minitest (4.7.4) lib/minitest/unit.rb:1059:in `run' minitest (4.7.4) lib/minitest/unit.rb:795:in `block in autorun' 187 tests, 1695 assertions, 0 failures, 2 errors, 0 skips Killing test API with pid: 29621 rake aborted! Command failed with status (1): [ruby -I"lib:test" -I"/usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib" "/usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/functional/webui/add_repo_test.rb" "test/functional/webui/apidocs_controller_test.rb" "test/functional/webui/apiroutes_test.rb" "test/functional/webui/application_controller_test.rb" "test/functional/webui/attributes_test.rb" "test/functional/webui/configuration_test.rb" "test/functional/webui/create_test.rb" "test/functional/webui/group_controller_test.rb" "test/functional/webui/login_test.rb" "test/functional/webui/main_controller_test.rb" "test/functional/webui/maintenance_workflow_test.rb" "test/functional/webui/messages_test.rb" "test/functional/webui/monitor_controller_test.rb" "test/functional/webui/owner_search_test.rb" "test/functional/webui/package_branch_test.rb" "test/functional/webui/package_controller_test.rb" "test/functional/webui/package_create_test.rb" "test/functional/webui/package_edit_source_test.rb" "test/functional/webui/package_edit_test.rb" "test/functional/webui/patchinfo_create_test.rb" "test/functional/webui/project_controller_test.rb" "test/functional/webui/project_create_test.rb" "test/functional/webui/project_edit_test.rb" "test/functional/webui/request_controller_test.rb" "test/functional/webui/search_controller_test.rb" "test/functional/webui/signup_test.rb" "test/functional/webui/spider_test.rb" "test/functional/webui/user_controller_test.rb" "test/functional/webui/users_test.rb" "test/functional/webui/watchlists_test.rb" "test/unit/webui/application_helper_test.rb" "test/unit/webui/project_helper_test.rb" "test/unit/webui/request_helper_test.rb" /usr/lib64/ruby/gems/2.0.0/gems/ci_reporter-1.9.0/lib/ci/reporter/rake/minitest_loader.rb] /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/testtask.rb:106:in `block (3 levels) in define' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `call' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `sh' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:37:in `sh' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils.rb:84:in `ruby' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:37:in `ruby' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/testtask.rb:102:in `block (2 levels) in define' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:58:in `verbose' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/testtask.rb:98:in `block in define' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `call' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `each' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain' /usr/lib64/ruby/2.0.0/monitor.rb:211:in `mon_synchronize' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `each' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:75:in `run' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/bin/rake:33:in `<top (required)>' /usr/bin/rake:23:in `load' /usr/bin/rake:23:in `<main>' Tasks: TOP => test:webui + ret=1 + cd ../.. + cleanup + echo 'Killing backend processes' Killing backend processes + fuser -v <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/> + egrep 'perl|ruby' USER PID ACCESS COMMAND <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/>: ci ..c.. egrep ci ..c.. fuser ci ..c.. sh ci ..c.. sh + exit 1 Build step 'Execute shell' marked build as failure [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released -- To unsubscribe, e-mail: obs-tests+unsubscribe@opensuse.org To contact the owner, e-mail: obs-tests+owner@opensuse.org