It's all about the answers!

Ask a question

[ERROR] Error code for Jazz SCM status command - 54


Sumant Renukarya (4346) | asked Jul 01 '16, 11:59 a.m.
 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 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/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
[ERROR] Error: Scm:
JVM terminated. Exit code=54
/re_tools/java/jdk1.6.0_03/jre/bin/java
-Xmx1024m
-Dosgi.requiredJavaVersion=1.6
-jar /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse/scm
-name Scm
--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
-startup /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-exitdata 6f8008
-data @noDefault status
--username user
--password ***
--wide
-vm /re_tools/java/jdk1.6.0_03/jre/bin/java
-vmargs
-Xmx1024m
-Dosgi.requiredJavaVersion=1.6
-jar /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar 

[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] brokerage-account-balances ......................... FAILURE [  6.765 s]
[INFO] brokerage-account-balances-webobjects .............. SKIPPED
[INFO] brokerage-account-balances-dao ..................... SKIPPED
[INFO] brokerage-account-balances-data-producer ........... SKIPPED
[INFO] brokerage-account-balances-web ..................... SKIPPED
[INFO] brokerage-account-balances-webtest ................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.693 s
[INFO] Finished at: 2016-07-01T11:52:17-04:00
[INFO] Final Memory: 16M/301M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project brokerage-account-balances: Unable to check for local modifications
[ERROR] Provider message:
[ERROR] Error code for Jazz SCM status command - 54
[ERROR] Command output:
[ERROR] Scm:
[ERROR] JVM terminated. Exit code=54
[ERROR] /re_tools/java/jdk1.6.0_03/jre/bin/java
[ERROR] -Xmx1024m
[ERROR] -Dosgi.requiredJavaVersion=1.6
[ERROR] -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] -os linux
[ERROR] -ws gtk
[ERROR] -arch x86_64
[ERROR] -showsplash
[ERROR] -launcher /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse/scm
[ERROR] -name Scm
[ERROR] --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
[ERROR] -startup /re_tools/rtc/rtc_cli/5.0.2/jazz/scmtools/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
[ERROR] -exitdata 6f8008
[ERROR] -data @noDefault status
[ERROR] --wide
[ERROR] -vm /re_tools/java/jdk1.6.0_03/jre/bin/java
[ERROR] -vmargs
[ERROR] -Xmx1024m
[ERROR] -Dosgi.requiredJavaVersion=1.6
[ERROR] -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] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

**********

Comments
Arne Bister commented Jul 03 '16, 7:37 p.m.
JAZZ DEVELOPER

Hi,
can you please re-run with -e and -X switch as indicated in your log:

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

?
Thank you,

Arne


Shashikant Padur commented Jul 03 '16, 11:37 p.m. | edited Jul 03 '16, 11:37 p.m.
JAZZ DEVELOPER

As per the CLI documentation:

54 Indicates that one or more of the workspaces that are loaded in the sandbox are unreachable; therefore, the output from the status command does not include the status of all the workspaces in the sandbox.
Did you capture the output of the status command? I believe it should list the unreachable workspaces.


Donald Nong commented Jul 03 '16, 11:43 p.m.

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.


Sumant Renukarya commented Jul 05 '16, 9:26 a.m.

 @Shashikant


I go to the repository workspace on the build server: 

bash-4.1$ scm status --username buildeng --password xxx
Workspace: (1095) "Buildeng_BrokerageAccountBalances_Development" <-> (1013) "F>
  Component: (1014) "Margin_BrokerageAccountBalances_AP011966"
    Baseline: (1096) 948 "FIT-Margin-BrokerageAccountBalances-Development_#70"
    Unresolved:
      a-- /brokerage-account-balances/release.properties
    Outgoing:
      Baselines:
        (1096) 948 "FIT-Margin-BrokerageAccountBalances-Development_#70"

3 answers



permanent link
Sumant Renukarya (4346) | answered Jul 04 '16, 10:08 p.m.
  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. 



permanent link
Sumant Renukarya (4346) | answered Jul 05 '16, 5:05 p.m.
edited Jul 05 '16, 5:07 p.m.
 @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? 

permanent link
Sumant Renukarya (4346) | answered Jul 07 '16, 11:17 a.m.
I had to uncheck/disable the 'Inject environment variables' plugin in Jenkins and the maven release build dry run worked.

:-(

Your answer


Register or to post 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.