[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Fwd: Jenkins plugin error



Hi Mrunal, Jhon

Any ideas?

--Krishna

Begin forwarded message:

From: Diego Spinola Castro <spinolacastro gmail com>
Subject: Re: Jenkins plugin error
Date: September 11, 2013 1:19:56 PM PDT
To: Troy Dawson <tdawson redhat com>

Not so fast.

I'm  still getting errors on cartridges like python2.6 and ruby-1.8 but php works

ruby console:
Started by user Jenkins System Builder
Building remotely on ddbldr in workspace /var/lib/openshift/5230cdb299fc77ce130001d9/app-root/runtime/repo
Checkout:repo / /var/lib/openshift/5230cdb299fc77ce130001d9/app-root/runtime/repo - hudson remoting Channel 7ac33542:ddbldr
Using strategy: Default
Checkout:repo / /var/lib/openshift/5230cdb299fc77ce130001d9/app-root/runtime/repo - hudson remoting LocalChannel 3a370a0
Cloning the remote Git repository
Cloning repository origin
Fetching upstream changes from ssh://5230ccc299fc77ce130001b8 dd-diego getup io/~/git/dd.git
Seen branch in repository origin/HEAD
Seen branch in repository origin/dev/typeless
Seen branch in repository origin/master
Commencing build of Revision 9cc40814a597bbf2cb68811f7037e8d972bb94e8 (origin/HEAD, origin/master)
Checking out Revision 9cc40814a597bbf2cb68811f7037e8d972bb94e8 (origin/HEAD, origin/master)
No change to record in branch origin/HEAD
No change to record in branch origin/master
[repo] $ /bin/sh -xe /tmp/hudson1608046353819935656.sh
+ alias 'rsync=rsync --delete-after -azO -e '\'''\'''
+ upstream_ssh=5230ccc299fc77ce130001b8 dd-diego getup io
+ '[' -f Gemfile ']'
+ '[' '!' -f .openshift/markers/force_clean_build ']'
+ '[' -d .bundle ']'
+ git show master~1:.bundle
+ rsync --delete-after -azO -e '' --include=.bundle/ '--include=.bundle/***' --include=vendor/ '--include=vendor/***' '--exclude=*' '5230ccc299fc77ce130001b8 dd-diego getup io:~/app-root/repo/' /var/lib/openshift/5230cdb299fc77ce130001d9/app-root/runtime/repo
rsync: Failed to exec -l: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [receiver=3.0.6]
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.6]
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE



python console:

Started by user Jenkins System Builder
Building remotely on pythonbldr in workspace /var/lib/openshift/5230cbe499fc775efb00012d/app-root/runtime/repo
Checkout:repo / /var/lib/openshift/5230cbe499fc775efb00012d/app-root/runtime/repo - hudson remoting Channel 47425a8d:pythonbldr
Using strategy: Default
Checkout:repo / /var/lib/openshift/5230cbe499fc775efb00012d/app-root/runtime/repo - hudson remoting LocalChannel 48d62a38
Cloning the remote Git repository
Cloning repository origin
Fetching upstream changes from ssh://5230cb1999fc775efb0000a2 python-diego getup io/~/git/python.git
Seen branch in repository origin/HEAD
Seen branch in repository origin/master
Commencing build of Revision 2f92816a7a4dfcf9ad5a9b7fc0c4f14708d63132 (origin/HEAD, origin/master)
Checking out Revision 2f92816a7a4dfcf9ad5a9b7fc0c4f14708d63132 (origin/HEAD, origin/master)
No change to record in branch origin/HEAD
No change to record in branch origin/master
[repo] $ /bin/sh -xe /tmp/hudson7594339351248407305.sh
+ alias 'rsync=rsync --delete-after -az -e '\'''\'''
+ upstream_ssh=5230cb1999fc775efb0000a2 python-diego getup io
+ gear build
setup.py found.  Setting up virtualenv
New python executable in /var/lib/openshift/5230cbe499fc775efb00012d/python//virtenv/bin/python
Installing setuptools............done.
Installing pip...............done.
running develop
running egg_info
creating YourAppName.egg-info
writing YourAppName.egg-info/PKG-INFO
writing top-level names to YourAppName.egg-info/top_level.txt
writing dependency_links to YourAppName.egg-info/dependency_links.txt
writing YourAppName.egg-info/PKG-INFO
writing top-level names to YourAppName.egg-info/top_level.txt
writing dependency_links to YourAppName.egg-info/dependency_links.txt
writing manifest file 'YourAppName.egg-info/SOURCES.txt'
warning: manifest_maker: standard file 'setup.py' not found
reading manifest file 'YourAppName.egg-info/SOURCES.txt'
writing manifest file 'YourAppName.egg-info/SOURCES.txt'
running build_ext
Creating /var/lib/openshift/5230cbe499fc775efb00012d/python/virtenv/lib/python2.6/site-packages/YourAppName.egg-link (link to .)
Adding YourAppName 1.0 to easy-install.pth file

Installed /var/lib/openshift/5230cbe499fc775efb00012d/python/virtenv
Processing dependencies for YourAppName==1.0
Finished processing dependencies for YourAppName==1.0
Making script /var/lib/openshift/5230cbe499fc775efb00012d/python//virtenv/bin/easy_install-2.6 relative
Script /var/lib/openshift/5230cbe499fc775efb00012d/python//virtenv/bin/activate.fish cannot be made relative (it's not a normal script that starts with #!/var/lib/openshift/5230cbe499fc775efb00012d/python/virtenv/bin/python)
Making script /var/lib/openshift/5230cbe499fc775efb00012d/python//virtenv/bin/pip-2.6 relative
Script /var/lib/openshift/5230cbe499fc775efb00012d/python//virtenv/bin/activate.csh cannot be made relative (it's not a normal script that starts with #!/var/lib/openshift/5230cbe499fc775efb00012d/python/virtenv/bin/python)
Making script /var/lib/openshift/5230cbe499fc775efb00012d/python//virtenv/bin/pip relative
Making script /var/lib/openshift/5230cbe499fc775efb00012d/python//virtenv/bin/easy_install relative
+ 5230cb1999fc775efb0000a2 python-diego getup io 'gear stop --conditional'
/tmp/hudson7594339351248407305.sh: line 14: 5230cb1999fc775efb0000a2 python-diego getup io: command not found
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE


2013/9/11 Diego Spinola Castro <spinolacastro gmail com>
Thanks guys, its working!


2013/9/11 Troy Dawson <tdawson redhat com>
Done.
The latest (jenkins-plugin-openshift-0.6.22-0) is in release 2 and nightly for both rhel-6 and fedora-19

Troy


On 09/10/2013 03:03 PM, Krishna Raman wrote:
Troy,

I think this is due to an outdated version of the jenkins openshift plugin.
Can you put a newer version of the plugin into release 2 and nightly
repos please.

Thanks
--Krishna

On Sep 10, 2013, at 12:58 PM, Diego Spinola Castro
<spinolacastro gmail com <mailto:spinolacastro gmail com>> wrote:

Hi guys, i'm running origin-release-2 and found a issue when pushing
to application with jenkins plugin:

When pushing:

git push
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 362 bytes, done.
Total 4 (delta 1), reused 0 (delta 0)
remote: Executing Jenkins build.
remote:
remote: You can track your build at
https://jenkins-diego.getup.io/job/lala-build
remote:
remote: Waiting for build to schedule....Done
remote: Waiting for job to complete...Done
remote: FAILED
remote: !!!!!!!!
remote: Deployment Halted!
remote: If the build failed before the deploy step, your previous
remote: build is still running.  Otherwise, your application may be
remote: partially deployed or inaccessible.
remote: Fix the build and try again.
remote: !!!!!!!!
remote: An error occurred executing 'gear postreceive' (exit code: 1)
remote: Error message: Failed to execute: 'control post-receive' for
/var/lib/openshift/522f674a99fc77da22000020/jenkins-client
remote:
remote: For more details about the problem, try running the command
again with the '--trace' option.
To ssh://522f674a99fc77da22000020@lala-diego.getup.io/~/git/lala.git/
<http://522f674a99fc77da22000020 lala-diego.getup.io/~/git/lala.git/>

   b955181..5e80f14  master -> master



Build log:
Started by user Jenkins System Builder
Building remotely on lalabldr in workspace /var/lib/openshift/522f724699fc77872b0000b9/app-root/runtime/repo
Checkout:repo / /var/lib/openshift/522f724699fc77872b0000b9/app-root/runtime/repo - hudson.remoting.Channel@2a9b2745:lalabldr
Using strategy: Default
Checkout:repo / /var/lib/openshift/522f724699fc77872b0000b9/app-root/runtime/repo - hudson.remoting.LocalChannel@56dfbac3
Cloning the remote Git repository
Cloning repository origin
ERROR: Error cloning remote repo 'origin' : Could not clone ssh://522f674a99fc77da22000020@lala-diego.getup.io/~/git/lala.git  <http://522f674a99fc77da22000020 lala-diego.getup.io/~/git/lala.git>
ERROR: Cause: Error performing command: git clone --progress -o origin ssh://522f674a99fc77da22000020@lala-diego.getup.io/~/git/lala.git  <http://522f674a99fc77da22000020 lala-diego.getup.io/~/git/lala.git>  /var/lib/openshift/522f724699fc77872b0000b9/app-root/runtime/repo
Command "git clone --progress -o origin ssh://522f674a99fc77da22000020@lala-diego.getup.io/~/git/lala.git  <http://522f674a99fc77da22000020 lala-diego.getup.io/~/git/lala.git>  /var/lib/openshift/522f724699fc77872b0000b9/app-root/runtime/repo" returned status code 128: Initialized empty Git repository in /var/lib/openshift/522f724699fc77872b0000b9/app-root/runtime/repo/.git/

error: cannot run /usr/libexec/openshift/cartridges/jenkins-1.4/info/bin/git_ssh_wrapper.sh: No such file or directory
fatal: unable to fork

Trying next repository
ERROR: Could not clone repository
FATAL: Could not clone
hudson.plugins.git.GitException: Could not clone
        at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1042)
        at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:968)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2387)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:326)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)


_______________________________________________
dev mailing list
dev lists openshift redhat com <mailto:dev lists openshift redhat.com>
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]