[obs-tests] Build failed in Jenkins: obs_master_testsuite_api #2278
See http://ci.opensuse.org/job/obs_master_testsuite_api/2278/changes
Changes:
[Adrian Schröter] [backend] catch missing shortsummary definitions early
[Adrian Schröter] [backend] fix remote view=info for source packages
[Adrian Schröter] [backend] implement --fix options in bs_check
[Adrian Schröter] [backend] support fetching project _result from remote
------------------------------------------
Started by upstream project "obs_master_check_deps" build number 1369
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on obs_master_deps_chroot in workspace http://ci.opensuse.org/job/obs_master_testsuite_api/ws/
Fetching changes from the remote Git repository
Fetching upstream changes from git://github.com/openSUSE/open-build-service.git
Checking out Revision 6bd04663074efc43c1420014e354c46671b8997f (origin/master)
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[obs_master_testsuite_api] $ /bin/sh -xe /tmp/hudson2565621606037557109.sh
+ sh dist/ci/obs_testsuite_api.sh
++ dirname dist/ci/obs_testsuite_api.sh
+ . dist/ci/obs_testsuite_common.sh
+ setup_git
+ echo 'Checking status'
Checking status
+ git status
# HEAD detached at 6bd0466
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/api/results/
# 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 Example 'projectresult.xml' is missing.
XML Schema 'list' 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 'projectresult.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/backend
+ echo 'Invoke backend tests'
Invoke backend tests
+ bash testdata/test_dispatcher
.............................................................
+ 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 30054
# Running tests:
....................................................F...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.
Finished tests in 403.385129s, 1.3535 tests/s, 13.6916 assertions/s.
1) Failure:
test_remoteinstance(BuildControllerTest) [http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/test/function...:494]:
Expected response to be a <404>, but was <200>.
Expected: 404
Actual: 200
2) Failure:
test_fsck_backend(ZZZPostConsistency) [http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/test/function...:61]:
Expected true to be nil.
546 tests, 5523 assertions, 2 failures, 0 errors, 0 skips
kill backend: 8625
rake aborted!
Command failed with status (1): [ruby -I"lib:test" -I"/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib" "/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/rake_test_loader.rb" "test/functional/aaa_pre_consistency_test.rb" "test/functional/about_controller_test.rb" "test/functional/architectures_controller_test.rb" "test/functional/attributes_test.rb" "test/functional/backend_test.rb" "test/functional/branch_publish_flag_test.rb" "test/functional/build_controller_test.rb" "test/functional/comments_controller_test.rb" "test/functional/configurations_controller_test.rb" "test/functional/cross_build_test.rb" "test/functional/distributions_controller_test.rb" "test/functional/group_request_test.rb" "test/functional/group_test.rb" "test/functional/interconnect_test.rb" "test/functional/issue_controller_test.rb" "test/functional/issue_trackers_controller_test.rb" "test/functional/main_controller_test.rb" "test/functional/maintenance_test.rb" "test/functional/message_controller_test.rb" "test/functional/person_controller_test.rb" "test/functional/product_test.rb" "test/functional/public_controller_test.rb" "test/functional/published_controller_test.rb" "test/functional/read_permission_test.rb" "test/functional/release_management_test.rb" "test/functional/request_controller_test.rb" "test/functional/request_events_test.rb" "test/functional/search_controller_test.rb" "test/functional/source_controller_test.rb" "test/functional/source_services_test.rb" "test/functional/statistics_controller_test.rb" "test/functional/status_controller_test.rb" "test/functional/tag_controller_test.rb" "test/functional/wizard_controller_test.rb" "test/functional/zzz_post_consistency_test.rb" "test/integration/last_events_test.rb" "test/models/backend_info_test.rb" "test/models/event_test.rb" "test/models/full_text_search_test.rb" "test/models/project_log_entry_test.rb" "test/models/project_log_rotate_test.rb" "test/models/relationship_test.rb" "test/models/status_history_test.rb" "test/unit/attribute_test.rb" "test/unit/bs_request_test.rb" "test/unit/build_flag_test.rb" "test/unit/code_quality_test.rb" "test/unit/comment_test.rb" "test/unit/db_project_type_test.rb" "test/unit/debug_flag_test.rb" "test/unit/event_mailer_test.rb" "test/unit/flag_test.rb" "test/unit/groups_users_test.rb" "test/unit/ichain_notifier_test.rb" "test/unit/issue_test.rb" "test/unit/linked_project_test.rb" "test/unit/package_group_role_relationship_test.rb" "test/unit/package_test.rb" "test/unit/project_test.rb" "test/unit/public_helper_test.rb" "test/unit/publish_flag_test.rb" "test/unit/role_test.rb" "test/unit/schema_test.rb" "test/unit/status_helper_test.rb" "test/unit/status_message_test.rb" "test/unit/tag_test.rb" "test/unit/tagcloud_test.rb" "test/unit/user_test.rb" "test/unit/validator_test.rb" "test/unit/watched_project_test.rb" "test/unit/worker_status_test.rb" /usr/lib64/ruby/gems/2.1.0/gems/ci_reporter-1.9.1/lib/ci/reporter/rake/minitest_loader.rb]
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:106:in `block (3 levels) in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:45:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:45:in `sh'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:37:in `sh'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:84:in `ruby'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:37:in `ruby'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:102:in `block (2 levels) in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:58:in `verbose'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:98:in `block in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `block in execute'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `each'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `execute'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/usr/lib64/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:161:in `invoke'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:149:in `invoke_task'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `each'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block in top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:115:in `run_with_threads'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:100:in `top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:78:in `block in run'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:75:in `run'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/bin/rake:33:in `
See http://ci.opensuse.org/job/obs_master_testsuite_api/2279/changes
Changes:
[Adrian Schröter] [backend] move and fix interconnect test case
------------------------------------------
Started by upstream project "obs_master_check_deps" build number 1370
originally caused by:
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on obs_master_deps_chroot in workspace http://ci.opensuse.org/job/obs_master_testsuite_api/ws/
Fetching changes from the remote Git repository
Fetching upstream changes from git://github.com/openSUSE/open-build-service.git
Checking out Revision b529cac8d0ac5302f8ae2f82ada53d2c7d26c3be (origin/master)
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
[obs_master_testsuite_api] $ /bin/sh -xe /tmp/hudson6353263466816548973.sh
+ sh dist/ci/obs_testsuite_api.sh
++ dirname dist/ci/obs_testsuite_api.sh
+ . dist/ci/obs_testsuite_common.sh
+ setup_git
+ echo 'Checking status'
Checking status
+ git status
# HEAD detached at b529cac
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/api/results/
# 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 Example 'projectresult.xml' is missing.
XML Schema 'list' 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 'projectresult.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/backend
+ echo 'Invoke backend tests'
Invoke backend tests
+ bash testdata/test_dispatcher
.............................................................
+ 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 28676
# Running tests:
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.
Finished tests in 413.024056s, 1.3195 tests/s, 13.3721 assertions/s.
1) Failure:
test_fsck_backend(ZZZPostConsistency) [http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/test/function...:61]:
Expected true to be nil.
545 tests, 5523 assertions, 1 failures, 0 errors, 0 skips
kill backend: 21219
rake aborted!
Command failed with status (1): [ruby -I"lib:test" -I"/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib" "/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/rake_test_loader.rb" "test/functional/aaa_pre_consistency_test.rb" "test/functional/about_controller_test.rb" "test/functional/architectures_controller_test.rb" "test/functional/attributes_test.rb" "test/functional/backend_test.rb" "test/functional/branch_publish_flag_test.rb" "test/functional/build_controller_test.rb" "test/functional/comments_controller_test.rb" "test/functional/configurations_controller_test.rb" "test/functional/cross_build_test.rb" "test/functional/distributions_controller_test.rb" "test/functional/group_request_test.rb" "test/functional/group_test.rb" "test/functional/interconnect_test.rb" "test/functional/issue_controller_test.rb" "test/functional/issue_trackers_controller_test.rb" "test/functional/main_controller_test.rb" "test/functional/maintenance_test.rb" "test/functional/message_controller_test.rb" "test/functional/person_controller_test.rb" "test/functional/product_test.rb" "test/functional/public_controller_test.rb" "test/functional/published_controller_test.rb" "test/functional/read_permission_test.rb" "test/functional/release_management_test.rb" "test/functional/request_controller_test.rb" "test/functional/request_events_test.rb" "test/functional/search_controller_test.rb" "test/functional/source_controller_test.rb" "test/functional/source_services_test.rb" "test/functional/statistics_controller_test.rb" "test/functional/status_controller_test.rb" "test/functional/tag_controller_test.rb" "test/functional/wizard_controller_test.rb" "test/functional/zzz_post_consistency_test.rb" "test/integration/last_events_test.rb" "test/models/backend_info_test.rb" "test/models/event_test.rb" "test/models/full_text_search_test.rb" "test/models/project_log_entry_test.rb" "test/models/project_log_rotate_test.rb" "test/models/relationship_test.rb" "test/models/status_history_test.rb" "test/unit/attribute_test.rb" "test/unit/bs_request_test.rb" "test/unit/build_flag_test.rb" "test/unit/code_quality_test.rb" "test/unit/comment_test.rb" "test/unit/db_project_type_test.rb" "test/unit/debug_flag_test.rb" "test/unit/event_mailer_test.rb" "test/unit/flag_test.rb" "test/unit/groups_users_test.rb" "test/unit/ichain_notifier_test.rb" "test/unit/issue_test.rb" "test/unit/linked_project_test.rb" "test/unit/package_group_role_relationship_test.rb" "test/unit/package_test.rb" "test/unit/project_test.rb" "test/unit/public_helper_test.rb" "test/unit/publish_flag_test.rb" "test/unit/role_test.rb" "test/unit/schema_test.rb" "test/unit/status_helper_test.rb" "test/unit/status_message_test.rb" "test/unit/tag_test.rb" "test/unit/tagcloud_test.rb" "test/unit/user_test.rb" "test/unit/validator_test.rb" "test/unit/watched_project_test.rb" "test/unit/worker_status_test.rb" /usr/lib64/ruby/gems/2.1.0/gems/ci_reporter-1.9.1/lib/ci/reporter/rake/minitest_loader.rb]
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:106:in `block (3 levels) in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:45:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:45:in `sh'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:37:in `sh'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:84:in `ruby'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:37:in `ruby'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:102:in `block (2 levels) in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:58:in `verbose'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:98:in `block in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `block in execute'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `each'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `execute'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/usr/lib64/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:161:in `invoke'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:149:in `invoke_task'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `each'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block in top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:115:in `run_with_threads'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:100:in `top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:78:in `block in run'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:75:in `run'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/bin/rake:33:in `
See http://ci.opensuse.org/job/obs_master_testsuite_api/2280/changes
Changes:
[Adrian Schröter] [dist] add a note how to fix searchd for non-appliance users
[Adrian Schröter] [api] forbid creation of set_bugowner action without person and group
[Adrian Schröter] [api] follow changed error message of bs_check
------------------------------------------
[...truncated 15 lines...]
+ echo 'Checking status'
Checking status
+ git status
# HEAD detached at 170bb6f
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/api/results/
# 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 Example 'projectresult.xml' is missing.
XML Schema 'list' 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 'projectresult.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/backend
+ echo 'Invoke backend tests'
Invoke backend tests
+ bash testdata/test_dispatcher
.............................................................
+ 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 38524
# Running tests:
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished tests in 405.827018s, 1.3454 tests/s, 13.6216 assertions/s.
546 tests, 5528 assertions, 0 failures, 0 errors, 0 skips
kill backend: 32729
** Invoke test:webui (first_time)
** Execute test:webui
Name "BSConfig::publishedhook_use_regex" used only once: possible typo at ./bs_publish line 1856.
/usr/lib64/ruby/gems/2.1.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:48:in `write': Broken pipe @ io_write - <STDOUT> (Errno::EPIPE)
from /usr/lib64/ruby/gems/2.1.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:48:in `puts'
from /usr/lib64/ruby/gems/2.1.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:48:in `puts'
from /usr/lib64/ruby/2.1.0/minitest/unit.rb:856:in `puts'
from /usr/lib64/ruby/2.1.0/minitest/unit.rb:1076:in `_run'
from /usr/lib64/ruby/2.1.0/minitest/unit.rb:1066:in `run'
from /usr/lib64/ruby/2.1.0/minitest/unit.rb:802:in `block in autorun'
Run options: --seed 644
# Running tests:
.Starting test API at port 3203 ...
.......................................................E.................................................................................................................................................Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
.Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
......
Finished tests in 577.003953s, 0.3622 tests/s, 3.3379 assertions/s.
1) Error:
test_reload_monitor(Webui::MonitorControllerTest):
Capybara::ExpectationNotMet: expected to find xpath "//div[text()=\"May\"]" but there were no matches
capybara (2.2.1) lib/capybara/node/matchers.rb:91:in `block in assert_selector'
capybara (2.2.1) lib/capybara/node/base.rb:81:in `synchronize'
capybara (2.2.1) lib/capybara/node/matchers.rb:89:in `assert_selector'
capybara (2.2.1) lib/capybara/session.rb:396:in `block (2 levels) in class:Session'
capybara (2.2.1) lib/capybara/rspec/matchers.rb:19:in `matches?'
capybara_minitest_spec (1.0.1) lib/capybara_minitest_spec.rb:37:in `block in define_assertion'
(eval):6:in `must_have_selector'
test/functional/webui/monitor_controller_test.rb:43:in `block in class:MonitorControllerTest'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1265:in `run'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:175:in `run_test'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:102:in `_run_test'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:93:in `block in _run_suite'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:92:in `each'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:92:in `_run_suite'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:83:in `block in _run_suites'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:83:in `map'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:83:in `_run_suites'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:75:in `_run_anything'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1092:in `run_tests'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1079:in `block in _run'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1078:in `each'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1078:in `_run'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1066:in `run'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:802:in `block in autorun'
209 tests, 1926 assertions, 0 failures, 1 errors, 0 skips
Killing test API with pid: 11393
kill backend: 11039
rake aborted!
Command failed with status (1): [ruby -I"lib:test" -I"/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib" "/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/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/commits_feed_test.rb" "test/functional/webui/configuration_test.rb" "test/functional/webui/create_test.rb" "test/functional/webui/csrf_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.1.0/gems/ci_reporter-1.9.1/lib/ci/reporter/rake/minitest_loader.rb]
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:106:in `block (3 levels) in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:45:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:45:in `sh'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:37:in `sh'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:84:in `ruby'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:37:in `ruby'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:102:in `block (2 levels) in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:58:in `verbose'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:98:in `block in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `block in execute'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `each'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `execute'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/usr/lib64/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:161:in `invoke'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:149:in `invoke_task'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `each'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block in top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:115:in `run_with_threads'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:100:in `top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:78:in `block in run'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:75:in `run'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/bin/rake:33:in `
See http://ci.opensuse.org/job/obs_master_testsuite_api/2281/changes
Changes:
[Adrian Schröter] [api] fix set_bugowner operation using groups
[Adrian Schröter] [api] fix english typos in 403 and 500 error page
------------------------------------------
[...truncated 15 lines...]
+ echo 'Checking status'
Checking status
+ git status
# HEAD detached at 413fd5d
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# src/api/results/
# 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 Example 'projectresult.xml' is missing.
XML Schema 'list' 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 'projectresult.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/backend
+ echo 'Invoke backend tests'
Invoke backend tests
+ bash testdata/test_dispatcher
.............................................................
+ 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 11463
# Running tests:
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished tests in 404.162993s, 1.3509 tests/s, 13.7024 assertions/s.
546 tests, 5538 assertions, 0 failures, 0 errors, 0 skips
kill backend: 20524
** Invoke test:webui (first_time)
** Execute test:webui
Name "BSConfig::publishedhook_use_regex" used only once: possible typo at ./bs_publish line 1856.
/usr/lib64/ruby/gems/2.1.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:48:in `write': Broken pipe @ io_write - <STDOUT> (Errno::EPIPE)
from /usr/lib64/ruby/gems/2.1.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:48:in `puts'
from /usr/lib64/ruby/gems/2.1.0/gems/minitest-colorize-0.0.5/lib/minitest/colorize.rb:48:in `puts'
from /usr/lib64/ruby/2.1.0/minitest/unit.rb:856:in `puts'
from /usr/lib64/ruby/2.1.0/minitest/unit.rb:1076:in `_run'
from /usr/lib64/ruby/2.1.0/minitest/unit.rb:1066:in `run'
from /usr/lib64/ruby/2.1.0/minitest/unit.rb:802:in `block in autorun'
Run options: --seed 37754
# Running tests:
.Starting test API at port 3203 ...
.......................................................E.................................................................................................................................................Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
.Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
Argument "" isn't numeric in subtraction (-) at ./mkdiststats line 260.
......
Finished tests in 577.252316s, 0.3621 tests/s, 3.3365 assertions/s.
1) Error:
test_reload_monitor(Webui::MonitorControllerTest):
Capybara::ExpectationNotMet: expected to find xpath "//div[text()=\"May\"]" but there were no matches
capybara (2.2.1) lib/capybara/node/matchers.rb:91:in `block in assert_selector'
capybara (2.2.1) lib/capybara/node/base.rb:81:in `synchronize'
capybara (2.2.1) lib/capybara/node/matchers.rb:89:in `assert_selector'
capybara (2.2.1) lib/capybara/session.rb:396:in `block (2 levels) in class:Session'
capybara (2.2.1) lib/capybara/rspec/matchers.rb:19:in `matches?'
capybara_minitest_spec (1.0.1) lib/capybara_minitest_spec.rb:37:in `block in define_assertion'
(eval):6:in `must_have_selector'
test/functional/webui/monitor_controller_test.rb:43:in `block in class:MonitorControllerTest'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1265:in `run'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:175:in `run_test'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:102:in `_run_test'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:93:in `block in _run_suite'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:92:in `each'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:92:in `_run_suite'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:83:in `block in _run_suites'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:83:in `map'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:83:in `_run_suites'
ci_reporter (1.9.1) lib/ci/reporter/minitest.rb:75:in `_run_anything'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1092:in `run_tests'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1079:in `block in _run'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1078:in `each'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1078:in `_run'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:1066:in `run'
/usr/lib64/ruby/2.1.0/minitest/unit.rb:802:in `block in autorun'
209 tests, 1926 assertions, 0 failures, 1 errors, 0 skips
Killing test API with pid: 31390
kill backend: 31039
rake aborted!
Command failed with status (1): [ruby -I"lib:test" -I"/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib" "/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/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/commits_feed_test.rb" "test/functional/webui/configuration_test.rb" "test/functional/webui/create_test.rb" "test/functional/webui/csrf_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.1.0/gems/ci_reporter-1.9.1/lib/ci/reporter/rake/minitest_loader.rb]
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:106:in `block (3 levels) in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:45:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:45:in `sh'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:37:in `sh'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils.rb:84:in `ruby'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:37:in `ruby'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:102:in `block (2 levels) in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/file_utils_ext.rb:58:in `verbose'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/testtask.rb:98:in `block in define'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:236:in `block in execute'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `each'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:231:in `execute'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/usr/lib64/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/task.rb:161:in `invoke'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:149:in `invoke_task'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `each'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:106:in `block in top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:115:in `run_with_threads'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:100:in `top_level'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:78:in `block in run'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/lib/rake/application.rb:75:in `run'
/usr/lib64/ruby/gems/2.1.0/gems/rake-10.1.1/bin/rake:33:in `
See http://ci.opensuse.org/job/obs_master_testsuite_api/2282/changes -- To unsubscribe, e-mail: obs-tests+unsubscribe@opensuse.org To contact the owner, e-mail: obs-tests+owner@opensuse.org
participants (1)
-
admin@opensuse.org