See http://ci.opensuse.org/job/obs_master_testsuite_webui-testsuite/108/changes
Changes:
[Stephan Kulow] [api] merge the group classes
[Stephan Kulow] [api,webui] use .simplecov to centralize simplecov setup
[Stephan Kulow] [api] switch to (the 3.2.3 default) attributes white list
[Stephan Kulow] [api] remove unsupported and uncovered download stats
[Stephan Kulow] [api] finished port to new query interface
[Stephan Kulow] [api] change collat to utf8_bin so we can drop all those BINARY sql
[Stephan Kulow] [api] merge the user classes
[Stephan Kulow] [api] move do_project_copy into model to reduce source controller
[Stephan Kulow] [api] some smaller issues fixed (coverage)
[Stephan Kulow] [api] make sure we validate the XML response if configured
[Stephan Kulow] [api] more work on brakeman security issues
[Stephan Kulow] [webui] use XML parser for spider test to avoid these pointless
------------------------------------------
Started by an SCM change
Building in workspace http://ci.opensuse.org/job/obs_master_testsuite_webui-testsuite/ws/
Checkout:workspace / http://ci.opensuse.org/job/obs_master_testsuite_webui-testsuite/ws/ - hudson.remoting.LocalChannel@202e202e
Using strategy: Default
Last Built Revision: Revision 5809e90d783c0adad4aacb99f9178cdf14b27dd8 (origin/master)
Checkout:workspace / http://ci.opensuse.org/job/obs_master_testsuite_webui-testsuite/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 ac899223c631804e35b3197c0bba80c9ba441e5e (origin/master)
Checking out Revision ac899223c631804e35b3197c0bba80c9ba441e5e (origin/master)
Cleaning workspace
[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/hudson7435516194839122591.sh
+ sh dist/ci/obs_testsuite_webui-testsuite.sh
++ dirname dist/ci/obs_testsuite_webui-testsuite.sh
+ . dist/ci/obs_testsuite_common.sh
+ setup_git
+ echo 'Checking status'
Checking status
+ git status
# Not currently on any branch.
nothing to commit (working directory clean)
+ 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
** Invoke db:seed (first_time)
** Execute db:seed
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment
** Execute db:abort_if_pending_migrations
rake aborted!
Can't mass-assign protected attributes: name
/usr/lib64/ruby/gems/1.9.1/gems/activemodel-3.2.3/lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
/usr/lib64/ruby/gems/1.9.1/gems/activemodel-3.2.3/lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
/usr/lib64/ruby/gems/1.9.1/gems/activemodel-3.2.3/lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
/usr/lib64/ruby/gems/1.9.1/gems/activemodel-3.2.3/lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
/usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
/usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/base.rb:498:in `initialize'
/usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/relation/finder_methods.rb:289:in `new'
/usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/relation/finder_methods.rb:289:in `find_or_instantiator_by_attributes'
/usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/dynamic_matchers.rb:47:in `method_missing'
http://ci.opensuse.org/job/obs_master_testsuite_webui-testsuite/ws/src/api/d...:4:in `block in