Hi Google Users, Need a help on the mentioned subject line. I have installed the jenkins using *"rpm -ivh"* command Currently I am running the Jenkins on 1. Linux RHEL 5.8 (32-bit) 2. java version "1.7.0_79" 3. Master mode only 4. Jenkins Version 1.651.3
Steps to Execute -------------------------- 1. I am trying to run the junit test cases from *build.xml* using Ant(Apache Ant(TM) version 1.9.7 compiled on April 9 2016) 2. Same project I am running from Windows 7 for easy debugging using Eclipse for build.xml and other class files. 3. I copied the Windows project to Linux path and created a job and workspace in* /var/lib/jenkins/* 4. Run the build from Jenkins which required desired configuration and it run perfectly. 5. Later I compiled the AllTest.java file from Windows and copied the .java and .class file from windows and copied the respective files to* /var/lib/jenkins/workspace/project/src *folder and .class file to* /var/lib/jenkins/workspace/project/target/class* folder. 6. When I build the project again from Jenkins it started to throw error after all my test cases got executed. 7. Every time its pointing to Junit task in the build.xml file, I tried to google but didn't get the exact answers. 8. When I didn't find any resolution I have removed the jenkins rpm using *"rpm -e"* command. But it didn't removed the jenkins folder from* /var/lib/jenkins * 9. Re-installed the same rpm and freshly created new freestyle project but it didn't resolve the same error and again after running all the test cases it throws the error. Appreciate your help. Please find the attached build.xml Thanks, Chinmoy -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/afa73858-408a-4654-ac5b-38cb3352bf66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
build.xml
Description: XML document
Started by user anonymous Building in workspace /var/lib/jenkins/workspace/diameter-ta-dummy [diameter-ta-dummy] $ /var/lib/jenkins/tools/hudson.tasks.Ant_AntInstallation/ANT_APACHE/bin/ant -file build.xml Buildfile: /var/lib/jenkins/workspace/diameter-ta-dummy/build.xml [echo] Compile... compile: [javac] /var/lib/jenkins/workspace/diameter-ta-dummy/build.xml:65: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds run-tests: [junit] Running com.tecnomen.diameter.tests.janus.Janus_GPRS.AllTests [junit] Testsuite: com.tecnomen.diameter.tests.janus.Janus_GPRS.AllTests [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.942 sec [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.942 sec [junit] [junit] ------------- Standard Output --------------- [junit] 12 Oct 2016 23:10:25,025 [RemoteConsoleAllocator 9991] [INFO ConsoleModule$RemoteConsoleAllocator.137] RemoteConsoleAllocator listening on port 9991 [junit] 12 Oct 2016 23:10:25,172 [JSMEE TIMER] [INFO ThreadpoolScheduler$Timer.294] Started JSMEE Timer thread [junit] ***** suiteApplicationStartUp() ***** [junit] CONFIGURED COUNTRY: Nicaragua [junit] 12 Oct 2016 23:10:25,189 [TCPComms Listener 1244047251, port 13001] [INFO TCPComms$ListenerThread.204] TCPComms Listener 1244047251, port 13001 listening [junit] 12 Oct 2016 23:10:25,191 [JSMEE TIMER] [INFO ThreadpoolScheduler$Timer.294] Started JSMEE Timer thread [junit] 12 Oct 2016 23:10:25,197 [TCPComms Sender -1888363651] [INFO TCPComms$SenderThread.745] TCPComms Sender -1888363651 starting [junit] suiteApplicationStartUp() Diameter Stack Initialised [junit] suiteApplicationStartUp() SQLTester Initialised [junit] suiteApplicationStartUp() GCDRH Initialised [junit] CdrListener() called [junit] suiteApplicationStartUp() CdrListener Initialised [junit] 12 Oct 2016 23:10:27,523 [main] [INFO HttpServer.82] Starting Http Server : HttpNotificationReceiver : SMS Notification Receiver, [junit] 12 Oct 2016 23:10:27,524 [main] [INFO HttpServer.85] Http Server socket listening port : ServerSocket[addr=0.0.0.0/0.0.0.0,localport=50240] [junit] CdrListener.run() called [junit] 12 Oct 2016 23:10:27,538 [main] [INFO HttpServer.82] Starting Http Server : HttpNotificationReceiver : USSD Notification Receiver, [junit] 12 Oct 2016 23:10:27,539 [main] [INFO HttpServer.85] Http Server socket listening port : ServerSocket[addr=0.0.0.0/0.0.0.0,localport=50241] [junit] suiteApplicationStartUp() Notification Server Initialised [junit] testSessionOneDebit_Ter_SuccessUSUEQGSU_1003_1005 [junit] NIDXXXXXXXXX1 [junit] HEREXXXXXXXXXXXXXXXXXXXXX11111111111111111111 [junit] HEREXXXXXXXXXXXXXXXXXXXXX22222222222222222222222222222222 [junit] NIDXXXXXXXXX3 [junit] NIDXXXXXXXXX4 [junit] NIDXXXXXXXXX5 [junit] NIDXXXXXXXXX6 [junit] ***** RESULTCODEyyyyyyy!!!! 2001 **** [junit] ***** RESULTCODExxxxxx!!!! 2001 **** [junit] ***** RESULTCODE!!!! 2001 **** [junit] NIDXXXXXXXXX1 [junit] HEREXXXXXXXXXXXXXXXXXXXXX11111111111111111111 [junit] HEREXXXXXXXXXXXXXXXXXXXXX22222222222222222222222222222222 [junit] ***** RESULTCODEyyyyyyy!!!! 2001 **** [junit] ***** RESULTCODExxxxxx!!!! 2001 **** [junit] ***** RESULTCODE!!!! 2001 **** [junit] ***** MSCC Result Code 2001 ***** [junit] ***** MSCC Result Code 2001 ***** [junit] ***** Granted Units 1024 ***** [junit] XXXXXXXXXXXXXXXXXREPORTING REASON 2FINAL/2 [junit] NIDXXXXXXXXX1 [junit] HEREXXXXXXXXXXXXXXXXXXXXX11111111111111111111 [junit] HEREXXXXXXXXXXXXXXXXXXXXX22222222222222222222222222222222 [junit] ***** RESULTCODEyyyyyyy!!!! 2001 **** [junit] ***** RESULTCODExxxxxx!!!! 2001 **** [junit] ***** RESULTCODE!!!! 2001 **** [junit] CCRTerm message [junit] NIDXXXXXXXXX1 [junit] HEREXXXXXXXXXXXXXXXXXXXXX11111111111111111111 [junit] HEREXXXXXXXXXXXXXXXXXXXXX22222222222222222222222222222222 [junit] ***** RESULTCODEyyyyyyy!!!! 2001 **** [junit] ***** RESULTCODExxxxxx!!!! 2001 **** [junit] ***** RESULTCODE!!!! 2001 **** [junit] ------------- ---------------- --------------- [junit] ------------- Standard Error ----------------- [junit] Oct 12, 2016 11:10:25 PM dk.i1.diameter.node.Node start [junit] INFO: Starting Diameter node [junit] Oct 12, 2016 11:10:25 PM dk.i1.diameter.node.Node loadTransportProtocol [junit] INFO: TCP support was loaded [junit] Oct 12, 2016 11:10:25 PM dk.i1.diameter.node.Node loadTransportProtocol [junit] INFO: SCTP support was not loaded [junit] Oct 12, 2016 11:10:25 PM dk.i1.diameter.node.Node start [junit] INFO: Diameter node started [junit] Oct 12, 2016 11:10:25 PM dk.i1.diameter.node.Node initiateConnection [junit] INFO: Initiating connection to 'diamserver2.tecnomen.ie' port 3895 [junit] Oct 12, 2016 11:10:25 PM dk.i1.diameter.node.Node handleCEA [junit] INFO: Connection to aaa://diamserver2.tecnomen.ie:3895 is now ready [junit] ------------- ---------------- --------------- BUILD FAILED /var/lib/jenkins/workspace/diameter-ta-dummy/build.xml:104: Unable to write log file Total time: 7 seconds Build step 'Invoke Ant' marked build as failure Finished: FAILURE