Description of problem: it will prompt error info after git push Version-Release number of selected component (if applicable): rhc-0.85.12-1.el6_2.noarch How reproducible: always Steps to Reproduce: 1.create application rhc-create-app -a dancer -t perl-5.10 2. Add this upstream dancer repo cd dancer git rm -r perl git commit -a -m "remove stock perl dir to prepare for Dancer" git remote add upstream -m master git://github.com/openshift/dancer-example.git git pull -s recursive -X theirs upstream master 3.Then push the repo upstream git push Actual results: git push successfully without any error info and you can access your app successfully Expected results: git push with error info, can't access this app successfully and it will display Service Temporarily Unavailable Additional info: # git push remote: Successfully installed Test-SharedFork-0.19 remote: Building and testing Test-TCP-1.15 ... fatal: The remote end hung up unexpectedly error: error in sideband demultiplexer To ssh://f082450f16d548a588b584c8c668ba6a.rhcloud.com/~/git/dancer.git/ 99f6cd0..a9addfa master -> master error: failed to push some refs to 'ssh://f082450f16d548a588b584c8c668ba6a.rhcloud.com/~/git/dancer.git/'
Troy, This looks like one I sent you the other day. Although I don't see it in your queue now.
Although it looks similar, it's actually failling at an earlier point, but it keeps going making it look like Test-TCP is the real failure. ... remote: Configuring HTTP-Server-Simple-0.44 ... OK remote: Building and testing HTTP-Server-Simple-0.44 ... FAIL remote: ! Installing HTTP::Server::Simple failed. See /var/lib/libra/f1837cb030fc424281f4b77394f57bd3/.cpanm/build.log for details. remote: ! Bailing out the installation for HTTP-Server-Simple-PSGI-0.14. Retry with --prompt or --force. remote: --> Working on Try::Tiny ... I'll look into this some more.
I'm not positive that the HTTP-Server-Simple failing is causing the problem or not. I need to look at a dancer install that worked. The related packages haven't been updated for about a year, so it should be stable. Test-TCP was working a week ago, and it's version hasn't changed either. Still investigating. But if you know of someone who has dancer working on openshift, and they wouldn't mind sending me their build.log, that would help things.
It looks like it is the HTTP-Server-Simple tests that are failing. Investigating what is causing that, and hopefully a solution.
Good news, we figured out what the HTTP-Server-Simple was failing on and know the solution. Bad news, that didn't fis the Test-TCP error, which is still failing the build.
The solution is to install the cpan modules without running their tests. We are testing a solution in the perl cartridge that will make this an option. It should be out in the next OpenShift release.
The ability to bypass the cpan tests, and let dancer build again, is now is the openshift dev area. It will make it's way through the release process and should be available in production around February 20. To bypass the cpan tests and get dancer to build, there is an extra step. See step 3 below. ----- 1.create application rhc-create-app -a dancer -t perl-5.10 2. Add this upstream dancer repo cd dancer git rm -r perl git commit -a -m "remove stock perl dir to prepare for Dancer" git remote add upstream -m master git://github.com/openshift/dancer-example.git git pull -s recursive -X theirs upstream master 3. Disable the cpan tests touch .openshift/markers/disable_cpan_tests git add .openshift/markers/disable_cpan_tests git commit -m "disabling cpan tests" .openshift/markers/disable_cpan_tests 4.Then push the repo upstream git push ----- Or, we should get the dancer quickstart maintainer to add the file .openshift/markers/disable_cpan_tests to the quickstart github repo.
.openshift/markers/disable_cpan_tests is now in the dancer github repo. When the new openshift update goes out, everything should work.
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.
*** Bug 798531 has been marked as a duplicate of this bug. ***
set status to ON_QA since bug fixed.
verified on devenv_1653, bug has been fixed.