[jbossts-issues] [JBoss JIRA] (JBTM-2273) Admin CLI build failed

Amos Feng (JIRA) issues at jboss.org
Fri Nov 14 08:03:29 EST 2014


     [ https://issues.jboss.org/browse/JBTM-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amos Feng resolved JBTM-2273.
-----------------------------
    Resolution: Done


> Admin CLI build failed
> ----------------------
>
>                 Key: JBTM-2273
>                 URL: https://issues.jboss.org/browse/JBTM-2273
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: BlackTie
>            Reporter: Gytis Trikleris
>            Assignee: Amos Feng
>             Fix For: 5.0.4
>
>
> http://172.17.131.2/view/Status/job/narayana-quickstarts/112/
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] Building BlackTie Admin CLI Tool 5.0.4.Final-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ btadmin ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java-version) @ btadmin ---
> [INFO] 
> [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven-version) @ btadmin ---
> [INFO] 
> [INFO] --- buildnumber-maven-plugin:1.2:create-timestamp (get-build-timestamp) @ btadmin ---
> [INFO] 
> [INFO] --- buildnumber-maven-plugin:1.2:create (get-scm-revision) @ btadmin ---
> [INFO] 
> [INFO] --- maven-dependency-plugin:2.8:unpack-dependencies (unpack-test-dependencies) @ btadmin ---
> [INFO] Unpacking /home/hudson/.m2/repository/apache-log4cxx/contrib/log4cxx/902683/log4cxx-902683-centos54x64.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/.m2/repository/junit/junit/4.11/junit-4.11.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/.m2/repository/apr-1/contrib/apr-1/1.3.3/apr-1-1.3.3-centos54x64.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/codec/target/blacktie-codec-5.0.4.Final-SNAPSHOT-centos54x64.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/core/target/blacktie-core-5.0.4.Final-SNAPSHOT-centos54x64.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/tx/target/blacktie-tx-5.0.4.Final-SNAPSHOT-centos54x64.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/transport/target/blacktie-transport-5.0.4.Final-SNAPSHOT-centos54x64.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/xatmi/target/blacktie-xatmi-5.0.4.Final-SNAPSHOT-centos54x64.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/xsd/target/blacktie-xsd-5.0.4.Final-SNAPSHOT.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] Unpacking /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/hybrid/target/blacktie-hybrid-5.0.4.Final-SNAPSHOT-centos54x64.jar to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cxx/test with includes "**/*" and excludes ""
> [INFO] 
> [INFO] --- maven-dependency-plugin:2.8:copy-dependencies (copy-dependencies) @ btadmin ---
> [INFO] Copying protoc-2.4.1.3-centos54x64.zip to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/dependencies/protoc-2.4.1.3-centos54x64.zip
> [INFO] Copying xercesc-3.0.1-centos54x64.zip to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/dependencies/xercesc-3.0.1-centos54x64.zip
> [INFO] 
> [INFO] --- maven-antrun-plugin:1.7:run (unzip) @ btadmin ---
> [WARNING] Parameter tasks is deprecated, use target instead
> [INFO] Executing tasks
> main:
>      [echo] unzip dependencies to test
> [INFO] Executed tasks
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ btadmin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ btadmin ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 18 source files to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/classes
> [WARNING] /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/src/main/java/org/jboss/narayana/blacktie/btadmin/commands/Help.java:[129,50] decode(java.lang.String) in java.net.URLDecoder has been deprecated
> [WARNING] /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/src/main/java/org/jboss/narayana/blacktie/btadmin/commands/Shutdown.java: Some input files use unchecked or unsafe operations.
> [WARNING] /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/src/main/java/org/jboss/narayana/blacktie/btadmin/commands/Shutdown.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- blacktie-cpp-plugin:5.0.4.Final-SNAPSHOT:process-classes (process-classes) @ btadmin ---
> copy-check:
> init:
> package:
>     [mkdir] Created dir: /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/classes/lib
>     [mkdir] Created dir: /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/classes/include
> copy-idl:
> copy-includes:
> copy-libs:
> process-classes:
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ btadmin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 3 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ btadmin ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 12 source files to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/test-classes
> [INFO] 
> [INFO] --- blacktie-cpp-plugin:5.0.4.Final-SNAPSHOT:test-compile (test-compile) @ btadmin ---
> init:
> fileset.test.check:
>      [echo] src/test/cpp **/*.c*
> gen-test-runner1:
> gen-test-runner2:
> gen-test-runner:
> package:
> test-compile:
> [INFO] 
> [INFO] --- blacktie-cpp-plugin:5.0.4.Final-SNAPSHOT:generate-exe (generate-exe) @ btadmin ---
> init:
> init-cpp-test:
>     [mkdir] Created dir: /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cpp-test-classes
>      [copy] Copying 3 files to /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/target/cpp-test-classes
> generate-exe:
> libnames not specified or empty.
> libnames not specified or empty.
>        [cc] 1 total files to be compiled.
>        [cc] /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/src/test/cpp/cs.cxx: In function ‘int main(int, char**)’:
>        [cc] /home/hudson/workspace/narayana-quickstarts/narayana/blacktie/btadmin/src/test/cpp/cs.cxx:31:39: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
>        [cc]   putenv("BLACKTIE_CONFIGURATION=linux");
>        [cc]                                        ^
>        [cc] Starting link
>        [cc] /lib64/libaprutil-1.so.0: undefined reference to `apr_pool_pre_cleanup_register'
>        [cc] collect2: error: ld returned 1 exit status
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Blacktie C++ Plugin ............................... SUCCESS [8.183s]
> [INFO] BlackTie all files ................................ SUCCESS [0.626s]
> [INFO] Blacktie Defaults and Dependencies ................ SUCCESS [0.032s]
> [INFO] Blacktie C Defaults and Dependencies .............. SUCCESS [21.098s]
> [INFO] Blacktie Java JNI Tests ........................... SUCCESS [1.017s]
> [INFO] Blacktie Schemas .................................. SUCCESS [0.252s]
> [INFO] Blacktie CORBA Transport .......................... SUCCESS [0.018s]
> [INFO] Blacktie CORBA Transport Java Bindings ............ SUCCESS [1.057s]
> [INFO] BlackTie Messaging (via JMS) ...................... SUCCESS [10.750s]
> [INFO] Blacktie Java XATMI Implementation ................ SUCCESS [5.635s]
> [INFO] Blacktie Java NBF Implementation .................. SUCCESS [0.228s]
> [INFO] Blacktie Administration Services .................. SUCCESS [1:22.245s]
> [INFO] Blacktie Administration Services EAR .............. SUCCESS [2.325s]
> [INFO] Blacktie Core C++ Implementation .................. SUCCESS [13.134s]
> [INFO] Blacktie Codec C++ Implementation ................. SUCCESS [16.424s]
> [INFO] Blacktie C++ REST Transport ....................... SUCCESS [5.257s]
> [INFO] Blacktie Utilities ................................ SUCCESS [3.695s]
> [INFO] Blacktie C++ TX Client Library .................... SUCCESS [8.486s]
> [INFO] Blacktie C++ Hybrid Transport ..................... SUCCESS [6.268s]
> [INFO] Blacktie C++ XATMI Implementation ................. SUCCESS [7.711s]
> [INFO] Blacktie C++ Queue Client ......................... SUCCESS [4.280s]
> [INFO] Blacktie NBF ...................................... SUCCESS [5.005s]
> [INFO] BlackTie Admin CLI Tool ........................... FAILURE [1.831s]
> [INFO] Blacktie Server Code Generation ................... SKIPPED
> [INFO] Blacktie Java/C C/Java XATMI Tests ................ SKIPPED
> [INFO] Blacktie Distribution ............................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3:26.487s
> [INFO] Finished at: Sat Oct 18 01:28:34 BST 2014
> [INFO] Final Memory: 65M/431M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.narayana.blacktie.plugins:blacktie-cpp-plugin:5.0.4.Final-SNAPSHOT:generate-exe (generate-exe) on project btadmin: Failed to execute: Executing Ant script: /btcpp.build.xml [generate-exe]: Failed to execute. gcc failed with return code 1 -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :btadmin
> UID        PID  PPID  C STIME TTY          TIME CMD
> hudson    2525  2522  0 Oct10 ?        00:08:00 sshd: hudson at notty
> hudson    2568  2525  0 Oct10 ?        00:00:00 bash -c cd '/home/hudson' && java  -jar slave.jar
> hudson    2575  2568  0 Oct10 ?        01:36:55 java -jar slave.jar
> hudson    3261 32389  0 01:28 ?        00:00:00 ps -f
> hudson   32369  2575  0 01:07 ?        00:00:00 /bin/bash -xe /tmp/hudson884782302161251351.sh
> hudson   32389 32369  0 01:07 ?        00:00:00 /bin/bash -xe /tmp/hudson884782302161251351.sh
> pkill: killing pid 2468 failed: Operation not permitted
> pkill: killing pid 298 failed: Operation not permitted
> pkill: killing pid 299 failed: Operation not permitted
> pkill: killing pid 300 failed: Operation not permitted
> pkill: killing pid 301 failed: Operation not permitted
> pkill: killing pid 302 failed: Operation not permitted
> pkill: killing pid 303 failed: Operation not permitted
> pkill: killing pid 304 failed: Operation not permitted
> pkill: killing pid 305 failed: Operation not permitted
> pkill: killing pid 306 failed: Operation not permitted
> pkill: killing pid 307 failed: Operation not permitted
> pkill: killing pid 308 failed: Operation not permitted
> pkill: killing pid 309 failed: Operation not permitted
> pkill: killing pid 310 failed: Operation not permitted
> pkill: killing pid 311 failed: Operation not permitted
> pkill: killing pid 312 failed: Operation not permitted
> pkill: killing pid 313 failed: Operation not permitted
> pkill: killing pid 314 failed: Operation not permitted
> pkill: killing pid 323 failed: Operation not permitted
> pkill: killing pid 324 failed: Operation not permitted
> pkill: killing pid 327 failed: Operation not permitted
> pkill: killing pid 328 failed: Operation not permitted
> pkill: killing pid 331 failed: Operation not permitted
> pkill: killing pid 332 failed: Operation not permitted
> pkill: killing pid 333 failed: Operation not permitted
> UID        PID  PPID  C STIME TTY          TIME CMD
> hudson    2525  2522  0 Oct10 ?        00:08:00 sshd: hudson at notty
> hudson    2568  2525  0 Oct10 ?        00:00:00 bash -c cd '/home/hudson' && java  -jar slave.jar
> hudson    2575  2568  0 Oct10 ?        01:36:55 java -jar slave.jar
> hudson    3272 32389  0 01:28 ?        00:00:00 ps -f
> hudson   32369  2575  0 01:07 ?        00:00:00 /bin/bash -xe /tmp/hudson884782302161251351.sh
> hudson   32389 32369  0 01:07 ?        00:00:00 /bin/bash -xe /tmp/hudson884782302161251351.sh
> Some tests failed: http://172.17.131.2/job/narayana-quickstarts/112/
> Build step 'Execute shell' marked build as failure
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)



More information about the jbossts-issues mailing list