Red Hat Bugzilla – Bug 798531
Failed to build Test-TCP-1.15 while deploying perl dancer
Last modified: 2015-05-14 18:52:06 EDT
Description of problem:
Building Test-TCP-1.15 failed while deploying perl dancer app.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
remote: Building and testing Test-TCP-1.15 ... fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
db49804..a19c5c7 master -> master
error: failed to push some refs to 'ssh://email@example.com/~/git/dancer.git/'
Test-TCP-1.15 should be built successfully.
This is a known problem and will be fixed with the next OpenShift update on March 5 or 6. Until that time, you need to install your cpan packages, but without the tests. Once they are installed for your app, you shouldn't have any more problems.
The following is a work around until the new openshift is released.
1 - ssh into your dancer application
(in the dancer application section, find the Git URL section. You will need everything between ssh:// and the next /. That is your user ID and the machine you are logging into)
2 - Install the dancer perl modules by hand, without the tests
(This assumes that you followed the dancer instructions exactly and your application is really called dancer)
cpanm -n -L ~/dancer/perl5lib Test::Base
cpanm -n -L ~/dancer/perl5lib YAML
cpanm -n -L ~/dancer/perl5lib Dancer
cpanm -n -L ~/dancer/perl5lib Plack::Handler::Apache2
3 - Log out
4 - Repush your dancer application
echo "installed perl modules by hand" >> README
git commit -m "updated README" README
Everything should work then.
*** This bug has been marked as a duplicate of bug 787540 ***