Bug 798531

Summary: Failed to build Test-TCP-1.15 while deploying perl dancer
Product: OKD Reporter: jizhao
Component: ContainersAssignee: Troy Dawson <tdawson>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: szhou
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-29 15:24:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description jizhao 2012-02-29 08:00:49 UTC
Description of problem:
Building Test-TCP-1.15 failed while deploying perl dancer app.

Version-Release number of selected component (if applicable):
rhc-cartridge-perl-5.10-0.18.4-1.el6_2.noarch

How reproducible:
Always

Steps to Reproduce:
https://www.redhat.com/openshift/community/kb/kb-e1014-how-to-deploy-the-perl-dancer-framework-on-openshift-express


Actual results:
<------------output----------->
remote: Building and testing Test-TCP-1.15 ... fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To ssh://9164bffb1b2c43c79912be2a48549d2d.rhcloud.com/~/git/dancer.git/
   db49804..a19c5c7  master -> master
error: failed to push some refs to 'ssh://9164bffb1b2c43c79912be2a48549d2d.rhcloud.com/~/git/dancer.git/'
<----------------------------->

Expected results:
Test-TCP-1.15 should be built successfully.

Additional info:

Comment 1 Troy Dawson 2012-02-29 15:03:11 UTC
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.

Comment 2 Troy Dawson 2012-02-29 15:21:16 UTC
The following is a work around until the new openshift is released.
1 - ssh into your dancer application
  
  rhc-domain-info
(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)
  ssh <UserID>@<app>-<domain>.rhcloud.com

(Example)
  ssh c56ef7ae91dcs52n9cf6224001e144be.com

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

  exit

4 - Repush your dancer application
  echo "installed perl modules by hand" >> README
  git commit -m "updated README" README
  git push

Everything should work then.

Comment 3 Troy Dawson 2012-02-29 15:24:34 UTC

*** This bug has been marked as a duplicate of bug 787540 ***