[obs-tests] Build failed in Jenkins: obs_master_testsuite_webui #1096
See <http://ci.opensuse.org/job/obs_master_testsuite_webui/1096/changes> Changes: [Stephan Kulow] [api] refactor BsRequestCollection further [Stephan Kulow] [webui] remove unused code ------------------------------------------ Started by user Stephan Kulow [EnvInject] - Loading node environment variables. Building remotely on obs_master_deps_chroot in workspace <http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/> Checkout:obs_master_testsuite_webui / <http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/> - hudson.remoting.Channel@476b476b:obs_master_deps_chroot Using strategy: Default Last Built Revision: Revision d38a47897ae0af08773bbbc0cb984bc499ff1893 (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from origin Commencing build of Revision c23e43b842770b294f4b7448bbcf0cbadfbd1395 (origin/master) Checking out Revision c23e43b842770b294f4b7448bbcf0cbadfbd1395 (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_webui] $ /bin/sh -xe /tmp/hudson7435550615433246895.sh + sh dist/ci/obs_testsuite_webui.sh ++ dirname dist/ci/obs_testsuite_webui.sh + . dist/ci/obs_testsuite_common.sh + setup_git + echo 'Checking status' Checking status + git status # Not currently on any branch. # Untracked files: # (use "git add <file>..." to include in what will be committed) # # src/webui/EmptySource1.c # src/webui/HomeSourceFile2.cc # src/webui/MySourceFile.cc 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 + chmod a+x script/start_test_backend + 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 Mysql2::Error: Server shutdown in progress: DROP DATABASE IF EXISTS `ci_api_test` /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:286:in `query' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:286:in `block in execute' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:425:in `block in log' /usr/lib64/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:420:in `log' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:286:in `execute' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:220:in `execute' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:392:in `drop_database' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/tasks/mysql_database_tasks.rb:41:in `drop' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/tasks/database_tasks.rb:97:in `drop' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/tasks/database_tasks.rb:109:in `block in drop_current' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/tasks/database_tasks.rb:182:in `block in each_current_configuration' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/tasks/database_tasks.rb:181:in `each' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/tasks/database_tasks.rb:181:in `each_current_configuration' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/tasks/database_tasks.rb:108:in `drop_current' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/railties/databases.rake:35:in `block (2 levels) in <top (required)>' /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>' Couldn't drop ci_api_test ** Invoke db:create (first_time) ** Invoke db:load_config ** Execute db:create Couldn't create database for {"adapter"=>"mysql2", "database"=>"ci_api_test", "username"=>"root", "password"=>"opensuse", "encoding"=>"utf8"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"} (If you set the charset manually, make sure you have a matching collation) ** Invoke db:setup (first_time) ** Execute db:setup ** Invoke db:structure:load (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) /usr/lib64/ruby/gems/2.0.0/gems/mysql2-0.3.13/lib/mysql2/client.rb:58:in `connect' /usr/lib64/ruby/gems/2.0.0/gems/mysql2-0.3.13/lib/mysql2/client.rb:58:in `initialize' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `new' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in `mysql2_connection' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout' /usr/lib64/ruby/2.0.0/monitor.rb:211:in `mon_synchronize' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection' /usr/lib64/ruby/2.0.0/monitor.rb:211:in `mon_synchronize' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_handling.rb:79:in `retrieve_connection' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_handling.rb:53:in `connection' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/model_schema.rb:208:in `columns' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/model_schema.rb:247:in `column_names' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation/delegation.rb:60:in `block in method_missing' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation.rb:270:in `scoping' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation/delegation.rb:60:in `method_missing' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation/calculations.rb:152:in `block in pluck' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation/calculations.rb:151:in `map!' /usr/lib64/ruby/gems/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation/calculations.rb:151:in `pluck' <http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/src/api/app/models/configuration.rb>:64:in `errbit_url' <http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/src/api/config/initializers/hoptoad.rb>:4:in `block in <top (required)>' /usr/lib64/ruby/gems/2.0.0/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier.rb:80:in `configure' <http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/src/api/config/initializers/hoptoad.rb>:1:in `<top (required)>' /usr/lib64/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load' /usr/lib64/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `block in load' /usr/lib64/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency' /usr/lib64/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:222:in `load' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:609:in `block (2 levels) in <class:Engine>' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:608:in `each' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:608:in `block in <class:Engine>' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initializers' /usr/lib64/ruby/2.0.0/tsort.rb:150:in `block in tsort_each' /usr/lib64/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component' /usr/lib64/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from' /usr/lib64/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component' /usr/lib64/ruby/2.0.0/tsort.rb:180:in `each' /usr/lib64/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component' /usr/lib64/ruby/2.0.0/tsort.rb:148:in `tsort_each' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing' <http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/src/api/config/environment.rb>:19:in `<top (required)>' /usr/lib64/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require' /usr/lib64/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require' /usr/lib64/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency' /usr/lib64/ruby/gems/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:189:in `require_environment!' /usr/lib64/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:249:in `block in run_tasks_blocks' /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:197:in `block in invoke_prerequisites' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites' /usr/lib64/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174: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' <http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/src/api/lib/tasks/databases.rake>:92:in `block (2 levels) in <top (required)>' /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 => db:structure:load => environment 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
See <http://ci.opensuse.org/job/obs_master_testsuite_webui/1097/> -- 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