[obs-tests] Build failed in Jenkins: obs_master_testsuite_api #881
See <http://ci.opensuse.org/job/obs_master_testsuite_api/881/changes> Changes: [Sascha Peilicke] [webui] Updated sponsorship [Sascha Peilicke] [webui] Don't bail out in Person#running_patchinfos if a project was [Sascha Peilicke] [webui] Don't show table header for package list (currently only one [Sascha Peilicke] [webui] Don't show empty <ul> in PackageController#show [Sascha Peilicke] [webui] Fix for empty buildresult in PackageController#rpmlint_result [Sascha Peilicke] [webui] Fix wrong repo names in PackageController#rpmlint_log... [Sascha Peilicke] [webui] Fix doubled breadcrumbs for remote projects [Sascha Peilicke] [webui] Use link_to for remote instance link [Sascha Peilicke] [webui] Catch missing parameter 'id' in RequestController#show [adrian] [api] add hostsystem structure for cross builds, no functionality behind it yet (for B1-Systems) ------------------------------------------ Started by an SCM change Building in workspace <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/> Checkout:workspace / <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/> - hudson.remoting.LocalChannel@202e202e Using strategy: Default Last Built Revision: Revision 9db769dade3e57c903f8760d1ba669a278dd569c (origin/master) Checkout:workspace / <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/> - hudson.remoting.LocalChannel@202e202e Fetching changes from 1 remote Git repository Fetching upstream changes from git://github.com/openSUSE/open-build-service.git Commencing build of Revision 3b425607396e56fb453a59cc37f55c5a1dee9ae7 (origin/master) Checking out Revision 3b425607396e56fb453a59cc37f55c5a1dee9ae7 (origin/master) [locks-and-latches] Checking to see if we really have the locks [locks-and-latches] Have all the locks, build can start [workspace] $ /bin/sh -xe /tmp/hudson7913857604076515435.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 # Not currently on any branch. # Untracked files: # (use "git add <file>..." to include in what will be committed) # # src/api/results/ 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 + echo 'Install missing gems locally' Install missing gems locally + rm Gemfile.lock + bundle list Gems included by the bundle: * actionmailer (3.2.3) * actionpack (3.2.3) * activemodel (3.2.3) * activerecord (3.2.3) * activeresource (3.2.3) * activesupport (3.2.3) * arel (3.0.2) * builder (3.0.0) * bundler (1.1.3) * ci_reporter (1.7.0) * delayed_job (3.0.2) * delayed_job_active_record (0.3.2) * erubis (2.7.0) * exception_notification (2.5.2) * fast_xs (0.8.0) * hike (1.2.1) * i18n (0.6.0) * journey (1.0.3) * json (1.6.6) * mail (2.4.4) * memcache-client (1.8.5) * mime-types (1.18) * multi_json (1.2.0) * mysql2 (0.3.11) * nokogiri (1.5.2) * polyglot (0.3.3) * rack (1.4.1) * rack-cache (1.2) * rack-ssl (1.3.2) * rack-test (0.6.1) * rails (3.2.3) * railties (3.2.3) * rake (0.9.2.2) * rdoc (3.12) * simplecov (0.6.1) * simplecov-html (0.5.3) * simplecov-rcov (0.2.3) * sprockets (2.1.2) * test-unit (2.4.8) * thor (0.14.6) * tilt (1.3.3) * treetop (1.4.10) * tzinfo (0.3.32) * xmlhash (1.2.1) * yajl-ruby (1.1.0) + git diff Gemfile.lock diff --git a/src/api/Gemfile.lock b/src/api/Gemfile.lock index e09ea7f..77013d5 100644 --- a/src/api/Gemfile.lock +++ b/src/api/Gemfile.lock @@ -96,7 +96,7 @@ GEM treetop (1.4.10) polyglot polyglot (>= 0.3.1) - tzinfo (0.3.33) + tzinfo (0.3.32) xmlhash (1.2.1) yajl-ruby (1.1.0) + chmod a+x script/start_test_backend + echo 'Initialize test database, run migrations, load seed data' Initialize test database, run migrations, load seed data + rake --trace db:drop db:create db:setup db:migrate ** Invoke db:drop (first_time) ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) ** Execute rails_env ** 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 rake aborted! Mysql2::Error: Key column 'hostsystem' doesn't exist in table: CREATE TABLE `repositories` ( `id` int(11) NOT NULL AUTO_INCREMENT, `db_project_id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `remote_project_name` varchar(255) DEFAULT NULL, `rebuild` enum('transitive','direct','local') DEFAULT NULL, `block` enum('all','local','never') DEFAULT NULL, `linkedbuild` enum('off','localdep','all') DEFAULT NULL, `hostsystem_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `projects_name_index` (`db_project_id`,`name`,`remote_project_name`), KEY `remote_project_name_index` (`remote_project_name`), KEY `hostsystem` (`hostsystem`), KEY `hostsystem_id` (`hostsystem_id`), CONSTRAINT `repositories_ibfk_1` FOREIGN KEY (`db_project_id`) REFERENCES `db_projects` (`id`), CONSTRAINT `repositories_ibfk_2` FOREIGN KEY (`hostsystem_id`) REFERENCES `repositories` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `query' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `block in execute' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log' /usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `execute' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/mysql2_adapter.rb:211:in `execute' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/railties/databases.rake:424:in `block (4 levels) in <top (required)>' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/railties/databases.rake:423:in `each' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/railties/databases.rake:423:in `block (3 levels) in <top (required)>' /usr/lib64/ruby/1.9.1/rake/task.rb:205:in `call' /usr/lib64/ruby/1.9.1/rake/task.rb:205:in `block in execute' /usr/lib64/ruby/1.9.1/rake/task.rb:200:in `each' /usr/lib64/ruby/1.9.1/rake/task.rb:200:in `execute' /usr/lib64/ruby/1.9.1/rake/task.rb:158:in `block in invoke_with_call_chain' /usr/lib64/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /usr/lib64/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain' /usr/lib64/ruby/1.9.1/rake/task.rb:144:in `invoke' <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/lib/tasks/databases.rake>:86:in `block (2 levels) in <top (required)>' /usr/lib64/ruby/1.9.1/rake/task.rb:205:in `call' /usr/lib64/ruby/1.9.1/rake/task.rb:205:in `block in execute' /usr/lib64/ruby/1.9.1/rake/task.rb:200:in `each' /usr/lib64/ruby/1.9.1/rake/task.rb:200:in `execute' /usr/lib64/ruby/1.9.1/rake/task.rb:158:in `block in invoke_with_call_chain' /usr/lib64/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /usr/lib64/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain' /usr/lib64/ruby/1.9.1/rake/task.rb:144:in `invoke' /usr/lib64/ruby/1.9.1/rake/application.rb:116:in `invoke_task' /usr/lib64/ruby/1.9.1/rake/application.rb:94:in `block (2 levels) in top_level' /usr/lib64/ruby/1.9.1/rake/application.rb:94:in `each' /usr/lib64/ruby/1.9.1/rake/application.rb:94:in `block in top_level' /usr/lib64/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling' /usr/lib64/ruby/1.9.1/rake/application.rb:88:in `top_level' /usr/lib64/ruby/1.9.1/rake/application.rb:66:in `block in run' /usr/lib64/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling' /usr/lib64/ruby/1.9.1/rake/application.rb:63:in `run' /usr/bin/rake:32:in `<main>' Tasks: TOP => db:structure:load Build step 'Execute shell' marked build as failure [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released Recording test results -- 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_api/882/changes> Changes: [adrian] [api] validate access to host project ------------------------------------------ Started by an SCM change Building in workspace <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/> Checkout:workspace / <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/> - hudson.remoting.LocalChannel@202e202e Using strategy: Default Last Built Revision: Revision 3b425607396e56fb453a59cc37f55c5a1dee9ae7 (origin/master) Checkout:workspace / <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/> - hudson.remoting.LocalChannel@202e202e Fetching changes from 1 remote Git repository Fetching upstream changes from git://github.com/openSUSE/open-build-service.git Commencing build of Revision e43cf8c50bd0e8610f4c41ddcf92574974d3e823 (origin/master) Checking out Revision e43cf8c50bd0e8610f4c41ddcf92574974d3e823 (origin/master) [locks-and-latches] Checking to see if we really have the locks [locks-and-latches] Have all the locks, build can start [workspace] $ /bin/sh -xe /tmp/hudson6151609411360038681.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 # Not currently on any branch. # Untracked files: # (use "git add <file>..." to include in what will be committed) # # src/api/results/ 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 + echo 'Install missing gems locally' Install missing gems locally + rm Gemfile.lock + bundle list Gems included by the bundle: * actionmailer (3.2.3) * actionpack (3.2.3) * activemodel (3.2.3) * activerecord (3.2.3) * activeresource (3.2.3) * activesupport (3.2.3) * arel (3.0.2) * builder (3.0.0) * bundler (1.1.3) * ci_reporter (1.7.0) * delayed_job (3.0.2) * delayed_job_active_record (0.3.2) * erubis (2.7.0) * exception_notification (2.5.2) * fast_xs (0.8.0) * hike (1.2.1) * i18n (0.6.0) * journey (1.0.3) * json (1.6.6) * mail (2.4.4) * memcache-client (1.8.5) * mime-types (1.18) * multi_json (1.2.0) * mysql2 (0.3.11) * nokogiri (1.5.2) * polyglot (0.3.3) * rack (1.4.1) * rack-cache (1.2) * rack-ssl (1.3.2) * rack-test (0.6.1) * rails (3.2.3) * railties (3.2.3) * rake (0.9.2.2) * rdoc (3.12) * simplecov (0.6.1) * simplecov-html (0.5.3) * simplecov-rcov (0.2.3) * sprockets (2.1.2) * test-unit (2.4.8) * thor (0.14.6) * tilt (1.3.3) * treetop (1.4.10) * tzinfo (0.3.32) * xmlhash (1.2.1) * yajl-ruby (1.1.0) + git diff Gemfile.lock diff --git a/src/api/Gemfile.lock b/src/api/Gemfile.lock index e09ea7f..77013d5 100644 --- a/src/api/Gemfile.lock +++ b/src/api/Gemfile.lock @@ -96,7 +96,7 @@ GEM treetop (1.4.10) polyglot polyglot (>= 0.3.1) - tzinfo (0.3.33) + tzinfo (0.3.32) xmlhash (1.2.1) yajl-ruby (1.1.0) + chmod a+x script/start_test_backend + echo 'Initialize test database, run migrations, load seed data' Initialize test database, run migrations, load seed data + rake --trace db:drop db:create db:setup db:migrate ** Invoke db:drop (first_time) ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) ** Execute rails_env ** 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 rake aborted! Mysql2::Error: Key column 'hostsystem' doesn't exist in table: CREATE TABLE `repositories` ( `id` int(11) NOT NULL AUTO_INCREMENT, `db_project_id` int(11) NOT NULL, `name` varchar(255) DEFAULT NULL, `remote_project_name` varchar(255) DEFAULT NULL, `rebuild` enum('transitive','direct','local') DEFAULT NULL, `block` enum('all','local','never') DEFAULT NULL, `linkedbuild` enum('off','localdep','all') DEFAULT NULL, `hostsystem_id` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `projects_name_index` (`db_project_id`,`name`,`remote_project_name`), KEY `remote_project_name_index` (`remote_project_name`), KEY `hostsystem` (`hostsystem`), KEY `hostsystem_id` (`hostsystem_id`), CONSTRAINT `repositories_ibfk_1` FOREIGN KEY (`db_project_id`) REFERENCES `db_projects` (`id`), CONSTRAINT `repositories_ibfk_2` FOREIGN KEY (`hostsystem_id`) REFERENCES `repositories` (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `query' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `block in execute' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log' /usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `execute' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/connection_adapters/mysql2_adapter.rb:211:in `execute' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/railties/databases.rake:424:in `block (4 levels) in <top (required)>' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/railties/databases.rake:423:in `each' /usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/railties/databases.rake:423:in `block (3 levels) in <top (required)>' /usr/lib64/ruby/1.9.1/rake/task.rb:205:in `call' /usr/lib64/ruby/1.9.1/rake/task.rb:205:in `block in execute' /usr/lib64/ruby/1.9.1/rake/task.rb:200:in `each' /usr/lib64/ruby/1.9.1/rake/task.rb:200:in `execute' /usr/lib64/ruby/1.9.1/rake/task.rb:158:in `block in invoke_with_call_chain' /usr/lib64/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /usr/lib64/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain' /usr/lib64/ruby/1.9.1/rake/task.rb:144:in `invoke' <http://ci.opensuse.org/job/obs_master_testsuite_api/ws/src/api/lib/tasks/databases.rake>:86:in `block (2 levels) in <top (required)>' /usr/lib64/ruby/1.9.1/rake/task.rb:205:in `call' /usr/lib64/ruby/1.9.1/rake/task.rb:205:in `block in execute' /usr/lib64/ruby/1.9.1/rake/task.rb:200:in `each' /usr/lib64/ruby/1.9.1/rake/task.rb:200:in `execute' /usr/lib64/ruby/1.9.1/rake/task.rb:158:in `block in invoke_with_call_chain' /usr/lib64/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /usr/lib64/ruby/1.9.1/rake/task.rb:151:in `invoke_with_call_chain' /usr/lib64/ruby/1.9.1/rake/task.rb:144:in `invoke' /usr/lib64/ruby/1.9.1/rake/application.rb:116:in `invoke_task' /usr/lib64/ruby/1.9.1/rake/application.rb:94:in `block (2 levels) in top_level' /usr/lib64/ruby/1.9.1/rake/application.rb:94:in `each' /usr/lib64/ruby/1.9.1/rake/application.rb:94:in `block in top_level' /usr/lib64/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling' /usr/lib64/ruby/1.9.1/rake/application.rb:88:in `top_level' /usr/lib64/ruby/1.9.1/rake/application.rb:66:in `block in run' /usr/lib64/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling' /usr/lib64/ruby/1.9.1/rake/application.rb:63:in `run' /usr/bin/rake:32:in `<main>' Tasks: TOP => db:structure:load Build step 'Execute shell' marked build as failure [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released Recording test results -- 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