Bug 786398 - Failed to fetch Test-TCP-1.15.tar.gz while installing dancer on Openshift Express following the instructions
Summary: Failed to fetch Test-TCP-1.15.tar.gz while installing dancer on Openshift Exp...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Troy Dawson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-01 10:50 UTC by jizhao
Modified: 2015-05-14 22:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-03 21:28:33 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.