See http://ci.opensuse.org/job/obs_master_testsuite_webui/362/changes
Changes:
[Stephan Kulow] [dist] fix ruby syntax (slipped some bash into it :)
------------------------------------------
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Building in workspace http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/
Checkout:workspace / http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/ - hudson.remoting.LocalChannel@73c473c4
Using strategy: Default
Last Built Revision: Revision 33f8e8e617b5e4d12c2c88c8353bfa026dff8242 (origin/master)
Checkout:workspace / http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/ - hudson.remoting.LocalChannel@73c473c4
Fetching changes from 1 remote Git repository
Fetching upstream changes from git://github.com/openSUSE/open-build-service.git
Commencing build of Revision 9e097006b7c4debcca502aabfcf9c4ef16ba6d48 (origin/master)
Checking out Revision 9e097006b7c4debcca502aabfcf9c4ef16ba6d48 (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/hudson3033705265812784996.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/api/Gemfile.lock.orig
# src/webui/db/structure.sql
# src/webui/results/
# src/webui/webrat.log
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
+ mv Gemfile.lock Gemfile.lock.orig
+ bundle list
Gems included by the bundle:
* actionmailer (3.2.6)
* actionpack (3.2.6)
* activemodel (3.2.6)
* activerecord (3.2.6)
* activeresource (3.2.6)
* activesupport (3.2.6)
* arel (3.0.2)
* builder (3.0.0)
* bundler (1.1.4)
* ci_reporter (1.7.0)
* delayed_job (3.0.3)
* delayed_job_active_record (0.3.2)
* erubis (2.7.0)
* exception_notification (2.6.1)
* fast_xs (0.8.0)
* hike (1.2.1)
* i18n (0.6.0)
* journey (1.0.4)
* json (1.7.1)
* mail (2.4.4)
* memcache-client (1.8.5)
* mime-types (1.18)
* multi_json (1.3.5)
* mysql2 (0.3.11)
* nokogiri (1.5.5)
* pkg-config (1.1.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.6)
* railties (3.2.6)
* rake (0.9.2.2)
* rdoc (3.12)
* simplecov (0.6.4)
* simplecov-html (0.5.3)
* simplecov-rcov (0.2.3)
* sprockets (2.1.3)
* test-unit (2.4.8)
* thor (0.15.3)
* tilt (1.3.3)
* treetop (1.4.10)
* tzinfo (0.3.33)
* xmlhash (1.2.2)
* yajl-ruby (1.1.0)
+ diff -u Gemfile.lock.orig Gemfile.lock
--- Gemfile.lock.orig 2012-07-14 08:50:50.000000000 +0200
+++ Gemfile.lock 2012-07-14 08:50:52.000000000 +0200
@@ -44,17 +44,17 @@
hike (1.2.1)
i18n (0.6.0)
journey (1.0.4)
- json (1.7.3)
+ json (1.7.1)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
memcache-client (1.8.5)
mime-types (1.18)
- multi_json (1.3.6)
+ multi_json (1.3.5)
mysql2 (0.3.11)
nokogiri (1.5.5)
- pkg-config (1.1.3)
+ pkg-config (1.1.2)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
+ :
+ 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
** Invoke db:seed (first_time)
** Execute db:seed
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment
** Execute db:abort_if_pending_migrations
** Invoke db:migrate (first_time)
** Invoke environment
** Invoke db:load_config
** Execute db:migrate
** Invoke db:_dump (first_time)
** Execute db:_dump
** Invoke db:structure:dump (first_time)
** Invoke environment
** Execute db:structure:dump
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 ...
+ cd ../..
+ setup_webui
+ echo 'Enter Webui rails root'
Enter Webui rails root
+ cd src/webui
+ echo 'Setup database configuration'
Setup database configuration
+ cp config/database.yml.example 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
+ chmod +x script/start_test_api
+ echo 'Initialize test database, run migrations, load seed data'
Initialize test database, run migrations, load seed data
+ rake --trace db:drop db:create db:migrate
rake aborted!
Could not find multi_json-1.3.6 in any of the sources
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/spec_set.rb:90:in `block in materialize'
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/spec_set.rb:83:in `map!'
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/spec_set.rb:83:in `materialize'
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/definition.rb:127:in `specs'
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/definition.rb:172:in `specs_for'
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/definition.rb:161:in `requested_specs'
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/environment.rb:23:in `requested_specs'
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/runtime.rb:11:in `setup'
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler.rb:107:in `setup'
/usr/lib64/ruby/gems/1.9.1/gems/bundler-1.1.4/lib/bundler/setup.rb:17:in `