Bug 786398

Summary: Failed to fetch Test-TCP-1.15.tar.gz while installing dancer on Openshift Express following the instructions
Product: OKD Reporter: jizhao
Component: ContainersAssignee: Troy Dawson <tdawson>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
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-03 21:28:33 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-01 10:50:34 UTC
Description of problem:
Failed to fetch Test-TCP-1.15.tar.gz following the instructions on github:
https://github.com/openshift/dancer-example

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

How reproducible:
Always

Steps to Reproduce:
1.Follow the instructions of perl dancer example on github
https://github.com/openshift/dancer-example
2.
3.
  
Actual results:
Failed to download Test-TCP-1.15.tar.gz. After git push, the app encouters "Internal server error".

<---------output------------>
remote: ==> Found dependencies: Test::TCP
remote: --> Working on Test::TCP
remote: Fetching http://mirror1.stg.rhcloud.com/mirror/perl/CPAN/authors/id/T/TO/TOKUHIROM/Test-TCP-1.15.tar.gz ... FAIL
remote: ! Download http://mirror1.stg.rhcloud.com/mirror/perl/CPAN/authors/id/T/TO/TOKUHIROM/Test-TCP-1.15.tar.gz failed. Retrying ... 
remote: ! Download http://mirror1.stg.rhcloud.com/mirror/perl/CPAN/authors/id/T/TO/TOKUHIROM/Test-TCP-1.15.tar.gz failed. Retrying ... 
remote: ! Download http://mirror1.stg.rhcloud.com/mirror/perl/CPAN/authors/id/T/TO/TOKUHIROM/Test-TCP-1.15.tar.gz failed. Retrying ... 
remote: ! Failed to download http://mirror1.stg.rhcloud.com/mirror/perl/CPAN/authors/id/T/TO/TOKUHIROM/Test-TCP-1.15.tar.gz
remote: ! Failed to fetch distribution Test-TCP-1.15
remote: ! Bailing out the installation for Plack-0.9985. Retry with --prompt or --force.
<------------------------>

Expected results:
Test-TCP-1.15.tar.gz should be downloaded and perl dancer should be installed successfully.

Additional info:

Comment 1 Dan McPherson 2012-02-01 17:00:25 UTC
Troy, can you take a look at this.  I am not sure if it is an issue with the mirror of the source.

Comment 2 Troy Dawson 2012-02-01 17:19:45 UTC
Investigating.

Comment 3 Troy Dawson 2012-02-01 20:37:16 UTC
Fixed.  I resynced our mirror with the perl CPAN.
I have changed the update frequency of our CPAN rsync to sync more often.

Comment 4 jizhao 2012-02-02 03:19:03 UTC
Successfully fetched Test-TCP-1.15.tar.gz, but failed while building and testing it.

<-----------output----------->
remote: Building and testing Test-TCP-1.15 ... fatal: The remote end hung up unexpectedly
error: error in sideband demultiplexer
To ssh://9257c52b10eb45f2aafe4cf21fd213ab.rhcloud.com/~/git/dancer.git/
   99f6cd0..133e026  master -> master
error: failed to push some refs to 'ssh://9257c52b10eb45f2aafe4cf21fd213ab.rhcloud.com/~/git/dancer.git/'
<---------------------------->

Comment 5 Troy Dawson 2012-02-02 15:46:54 UTC
I just tried it and it worked for me.

<-----------output----------->
remote: Successfully installed Test-SharedFork-0.19
remote: Building and testing Test-TCP-1.15 ... OK
remote: Successfully installed Test-TCP-1.15
remote: --> Working on File::ShareDir
<---------------------------->

Can you try it again and see if it is still not working.
If it is still failling for you, which area are you testing in prod, stg, or dev?

Comment 6 jizhao 2012-02-03 05:55:04 UTC
Verified on stage_120.