You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/03/26 17:52:24 UTC

DO NOT REPLY [Bug 52987] New: running a jmeter script that makes a ssh will hang the exec

https://issues.apache.org/bugzilla/show_bug.cgi?id=52987

             Bug #: 52987
           Summary: running a jmeter script that makes a ssh will hang the
                    exec
           Product: Ant
           Version: 1.8.3
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Core
        AssignedTo: notifications@ant.apache.org
        ReportedBy: laurentiu.lugojan@gmail.com
    Classification: Unclassified


I extended Jmeter with ssh library and used it in a jmx script. If this script
is called from ant using exec it will hang the exec. Only the scripts that uses
ssh Jmeter library will hang ant exec.

The wrapper:
-bash-3.00# cat testLau.sh
#!/bin/bash

ant -debug -verbose -buildfile /work/Automation/Ant/testLau.xml
/work/Automation/Ant/reports.sh
/work/Automation/Ant/index_automation.sh
-bash-3.00#

The ant file:
-bash-3.00# cat testLau.xml
<?xml version="1.0" encoding="utf-8"?>
<project name="TestCase scripts" default="Execute_Test" basedir=".">
<description>TestCase scripts</description>
<property file="/work/Automation/Ant/antproject.properties"/>
<target name="Execute_Test" description="TestCase scripts">
<record name="${log.dir}/Test.log" loglevel="verbose" action="start"/>
<echo message="CDR_MRBTSubscription_Desubscription cases ... [begin]"></echo>
<exec executable="${jmeter.path}" spawn="false">
<arg line="-p /work/Automation/TestPlan/CFG/platform.properties -q
/work/Automation/TestPlan/CFG/interface.properties -q
/work/Automation/TestPlan/CFG/test.properties -n -t
${jmx.dir}/Tests/CDR_MRBTSubscription_Desubscription.jmx -l
${log.dir}/TestCase.results -j ${log.dir}/TestCase.jtl"/>
</exec>
<echo message="CDR_MRBTSubscription_Desubscription cases ... [end]"></echo>
<record name="${log.dir}/Test.log" action="stop"/>
<xslt
in="${log.dir}/TestCase.results"
out="${log.dir}/Test.html"
style="${jmeter.home}/extras/jmeter-results-detail-report_21_tests.xsl"/>
</target>
</project>

-bash-3.00#

The output of the ant command:
-bash-3.00# ./testLau.sh
Apache Ant(TM) version 1.8.3 compiled on February 26 2012
Buildfile: /work/Automation/Ant/testLau.xml
Detected Java version: 1.6 in: /jdk1.6.0_05/jre
Detected OS: SunOS
parsing buildfile /work/Automation/Ant/testLau.xml with URI =
file:/work/Automation/Ant/testLau.xml
Project base dir set to: /work/Automation/Ant
parsing buildfile
jar:file:/usr/local/apache-ant-1.8.3/lib/ant.jar!/org/apache/tools/ant/antlib.xml
with URI =
jar:file:/usr/local/apache-ant-1.8.3/lib/ant.jar!/org/apache/tools/ant/antlib.xml
from a zip file
 [property] Loading /work/Automation/Ant/antproject.properties
Build sequence for target(s) `Execute_Test' is [Execute_Test]
Complete build sequence is [Execute_Test, ]

Execute_Test:
     [echo] CDR_MRBTSubscription_Desubscription cases ... [begin]
     [exec] Current OS is SunOS
     [exec] Executing '/usr/local/jakarta-jmeter-2.5.1/bin/jmeter.sh' with
arguments:
     [exec] '-p'
     [exec] '/work/Automation/TestPlan/CFG/platform.properties'
     [exec] '-q'
     [exec] '/work/Automation/TestPlan/CFG/interface.properties'
     [exec] '-q'
     [exec] '/work/Automation/TestPlan/CFG/test.properties'
     [exec] '-n'
     [exec] '-t'
     [exec]
'/work/Automation/TestPlan/Tests/CDR_MRBTSubscription_Desubscription.jmx'
     [exec] '-l'
     [exec] '/work/Automation/Log/TestCase.results'
     [exec] '-j'
     [exec] '/work/Automation/Log/TestCase.jtl'
     [exec]
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] Created the tree successfully using
/work/Automation/TestPlan/Tests/CDR_MRBTSubscription_Desubscription.jmx
     [exec] Starting the test @ Mon Mar 26 17:50:08 EEST 2012 (1332773408762)
     [exec] Waiting for possible shutdown message on port 4445
     [exec] 26/03/2012 - 17:50:11 [ INFO ] ------[CDR Subs / Unsubs]
START------
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] DB query: select PROPERTY_VALUE
from PROFILE_MD_PARAMETER where PROPERTY_NAME='DEFAULT_BILLING_TYPE'
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] billingType: 1
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] transformed billingType: 2
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] DB query: select PROPERTY_VALUE
from PROFILE_MD_PARAMETER where PROPERTY_NAME='DEFAULT_COMMERCIAL_MODEL'
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] CM: 1
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] DB query: select SUB_FEE_FLAG from
COMMERCIAL_MODEL where COMMERCIAL_MODEL='1'
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] sPrice: 1
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] FS5000_PROVISIONING_ENABLED: TRUE
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] ALLOW_MEDIATION_DEVICE_INTEGRATION:
TRUE
     [exec] 26/03/2012 - 17:50:12 [ DEBUG ] Action Channel sent trough API: 3
     [exec] 26/03/2012 - 17:50:12 [ INFO ] TDM user --- Subscription complete
=1
     [exec] 26/03/2012 - 17:50:31 [ DEBUG ] API request:
<ProvisionInput><action>MRBTSubscription</action><userId>mrbt</userId><password>mrbt123</password><msisdn>5500000030</msisdn><language>EN</language><notificationType>0</notificationType><notificationInfo></notificationInfo><cosId></cosId><homeTimeZone></homeTimeZone><defaultRbt></defaultRbt><prepaid></prepaid><networkGroup></networkGroup><complete>1</complete><min></min><interface>WEB</interface><notificationSMS>5500000030</notificationSMS></ProvisionInput>
     [exec] 26/03/2012 - 17:50:31 [ DEBUG ] API response: <?xml version="1.0"
encoding="UTF-8"?><ProvisionOutput><returnCode>00</returnCode><description>Request
Accepted</description><commercialModel>1</commercialModel></ProvisionOutput>
     [exec] 26/03/2012 - 17:50:31 [ DEBUG ] Extracted response code: 00
     [exec] 26/03/2012 - 17:50:31 [ INFO ] TDM user --- Subscription complete
=2
     [exec] 26/03/2012 - 17:51:23 [ DEBUG ] API request:
<ProvisionInput><action>MRBTSubscription</action><userId>mrbt</userId><password>mrbt123</password><msisdn>5500000031</msisdn><language>EN</language><notificationType>0</notificationType><notificationInfo></notificationInfo><cosId></cosId><homeTimeZone></homeTimeZone><defaultRbt></defaultRbt><prepaid></prepaid><networkGroup></networkGroup><complete>2</complete><min></min><interface>WEB</interface><notificationSMS>5500000031</notificationSMS></ProvisionInput>
     [exec] 26/03/2012 - 17:51:23 [ DEBUG ] API response: <?xml version="1.0"
encoding="UTF-8"?><ProvisionOutput><returnCode>00</returnCode><description>Request
Accepted</description><commercialModel>1</commercialModel></ProvisionOutput>
     [exec] 26/03/2012 - 17:51:23 [ DEBUG ] Extracted response code: 00
     [exec] 26/03/2012 - 17:51:23 [ INFO ] Platform allows IMS users
     [exec] 26/03/2012 - 17:51:23 [ INFO ] starting IMS scenarios
     [exec] 26/03/2012 - 17:51:23 [ INFO ] IMS user --- Subscription complete
=1
     [exec] 26/03/2012 - 17:51:49 [ DEBUG ] API request:
<ProvisionInput><action>MRBTSubscription</action><userId>mrbt</userId><password>mrbt123</password><msisdn>auto0030@alu.com</msisdn><language>EN</language><notificationType>1</notificationType><notificationInfo>auto0030@alu.com</notificationInfo><cosId></cosId><homeTimeZone></homeTimeZone><defaultRbt></defaultRbt><prepaid></prepaid><networkGroup></networkGroup><complete>1</complete><min></min><interface>WEB</interface><notificationSMS></notificationSMS></ProvisionInput>
     [exec] 26/03/2012 - 17:51:49 [ DEBUG ] API response: <?xml version="1.0"
encoding="UTF-8"?><ProvisionOutput><returnCode>00</returnCode><description>Request
Accepted</description><commercialModel>1</commercialModel></ProvisionOutput>
     [exec] 26/03/2012 - 17:51:49 [ DEBUG ] Extracted response code: 00
     [exec] 26/03/2012 - 17:51:49 [ INFO ] IMS user --- Subscription complete
=2
     [exec] 26/03/2012 - 17:54:05 [ DEBUG ] API request:
<ProvisionInput><action>MRBTSubscription</action><userId>mrbt</userId><password>mrbt123</password><msisdn>auto0031@alu.com</msisdn><language>EN</language><notificationType>1</notificationType><notificationInfo>auto0031@alu.com</notificationInfo><cosId></cosId><homeTimeZone></homeTimeZone><defaultRbt></defaultRbt><prepaid></prepaid><networkGroup></networkGroup><complete>2</complete><min></min><interface>WEB</interface><notificationSMS></notificationSMS></ProvisionInput>
     [exec] 26/03/2012 - 17:54:05 [ DEBUG ] API response: <?xml version="1.0"
encoding="UTF-8"?><ProvisionOutput><returnCode>00</returnCode><description>Request
Accepted</description><commercialModel>1</commercialModel></ProvisionOutput>
     [exec] 26/03/2012 - 17:54:05 [ DEBUG ] Extracted response code: 00
     [exec] 26/03/2012 - 17:54:05 [ DEBUG ] 5 minutes delay start
     [exec] 26/03/2012 - 17:59:05 [ DEBUG ] 5 minutes delay end
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] ssh request: grep 5500000030
/cms/bgw/billing/backup/tal/*
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] result from ssh:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181317.txt:5500000030,2,01,PRBT,0,1,20120326181238
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] extracted path and filename:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181317.txt
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] parsed msisdn: 5500000030
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] parsed billingType: 2
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] parsed action: 01
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] parsed CP ID: PRBT
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] parsed settlement ratio: 0
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] parsed price: 1
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] parsed date: 20120326181238
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 17:59:08 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] ssh request: grep 5500000030
/cms/profile/billing/backup/prbtprov/*
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] result from ssh:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326181317_819.txt:5500000030,1,1,3,20120326181247
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] extracted path and filename:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326181317_819.txt
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed msisdn: 5500000030
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed Action Status: 1
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed Monthly Fee Package Type: 1
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed Action Channel: 3
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed Time Stamp: 20120326181247
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] ssh request: grep 5500000031
/cms/bgw/billing/backup/tal/*
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] result from ssh:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181819.txt:5500000031,2,01,PRBT,0,1,20120326181327
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] extracted path and filename:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181819.txt
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed msisdn: 5500000031
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed billingType: 2
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed action: 01
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed CP ID: PRBT
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed settlement ratio: 0
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed price: 1
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] parsed date: 20120326181327
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 17:59:09 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] ssh request: grep 5500000031
/cms/profile/billing/backup/prbtprov/*
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] result from ssh:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181819.txt:5500000031,2,01,PRBT,0,1,20120326181327
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] extracted path and filename:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181819.txt
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed msisdn: 5500000031
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed Action Status: 2
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed Monthly Fee Package Type: 01
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed Action Channel: PRBT
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed Time Stamp: 0
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 17:59:10 [ ERROR ] action status verification
failed!!!!!!!!!!
     [exec] 26/03/2012 - 17:59:10 [ ERROR ] expected action status: 1
     [exec] 26/03/2012 - 17:59:10 [ ERROR ] Monthly Fee Package Type
verification failed!!!!!!!!!!
     [exec] 26/03/2012 - 17:59:10 [ ERROR ] expected Monthly Fee Package Type:
1
     [exec] 26/03/2012 - 17:59:10 [ ERROR ] Action Channel verification
failed!!!!!!!!!!
     [exec] 26/03/2012 - 17:59:10 [ ERROR ] expected Action Channel: 3
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] ssh request: grep auto0030@alu.com
/cms/bgw/billing/backup/tal/*
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] result from ssh:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181819.txt:auto0030@alu.com,2,01,PRBT,0,1,20120326181403
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] extracted path and filename:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181819.txt
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed msisdn: auto0030@alu.com
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed billingType: 2
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed action: 01
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed CP ID: PRBT
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed settlement ratio: 0
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed price: 1
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] parsed date: 20120326181403
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 17:59:10 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] ssh request: grep auto0030@alu.com
/cms/profile/billing/backup/prbtprov/*
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] result from ssh:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326181622_820.txt:auto0030@alu.com,1,1,3,20120326181405
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] extracted path and filename:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326181622_820.txt
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed msisdn: auto0030@alu.com
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed Action Status: 1
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed Monthly Fee Package Type: 1
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed Action Channel: 3
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed Time Stamp: 20120326181405
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] ssh request: grep auto0031@alu.com
/cms/bgw/billing/backup/tal/*
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] result from ssh:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181819.txt:auto0031@alu.com,2,01,PRBT,0,1,20120326181529
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] extracted path and filename:
/cms/bgw/billing/backup/tal/BillingReq_PRBT_20120326181819.txt
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed msisdn: auto0031@alu.com
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed billingType: 2
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed action: 01
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed CP ID: PRBT
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed settlement ratio: 0
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed price: 1
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] parsed date: 20120326181529
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 17:59:11 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] ssh request: grep auto0031@alu.com
/cms/profile/billing/backup/prbtprov/*
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] result from ssh:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326181622_820.txt:auto0031@alu.com,1,1,3,20120326181547
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] extracted path and filename:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326181622_820.txt
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] parsed msisdn: auto0031@alu.com
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] parsed Action Status: 1
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] parsed Monthly Fee Package Type: 1
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] parsed Action Channel: 3
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] parsed Time Stamp: 20120326181547
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 17:59:12 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 17:59:12 [ INFO ] TDM user --- Unsubscription complete
=1
     [exec] 26/03/2012 - 17:59:30 [ DEBUG ] API request:
<ProvisionInput><action>Desubscription</action><userId>mrbt</userId><password>mrbt123</password><msisdn>5500000030</msisdn><complete>1</complete><interface>WEB</interface><reason>1</reason></ProvisionInput>
     [exec] 26/03/2012 - 17:59:30 [ DEBUG ] API response: <?xml version="1.0"
encoding="UTF-8"?><ProvisionOutput><returnCode>00</returnCode><description>Request
Accepted</description></ProvisionOutput>
     [exec] 26/03/2012 - 17:59:30 [ DEBUG ] Extracted response code: 00
     [exec] 26/03/2012 - 17:59:30 [ INFO ] TDM user --- Desubscription complete
=2
     [exec] 26/03/2012 - 18:00:07 [ DEBUG ] API request:
<ProvisionInput><action>Desubscription</action><userId>mrbt</userId><password>mrbt123</password><msisdn>5500000031</msisdn><complete>2</complete><interface>WEB</interface><reason>1</reason></ProvisionInput>
     [exec] 26/03/2012 - 18:00:07 [ DEBUG ] API response: <?xml version="1.0"
encoding="UTF-8"?><ProvisionOutput><returnCode>00</returnCode><description>Request
Accepted</description></ProvisionOutput>
     [exec] 26/03/2012 - 18:00:07 [ DEBUG ] Extracted response code: 00
     [exec] 26/03/2012 - 18:00:07 [ INFO ] Platform allows IMS users
     [exec] 26/03/2012 - 18:00:07 [ INFO ] starting IMS scenarios
     [exec] 26/03/2012 - 18:00:07 [ INFO ] IMS user --- Desubscription complete
=1
     [exec] 26/03/2012 - 18:00:16 [ DEBUG ] API request:
<ProvisionInput><action>Desubscription</action><userId>mrbt</userId><password>mrbt123</password><msisdn>auto0030@alu.com</msisdn><complete>1</complete><interface>WEB</interface><reason>1</reason></ProvisionInput>
     [exec] 26/03/2012 - 18:00:16 [ DEBUG ] API response: <?xml version="1.0"
encoding="UTF-8"?><ProvisionOutput><returnCode>00</returnCode><description>Request
Accepted</description></ProvisionOutput>
     [exec] 26/03/2012 - 18:00:16 [ DEBUG ] Extracted response code: 00
     [exec] 26/03/2012 - 18:00:16 [ INFO ] IMS user --- Desubscription complete
=2
     [exec] 26/03/2012 - 18:00:34 [ DEBUG ] API request:
<ProvisionInput><action>Desubscription</action><userId>mrbt</userId><password>mrbt123</password><msisdn>auto0031@alu.com</msisdn><complete>2</complete><interface>WEB</interface><reason>1</reason></ProvisionInput>
     [exec] 26/03/2012 - 18:00:34 [ DEBUG ] API response: <?xml version="1.0"
encoding="UTF-8"?><ProvisionOutput><returnCode>00</returnCode><description>Request
Accepted</description></ProvisionOutput>
     [exec] 26/03/2012 - 18:00:34 [ DEBUG ] Extracted response code: 00
     [exec] 26/03/2012 - 18:00:34 [ DEBUG ] 5 minutes delay start
     [exec] 26/03/2012 - 18:05:34 [ DEBUG ] 5 minutes delay end
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] ssh request: grep 5500000030
/cms/profile/billing/backup/prbtprov/*
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] result from ssh:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326182223_821.txt:5500000030,2,1,3,20120326182146
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] extracted path and filename:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326182223_821.txt
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] parsed msisdn: 5500000030
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] parsed Action Status: 2
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] parsed Monthly Fee Package Type: 1
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] parsed Action Channel: 3
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] parsed Time Stamp: 20120326182146
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 18:05:35 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] ssh request: grep 5500000031
/cms/profile/billing/backup/prbtprov/*
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] result from ssh:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326182223_821.txt:5500000031,2,1,3,20120326182155
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] extracted path and filename:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326182223_821.txt
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed msisdn: 5500000031
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed Action Status: 2
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed Monthly Fee Package Type: 1
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed Action Channel: 3
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed Time Stamp: 20120326182155
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] ssh request: grep auto0030@alu.com
/cms/profile/billing/backup/prbtprov/*
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] result from ssh:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326182251_822.txt:auto0030@alu.com,2,1,3,20120326182232
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] extracted path and filename:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326182251_822.txt
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed msisdn: auto0030@alu.com
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed Action Status: 2
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed Monthly Fee Package Type: 1
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed Action Channel: 3
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] parsed Time Stamp: 20120326182232
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 18:05:36 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] ssh request: grep auto0031@alu.com
/cms/profile/billing/backup/prbtprov/*
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] result from ssh:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326182251_822.txt:auto0031@alu.com,2,1,3,20120326182242
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] extracted path and filename:
/cms/profile/billing/backup/prbtprov/Prov_PRBT_Postpaid_20120326182251_822.txt
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] results after parsing below:
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] parsed msisdn: auto0031@alu.com
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] parsed Action Status: 2
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] parsed Monthly Fee Package Type: 1
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] parsed Action Channel: 3
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] parsed Time Stamp: 20120326182242
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] Validate Rsponse
     [exec] 26/03/2012 - 18:05:37 [ DEBUG ] Validation was sucessful!
     [exec] 26/03/2012 - 18:05:37 [ INFO ] ------[CDR Subs / Unsubs] END------
     [exec] Tidying up ...    @ Mon Mar 26 18:05:37 EEST 2012 (1332774337780)
     [exec] ... end of run
^Ccat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_18_23_45/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_02_23_15_40_06/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_02_23_16_04_33/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_02_23_16_50_54/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_02_23_17_27_53/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_15_10_29/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_15_47_39/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_16_08_00/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_16_43_23/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_16_44_35/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_17_04_29/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_17_21_17/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_17_36_14/cmsversion.txt
cat: cannot open
/work/Automation/Reports/172.18.5.169/2012_03_26_18_23_45/cmsversion.txt
-bash-3.00#

PS: the cannot open errors are ok and come from index_automation.sh. The
problem is that ant will hang after "[exec] ... end of run". I used ctrl+c to
exit.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52987] running a jmeter script that makes a ssh will hang the exec

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52987

--- Comment #1 from laurentiu.lugojan@gmail.com 2012-03-26 15:55:01 UTC ---
The issue is valid on Ant 1.8.2 and 1.8.3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52987] running a jmeter script that makes a ssh will hang the exec

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52987

--- Comment #2 from Stefan Bodewig <bo...@apache.org> 2012-03-27 03:59:26 UTC ---
The most likely reason is the forked process waits for input, like asking for a
passphrase.  To me this looks like something that is easier to resolve on the
user list than a bug in Ant.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 52987] running a jmeter script that makes a ssh will hang the exec

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52987

--- Comment #3 from laurentiu.lugojan@gmail.com 2012-03-27 06:11:46 UTC ---
(In reply to comment #2)
> The most likely reason is the forked process waits for input, like asking for a
> passphrase.  To me this looks like something that is easier to resolve on the
> user list than a bug in Ant.

Hi Stefan,

I am glad to do a workaround if possible but I don't know how. spawn="true"
doesn't help because the shell scripts from my wrapper are dependent on the
results of the jmx script. I also tried with inputstring="" without any
success. It's ok for me if there will be no ant fix and just a workaround. I
need this ant script to be independent because it's a part of automated
validation.

Thanks and regards,
Laurentiu.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.