test.port is set in build.<platform>.properties
I renamed the old value of testPort to test.port.
This should be committed?





"Dushshantha Chandradasa" <[EMAIL PROTECTED]>

13/06/2005 07:06

Please respond to
"Apache AXIS C Developers List"

To
"Apache AXIS C Developers List" <[email protected]>
cc
Subject
RE: More changes





Hi John,
 
Here is the ant output of a failing test.
 
Buildfile: test.xml
 
pre-init:
 
preInitializeTest:
 
overrideTest:
 
set-platform-specifics:
 
checkIfDebug:
 
initialize:
 
initializeTest:
 
compileMonitorUtility:
 
compile:
    [javac] Compiling 10 source files to C:\axiscpp\ws-axis\c\tests\utils\monitor
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\ClientReturner.java
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\MockServer.java
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\MockServerThread.java
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\ResponseSender.java
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\StopMockServer.java
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\StopRequestException.java
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\StopTCPMonitor.java
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\TCPMonitor.java
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\TestClientListener.java
    [javac] C:\axiscpp\ws-axis\c\tests\utils\monitor\org\apache\test\TestClientThread.java
 
package:
      [jar] Building jar: C:\axiscpp\ws-axis\c\tests\utils\monitor\monitor.jar
 
production:
 
moveMonitorJar:
     [move] Moving 11 files to C:\obj\test\monitor
 
initializeLogFile:
 
setListType:
 
setIndividual:
     [echo] setIndividual General_TTest
 
setFromList:
 
setAll:
 
setTestList:
 
runTests:
 
loadXMLProperties:
     [echo] Loading XML file C:\axiscpp\ws-axis\c\tests\auto_build\testcases\tests\General_TTest.xml
 
setHandlersPresent:
 
setPropertiesForTest:
 
cleanTest:
   [delete] Deleting directory C:\obj\test\generated\cpp\General_TTest
 
checkIfRequestFile:
 
setPropertiesForThisTest:
 
compileTestClient:
 
callCompileStaticClient:
 
setLanguage:
 
generateStubs:
    [mkdir] Created dir: C:\obj\test\generated\cpp\General_TTest
     [java] log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] ignoring anonymous type >mulResponse
 
     [java] ignoring anonymous type >subResponse
 
     [java] ignoring anonymous type >addResponse
 
     [java] ignoring anonymous type >div
 
     [java] ignoring anonymous type >divResponse
 
     [java] ignoring anonymous type >mul
 
     [java] ignoring anonymous type >sub
 
     [java] ignoring anonymous type >add
 
 
     [java] Code generation completed.
 
 
copyClientCode:
     [copy] Copying 1 file to C:\obj\test\generated\cpp\General_TTest
 
copyStubClient:
 
copyDynamicClient:
 
getClient:
 
compileStaticClient:
       [cc] 2 total files to be compiled.
       [cc] Calculator.cpp
       [cc] General_TTestClient.cpp
       [cc] C:\obj\test\generated\cpp\General_TTest\General_TTestClient.cpp(78) : warning C4101: 'e' : unreferenced local variable
       [cc] C:\obj\test\generated\cpp\General_TTest\General_TTestClient.cpp(165) : warning C4508: 'main' : function should return a value; 'void' return type assumed
       [cc] Generating Code...
       [cc] Starting link
       [cc]    Creating library General_TTest.lib and object General_TTest.exp
 
callCompileLinkedClient:
 
compileClient:
 
validateClientCompilationIfBuilding:
     [echo] General_TTest - Client Compilation - PASSED
 
validateClientCompilationIfNotBuilding:
 
validateClientCompilation:
 
checkIfDebug:
 
createConfigurationFile:
 
createStartOfWSDDFile:
 
compileTestHandlers:
 
createEndOfWSDDFile:
 
updateConfigurationWithClientWSDDEntry:
 
compileHandlers:
 
buildTest:
 
executeTestRun:
 
setResultExpectations:
     [copy] Copying 1 file to C:\obj\test\generated\cpp\General_TTest
 
setRequestExpectations:
 
setServerResponse:
 
setExpectations:
 
setEndpoint:
 
setForMonitor:
 
setVerbatim:
 
checkIfEndpointSet:
 
setForNoMonitor:
 
setProxyArgs:
 
setTestArgs:
 
executeTest:
 
startMonitor:
     [echo] Running Test General_TTest http://localhost:${test.port}/axis/CalculatorDoc
[stopwatch] [General_TTest.timer: 5.144 sec]
     [echo] General_TTest - Execution Time - 5.144 sec
 
stopMonitor:
 
OS400ConvertOutputFiles:
 
validateTestClient:
     [echo] General_TTest - Client Execution - FAILED
 
validateMessageOnWire:
 
validateTest:
 
runTest:
 
displayAllResults:
     [echo] Test Results
     [echo]
     [echo] General_TTest - Client Compilation - PASSED
     [echo] General_TTest - Execution Time - 5.144 sec
     [echo] General_TTest - Client Execution - FAILED
 
testSuite:
 
BUILD SUCCESSFUL
Total time: 15 seconds
 
It seems that test.port property is not set properly.
 
Here I use the test port as 80 and the monitor port is also 80. If I use a monitor port different from test port, more tests start to fail.
 
 
And another mistake in the CVS. There’s no MultiOut.cpp.out file in \ws-axis\c\tests\auto_build\testcases\output folder. So test framework fails to copy this file so fails. Instead of this file, there a file called MultiOut.expected.
 
Regards,
Dushshantha
 



From: John Hawkins [mailto:[EMAIL PROTECTED]
Sent:
Friday, June 10, 2005 1:54 PM
To:
Apache AXIS C Developers List
Subject:
RE: More changes

 

Can you show me the ant output pls?


We run the tests twice daily and are seeing no issues.



"Samisa Abeysinghe" <[EMAIL PROTECTED]>

10/06/2005 07:33


Please respond to
"Apache AXIS C Developers List"


To
"Apache AXIS C Developers List" <[email protected]>
cc
 
Subject
RE: More changes

 


   





With the latest updates, I could get the client test framework is running.

However, this tends to hang in the middle of the list of tests – and the place it hangs is not consistent.

 

Thanks,

Samisa…

 

-----Original Message-----
From:
John Hawkins [mailto:[EMAIL PROTECTED]
Sent:
Thursday, June 09, 2005 6:07 PM
To:
Apache AXIS C Developers List
Subject:
RE: More changes

 


You must be on windows !


I put a new flag into the test.win32.properties called mockserver

unfortunately I've set it to true as defect. Make it false and you should be fine. I'll change the file in cvs to be false now.

"Dushshantha Chandradasa" <[EMAIL PROTECTED]>

09/06/2005 12:45

 


Please respond to
"Apache AXIS C Developers List"

 


To
"Apache AXIS C Developers List" <[email protected]>
cc
 
Subject
RE: More changes

 

 


   




Hi john,


I got the latest checkout and tested. I’m still getting the error that Samisa stated before.


setServerResponse:


BUILD FAILED

C:\axiscpp\ws-axis\c\test.xml:46: The following error occurred while executing

his line:

C:\axiscpp\ws-axis\c\test.xml:138: The following error occurred while executing

this line:

C:\axiscpp\ws-axis\c\build\executeTest.xml:51: Warning: Could not find file C:\

xiscpp\ws-axis\c\tests\auto_build\testcases\output\${test.expected.serverRespon

se} to copy.


I guess that the server Response file not set correctly. Is the framework picking it from the xml file where test details are included ?? (ex: C:\axiscpp\ws-axis\c\tests\auto_build\testcases\tests\AxisBench.xml ) But in the CVS, this file is the same old file.


Dushshantha

 

 



From:
John Hawkins [mailto:[EMAIL PROTECTED]
Sent:
Thursday, June 09, 2005 4:05 PM
To:
[email protected]
Subject:
More changes



And you also need to get the latest of services.xml and test.xml

Reply via email to