Bug 947016 - [fork][v2carts]Jenkins build fail for jbosseap-6.0.1
Summary: [fork][v2carts]Jenkins build fail for jbosseap-6.0.1
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: Bill DeCoste
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-01 08:15 UTC by Wei Sun
Modified: 2015-05-14 23:07 UTC (History)
0 users

Fixed In Version: https://github.com/openshift/origin-server/pull/1891
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-20 03:36:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
jobbuild (141.32 KB, text/x-log)
2013-04-01 08:16 UTC, Wei Sun
no flags Details
jenkins.log (2.38 KB, text/x-log)
2013-04-01 08:16 UTC, Wei Sun
no flags Details

Description Wei Sun 2013-04-01 08:15:41 UTC
Description of problem:
Create a jbosseap-6.0.1 app in v2 mode,and add jenkins-client-1.4 to the app,and then try to build the app,but can not build it successfully.
Track the build,find some error messages :
Failed to execute: 'control deploy' for /var/lib/openshift/515932564f14cb1ac5000001/redhat-jbosseap: rc(23)
stdout: Deploying jbosseap cart
stderrrsync: link_stat "/var/lib/openshift/515932564f14cb1ac5000001/app-root/runtime/repo/deployments/*" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
D, [2013-04-01T03:19:07.647757 #19703] DEBUG -- : Shell command 'set -e; /var/lib/openshift/515932564f14cb1ac5000001/redhat-jbosseap/bin/control deploy' ran. rc=23 out=Deploying jbosseap cart
Build step 'Execute shell' marked build as failure
Archiving artifacts

Version-Release number of selected component (if applicable):
devenv_3020

How reproducible:
Always

Steps to Reproduce:
1.Create a jbosseap-6.0.1 app in v2 mode
2.Create a jenkins-1.4 app in v2 mode
3.Add jenkins-client-1.4 to the app
  
Actual results:
[sunwei@dhcp-8-229 eapt]$ git push 
[master 949ca8c] test
 1 file changed, 1 insertion(+)
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 286 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: D, [2013-04-01T03:16:16.837987 #16465] DEBUG -- : Creating v2 model for 515932564f14cb1ac5000001: initialize
remote: D, [2013-04-01T03:16:16.910168 #16465] DEBUG -- : 515932564f14cb1ac5000001 pre-receive against 'redhat-jenkins-client'
remote: D, [2013-04-01T03:16:17.055321 #16465] DEBUG -- : Shell command 'set -e; /var/lib/openshift/515932564f14cb1ac5000001/redhat-jenkins-client/bin/control pre-receive' ran. rc=0 out=
remote: D, [2013-04-01T03:16:22.051296 #16482] DEBUG -- : Creating v2 model for 515932564f14cb1ac5000001: initialize
remote: D, [2013-04-01T03:16:22.106114 #16482] DEBUG -- : 515932564f14cb1ac5000001 post-receive against 'redhat-jenkins-client'
remote: Failed to execute: 'control post-receive' for /var/lib/openshift/515932564f14cb1ac5000001/redhat-jenkins-client: rc(1)
remote: stdout: Executing Jenkins build.
remote: 
remote: You can track your build at https://jenkins-wsunv2auto.dev.rhcloud.com/job/eapt-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: 
remote: stderr
remote: D, [2013-04-01T03:19:08.265038 #16482] DEBUG -- : Shell command 'set -e; /var/lib/openshift/515932564f14cb1ac5000001/redhat-jenkins-client/bin/control post-receive' ran. rc=1 out=Executing Jenkins build.
remote: 
remote: You can track your build at https://jenkins-wsunv2auto.dev.rhcloud.com/job/eapt-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: 
To ssh://515932564f14cb1ac5000001.rhcloud.com/~/git/eapt.git/
   f685463..949ca8c  master -> master
Expected results:
Can build the app successfully
Additional info:
Jenkins build can work for jbossews-2.0,diy-0.1

Comment 1 Wei Sun 2013-04-01 08:16:16 UTC
Created attachment 730208 [details]
jobbuild

Comment 2 Wei Sun 2013-04-01 08:16:42 UTC
Created attachment 730209 [details]
jenkins.log

Comment 4 Wei Sun 2013-04-03 05:47:24 UTC
I will verify this bug after the pull request is merged.

Comment 5 Wei Sun 2013-04-03 06:24:03 UTC
Verified in devenv_3034

Result:
openshift@openshift-ubuntu:~/test/eaptest$ gitpush 
[master 10cd2d4] test
 Committer: openshift <openshift@openshift-ubuntu.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 1 file changed, 1 insertion(+)
Counting objects: 5, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 294 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Executing Jenkins build.
remote: 
remote: You can track your build at https://jenkins-wsun3040v2.dev.rhcloud.com/job/eaptest-build
remote: 
remote: Waiting for build to schedule..........................................Done
remote: Waiting for job to complete......................................................................................................Done
remote: SUCCESS
remote: New build has been deployed.
To ssh://83a9583a9c2411e2b1a522000a9760d2.rhcloud.com/~/git/eaptest.git/
   5dbe37e..10cd2d4  master -> master


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