Mailinglist Archive: obs-tests (232 mails)

< Previous Next >
[obs-tests] Build failed in Jenkins: obs_master_testsuite_webui #277
  • From: admin@xxxxxxxxxxxx
  • Date: Mon, 16 Apr 2012 20:06:28 +0200 (CEST)
  • Message-id: <1236224431.1661334599588398.JavaMail.jenkins@ci-opensuse>
See <http://ci.opensuse.org/job/obs_master_testsuite_webui/277/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/ws/>
Checkout:workspace /
<http://ci.opensuse.org/job/obs_master_testsuite_webui/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/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)
[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/hudson1916074995328689521.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/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
** 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/ws/src/api/db/seeds.rb>:4:in
`block in <top (required)>'
<http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/src/api/db/seeds.rb>:3:in
`each'
<http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/src/api/db/seeds.rb>:3:in
`<top (required)>'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in
`load'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in
`block in load'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in
`load_dependency'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:245:in
`load'
/usr/lib64/ruby/gems/1.9.1/gems/railties-3.2.3/lib/rails/engine.rb:520:in
`load_seed'
/usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.3/lib/active_record/railties/databases.rake:309: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'
<http://ci.opensuse.org/job/obs_master_testsuite_webui/ws/src/api/lib/tasks/databases.rake>:85: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:seed
Seeding architectures table...
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@xxxxxxxxxxxx
To contact the owner, e-mail: obs-tests+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups