Failed
com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.Client.testNoActionOnInputOutput_from_standalone_reverse (from xml-ws-tck)
Error Message
test result: Failed. Test case throws exception: com.sun.ts.lib.harness.EETest$Fault: setup failed:
Stacktrace
test result: Failed. Test case throws exception: com.sun.ts.lib.harness.EETest$Fault: setup failed:
Standard Output
#Test Results (version 2) #Sat Sep 19 06:08:06 UTC 2020 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/src/com/sun/ts/tests/jaxws/wsa/j2w/document/literal/action/Client.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/src assertion_ids=JAXWS\:SPEC\:3055 wsam\:Action Computation Algorithm.\nAll wsdl\:operation's child elements wsdl\:input, wsdl\:output and wsdl\:fault must \nhave the wsam\:Action attribute in the the generated WSDL. The algorithm to compute wsam\:Action from SEI method is as follows\:\n 1. A non-default @Action(input\=...) or @WebMethod(action\=...) value on a SEI \n method MUST result into wsdl\:input[@wsam\:Action] attribute in the corresponding wsdl\:operation. Also, @Action(input\=...) and @WebMethod(action\=...) annotation element values MUST be same, if present. \n 2. A non-default @Action(output\=...) value on a SEI method MUST result into wsdl\:output[@wsam\:Action] attribute in the corresponding wsdl\:operation. \n 3. A non-default @Action(@FaultAction\=...) value on a SEI method MUST result into wsdl\:fault[@wsam\:Action] attribute in the corresponding wsdl\:operation. The wsdl\:fault element MUST correspond to the exception specified by className annotated element value. \n 4. If wsdl\:input[@wsam\:Action] cannot be mapped from the above steps, then wsam\:Action is generated using the metadata defaulting algorithm as if wsdl\:input[@name] is not present in WSDL.\n 5. If wsdl\:output[@wsam\:Action] cannot be mapped from the above steps, then wsam\:Action is generated using the metadata defaulting algorithm as if wsdl\:output[@name] is not present in WSDL. \n 6. If wsdl\:fault[@wsam\:Action] cannot be mapped from the above steps, then wsam\:Action is generated using the metadata defaulting algorithm as if wsdl\:fault[@name] is the corresponding exception class name.\n\nFor example\: \n@Action(input\="inAction") \npublic float getPrice(String ticker) throws InvalidTickerException; \n\n// the mapped wsdl\:operation if targetNamespace\="http\://example.com" and portType\="StockQuoteProvider"\n < operation name\="getPrice" > \n < input name\="foo" message\="tns\:getPrice" wsam\:Action\="inAction"/ > \n < output name\="bar" message\="tns\:getPriceResponse"\n wsam\:Action\="http\://example.com/StockQuoteProvider/getPriceResponse" / > \n < fault name\="FooTickerException" message\="tns\:InvalidTickerException"\n wsam\:Action\="http\://example.com/StockQuoteProvider/getPrice/Fault/InvalidTickerException"/ > \n < /operation >\nJAXWS\:SPEC\:7017 The Action annotation is applied to the methods of a SEI. It used to specify the input, output WSAddressing\nAction values associated with the annotated method.\nJAXWS\:SPEC\:7017.1 Add the following Table 7.12 \n \n Property input \n Description Action for the wsdl\:input operation \n Default ""\nJAXWS\:SPEC\:7017.2 Add the following Table 7.12 \n \n Property output \n Description Action for the wsdl\:output operation \n Default ""\nJAXWS\:SPEC\:7017.3 The Action annotation is applied to the methods of a SEI.\nJAXWS\:SPEC\:10025 Addressing section\: If the jakarta.xml.ws.soap.AddressingFeature is enabled, implementations are required to follow WS-Addressing[32,33,34] protocols.\nJAXWS\:SPEC\:10026 Conformance (SOAP Addressing Support)\: An implementation MUST support WS-Addressing 1.0 SOAP Binding[34].\nWSAMD\:SPEC\:4004 See assertion html documents.\nWSAMD\:SPEC\:4004.1 See assertion html documents.\nWSAMD\:SPEC\:4004.2 See assertion html documents.\nWSAMD\:SPEC\:4004.4 See assertion html documents.\nWSAMD\:SPEC\:4004.5 See assertion html documents. classname=com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.Client direction=reverse finder=cts id=testNoActionOnInputOutput_from_standalone_reverse keywords=all testNoActionOnInputOutput standalone_vehicle reverse service_eetest=yes testArgs=-ap jaxws-url-props.dat testName=testNoActionOnInputOutput testProps=\ webServerHost webServerPort platform.mode test_directory=com/sun/ts/tests/jaxws/wsa/j2w/document/literal/action #-----environment----- JAVA_HOME=/opt/jdk1.8.0_191/jre SYSTEMROOT=${env.SystemRoot} TS_HOME=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../.. bin.dir=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../../bin catalog.path=${src.dir}/com/sun/ts/tests/jaxws/common/xml/catalog command.testExecute2=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${ts.run.classpath.ri} DISPLAY\="${ts.display}" HOME\="${user.home}" windir\=${windir} SYSTEMROOT\=${SYSTEMROOT} ${JAVA_HOME}/bin/java -Djava.security.policy\="${bin.dir}/harness.policy" -Djava.security.manager -Ddeliverable.class\=${deliverable.class} -Djava.endorsed.dirs\=${endorsed.dirs.ri} $testExecuteClass $testExecuteArgs deliverable.class=com.sun.ts.lib.deliverable.jaxws.JAXWSDeliverable endorsed.dirs.ri=${jaxws.home.ri}/modules/endorsed harness.executeMode=2 harness.log.delayseconds=1 harness.log.port=2000 harness.log.traceflag=false harness.socket.retry.count=10 harness.temp.directory=${ts.home}/tmp http.server.supports.endpoint.publish=true http.server.supports.endpoint.publish.2=true jaxws.classes.ri=${jaxws.lib.ri}/webservices-api-osgi.jar${pathsep}${jaxws.lib.ri}/jaxb-api-osgi.jar${pathsep}${jaxws.lib.ri}/webservices-osgi.jar${pathsep}${jaxws.lib.ri}/jaxb-osgi.jar${pathsep}${jaxws.lib.ri}/gmbal.jar${pathsep}${jaxws.lib.ri}/management-api.jar${pathsep}${jaxws.lib.ri}/mimepull.jar${pathsep}${jaxws.lib.ri}/ha-api.jar${pathsep}${jaxws.lib.ri}/webservices-api.jar${pathsep}${jaxws.lib.ri}/jakarta.xml.bind-api.jar${pathsep}${jaxws.lib.ri}/jakarta.activation.jar jaxws.home.ri=${webcontainer.home.ri} jaxws.lib.ri=${jaxws.home.ri}/modules pathsep=\: platform.mode=standalone porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL porting.ts.url.class.2=com.sun.ts.lib.implementation.sun.common.SunRIURL ts.display=\:0.0 ts.home=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../.. ts.run.classpath.ri=${ts.home}/lib/tsharness.jar${pathsep}${ts.home}/lib/sigtest.jar${pathsep}${ts.home}/lib/jaxwstck.jar${pathsep}${ts.home}/classes${pathsep}${jaxws.classes.ri}${pathsep}${catalog.path} ts_home=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../.. user.home=? webServerHost=localhost webServerHost.2=localhost webServerPort=8080 webServerPort.2=9080 webcontainer.home.ri=/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish windir=${env.windir} #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/src/com/sun/ts/tests/jaxws/wsa/j2w/document/literal/action/Client.java\#testNoActionOnInputOutput_from_standalone_reverse end=Sat Sep 19 06\:08\:06 UTC 2020 environment=ts_unix execStatus=Failed. Test case throws exception\: com.sun.ts.lib.harness.EETest$Fault\: setup 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=Sat Sep 19 06\:08\:04 UTC 2020 test=com/sun/ts/tests/jaxws/wsa/j2w/document/literal/action/Client.java\#testNoActionOnInputOutput_from_standalone_reverse timeoutSeconds=600 totalTime=1865 work=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tckwork/xml-ws-tck/com/sun/ts/tests/jaxws/wsa/j2w/document/literal/action #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/2273)---------- command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../../lib/tsharness.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../../lib/sigtest.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../../lib/jaxwstck.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../../classes_vi_built:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/webservices-api-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/jaxb-api-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/webservices-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/jaxb-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/gmbal.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/management-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/mimepull.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/ha-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/webservices-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/jakarta.xml.bind-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/jakarta.activation.jar:/com/sun/ts/tests/jaxws/common/xml/catalog DISPLAY=:0.0 HOME=? windir= SYSTEMROOT= /opt/jdk1.8.0_191/jre/bin/java -Djava.security.policy=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../../bin/harness.policy -Djava.security.manager -Ddeliverable.class=com.sun.ts.lib.deliverable.jaxws.JAXWSDeliverable -Djava.endorsed.dirs=/home/jenkins/agent/workspace/jakartaee-tck_master/ri/glassfish6/glassfish/modules/endorsed com.sun.ts.tests.common.vehicle.VehicleClient -p /home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../../tmp/tstest.jte -t testNoActionOnInputOutput -vehicle standalone -ap /home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../../bin/jaxws-url-props.dat ----------log:(117/8882)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 09-19-2020 06:08:05: Get URL's used by the test 09-19-2020 06:08:05: Service Endpoint URL: http://localhost:9080/WSAJ2WDLActionTest_web/jaxws/AddNumbers 09-19-2020 06:08:05: WSDL Location URL: http://localhost:9080/WSAJ2WDLActionTest_web/jaxws/AddNumbers?wsdl 09-19-2020 06:08:05: Obtain port 09-19-2020 06:08:05: JAXWS_Util.getPort(URL, QName, Class, QName, Class, WebServiceFeature[]) 09-19-2020 06:08:05: URL=http://localhost:9080/WSAJ2WDLActionTest_web/jaxws/AddNumbers?wsdl 09-19-2020 06:08:05: siName={http://foobar.org/}AddNumbersService 09-19-2020 06:08:05: siClass=com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.AddNumbersService 09-19-2020 06:08:05: portName={http://foobar.org/}AddNumbersPort 09-19-2020 06:08:05: seiClass=com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.AddNumbers 09-19-2020 06:08:05: wsf.length=1 09-19-2020 06:08:05: wsf[0]=jakarta.xml.ws.soap.AddressingFeature@279f2327 09-19-2020 06:08:05: ERROR: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.sun.ts.tests.jaxws.common.JAXWS_Util.getPort(JAXWS_Util.java:202) at com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.Client.getPortStandalone(Client.java:113) at com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.Client.setup(Client.java:167) 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:569) 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: jakarta.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:9080/WSAJ2WDLActionTest_web/jaxws/AddNumbers?wsdl. It failed with: http://localhost:9080/WSAJ2WDLActionTest_web/jaxws/AddNumbers?wsdl. at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:235) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:216) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:179) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:148) at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:334) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:292) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:201) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:182) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178) at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:89) at jakarta.xml.ws.Service.<init>(Service.java:82) at com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.AddNumbersService.<init>(AddNumbersService.java:54) ... 19 more Caused by: java.io.FileNotFoundException: http://localhost:9080/WSAJ2WDLActionTest_web/jaxws/AddNumbers?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890) at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) at java.net.URL.openStream(URL.java:1045) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:969) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:370) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:201) ... 29 more 09-19-2020 06:08:05: ERROR: Test case throws exception: com.sun.ts.lib.harness.EETest$Fault: setup failed: 09-19-2020 06:08:05: ERROR: Exception at: 09-19-2020 06:08:05: ERROR: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at com.sun.ts.tests.jaxws.common.JAXWS_Util.getPort(JAXWS_Util.java:202) at com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.Client.getPortStandalone(Client.java:113) at com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.Client.setup(Client.java:167) 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:569) 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: jakarta.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:9080/WSAJ2WDLActionTest_web/jaxws/AddNumbers?wsdl. It failed with: http://localhost:9080/WSAJ2WDLActionTest_web/jaxws/AddNumbers?wsdl. at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:235) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:216) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:179) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:148) at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:334) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:292) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:201) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:182) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:178) at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:89) at jakarta.xml.ws.Service.<init>(Service.java:82) at com.sun.ts.tests.jaxws.wsa.j2w.document.literal.action.AddNumbersService.<init>(AddNumbersService.java:54) ... 19 more Caused by: java.io.FileNotFoundException: http://localhost:9080/WSAJ2WDLActionTest_web/jaxws/AddNumbers?wsdl at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890) at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91) at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484) at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481) at java.net.URL.openStream(URL.java:1045) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:969) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:370) at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:201) ... 29 more 09-19-2020 06:08:05: cleanup ok STATUS:Failed.Test case throws exception: com.sun.ts.lib.harness.EETest$Fault: setup failed: result: Failed. Test case throws exception: com.sun.ts.lib.harness.EETest$Fault: setup failed: test result: Failed. Test case throws exception: com.sun.ts.lib.harness.EETest$Fault: setup failed: