[ERROR] Error code for Jazz SCM status command - 54
Maven release build - dry run fails with this error. No clue what's missing. Normal build works just fine. Any help?
RTC 5.0.2
RHEL server
Jenkins 1.625.3.1
**********
<===[JENKINS REMOTING CAPACITY]===>channel startedExecuting Maven: -B -f /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccountBalances-Development/brokerage-account-balances/pom.xml -s /re_tools/maven/maven_setings/settings.xml -DdevelopmentVersion=16.06.01-SNAPSHOT -DreleaseVersion=16.06.00 -Dresume=false -DdryRun=true release:prepare -Dusername=user -Dpassword=***[INFO] Scanning for projects...[INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] brokerage-account-balances [INFO] brokerage-account-balances-webobjects [INFO] brokerage-account-balances-dao [INFO] brokerage-account-balances-data-producer [INFO] brokerage-account-balances-web [INFO] brokerage-account-balances-webtest [HUDSON] Collecting dependencies info [HUDSON] Collecting dependencies info [HUDSON] Collecting dependencies info [HUDSON] Collecting dependencies info [HUDSON] Collecting dependencies info [HUDSON] Collecting dependencies info [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building brokerage-account-balances 16.06.00-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-release-plugin:2.5.2:prepare (default-cli) @ brokerage-account-balances ---[INFO] Verifying that there are no local modifications... [INFO] ignoring changes on: **/pom.xml.backup, **/release.properties, **/pom.xml.branch, **/pom.xml.next, **/pom.xml.releaseBackup, **/pom.xml.tag [INFO] Executing: /bin/sh -c cd /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccountBalances-Development/brokerage-account-balances && scm status --username user --password '***' [INFO] Working directory: /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccountBalances-Development/brokerage-account-balances ********** |
3 answers
Here is the detailed error with -e switch:
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven: -B -f /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccountBalances-Development/brokerage-account-balances/pom.xml -s /re_tools/maven/maven_setings/osg_settings1.xml -DdevelopmentVersion=16.06.01-SNAPSHOT -DreleaseVersion=16.06.00 -Dresume=false -DdryRun=true release:prepare -Dusername=buildeng -Dpassword=********* -e -X
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T16:58:10-04:00)
Maven home: /re_tools/maven/apache-maven-3.2.3
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /re_tools/java/jdk1.7.0_51/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.32-504.16.2.el6.x86_64", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /re_tools/maven/apache-maven-3.2.3/conf/settings.xml
[DEBUG] Reading user settings from /re_tools/maven/maven_setings/osg_settings1.xml
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] brokerage-account-balances
[INFO] brokerage-account-balances-webobjects
[INFO] brokerage-account-balances-dao
[INFO] brokerage-account-balances-data-producer
[INFO] brokerage-account-balances-web
[INFO] brokerage-account-balances-webtest
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[HUDSON] Collecting dependencies info
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building brokerage-account-balances 16.06.00-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-release-plugin:2.5.2:prepare (default-cli) @ brokerage-account-balances ---
[DEBUG] JazzScmProvider:makeProviderScmRepository
[DEBUG] Provided scm url - https://fitclm.fmr.com/ccm:Buildeng_BrokerageAccountBalances_Development
[DEBUG] Provided delimiter - ':'
[DEBUG] Scheme - https
[DEBUG] Creating JazzScmProviderRepository with the following values:
[DEBUG] jazzUrl - https://fitclm.fmr.com/ccm
[DEBUG] username - null
[DEBUG] password - null
[DEBUG] hostname - fitclm.fmr.com
[DEBUG] port - 0
[DEBUG] repositoryWorkspace - Buildeng_BrokerageAccountBalances_Development
[DEBUG] java.io.FileNotFoundException: /home/buildeng/.m2/settings-security.xml (No such file or directory)
[INFO] Verifying that there are no local modifications...
[INFO] ignoring changes on: **/pom.xml.backup, **/release.properties, **/pom.xml.branch, **/pom.xml.next, **/pom.xml.releaseBackup, **/pom.xml.tag
[DEBUG] JazzScmProvider:makeProviderScmRepository
[DEBUG] Provided scm url - https://fitclm.fmr.com/ccm:Buildeng_BrokerageAccountBalances_Development
[DEBUG] Provided delimiter - ':'
[DEBUG] Scheme - https
[DEBUG] Creating JazzScmProviderRepository with the following values:
[DEBUG] jazzUrl - https://fitclm.fmr.com/ccm
[DEBUG] username - null
[DEBUG] password - null
[DEBUG] hostname - fitclm.fmr.com
[DEBUG] port - 0
[DEBUG] repositoryWorkspace - Buildeng_BrokerageAccountBalances_Development
[DEBUG] Executing status command...
[INFO] Executing: /bin/sh -c cd /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccountBalances-Development/brokerage-account-balances && scm status --username buildeng --password '*****'
[INFO] Working directory: /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccountBalances-Development/brokerage-account-balances
[DEBUG] Consumed line :Workspace: (----) "Buildeng_BrokerageAccountBalances_Development" (This workspace is unreachable.)
[DEBUG] Consumed line : Could not determine the URI required to connect to the repository. The UUID of
[DEBUG] Consumed line : the repository is _n2A7YVgfEeGRQ_Km5kJ7oQ. If you know the repository URI run
[DEBUG] Consumed line : 'login' command providing the repository URI. If not, please contact your
[DEBUG] Consumed line : administrator.
[DEBUG] ErrorConsumer.consumeLine: Scm:
[DEBUG] ErrorConsumer.consumeLine: JVM terminated. Exit code=54
[DEBUG] ErrorConsumer.consumeLine: /re_tools/java/jdk1.6.0_03/jre/bin/java
[DEBUG] ErrorConsumer.consumeLine: -Xmx1024m
[DEBUG] ErrorConsumer.consumeLine: -Dosgi.requiredJavaVersion=1.6
[DEBUG] ErrorConsumer.consumeLine: -jar /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
[DEBUG] ErrorConsumer.consumeLine: -os linux
[DEBUG] ErrorConsumer.consumeLine: -ws gtk
[DEBUG] ErrorConsumer.consumeLine: -arch x86_64
[DEBUG] ErrorConsumer.consumeLine: -showsplash
[DEBUG] ErrorConsumer.consumeLine: -launcher /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse/scm
[DEBUG] ErrorConsumer.consumeLine: -name Scm
[DEBUG] ErrorConsumer.consumeLine: --launcher.library /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.2.R36x_v20101019_1345/eclipse_1310.so
[DEBUG] ErrorConsumer.consumeLine: -startup /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
[DEBUG] ErrorConsumer.consumeLine: -exitdata 728008
[DEBUG] ErrorConsumer.consumeLine: -data @noDefault status
[DEBUG] ErrorConsumer.consumeLine: --username buildeng
[DEBUG] ErrorConsumer.consumeLine: --password ****
[DEBUG] ErrorConsumer.consumeLine: --wide
[DEBUG] ErrorConsumer.consumeLine: -vm /re_tools/java/jdk1.6.0_03/jre/bin/java
[DEBUG] ErrorConsumer.consumeLine: -vmargs
[DEBUG] ErrorConsumer.consumeLine: -Xmx1024m
[DEBUG] ErrorConsumer.consumeLine: -Dosgi.requiredJavaVersion=1.6
[DEBUG] ErrorConsumer.consumeLine: -jar /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
[ERROR] Error: Scm:
JVM terminated. Exit code=54
/re_tools/java/jdk1.6.0_03/jre/bin/java
Comments
Don Yang
commented Jul 05 '16, 12:38 a.m.
"/re_tools/java/jdk1.6.0_03/jre/bin/java", is this IBM Java or not? the version looks suspicious(too low).
Donald Nong
commented Jul 05 '16, 1:01 a.m.
The messages exposed between the "scm status" and the error are as follows. You should probably look into this.
[INFO] Working directory: /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccountBalances-Development/brokerage-account-balances
[DEBUG] Consumed line :Workspace: (----) "Buildeng_BrokerageAccountBalances_Development" (This workspace is unreachable.)
[DEBUG] Consumed line : Could not determine the URI required to connect to the repository. The UUID of
[DEBUG] Consumed line : the repository is _n2A7YVgfEeGRQ_Km5kJ7oQ. If you know the repository URI run
[DEBUG] Consumed line : 'login' command providing the repository URI. If not, please contact your
[DEBUG] Consumed line : administrator.
Sumant Renukarya
commented Jul 05 '16, 9:25 a.m.
I changed the java version from 1.6 to 1.7 in scm.ini file but that doesn't help either.
|
@Shashikant
Here is the message when I run directly from the build server:
-bash-4.1$ JAVA_HOME=/re_tools/java/jdk1.7.0_51; export JAVA_HOME
bash-4.1$ /re_tools/maven/maven-3.2.3/bin/mvn -f /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccntBalances-Development/brokerage-account-balances/pom.xml -s /re_tools/maven/maven_setings/ibg-settings.xml -DdevelopmentVersion=16.06.01-SNAPSHOT -DreleaseVersion=16.06.00 -Dresume=false -DdryRun=true release:prepare -Dusername=buildeng -Dpassword=xxxx
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] brokerage-account-balances
[INFO] brokerage-account-balances-webobjects
[INFO] brokerage-account-balances-dao
[INFO] brokerage-account-balances-data-producer
[INFO] brokerage-account-balances-web
[INFO] brokerage-account-balances-webtest
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building brokerage-account-balances 16.06.00-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-release-plugin:2.5.2:prepare (default-cli) @ brokerage-account-balances ---
[INFO] Verifying that there are no local modifications...
[INFO] ignoring changes on: **/pom.xml.backup, **/release.properties, **/pom.xml.branch, **/pom.xml.next, **/pom.xml.releaseBackup, **/pom.xml.tag
[INFO] Executing: /bin/sh -c cd /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccountBalances-Development/brokerage-account-balances && scm status --username buildeng --password '*****'
[INFO] Working directory: /re_jenkins/vc2crtpa077512n/workspace/FI/TPS-OSTEC/REL/PL000204/PR000029/AP011966/FIT-Margin-BrokerageAccountBalances-Development/brokerage-account-balances
[INFO] Checking dependencies and plugins for snapshots ...
What is SCM release tag or label for "brokerage-account-balances"? (com.fmr.fit.osgt:brokerage-account-balances) brokerage-account-balances-16.06.00: :
If I enter, the dry run works fine from CLI. The issue is only with this build and other builds work just fine.
What am I missing?
|
I had to uncheck/disable the 'Inject environment variables' plugin in Jenkins and the maven release build dry run worked.
:-(
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hi,
can you please re-run with -e and -X switch as indicated in your log:
As per the CLI documentation:
Also see if there are any javacore* files in the folder "/re_tools" and its subfolders. Hopefully the JVM managed to record something before terminating.
@Shashikant -