Skip to content

Failed

com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client.MarshallJavaBeanTest_from_standalone (from xml-rpc-tck)

Failing for the past 1 build (Since #10 )
Took 2 sec.

Error Message

test result: Failed. Test case throws exception: MarshallJavaBeanTest failed

Stacktrace

test result: Failed. Test case throws exception: MarshallJavaBeanTest failed

Standard Output

#Test Results (version 2)
#Mon Jul 06 13:19:37 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\:11  The JAX-RPC specification requires support for encoded representations of a SOAP message representing an RPC call or RPC response.\nJAXRPC\:SPEC\:202  A JAX-RPC implementation must support transmission of the values of a JAX-RPC supported Java type between a service client and service endpoint at runtime.\nJAXRPC\:SPEC\:208  Service definition interface extends java.rmi.remote directly or indirectly. All methods in the interface throw java.rmi.RemoteException.\nJAXRPC\:SPEC\:212  Method parameters and return types must be the JAX-RPC supported Java types.\nJAXRPC\:SPEC\:214  Service definition interface must not include constant (as public final static) declarations.\nJAXRPC\:SPEC\:220  JAX-RPC requires support for the pass by copy parameter passing mode for all parameters and return values.\nJAXRPC\:SPEC\:221  Support the standard mapping of the Java types to the XML data types.\nJAXRPC\:SPEC\:228  A JAX-RPC Value type is a Java class whose value can be moved between a serivce client and service endpoint.  Java class must have a public default constructor.  Java class must not implement directly the java.rmi.Remote interface.  Java class must not implement indirectly the java.rmi.Remote interface.  Java class may implement any Java interface (except the java.rmi.Remote interface).  Java class may extend another Java class.  Java class may contain public, private, protected, package-level fields.  Java type of a public field must be a supported JAX-RPC type as specified in section 5.1.  Java class may contain methods.  Java class may contain static or transient fields.  Java class for a JAX-RPC value type may be designed as a JavaBeans class.  The Java type of a bean property must be a supported JAX-RPC type as specified in section 5.1.\nJAXRPC\:SPEC\:240  A JAX-RPC value type is mapped to an xsd\:complexType with the xsd\:all based unordered grouping of elements.  The name attribute of the xsd\:complexType is mapped from the name of the Java class for the JAX-RPC value type.  Each public no-transient field in the Java class is mapped to an element in the xsd\:complexType.  The name and type attributes of the mapped element are mapped from the name and Java type of the public field.  The type attribute is derived from the Java type of the public field using the type mapping rules in the section 5.3.  Inheritance of the Java cleasses is mapped using the derivation of xsd\:complexType types using the extension mechanism.  The only fields that are mapped are the non-transient public fields.  No methods are mapped.  There is no mapping defined for indexed properties as reported by the JavaBeans introspection.  There is no mapping defined for the case when a JavaBean property has the same name as a public field.\nJAXRPC\:SPEC\:256  If the developer does not specify the use of pluggable serializer for a JAX-RPC value type in the deployment descriptor, then a JAX-RPC implementation is required to assume that the developer wants the use of the default XML/SOAP serialization semantics.\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=MarshallJavaBeanTest_from_standalone
keywords=all jaxrpc webservices javaee_optional MarshallJavaBeanTest standalone_vehicle forward
service_eetest=yes
testArgs=-ap jaxrpc-url-props.dat
testName=MarshallJavaBeanTest
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\#MarshallJavaBeanTest_from_standalone
end=Mon Jul 06 13\:19\:37 UTC 2020
environment=ts_unix
execStatus=Failed. Test case throws exception\: MarshallJavaBeanTest 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\:35 UTC 2020
test=com/sun/ts/tests/jaxrpc/ee/j2w/marshalltest/Client.java\#MarshallJavaBeanTest_from_standalone
timeoutSeconds=600
totalTime=1620
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/1736)----------
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 MarshallJavaBeanTest -vehicle standalone -ap /home/jenkins/agent/workspace/jakartaee-tck_8.0.2/xml-rpc-tck/bin/jaxrpc-url-props.dat
----------log:(96/6880)----------
************************************************************
* props file set to "/tmp/?-cts-props.txt"
************************************************************
07-06-2020 13:19:36:  TRACE: #######  Value of harness.socket.retry.count is "10"
07-06-2020 13:19:36:  TRACE: #######  Value of harness.log.port is "2000"
07-06-2020 13:19:36:  TRACE: #######  Actual bind value of harness.log.port is "2000"
07-06-2020 13:19:36:  TRACE: in ServiceEETest.run() method
07-06-2020 13:19:36:  TRACE: Vehicle to be used for this test is:  standalone
07-06-2020 13:19:36:  TRACE: in custom vehicle so call on EETest.
07-06-2020 13:19:36:  TRACE: *** in EETest.run(argv,p)
07-06-2020 13:19:36:  TRACE: TESTCLASS=com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client
07-06-2020 13:19:36:  TRACE: ** IN getRunMethod: testClass=com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client
07-06-2020 13:19:36:  TRACE: ** IN getRunMethod: testname=MarshallJavaBeanTest
07-06-2020 13:19:36:  TRACE: ** GOT RUN METHOD!
07-06-2020 13:19:36:  TRACE: **runmethod=MarshallJavaBeanTest
07-06-2020 13:19:36:  TRACE: ABOUT TO GET SETUP METHOD!
07-06-2020 13:19:36:  TRACE: No setupMethod annotation present
07-06-2020 13:19:36:  TRACE: getSetupMethod - checking for testcase specific setup method:  MarshallJavaBeanTest_setup
07-06-2020 13:19:36:  TRACE: getSetupMethod - checking for default class specific setup method
07-06-2020 13:19:36:  TRACE: GOT SETUP METHOD!
07-06-2020 13:19:36:  TRACE: No cleanupMethod annotation present
07-06-2020 13:19:36:  TRACE: getCleanupMethod - checking for testcase specific cleanup method:  MarshallJavaBeanTest_cleanup
07-06-2020 13:19:36:  TRACE: getCleanupMethod - checking for default class specific cleanup method
07-06-2020 13:19:36:  TRACE: GOT CLEANUP METHOD!
07-06-2020 13:19:36:  TRACE: ABOUT TO INVOKE SETUP METHOD!
07-06-2020 13:19:36:  Get URL's used by the test
07-06-2020 13:19:36:  Service Endpoint URL: http://localhost:8080/J2WMT_web/ws4ee
07-06-2020 13:19:36:  WSDL Location URL:    http://localhost:8080/J2WMT_web/ws4ee?WSDL
07-06-2020 13:19:36:  JAXRPC_Util.getStub()
07-06-2020 13:19:36:  Get service implementation class for service interface=com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.MarshallTestService
07-06-2020 13:19:36:  JAXRPC_Util:getServiceFactory
07-06-2020 13:19:36:  Creating ServiceFactory instance
07-06-2020 13:19:36:  ServiceImplClass=com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.MarshallTestService_Impl@63e31ee
07-06-2020 13:19:36:  Get stub class for port method=getMarshallTestPort
07-06-2020 13:19:36:  Cast stub to base Stub class ...
07-06-2020 13:19:36:  Setting target endpoint to http://localhost:8080/J2WMT_web/ws4ee ...
07-06-2020 13:19:36:  setup ok
07-06-2020 13:19:36:  TRACE: INVOKED SETUP METHOD!
07-06-2020 13:19:36:  TRACE: ABOUT TO INVOKE EETEST RUN METHOD!
07-06-2020 13:19:36:  MarshallJavaBeanTest
07-06-2020 13:19:36:  Passing/Returning JavaBean JavaBean class to/from JAXRPC Service
07-06-2020 13:19:36:  ERROR: Caught exception: HTTP Status-Code 404: Not Found - Not Found; nested exception is: 
	HTTP Status-Code 404: Not Found - Not Found
07-06-2020 13:19:36:  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.javaBeanTest(MarshallTest_Stub.java:1415)
	at com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client.MarshallJavaBeanTest(Client.java:343)
	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.javaBeanTest(MarshallTest_Stub.java:1398)
	... 13 more

07-06-2020 13:19:36:  ERROR: Test case throws exception: MarshallJavaBeanTest failed
07-06-2020 13:19:36:  ERROR: Exception at:  
07-06-2020 13:19:36:  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.javaBeanTest(MarshallTest_Stub.java:1415)
	at com.sun.ts.tests.jaxrpc.ee.j2w.marshalltest.Client.MarshallJavaBeanTest(Client.java:343)
	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.javaBeanTest(MarshallTest_Stub.java:1398)
	... 13 more

07-06-2020 13:19:36:  cleanup ok
07-06-2020 13:19:37:  TRACE: SLEPT FOR:  1000
STATUS:Failed.Test case throws exception: MarshallJavaBeanTest failed
result: Failed. Test case throws exception: MarshallJavaBeanTest failed


test result: Failed. Test case throws exception: MarshallJavaBeanTest failed