Skip to content

Instantly share code, notes, and snippets.

@thoraxe
Created August 28, 2013 14:10
Show Gist options
  • Save thoraxe/6366439 to your computer and use it in GitHub Desktop.
Save thoraxe/6366439 to your computer and use it in GitHub Desktop.
failure in pushing sinatra to openshift online
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:
git config --global push.default matching
To squelch this message and adopt the new behavior now, use:
git config --global push.default simple
See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 369 bytes, done.
Total 4 (delta 1), reused 0 (delta 0)
remote: Executing Jenkins build.
remote:
remote: You can track your build at https://jenkins-ejacobs.rhcloud.com/job/sinatra-build
remote:
remote: Waiting for build to schedule....................................................Done
remote: Waiting for job to complete..................................Done
remote: FAILED
remote: !!!!!!!!
remote: Deployment Halted!
remote: If the build failed before the deploy step, your previous
remote: build is still running. Otherwise, your application may be
remote: partially deployed or inaccessible.
remote: Fix the build and try again.
remote: !!!!!!!!
remote: An error occurred executing 'gear postreceive' (exit code: 1)
remote: Error message: Failed to execute: 'control post-receive' for /var/lib/openshift/521e016e50044629f4000085/jenkins-client
remote:
remote: For more details about the problem, try running the command again with the '--trace' option.
To ssh://521e016e50044629f4000085@sinatra-ejacobs.rhcloud.com/~/git/sinatra.git/
818d378..74d1175 master -> master
Started by user Jenkins System Builder
Building remotely on sinatrabldr in workspace /var/lib/openshift/521e04375004461b6f000031/app-root/runtime/repo
Checkout:repo / /var/lib/openshift/521e04375004461b6f000031/app-root/runtime/repo - hudson.remoting.Channel@309d4d:sinatrabldr
Using strategy: Default
Checkout:repo / /var/lib/openshift/521e04375004461b6f000031/app-root/runtime/repo - hudson.remoting.LocalChannel@78c533
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 74d1175680c588006192ca54952cedcf7ef9d863 (origin/HEAD, origin/master)
Checking out Revision 74d1175680c588006192ca54952cedcf7ef9d863 (origin/HEAD, origin/master)
No change to record in branch origin/HEAD
No change to record in branch origin/master
[repo] $ /bin/sh -xe /tmp/hudson426253135735311215.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/521e04375004461b6f000031/app-root/runtime/repo
+ gear build
Building Ruby cartridge
Bundling RubyGems based on Gemfile/Gemfile.lock to repo/vendor/bundle with 'bundle install --deployment'
Using builder (3.0.4)
Using ci_reporter (1.8.4)
Using diff-lcs (1.2.4)
Using rack (1.4.4)
Using rack-protection (1.3.2)
Using rack-test (0.6.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
+ rake ci:setup:rspec spec RAILS_ENV=test
rake aborted!
cannot load such file -- ci/reporter/rake/rspec
(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