Failed
com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client.MarshallServiceExceptionTest_from_standalone (from xml-rpc-tck)
Error Message
test result: Failed. Test case throws exception: MarshallServiceExceptionTest failed
Stacktrace
test result: Failed. Test case throws exception: MarshallServiceExceptionTest failed
Standard Output
#Test Results (version 2) #Mon Jul 06 13:19:42 UTC 2020 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/src/com/sun/ts/tests/jaxrpc/ee/j2w/marshalltest/Client.java $root=/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/src assertion_ids=JAXRPC\:SPEC\:215 A JAX-RPC service specific exception extends java.lang.Exception directly or indirectly. A JAX-RPC service specific exception must not be a RuntimeException.\nJAXRPC\:SPEC\:220 JAX-RPC requires support for the pass by copy parameter passing mode for all parameters and return values.\nJAXRPC\:SPEC\:258 A Java identifier is mapped to an equivalent XML name.\nJAXRPC\:SPEC\:259 A Java package is mapped to a WSDL document.\nJAXRPC\:SPEC\:260 The JAX-RPC specification requires the namespace definitions in the WSDL document to be mapped in an application specific manner. A Java to WSDL mapping tool is required to support the configuration of the namespace definitions in the mapped WSDL document.\nJAXRPC\:SPEC\:261 The Java to WSDL mappng specification does not require any specific authoring style for the mapped WSDL document.\nJAXRPC\:SPEC\:262 A service definition interface (that extends java.rmi.Remote) is mapped to the wsdl\:portType element.\nJAXRPC\:SPEC\:263 The name attribute of the wsdl\:portType has the same name as the service definiton interface.\nJAXRPC\:SPEC\:264 Each Java interface in the service definition heirarchy is mapped to an equivalent wsdl\:portType definition.\nJAXRPC\:SPEC\:265 Each mapped wsdl\:portType definiton includes mapping of the complete set of inherited Java methods.\nJAXRPC\:SPEC\:266 Each method on a Java service definition interface is mapped to an equivalent wsdl\:operation definition.\nJAXRPC\:SPEC\:267 The mapped wsdl\:operation definition preserves the method signature in terms of the parameter ordering.\nJAXRPC\:SPEC\:268 Standard mapping of Java method to a wsdl\:operation\nJAXRPC\:SPEC\:268.1 The name attribute of the mapped wsdl\:operation is the same as the name of the Java method.\nJAXRPC\:SPEC\:268.2 Overloaded Java methods are mapped to multiple wsdl\:operation elements. These mapped wsdl\:operation elements are named same (as the name of the overloaded Java methods) or with unique names depending on the mechanism that is used by server-side JAXRPC runtime system to dispatch methods to the target service endpoint.\nJAXRPC\:SPEC\:268.3 A mapped wsdl\:operation contains wsdl\:input, wsdl\:output and an optional wsdl\:fault based on the mapping of the Java method signature.\nJAXRPC\:SPEC\:268.4 Each Java parameter is mapped to a message part in the corresponding wsdl\:message element. Each message part has a name attribute that is mapped based on the name of the Java parameter and a type attribute mapped from the Java type of the parameter. Message parts appear in the same order as in the Java method signature.\nJAXRPC\:SPEC\:268.5 A Java return type is mapped to a message part in the wsdl\:message. This wsdl\:message corresponds to the wsdl\:output element for the mapped wsdl\:operation.\nJAXRPC\:SPEC\:268.6 For Holder classes used as method parameters, a Java to WSDL mapping tools is required to provide a facility for specifying the related mapping metadata.\nJAXRPC\:SPEC\:268.7 Ordering of the Java parameters is represented in the parameterOrder attribute in the wsdl\:operation element.\nJAXRPC\:SPEC\:268.8 The message part for a return value is not listed in the parameterOrder attribute.\nJAXRPC\:SPEC\:268.9 Each service specific Java exception in a remote method signature is mapped to a wsdl\:fault element.\nJAXRPC\:SPEC\:268.10 The name attribute of the wsdl\:fault element is based on the name of the Java exception.\nJAXRPC\:SPEC\:268.11 The message attribute is the qualified name of the wsdl\:message definition.\nJAXRPC\:SPEC\:268.12 A remote exception is mapped to a standard wsdl\:fault.\nJAXRPC\:SPEC\:279 JAX-RPC requires support for operation with the rpc style and encoded use.\nJAXRPC\:SPEC\:283 In JAX-RPC programming model, rpc style operations are mapped to the corresponding remote methods on a service definition interface.\nWS4EE\:SPEC\:35 See assertion html documents.\nWS4EE\:SPEC\:36 See assertion html documents.\nWS4EE\:SPEC\:70 See assertion html documents.\nWS4EE\:SPEC\:137 See assertion html documents. classname=com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client direction=forward finder=cts id=MarshallServiceExceptionTest_from_standalone keywords=all jaxrpc webservices javaee_optional MarshallServiceExceptionTest standalone_vehicle forward service_eetest=yes testArgs=-ap jaxrpc-url-props.dat testName=MarshallServiceExceptionTest testProps=\ webServerHost webServerPort platform.mode test_directory=com/sun/ts/tests/jaxrpc/ee/j2w/marshalltest #-----environment----- JAVA_HOME=/opt/jdk1.8.0_191/jre JAVA_OPTIONS= LOCAL_CLASSES=/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/webservices-osgi.jar\:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jakarta.xml.rpc-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jakarta.servlet-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jakarta.mail.jar\:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jaxb-osgi.jar\:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jakarta.ejb-api.jar\:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/glassfish-naming.jar\:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/bean-validator.jar TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${TS_HOME}/lib/sigtest.jar\:${TS_HOME}/lib/tsharness.jar\:${TS_HOME}/lib/apiCheck.jar\:${TS_HOME}/lib/jaxrpctck.jar\:${TS_HOME}/lib/javatest.jar\:${TS_HOME}/classes\:${JAVA_HOME}/jre/lib/rt.jar\:${LOCAL_CLASSES} DISPLAY\=\:0.0 HOME\=${user.home} ${JAVA_HOME}/bin/java ${JAVA_OPTIONS} -Ddeliverable.class\=${deliverable.class} $testExecuteClass $testExecuteArgs deliverable.class=com.sun.ts.lib.deliverable.jaxrpc.JAXRPCDeliverable harness.executeMode=2 harness.log.delayseconds=1 harness.log.port=2000 harness.log.traceflag=true harness.socket.retry.count=10 harness.temp.directory=${ts.home} local.classes=${webserver.home}/modules/webservices-osgi.jar\:${webserver.home}/modules/jakarta.xml.rpc-api.jar\:${webserver.home}/modules/jakarta.servlet-api.jar\:${webserver.home}/modules/jakarta.mail.jar\:${webserver.home}/modules/jaxb-osgi.jar\:${webserver.home}/modules/jakarta.ejb-api.jar\:${webserver.home}/modules/glassfish-naming.jar\:${webserver.home}/modules/bean-validator.jar platform.mode=standalone porting.ts.jaxrpc.class.1=com.sun.ts.lib.implementation.sun.jaxrpc.SunRIJAXRPC porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL sigTestClasspath=${local.classes}\:${JAVA_HOME}/lib/rt.jar ts.home=/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck user.home=? webServerHost=localhost webServerPort=8080 webserver.home=/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/src/com/sun/ts/tests/jaxrpc/ee/j2w/marshalltest/Client.java\#MarshallServiceExceptionTest_from_standalone end=Mon Jul 06 13\:19\:42 UTC 2020 environment=ts_unix execStatus=Failed. Test case throws exception\: MarshallServiceExceptionTest failed harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 3.10.0-1062.el7.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages TestRun start=Mon Jul 06 13\:19\:41 UTC 2020 test=com/sun/ts/tests/jaxrpc/ee/j2w/marshalltest/Client.java\#MarshallServiceExceptionTest_from_standalone timeoutSeconds=600 totalTime=1660 work=/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tckwork/xml-rpc-tck/com/sun/ts/tests/jaxrpc/ee/j2w/marshalltest #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/1744)---------- command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/lib/sigtest.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/lib/apiCheck.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/lib/jaxrpctck.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/lib/javatest.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/classes:/opt/jdk1.8.0_191/jre/jre/lib/rt.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/webservices-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jakarta.xml.rpc-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jakarta.servlet-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jakarta.mail.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jaxb-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/jakarta.ejb-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/glassfish-naming.jar:/home/jenkins/agent/workspace/jakartaee-tck_8.0.2/glassfish5/glassfish/modules/bean-validator.jar DISPLAY=:0.0 HOME=? /opt/jdk1.8.0_191/jre/bin/java -Ddeliverable.class=com.sun.ts.lib.deliverable.jaxrpc.JAXRPCDeliverable com.sun.ts.tests.common.vehicle.VehicleClient -p /home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/tmp/tstest.jte -t MarshallServiceExceptionTest -vehicle standalone -ap /home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/bin/jaxrpc-url-props.dat ----------log:(91/6562)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 07-06-2020 13:19:41: TRACE: ####### Value of harness.socket.retry.count is "10" 07-06-2020 13:19:41: TRACE: ####### Value of harness.log.port is "2000" 07-06-2020 13:19:41: TRACE: ####### Actual bind value of harness.log.port is "2000" 07-06-2020 13:19:41: TRACE: in ServiceEETest.run() method 07-06-2020 13:19:41: TRACE: Vehicle to be used for this test is: standalone 07-06-2020 13:19:41: TRACE: in custom vehicle so call on EETest. 07-06-2020 13:19:41: TRACE: *** in EETest.run(argv,p) 07-06-2020 13:19:41: TRACE: TESTCLASS=com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client 07-06-2020 13:19:41: TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client 07-06-2020 13:19:41: TRACE: ** IN getRunMethod: testname=MarshallServiceExceptionTest 07-06-2020 13:19:41: TRACE: ** GOT RUN METHOD! 07-06-2020 13:19:41: TRACE: **runmethod=MarshallServiceExceptionTest 07-06-2020 13:19:41: TRACE: ABOUT TO GET SETUP METHOD! 07-06-2020 13:19:41: TRACE: No setupMethod annotation present 07-06-2020 13:19:41: TRACE: getSetupMethod - checking for testcase specific setup method: MarshallServiceExceptionTest_setup 07-06-2020 13:19:41: TRACE: getSetupMethod - checking for default class specific setup method 07-06-2020 13:19:41: TRACE: GOT SETUP METHOD! 07-06-2020 13:19:41: TRACE: No cleanupMethod annotation present 07-06-2020 13:19:41: TRACE: getCleanupMethod - checking for testcase specific cleanup method: MarshallServiceExceptionTest_cleanup 07-06-2020 13:19:41: TRACE: getCleanupMethod - checking for default class specific cleanup method 07-06-2020 13:19:41: TRACE: GOT CLEANUP METHOD! 07-06-2020 13:19:41: TRACE: ABOUT TO INVOKE SETUP METHOD! 07-06-2020 13:19:41: Get URL's used by the test 07-06-2020 13:19:41: Service Endpoint URL: http://localhost:8080/J2WMT_web/ws4ee 07-06-2020 13:19:41: WSDL Location URL: http://localhost:8080/J2WMT_web/ws4ee?WSDL 07-06-2020 13:19:41: JAXRPC_Util.getStub() 07-06-2020 13:19:41: Get service implementation class for service interface=com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.MarshallTestService 07-06-2020 13:19:41: JAXRPC_Util:getServiceFactory 07-06-2020 13:19:41: Creating ServiceFactory instance 07-06-2020 13:19:41: ServiceImplClass=com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.MarshallTestService_Impl@63e31ee 07-06-2020 13:19:41: Get stub class for port method=getMarshallTestPort 07-06-2020 13:19:41: Cast stub to base Stub class ... 07-06-2020 13:19:41: Setting target endpoint to http://localhost:8080/J2WMT_web/ws4ee ... 07-06-2020 13:19:41: setup ok 07-06-2020 13:19:41: TRACE: INVOKED SETUP METHOD! 07-06-2020 13:19:41: TRACE: ABOUT TO INVOKE EETEST RUN METHOD! 07-06-2020 13:19:41: MarshallServiceExceptionTest 07-06-2020 13:19:41: Throwing a ServiceException from JAXRPC Service 07-06-2020 13:19:41: a fault occurred: java.rmi.RemoteException: HTTP Status-Code 404: Not Found - Not Found; nested exception is: HTTP Status-Code 404: Not Found - Not Found 07-06-2020 13:19:41: response=java.rmi.RemoteException: HTTP Status-Code 404: Not Found - Not Found; nested exception is: HTTP Status-Code 404: Not Found - Not Found 07-06-2020 13:19:41: ERROR: Not an instance of MyServiceException 07-06-2020 13:19:41: ERROR: java.rmi.RemoteException: HTTP Status-Code 404: Not Found - Not Found; nested exception is: HTTP Status-Code 404: Not Found - Not Found at com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.MarshallTest_Stub.myServiceExceptionTest(MarshallTest_Stub.java:1109) at com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client.MarshallServiceExceptionTest(Client.java:501) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.ts.lib.harness.EETest.run(EETest.java:596) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115) at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209) at com.sun.ts.lib.harness.EETest.run(EETest.java:285) at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38) Caused by: HTTP Status-Code 404: Not Found - Not Found at com.sun.xml.rpc.client.http.HttpClientTransport.checkResponseCode(HttpClientTransport.java:330) at com.sun.xml.rpc.client.http.HttpClientTransport.connectForResponse(HttpClientTransport.java:278) at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:99) at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:103) at com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.MarshallTest_Stub.myServiceExceptionTest(MarshallTest_Stub.java:1086) ... 13 more 07-06-2020 13:19:41: ERROR: MarshallServiceExceptionTest failed 07-06-2020 13:19:41: ERROR: Test case throws exception: MarshallServiceExceptionTest failed 07-06-2020 13:19:41: ERROR: Exception at: 07-06-2020 13:19:41: ERROR: com.sun.ts.lib.harness.EETest$Fault: MarshallServiceExceptionTest failed at com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client.MarshallServiceExceptionTest(Client.java:521) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.sun.ts.lib.harness.EETest.run(EETest.java:596) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115) at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105) at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486) at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209) at com.sun.ts.lib.harness.EETest.run(EETest.java:285) at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38) 07-06-2020 13:19:41: cleanup ok 07-06-2020 13:19:42: TRACE: SLEPT FOR: 1000 STATUS:Failed.Test case throws exception: MarshallServiceExceptionTest failed result: Failed. Test case throws exception: MarshallServiceExceptionTest failed test result: Failed. Test case throws exception: MarshallServiceExceptionTest failed