Skip to content

Instantly share code, notes, and snippets.

@thoraxe
Created September 6, 2013 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thoraxe/6469080 to your computer and use it in GitHub Desktop.
Save thoraxe/6469080 to your computer and use it in GitHub Desktop.
Started by user Jenkins System Builder
Building remotely on sinatrabldr in workspace /var/lib/openshift/522a2cd15973ca462800008f/app-root/runtime/repo
Checkout:repo / /var/lib/openshift/522a2cd15973ca462800008f/app-root/runtime/repo - hudson.remoting.Channel@1be1b0a:sinatrabldr
Using strategy: Default
Last Built Revision: Revision 74d1175680c588006192ca54952cedcf7ef9d863 (origin/HEAD, origin/master)
Checkout:repo / /var/lib/openshift/522a2cd15973ca462800008f/app-root/runtime/repo - hudson.remoting.LocalChannel@9dd554
Cloning the remote Git repository
Cloning repository origin
Fetching upstream changes from ssh://521e016e50044629f4000085@sinatra-ejacobs.rhcloud.com/~/git/sinatra.git
Seen branch in repository origin/HEAD
Seen branch in repository origin/master
Commencing build of Revision 9894430f31268e9ed9f1929b2535e603ca7fe61e (origin/HEAD, origin/master)
Checking out Revision 9894430f31268e9ed9f1929b2535e603ca7fe61e (origin/HEAD, origin/master)
Warning : There are multiple branch changesets here
[repo] $ /bin/sh -xe /tmp/hudson5513818470396273494.sh
+ alias 'rsync=rsync --delete-after -azO -e '\''/usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh'\'''
+ upstream_ssh=521e016e50044629f4000085@sinatra-ejacobs.rhcloud.com
+ '[' -f Gemfile ']'
+ '[' '!' -f .openshift/markers/force_clean_build ']'
+ '[' -d .bundle ']'
+ git show master~1:.bundle
+ rsync --delete-after -azO -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh --include=.bundle/ '--include=.bundle/***' --include=vendor/ '--include=vendor/***' '--exclude=*' '521e016e50044629f4000085@sinatra-ejacobs.rhcloud.com:~/app-root/repo/' /var/lib/openshift/522a2cd15973ca462800008f/app-root/runtime/repo
+ gear build
Building Ruby cartridge
Bundling RubyGems based on Gemfile/Gemfile.lock to repo/vendor/bundle with 'bundle install --deployment'
Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Installing rake (10.0.3)
Using builder (3.0.4)
Installing mime-types (1.23)
Installing nokogiri (1.5.9) with native extensions .....
.........................................................................................................................................................................................................................................................................
..
Using rack (1.4.4)
Using rack-test (0.6.2)
Installing xpath (2.0.0)
Installing capybara (2.1.0)
Using ci_reporter (1.8.4)
Using diff-lcs (1.2.4)
Using rack-protection (1.3.2)
Using rspec-core (2.13.1)
Using rspec-expectations (2.13.0)
Using rspec-mocks (2.13.1)
Using rspec (2.13.0)
Using tilt (1.3.3)
Using sinatra (1.3.3)
Using bundler (1.1.4)
Your bundle is complete! It was installed into ./vendor/bundle
Post-install message from capybara:
IMPORTANT! Some of the defaults have changed in Capybara 2.1. If you're experiencing failures,
please revert to the old behaviour by setting:
Capybara.configure do |config|
config.match = :one
config.exact_options = true
config.ignore_hidden_elements = true
config.visible_text_only = true
end
If you're migrating from Capybara 1.x, try:
Capybara.configure do |config|
config.match = :prefer_exact
config.ignore_hidden_elements = false
end
Details here: http://www.elabs.se/blog/60-introducing-capybara-2-1
+ bundle exec rake ci:setup:rspec spec RAILS_ENV=test
rm -rf spec/reports
/opt/rh/ruby193/root/usr/bin/ruby -S rspec ./spec/test_spec.rb
F
Failures:
1) Hello World says hello
Failure/Error: page.should have_content('hello')
expected #has_content?("hello") to return true, got false
# ./vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/fail_with.rb:32:in `fail_with'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/handler.rb:33:in `handle_matcher'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/syntax.rb:53:in `should'
# ./spec/test_spec.rb:10:in `block (2 levels) in <top (required)>'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:114:in `instance_eval'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:114:in `block in run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:254:in `with_around_each_hooks'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:111:in `run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `map'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `run_examples'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:371:in `run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `map'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block in run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:34:in `report'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:25:in `run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'
Finished in 0.1219 seconds
1 example, 1 failure
Failed examples:
rspec ./spec/test_spec.rb:8 # Hello World says hello
Failures:
1) Hello World says hello
Failure/Error: page.should have_content('hello')
expected #has_content?("hello") to return true, got false
# ./vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/fail_with.rb:32:in `fail_with'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/handler.rb:33:in `handle_matcher'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/expectations/syntax.rb:53:in `should'
# ./spec/test_spec.rb:10:in `block (2 levels) in <top (required)>'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:114:in `instance_eval'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:114:in `block in run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:254:in `with_around_each_hooks'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:111:in `run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:390:in `block in run_examples'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `map'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `run_examples'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:371:in `run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `map'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block in run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:34:in `report'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:25:in `run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
# ./vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'
rake aborted!
/opt/rh/ruby193/root/usr/bin/ruby -S rspec ./spec/test_spec.rb failed
/var/lib/openshift/522a2cd15973ca462800008f/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/rake_task.rb:156:in `run_task'
/var/lib/openshift/522a2cd15973ca462800008f/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/rake_task.rb:124:in `block (2 levels) in initialize'
/var/lib/openshift/522a2cd15973ca462800008f/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/rspec-core-2.13.1/lib/rspec/core/rake_task.rb:122:in `block in initialize'
Tasks: TOP => spec
(See full trace by running task with --trace)
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
Finished: FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment