Failed
com.sun.ts.tests.jaxws.api.jakarta_xml_ws.Service.Client.GetPort1NegTest1WithWsdl_from_standalone (from xml-ws-tck)
Error Message
test result: Failed. Test case throws exception: GetPort1NegTest1WithWsdl failed
Stacktrace
test result: Failed. Test case throws exception: GetPort1NegTest1WithWsdl failed
Standard Output
#Test Results (version 2) #Mon Oct 12 09:12:47 UTC 2020 #-----testdescription----- $file=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/src/com/sun/ts/tests/jaxws/api/jakarta_xml_ws/Service/Client.java $root=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/src assertion_ids=JAXWS\:JAVADOC\:52 The getPort method returns a proxy. A service client uses this proxy to invoke operations on the target service endpoint. The serviceEndpointInterface specifies the service endpoint interface that is supported by the created dynamic proxy instance.\nJAXWS\:JAVADOC\:116 Creates a service delegate object.\nJAXWS\:JAVADOC\:122 The getPort method returns a proxy. A service client uses this proxy to invoke operations on the target service endpoint. The serviceEndpointInterface specifies the service endpoint interface that is supported by the created dynamic proxy instance.\nJAXWS\:SPEC\:4001 Conformance (Service Creation Failure)\: If a create method fails to create a service object, it MUST throw WebServiceException. The cause of that exception SHOULD be set to an exception that provides more information on the cause of the error (e.g. an IOException).\nJAXWS\:SPEC\:4011 Conformance (Service.getPort failure)\: If creation of a proxy fails, an implementation MUST throw jakarta.xml.ws.WebServiceException. The cause of that exception SHOULD be set to an exception that provides more information on the cause of the error (e.g. an IOException).\nJAXWS\:SPEC\:4013 Conformance (Other Exceptions)\: For all other errors, i.e. all those that don't occur as part of a remote invocation or handler processing, an implementation MUST throw a WebServiceException whose cause is the original local exception that was thrown, if any. classname=com.sun.ts.tests.jaxws.api.jakarta_xml_ws.Service.Client direction=forward finder=cts id=GetPort1NegTest1WithWsdl_from_standalone keywords=all GetPort1NegTest1WithWsdl standalone_vehicle forward service_eetest=yes testArgs=-ap jaxws-url-props.dat testName=GetPort1NegTest1WithWsdl testProps=\ webServerHost webServerPort platform.mode test_directory=com/sun/ts/tests/jaxws/api/jakarta_xml_ws/Service #-----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.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${ts.run.classpath} 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} $testExecuteClass $testExecuteArgs deliverable.class=com.sun.ts.lib.deliverable.jaxws.JAXWSDeliverable endorsed.dirs=${jaxws.home}/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=${jaxws.lib}/webservices-api-osgi.jar${pathsep}${jaxws.lib}/jaxb-api-osgi.jar${pathsep}${jaxws.lib}/webservices-osgi.jar${pathsep}${jaxws.lib}/jaxb-osgi.jar${pathsep}${jaxws.lib}/gmbal.jar${pathsep}${jaxws.lib}/management-api.jar${pathsep}${jaxws.lib}/mimepull.jar${pathsep}${jaxws.lib}/ha-api.jar${pathsep}${jaxws.lib}/webservices-api.jar${pathsep}${jaxws.lib}/jakarta.xml.bind-api.jar${pathsep}${jaxws.lib}/jakarta.activation.jar jaxws.home=${webcontainer.home} jaxws.lib=${jaxws.home}/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=${ts.home}/lib/tsharness.jar${pathsep}${ts.home}/lib/sigtest.jar${pathsep}${ts.home}/lib/jaxwstck.jar${pathsep}${ts.home}/classes${pathsep}${jaxws.classes}${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=/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish windir=${env.windir} #-----testresult----- description=file\:/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/src/com/sun/ts/tests/jaxws/api/jakarta_xml_ws/Service/Client.java\#GetPort1NegTest1WithWsdl_from_standalone end=Mon Oct 12 09\:12\:47 UTC 2020 environment=ts_unix execStatus=Failed. Test case throws exception\: GetPort1NegTest1WithWsdl failed harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 3.10.0-1062.12.1.el7.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages TestRun start=Mon Oct 12 09\:12\:45 UTC 2020 test=com/sun/ts/tests/jaxws/api/jakarta_xml_ws/Service/Client.java\#GetPort1NegTest1WithWsdl_from_standalone timeoutSeconds=600 totalTime=2154 work=/home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tckwork/xml-ws-tck/com/sun/ts/tests/jaxws/api/jakarta_xml_ws/Service #section:script_messages ----------messages:(0/0)---------- #section:TestRun ----------messages:(1/2227)---------- 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:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/webservices-api-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jaxb-api-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/webservices-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jaxb-osgi.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/gmbal.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/management-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/mimepull.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/ha-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/webservices-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/glassfish6/glassfish/modules/jakarta.xml.bind-api.jar:/home/jenkins/agent/workspace/jakartaee-tck_master/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/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 GetPort1NegTest1WithWsdl -vehicle standalone -ap /home/jenkins/agent/workspace/jakartaee-tck_master/xml-ws-tck/bin/xml/../../bin/jaxws-url-props.dat ----------log:(158/11625)---------- ************************************************************ * props file set to "/tmp/?-cts-props.txt" ************************************************************ 10-12-2020 09:12:45: Get URL's used by the test 10-12-2020 09:12:45: Service Endpoint URL: http://localhost:8080/WSDLHelloService_web/jaxws/Hello 10-12-2020 09:12:45: Service Endpoint URL2: http://localhost:8080/WSDLHelloService_web/jaxws/Hello2 10-12-2020 09:12:45: WSDL Location URL: http://localhost:8080/WSDLHelloService_web/jaxws/Hello?wsdl 10-12-2020 09:12:45: WSDL Location URL2: http://localhost:8080/WSDLHelloService_web/jaxws/Hello2?wsdl 10-12-2020 09:12:45: setup ok 10-12-2020 09:12:45: JAXWS_Util:getService(URL, QName, Class) 10-12-2020 09:12:45: URL=http://localhost:8080/WSDLHelloService_web/jaxws/Hello?wsdl 10-12-2020 09:12:45: siName={http://helloservice.org/wsdl}HelloService Oct 12, 2020 9:12:45 AM com.sun.ts.tests.jaxws.common.Modules <clinit> 10-12-2020 09:12:45: siClass=com.sun.ts.tests.jaxws.sharedclients.doclithelloclient.HelloService INFO: Error during initialization of [com.sun.ts.tests.jaxws.common.Modules]. Probably not Jigsaw runtime. 10-12-2020 09:12:46: ERROR: Caught exception: null 10-12-2020 09:12:46: 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.getService(JAXWS_Util.java:169) at com.sun.ts.tests.jaxws.api.jakarta_xml_ws.Service.Client.GetPort1NegTest1WithWsdl(Client.java:759) 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: jakarta.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:8080/WSDLHelloService_web/jaxws/Hello?wsdl. It failed with: Connection refused (Connection refused). 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.sharedclients.doclithelloclient.HelloService.<init>(HelloService.java:60) ... 18 more Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) at sun.net.www.http.HttpClient.New(HttpClient.java:339) at sun.net.www.http.HttpClient.New(HttpClient.java:357) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1040) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1038) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1037) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) 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) ... 28 more 10-12-2020 09:12:46: ERROR: Test case throws exception: GetPort1NegTest1WithWsdl failed 10-12-2020 09:12:46: ERROR: Exception at: 10-12-2020 09:12:46: 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.getService(JAXWS_Util.java:169) at com.sun.ts.tests.jaxws.api.jakarta_xml_ws.Service.Client.GetPort1NegTest1WithWsdl(Client.java:759) 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: jakarta.xml.ws.WebServiceException: Failed to access the WSDL at: http://localhost:8080/WSDLHelloService_web/jaxws/Hello?wsdl. It failed with: Connection refused (Connection refused). 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.sharedclients.doclithelloclient.HelloService.<init>(HelloService.java:60) ... 18 more Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) at sun.net.www.http.HttpClient.<init>(HttpClient.java:242) at sun.net.www.http.HttpClient.New(HttpClient.java:339) at sun.net.www.http.HttpClient.New(HttpClient.java:357) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1040) at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1038) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1037) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1564) 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) ... 28 more 10-12-2020 09:12:46: cleanup ok STATUS:Failed.Test case throws exception: GetPort1NegTest1WithWsdl failed result: Failed. Test case throws exception: GetPort1NegTest1WithWsdl failed test result: Failed. Test case throws exception: GetPort1NegTest1WithWsdl failed