Skip to content

Regression

com.sun.ts.tests.jaxrs.platform.container.completioncallback.JAXRSClient.argumentContainsExceptionInTwoCallbackInstancesTest_from_standalone (from jaxrs)

Failing for the past 1 build (Since #67 )
Took 6 sec.

Error Message

test result: Failed. Test case throws exception: Unexpected response content org.glassfish.hk2.api.MultiException expecting java.lang.RuntimeException

Stacktrace

test result: Failed. Test case throws exception: Unexpected response content org.glassfish.hk2.api.MultiException expecting java.lang.RuntimeException

Standard Output

#Test Results (version 2)
#Sat Jan 08 18:30:31 UTC 2022
#-----testdescription-----
$file=/root/jakartaeetck/src/com/sun/ts/tests/jaxrs/platform/container/completioncallback/JAXRSClient.java
$root=/root/jakartaeetck/src
assertion_ids=JAXRS\:JAVADOC\:985  A completion callback notification method that will be invoked when the request processing is finished, after a response is processed and is sent back to the client or when an unmapped throwable has been propagated to the hosting I/O container. An unmapped throwable is propagated to the hosting I/O container in case no javax.ws.rs.ext.ExceptionMapper exception mapper has been found for a throwable indicating a request processing failure. In this case a non-null unmapped throwable instance is passed to the method. Note that the throwable instance represents the actual unmapped exception thrown during the request processing, before it has been wrapped into an I/O container-specific exception that was used to propagate the throwable to the hosting I/O container.\nJAXRS\:JAVADOC\:1033  Register an asynchronous processing lifecycle callback instances to receive lifecycle events for the asynchronous response based on the implemented callback interfaces.
classname=com.sun.ts.tests.jaxrs.platform.container.completioncallback.JAXRSClient
direction=forward
finder=cts
id=argumentContainsExceptionInTwoCallbackInstancesTest_from_standalone
keywords=all jaxrs javaee argumentContainsExceptionInTwoCallbackInstancesTest standalone_vehicle forward
service_eetest=yes
testName=argumentContainsExceptionInTwoCallbackInstancesTest
testProps=\ webServerHost  webServerPort  ts_home
test_directory=com/sun/ts/tests/jaxrs/platform/container/completioncallback

#-----environment-----
EJBServer1TxInteropEnabled=true
EJBServer2TxInteropEnabled=true
JAVA_HOME=/opt/jdk-11.0.7
SYSTEMROOT=${env.SystemRoot}
TMP=${env.TMP}
bin.dir=/root/jakartaeetck/bin/xml/../../bin
client.cert.test.jdk.tls.client.protocols=TLSv1.2
command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH\=${ts.harness.classpath}${pathsep}${ts.home}/classes${pathsep}${JAVA_HOME}/../lib/tools.jar${pathsep}${ri.modules}/security-ee.jar${pathsep}${ts.home}/lib/commons-httpclient-3.1.jar${pathsep}${ts.home}/lib/commons-logging-1.1.3.jar${pathsep}${ts.home}/lib/commons-codec-1.9.jar${pathsep}${ts.home}/lib/cssparser-0.9.25.jar${pathsep}${ts.home}/lib/htmlunit-2.15.jar${pathsep}${ts.home}/lib/htmlunit-core-js-2.15.jar${pathsep}${ts.home}/lib/httpcore-4.4.9.jar${pathsep}${ts.home}/lib/httpclient-4.5.5.jar${pathsep}${ts.home}/lib/httpmime-4.5.5.jar${pathsep}${ts.home}/lib/commons-collections-3.2.1.jar${pathsep}${ts.home}/lib/commons-io-2.4.jar${pathsep}${ts.home}/lib/commons-lang3-3.3.2.jar${pathsep}${ts.home}/lib/jaxen-1.1.6.jar${pathsep}${ts.home}/lib/nekohtml-1.9.21.jar${pathsep}${ts.home}/lib/sac-1.3.jar${pathsep}${ts.home}/lib/saxpath.jar${pathsep}${ts.home}/lib/xercesImpl-2.11.0.jar${pathsep}${ts.home}/lib/xalan-2.7.2.jar${pathsep}${ts.home}/lib/serializer-2.7.2.jar${pathsep}${ts.home}/lib/xml-apis-1.4.01.jar${pathsep}${ts.home}/lib/unboundid-ldapsdk.jar${pathsep}${jdbc.db.classes} DISPLAY\=${ts.display} HOME\="${user.home}" TMP\=${TMP} windir\=${windir} SYSTEMROOT\=${SYSTEMROOT} PATH\="${javaee.home}/nativelib" ${JAVA_HOME}/bin/java -Dcts.tmp\=$harness.temp.directory -Djava.protocol.handler.pkgs\=javax.net.ssl -Djavax.net.ssl.keyStore\=${bin.dir}/certificates/clientcert.jks -Djavax.net.ssl.keyStorePassword\=changeit -Djavax.net.ssl.trustStore\=${s1as.domain}/${sjsas.instance.config.dir}/cacerts.jks -Dcom.sun.aas.installRoot\=${javaee.home} -Dlog.file.location\=${log.file.location} -Dservlet.is.jsr115.compatible\=${servlet.is.jsr115.compatible} -Dprovider.configuration.file\=${provider.configuration.file} -Djava.security.properties\=${s1as.domain}/${sjsas.instance.config.dir}/ts.java.security -Dlogical.hostname.servlet\=${logical.hostname.servlet} -Dcom.sun.aas.configRoot\=${javaee.home}/config -Ddeliverable.class\=${deliverable.class} $testExecuteClass $testExecuteArgs
deliverable.class=com.sun.ts.lib.deliverable.cts.CTSDeliverable
deployment_host.1=${orb.host}
deployment_host.2=${orb.host.ri}
deployment_port.1=${impl.vi.port}
deployment_port.2=${impl.ri.port}
derby.classes=${derby.home}/lib/derbyclient.jar${pathsep}${derby.home}/lib/derbyshared.jar${pathsep}${derby.home}/lib/derbytools.jar
derby.dbName=derbyDB
derby.driver=org.apache.derby.jdbc.ClientDriver
derby.home=${javaee.home}/../javadb
derby.passwd=cts1
derby.port=1527
derby.server=${orb.host}
derby.url=jdbc\:derby\://${derby.server}\:${derby.port}/${derby.dbName};create\=true
derby.user=cts1
harness.executeMode=0
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=false
http.server.supports.endpoint.publish.2=false
impl.ri.port=${ri.admin.port}
impl.vi.port=${s1as.admin.port}
implementation.classes=${s1as.modules}/deployment-client.jar${pathsep}${s1as.modules}/security.jar${pathsep}${s1as.modules}/common-util.jar${pathsep}${s1as.modules}/glassfish-corba-omgapi.jar${pathsep}${s1as.modules}/deployment-common.jar${pathsep}${s1as.modules}/gmbal.jar${pathsep}${s1as.modules}/bean-validator.jar${pathsep}${s1as.modules}/jakarta.ws.rs-api.jar${pathsep}${s1as.modules}/jersey-client.jar${pathsep}${s1as.modules}/jersey-common.jar${pathsep}${s1as.modules}/jersey-hk2.jar${pathsep}${s1as.modules}/jersey-media-jaxb.jar${pathsep}${s1as.modules}/jersey-media-sse.jar${pathsep}${s1as.modules}/jersey-media-json-processing.jar${pathsep}${s1as.modules}/jsonp-jaxrs.jar${pathsep}${s1as.modules}/jersey-media-json-binding.jar${pathsep}${s1as.modules}/jersey-server.jar${pathsep}${s1as.modules}/jersey-container-servlet.jar${pathsep}${s1as.modules}/jersey-container-servlet-core.jar${pathsep}${s1as.modules}/guava.jar${pathsep}${s1as.modules}/jakarta.el.jar${pathsep}${s1as.modules}/tyrus-websocket-core.jar${pathsep}${s1as.modules}/tyrus-client.jar${pathsep}${s1as.modules}/tyrus-core.jar${pathsep}${s1as.modules}/tyrus-container-grizzly.jar${pathsep}${s1as.modules}/tyrus-container-grizzly-client.jar${pathsep}${s1as.modules}/glassfish-grizzly-extra-all.jar${pathsep}${s1as.modules}/nucleus-grizzly-all.jar${pathsep}${s1as.modules}/tyrus-server.jar${pathsep}${s1as.modules}/tyrus-container-servlet.jar${pathsep}${s1as.modules}/tyrus-spi.jar${pathsep}${s1as.modules}/com.ibm.jbatch-runtime-all.jar${pathsep}${s1as.modules}/com.ibm.jbatch-ri-spi.jar${pathsep}${s1as.modules}/glassfish-batch-connector.jar${pathsep}${s1as.modules}/glassfish-batch-commands.jar${pathsep}${s1as.modules}/yasson.jar
jakarta.persistence.jdbc.driver=${derby.driver}
jakarta.persistence.jdbc.password=${derby.passwd}
jakarta.persistence.jdbc.url=${derby.url}
jakarta.persistence.jdbc.user=${derby.user}
jakarta.persistence.provider=org.eclipse.persistence.jpa.PersistenceProvider
javaee.classes=${s1as.modules}/jakarta.jms-api.jar${pathsep}${s1as.modules}/jakarta.json.jar${pathsep}${s1as.modules}/jakarta.json.bind-api.jar${pathsep}${s1as.modules}/jakarta.ejb-api.jar${pathsep}${s1as.modules}/jakarta.annotation-api.jar${pathsep}${s1as.modules}/jakarta.enterprise.deploy-api.jar${pathsep}${s1as.modules}/jakarta.mail.jar${pathsep}${s1as.modules}/jakarta.persistence.jar${pathsep}${s1as.modules}/jakarta.resource-api.jar${pathsep}${s1as.modules}/jakarta.security.auth.message-api.jar${pathsep}${s1as.modules}/jakarta.security.jacc-api.jar${pathsep}${s1as.modules}/jakarta.servlet-api.jar${pathsep}${s1as.modules}/el-impl.jar${pathsep}${s1as.modules}/jakarta.servlet.jsp-api.jar${pathsep}${jtaJarClasspath}${pathsep}${s1as.modules}/jakarta.xml.bind-api.jar${pathsep}${s1as.modules}/jaxb-osgi.jar${pathsep}${s1as.modules}/jmxremote_optional-repackaged.jar${pathsep}${s1as.modules}/jakarta.faces.jar${pathsep}${s1as.modules}/jakarta.servlet.jsp.jstl.jar${pathsep}${ri.modules}/jakarta.servlet.jsp.jstl-api.jar${pathsep}${s1as.modules}/webservices-osgi.jar${pathsep}${s1as.modules}/webservices-api-osgi.jar${pathsep}${s1as.modules}/jakarta.management.j2ee-api.jar${pathsep}${s1as.modules}/ejb.security.jar${pathsep}${s1as.modules}/glassfish-corba-csiv2-idl.jar${pathsep}${s1as.modules}/weld-osgi-bundle.jar${pathsep}${implementation.classes}${pathsep}${s1as.modules}/javamail-connector.jar${pathsep}${s1as.modules}/javamail-runtime.jar${pathsep}${s1as.modules}/jakarta.websocket-api.jar${pathsep}${s1as.modules}/jakarta.enterprise.concurrent-api.jar${pathsep}${s1as.modules}/jakarta.batch-api.jar${pathsep}${s1as.modules}/jakarta.enterprise.cdi-api.jar$${pathsep}${s1as.modules}/jakarta.xml.ws-api.jar${pathsep}${s1as.modules}/jakarta.xml.bind-api.jar
javaee.home=/root/vi/glassfish6/glassfish
javaee.home.ri=/root/ri/glassfish6/glassfish
javaee.level=full
jdbc.db.classes=${derby.classes}
jimage.dir=${ts.home}/tmp/jdk-bundles
jpa.provider.implementation.specific.properties=eclipselink.logging.level\=OFF
jtaJarClasspath=${s1as.modules}/jakarta.transaction-api.jar
log.file.location=${vi.log.file.location}
logical.hostname.servlet=server
namingServiceHost1=${orb.host}
namingServiceHost2=${orb.host.ri}
namingServicePort1=${orb.port}
namingServicePort2=${orb.port.ri}
orb.host=localhost
orb.host.ri=localhost
orb.port=3699
orb.port.ri=3701
password1=${derby.passwd}
password2=${derby.passwd}
pathsep=\:
persistence.second.level.caching.supported=true
persistence.unit.name=CTS-EM
persistence.unit.name.2=JPATCK2
platform.mode=jakartaEE
porting.ts.HttpsURLConnection.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection
porting.ts.HttpsURLConnection.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection
porting.ts.deploy.class.1=com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment
porting.ts.deploy.class.2=com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeploymentSeparateVM
porting.ts.jms.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin
porting.ts.jms.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin
porting.ts.login.class.1=com.sun.ts.lib.implementation.sun.javaee.GlassFishLoginContext
porting.ts.login.class.2=com.sun.ts.lib.implementation.sun.javaee.GlassFishLoginContext
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
provider.configuration.file=${javaee.home}/domains/domain1/config/ProviderConfiguration.xml
ri.admin.port=5858
ri.modules=${javaee.home.ri}/modules
s1as.admin.port=4848
s1as.domain=${s1as.domain.dir}/${s1as.domain.name}
s1as.domain.dir=${javaee.home}/domains
s1as.domain.name=domain1
s1as.modules=${javaee.home}/modules
securedWebServicePort=1044
securedWebServicePort.2=1045
servlet.is.jsr115.compatible=true
sjsas.instance.config.dir=config
ts.display=\:0.0
ts.harness.classpath=${ts.home}/lib/jaxb-api.jar${pathsep}${ts.home}/lib/jaxb-core.jar${pathsep}${ts.home}/lib/jaxb-impl.jar${pathsep}${ts.home}/lib/jaxb-xjc.jar${pathsep}${ts.home}/lib/tsharness.jar${pathsep}${ts.home}/lib/cts.jar${pathsep}${ts.home}/lib/glassfishporting.jar${pathsep}${ts.home}/lib/sigtest.jar${pathsep}${ts.run.classpath}${pathsep}${ts.home}/lib/javatest.jar${pathsep}${ts.home}/lib/jdom-1.1.3.jar${pathsep}${ant.home}/lib/ant.jar${pathsep}${ri.modules}/admin-cli.jar${pathsep}${ts.home}/lib/http.jar
ts.home=/root/jakartaeetck/bin/xml/../..
ts.run.classpath=${pathsep}${javaee.classes}${pathsep}${ts.home}/lib/tsharness.jar${pathsep}${ts.home}/lib/cts.jar${pathsep}${ts.home}/lib/glassfishporting.jar${pathsep}${jdbc.db.classes}
ts_home=${ts.home}
user.home=/
user1=${derby.user}
user2=${derby.user}
variable.mapper=com.sun.el.lang.VariableMapperImpl
vi.admin.passwd=
vi.admin.user=admin
vi.domain=${vi.domain.dir}/${vi.domain.name}
vi.domain.dir=${javaee.home}/domains
vi.domain.name=domain1
vi.log.file.location=${vi.domain}/logs
webServerHost=${orb.host}
webServerHost.2=${orb.host.ri}
webServerPort=8001
webServerPort.2=8002
windir=${env.windir}
wsdlRepository1=${harness.temp.directory}/wsdlRepository1
wsdlRepository2=${harness.temp.directory}/wsdlRepository2

#-----testresult-----
description=file\:/root/jakartaeetck/src/com/sun/ts/tests/jaxrs/platform/container/completioncallback/JAXRSClient.java\#argumentContainsExceptionInTwoCallbackInstancesTest_from_standalone
end=Sat Jan 08 18\:30\:31 UTC 2022
environment=ts_unix
execStatus=Failed. Test case throws exception\: Unexpected response content org.glassfish.hk2.api.MultiException expecting java.lang.RuntimeException
harnessLoaderMode=Classpath Loader
harnessVariety=Full Bundle
javatestOS=Linux 5.12.7-300.fc34.x86_64 (amd64)
javatestVersion=5.0
script=com.sun.ts.lib.harness.TSScript
sections=script_messages Deployment TestRun
start=Sat Jan 08 18\:30\:25 UTC 2022
test=com/sun/ts/tests/jaxrs/platform/container/completioncallback/JAXRSClient.java\#argumentContainsExceptionInTwoCallbackInstancesTest_from_standalone
timeoutSeconds=1200
totalTime=5529
work=/root/jakartaeetck-work/jaxrs/com/sun/ts/tests/jaxrs/platform/container/completioncallback

#section:script_messages
----------messages:(0/0)----------

#section:Deployment
----------messages:(0/0)----------
----------log:(14/565)----------
Undeploying apps...
AutoDeployment.isDeployed()
AutoDeployment.undeploy()
Undeploying apps...
AutoDeployment.isDeployed()
Search for s1as runtime files match:`jaxrs_platform_container_completioncallback_web.war`
Valid runtime files after sweep:
Deploying apps for forward rebuildable...
Search for s1as runtime files match:`jaxrs_platform_container_completioncallback_web.war`
Valid runtime files after sweep:
getAppNameFromApplicationXML() returning "null"
harness.executeMode is set to "0"
keywords (to be passed to tests) set to:  all
sClassPathFromExecProps = 
result: Passed. Deployment phase completed. However, check the output above to see if actual deployment passed or failed.

#section:TestRun
----------messages:(1/8035)----------
command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/root/jakartaeetck/bin/xml/../../lib/jaxb-api.jar:/root/jakartaeetck/bin/xml/../../lib/jaxb-core.jar:/root/jakartaeetck/bin/xml/../../lib/jaxb-impl.jar:/root/jakartaeetck/bin/xml/../../lib/jaxb-xjc.jar:/root/jakartaeetck/bin/xml/../../lib/tsharness.jar:/root/jakartaeetck/bin/xml/../../lib/cts.jar:/root/jakartaeetck/bin/xml/../../lib/glassfishporting.jar:/root/jakartaeetck/bin/xml/../../lib/sigtest.jar::/root/vi/glassfish6/glassfish/modules/jakarta.jms-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.json.jar:/root/vi/glassfish6/glassfish/modules/jakarta.json.bind-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.ejb-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.annotation-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.enterprise.deploy-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.mail.jar:/root/vi/glassfish6/glassfish/modules/jakarta.persistence.jar:/root/vi/glassfish6/glassfish/modules/jakarta.resource-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.security.auth.message-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.security.jacc-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.servlet-api.jar:/root/vi/glassfish6/glassfish/modules/el-impl.jar:/root/vi/glassfish6/glassfish/modules/jakarta.servlet.jsp-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.transaction-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.xml.bind-api.jar:/root/vi/glassfish6/glassfish/modules/jaxb-osgi.jar:/root/vi/glassfish6/glassfish/modules/jmxremote_optional-repackaged.jar:/root/vi/glassfish6/glassfish/modules/jakarta.faces.jar:/root/vi/glassfish6/glassfish/modules/jakarta.servlet.jsp.jstl.jar:/root/ri/glassfish6/glassfish/modules/jakarta.servlet.jsp.jstl-api.jar:/root/vi/glassfish6/glassfish/modules/webservices-osgi.jar:/root/vi/glassfish6/glassfish/modules/webservices-api-osgi.jar:/root/vi/glassfish6/glassfish/modules/jakarta.management.j2ee-api.jar:/root/vi/glassfish6/glassfish/modules/ejb.security.jar:/root/vi/glassfish6/glassfish/modules/glassfish-corba-csiv2-idl.jar:/root/vi/glassfish6/glassfish/modules/weld-osgi-bundle.jar:/root/vi/glassfish6/glassfish/modules/deployment-client.jar:/root/vi/glassfish6/glassfish/modules/security.jar:/root/vi/glassfish6/glassfish/modules/common-util.jar:/root/vi/glassfish6/glassfish/modules/glassfish-corba-omgapi.jar:/root/vi/glassfish6/glassfish/modules/deployment-common.jar:/root/vi/glassfish6/glassfish/modules/gmbal.jar:/root/vi/glassfish6/glassfish/modules/bean-validator.jar:/root/vi/glassfish6/glassfish/modules/jakarta.ws.rs-api.jar:/root/vi/glassfish6/glassfish/modules/jersey-client.jar:/root/vi/glassfish6/glassfish/modules/jersey-common.jar:/root/vi/glassfish6/glassfish/modules/jersey-hk2.jar:/root/vi/glassfish6/glassfish/modules/jersey-media-jaxb.jar:/root/vi/glassfish6/glassfish/modules/jersey-media-sse.jar:/root/vi/glassfish6/glassfish/modules/jersey-media-json-processing.jar:/root/vi/glassfish6/glassfish/modules/jsonp-jaxrs.jar:/root/vi/glassfish6/glassfish/modules/jersey-media-json-binding.jar:/root/vi/glassfish6/glassfish/modules/jersey-server.jar:/root/vi/glassfish6/glassfish/modules/jersey-container-servlet.jar:/root/vi/glassfish6/glassfish/modules/jersey-container-servlet-core.jar:/root/vi/glassfish6/glassfish/modules/guava.jar:/root/vi/glassfish6/glassfish/modules/jakarta.el.jar:/root/vi/glassfish6/glassfish/modules/tyrus-websocket-core.jar:/root/vi/glassfish6/glassfish/modules/tyrus-client.jar:/root/vi/glassfish6/glassfish/modules/tyrus-core.jar:/root/vi/glassfish6/glassfish/modules/tyrus-container-grizzly.jar:/root/vi/glassfish6/glassfish/modules/tyrus-container-grizzly-client.jar:/root/vi/glassfish6/glassfish/modules/glassfish-grizzly-extra-all.jar:/root/vi/glassfish6/glassfish/modules/nucleus-grizzly-all.jar:/root/vi/glassfish6/glassfish/modules/tyrus-server.jar:/root/vi/glassfish6/glassfish/modules/tyrus-container-servlet.jar:/root/vi/glassfish6/glassfish/modules/tyrus-spi.jar:/root/vi/glassfish6/glassfish/modules/com.ibm.jbatch-runtime-all.jar:/root/vi/glassfish6/glassfish/modules/com.ibm.jbatch-ri-spi.jar:/root/vi/glassfish6/glassfish/modules/glassfish-batch-connector.jar:/root/vi/glassfish6/glassfish/modules/glassfish-batch-commands.jar:/root/vi/glassfish6/glassfish/modules/yasson.jar:/root/vi/glassfish6/glassfish/modules/javamail-connector.jar:/root/vi/glassfish6/glassfish/modules/javamail-runtime.jar:/root/vi/glassfish6/glassfish/modules/jakarta.websocket-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.enterprise.concurrent-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.batch-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.enterprise.cdi-api.jar${pathsep}/root/vi/glassfish6/glassfish/modules/jakarta.xml.ws-api.jar:/root/vi/glassfish6/glassfish/modules/jakarta.xml.bind-api.jar:/root/jakartaeetck/bin/xml/../../lib/tsharness.jar:/root/jakartaeetck/bin/xml/../../lib/cts.jar:/root/jakartaeetck/bin/xml/../../lib/glassfishporting.jar:/root/vi/glassfish6/glassfish/../javadb/lib/derbyclient.jar:/root/vi/glassfish6/glassfish/../javadb/lib/derbyshared.jar:/root/vi/glassfish6/glassfish/../javadb/lib/derbytools.jar:/root/jakartaeetck/bin/xml/../../lib/javatest.jar:/root/jakartaeetck/bin/xml/../../lib/jdom-1.1.3.jar:/lib/ant.jar:/root/ri/glassfish6/glassfish/modules/admin-cli.jar:/root/jakartaeetck/bin/xml/../../lib/http.jar:/root/jakartaeetck/bin/xml/../../classes:/opt/jdk-11.0.7/../lib/tools.jar:/root/ri/glassfish6/glassfish/modules/security-ee.jar:/root/jakartaeetck/bin/xml/../../lib/commons-httpclient-3.1.jar:/root/jakartaeetck/bin/xml/../../lib/commons-logging-1.1.3.jar:/root/jakartaeetck/bin/xml/../../lib/commons-codec-1.9.jar:/root/jakartaeetck/bin/xml/../../lib/cssparser-0.9.25.jar:/root/jakartaeetck/bin/xml/../../lib/htmlunit-2.15.jar:/root/jakartaeetck/bin/xml/../../lib/htmlunit-core-js-2.15.jar:/root/jakartaeetck/bin/xml/../../lib/httpcore-4.4.9.jar:/root/jakartaeetck/bin/xml/../../lib/httpclient-4.5.5.jar:/root/jakartaeetck/bin/xml/../../lib/httpmime-4.5.5.jar:/root/jakartaeetck/bin/xml/../../lib/commons-collections-3.2.1.jar:/root/jakartaeetck/bin/xml/../../lib/commons-io-2.4.jar:/root/jakartaeetck/bin/xml/../../lib/commons-lang3-3.3.2.jar:/root/jakartaeetck/bin/xml/../../lib/jaxen-1.1.6.jar:/root/jakartaeetck/bin/xml/../../lib/nekohtml-1.9.21.jar:/root/jakartaeetck/bin/xml/../../lib/sac-1.3.jar:/root/jakartaeetck/bin/xml/../../lib/saxpath.jar:/root/jakartaeetck/bin/xml/../../lib/xercesImpl-2.11.0.jar:/root/jakartaeetck/bin/xml/../../lib/xalan-2.7.2.jar:/root/jakartaeetck/bin/xml/../../lib/serializer-2.7.2.jar:/root/jakartaeetck/bin/xml/../../lib/xml-apis-1.4.01.jar:/root/jakartaeetck/bin/xml/../../lib/unboundid-ldapsdk.jar:/root/vi/glassfish6/glassfish/../javadb/lib/derbyclient.jar:/root/vi/glassfish6/glassfish/../javadb/lib/derbyshared.jar:/root/vi/glassfish6/glassfish/../javadb/lib/derbytools.jar DISPLAY=:0.0 HOME=/ TMP= windir= SYSTEMROOT= PATH=/root/vi/glassfish6/glassfish/nativelib /opt/jdk-11.0.7/bin/java -Dcts.tmp=/root/jakartaeetck/bin/xml/../../tmp -Djava.protocol.handler.pkgs=javax.net.ssl -Djavax.net.ssl.keyStore=/root/jakartaeetck/bin/xml/../../bin/certificates/clientcert.jks -Djavax.net.ssl.keyStorePassword=changeit -Djavax.net.ssl.trustStore=/root/vi/glassfish6/glassfish/domains/domain1/config/cacerts.jks -Dcom.sun.aas.installRoot=/root/vi/glassfish6/glassfish -Dlog.file.location=/root/vi/glassfish6/glassfish/domains/domain1/logs -Dservlet.is.jsr115.compatible=true -Dprovider.configuration.file=/root/vi/glassfish6/glassfish/domains/domain1/config/ProviderConfiguration.xml -Djava.security.properties=/root/vi/glassfish6/glassfish/domains/domain1/config/ts.java.security -Dlogical.hostname.servlet=server -Dcom.sun.aas.configRoot=/root/vi/glassfish6/glassfish/config -Ddeliverable.class=com.sun.ts.lib.deliverable.cts.CTSDeliverable com.sun.ts.tests.common.vehicle.VehicleClient -p /root/jakartaeetck/bin/xml/../../tmp/tstest.jte -t argumentContainsExceptionInTwoCallbackInstancesTest -vehicle standalone
----------log:(121/11112)----------
************************************************************
* props file set to "/tmp/1003270000-cts-props.txt"
************************************************************
01-08-2022 18:30:26:  [JAXRSCommonClient] Test setup OK
01-08-2022 18:30:26:  [Request] Dispatching request: 'GET http://localhost:8001/jaxrs_platform_container_completioncallback_web/resource/clear' to target server at 'localhost:8001'
01-08-2022 18:30:26:  ###############################
Jan 08, 2022 6:30:28 PM com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl findDerbyClient
INFO: Cannot find javadb client jar file, derby jdbc driver will not be available by default.
01-08-2022 18:30:28:  TRACE: [WIRE] - >> GET http://localhost:8001/jaxrs_platform_container_completioncallback_web/resource/clear
01-08-2022 18:30:28:  TRACE: [WIRE] - >> Accept:*/*
01-08-2022 18:30:28:  TRACE: [WIRE] - << 204 NO_CONTENT
01-08-2022 18:30:28:  TRACE: [WIRE] - << Server: Eclipse GlassFish  6.2.4
01-08-2022 18:30:28:  TRACE: [WIRE] - << X-Powered-By: Servlet/5.0 JSP/3.0(Eclipse GlassFish  6.2.4  Java/Oracle Corporation/11)
01-08-2022 18:30:28:  [Request] Dispatching request: 'GET http://localhost:8001/jaxrs_platform_container_completioncallback_web/resource/reset' to target server at 'localhost:8001'
01-08-2022 18:30:28:  ###############################
01-08-2022 18:30:29:  TRACE: [WIRE] - >> GET http://localhost:8001/jaxrs_platform_container_completioncallback_web/resource/reset
01-08-2022 18:30:29:  TRACE: [WIRE] - >> Accept:*/*
01-08-2022 18:30:29:  TRACE: [WIRE] - << 204 NO_CONTENT
01-08-2022 18:30:29:  TRACE: [WIRE] - << Server: Eclipse GlassFish  6.2.4
01-08-2022 18:30:29:  TRACE: [WIRE] - << X-Powered-By: Servlet/5.0 JSP/3.0(Eclipse GlassFish  6.2.4  Java/Oracle Corporation/11)
01-08-2022 18:30:29:  TRACE: [WIRE] - >> GET http://localhost:8001/jaxrs_platform_container_completioncallback_web/resource/suspend
01-08-2022 18:30:29:  TRACE: [WIRE] - >> 
01-08-2022 18:30:29:  Register response test
01-08-2022 18:30:29:  TRACE: [WIRE] - >> GET http://localhost:8001/jaxrs_platform_container_completioncallback_web/resource/registerobjects?stage=0
01-08-2022 18:30:29:  TRACE: [WIRE] - >> 
01-08-2022 18:30:29:  TRACE: [WIRE] - << 200 OK
01-08-2022 18:30:29:  TRACE: [WIRE] - << Server: Eclipse GlassFish  6.2.4
01-08-2022 18:30:29:  TRACE: [WIRE] - << Content-Length: 23
01-08-2022 18:30:29:  TRACE: [WIRE] - << Content-Type: text/html
01-08-2022 18:30:29:  TRACE: [WIRE] - << X-Powered-By: Servlet/5.0 JSP/3.0(Eclipse GlassFish  6.2.4  Java/Oracle Corporation/11)
01-08-2022 18:30:29:  TRACE: [WIRE] - << A method returned false
01-08-2022 18:30:29:  Found expected status OK
01-08-2022 18:30:29:  Found expected string A method returned false
01-08-2022 18:30:29:  Exception response test
01-08-2022 18:30:29:  TRACE: [WIRE] - >> GET http://localhost:8001/jaxrs_platform_container_completioncallback_web/resource/exception?stage=1
01-08-2022 18:30:29:  TRACE: [WIRE] - >> 
01-08-2022 18:30:29:  TRACE: [WIRE] - << 500 INTERNAL_SERVER_ERROR
01-08-2022 18:30:29:  TRACE: [WIRE] - << Server: Eclipse GlassFish  6.2.4
01-08-2022 18:30:29:  TRACE: [WIRE] - << Connection: close
01-08-2022 18:30:29:  TRACE: [WIRE] - << Content-Length: 0
01-08-2022 18:30:29:  TRACE: [WIRE] - << X-Powered-By: Servlet/5.0 JSP/3.0(Eclipse GlassFish  6.2.4  Java/Oracle Corporation/11)
01-08-2022 18:30:29:  TRACE: [WIRE] - << 500 INTERNAL_SERVER_ERROR
01-08-2022 18:30:29:  TRACE: [WIRE] - << Connection: close
01-08-2022 18:30:29:  TRACE: [WIRE] - << Content-Length: 2868
01-08-2022 18:30:29:  TRACE: [WIRE] - << Content-Language: 
01-08-2022 18:30:29:  TRACE: [WIRE] - << Content-Type: text/html
01-08-2022 18:30:29:  TRACE: [WIRE] - << <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Eclipse GlassFish  6.2.4  - Error report</title><style type="text/css"><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - Internal Server Error</h1><hr/><p><b>type</b> Exception report</p><p><b>message</b>Internal Server Error</p><p><b>description</b>The server encountered an internal error that prevented it from fulfilling this request.</p><p><b>exception</b> <pre>jakarta.servlet.ServletException: A MultiException has 2 exceptions.  They are:
01-08-2022 18:30:29:  TRACE: [WIRE] - << 1. java.lang.IllegalStateException: Could not find an active context for jakarta.ejb.Singleton
01-08-2022 18:30:29:  TRACE: [WIRE] - << 2. java.lang.IllegalStateException: While attempting to create a service for SystemDescriptor&#40;
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	implementation=org.glassfish.jersey.gf.ejb.internal.EjbExceptionMapper
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	contracts={jakarta.ws.rs.ext.ExceptionMapper}
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	scope=jakarta.ejb.Singleton
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	qualifiers={}
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	descriptorType=CLASS
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	descriptorVisibility=NORMAL
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	metadata=
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	rank=0
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	loader=null
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	proxiable=null
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	proxyForSameScope=null
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	analysisName=null
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	id=224
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	locatorId=83
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	identityHashCode=21915587
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	reified=true&#41; in scope jakarta.ejb.Singleton an error occured while locating the context
01-08-2022 18:30:29:  TRACE: [WIRE] - << </pre></p><p><b>root cause</b> <pre>A MultiException has 2 exceptions.  They are:
01-08-2022 18:30:29:  TRACE: [WIRE] - << 1. java.lang.IllegalStateException: Could not find an active context for jakarta.ejb.Singleton
01-08-2022 18:30:29:  TRACE: [WIRE] - << 2. java.lang.IllegalStateException: While attempting to create a service for SystemDescriptor&#40;
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	implementation=org.glassfish.jersey.gf.ejb.internal.EjbExceptionMapper
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	contracts={jakarta.ws.rs.ext.ExceptionMapper}
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	scope=jakarta.ejb.Singleton
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	qualifiers={}
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	descriptorType=CLASS
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	descriptorVisibility=NORMAL
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	metadata=
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	rank=0
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	loader=null
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	proxiable=null
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	proxyForSameScope=null
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	analysisName=null
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	id=224
01-08-2022 18:30:29:  Gotten response status 500
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	locatorId=83
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	identityHashCode=21915587
01-08-2022 18:30:29:  TRACE: [WIRE] - << 	reified=true&#41; in scope jakarta.ejb.Singleton an error occured while locating the context
01-08-2022 18:30:29:  Suspend response test
01-08-2022 18:30:29:  Found expected status Internal Server Error
01-08-2022 18:30:29:  TRACE: [WIRE] - << </pre></p><p><b>root cause</b> <pre>java.lang.IllegalStateException: Could not find an active context for jakarta.ejb.Singleton</pre></p><p><b>note</b> <u>The full stack traces of the exception and its root causes are available in the Eclipse GlassFish  6.2.4  logs.</u></p><hr/><h3>Eclipse GlassFish  6.2.4 </h3></body></html>
01-08-2022 18:30:29:  TRACE: [WIRE] - >> GET http://localhost:8001/jaxrs_platform_container_completioncallback_web/resource/error
01-08-2022 18:30:29:  TRACE: [WIRE] - >> 
01-08-2022 18:30:29:  TRACE: [WIRE] - << 200 OK
01-08-2022 18:30:29:  TRACE: [WIRE] - << Server: Eclipse GlassFish  6.2.4
01-08-2022 18:30:29:  TRACE: [WIRE] - << Content-Length: 36
01-08-2022 18:30:29:  TRACE: [WIRE] - << Content-Type: text/html
01-08-2022 18:30:29:  TRACE: [WIRE] - << X-Powered-By: Servlet/5.0 JSP/3.0(Eclipse GlassFish  6.2.4  Java/Oracle Corporation/11)
01-08-2022 18:30:29:  TRACE: [WIRE] - << org.glassfish.hk2.api.MultiException
01-08-2022 18:30:29:  Found expected status OK
01-08-2022 18:30:29:  ERROR: Unexpected response content org.glassfish.hk2.api.MultiException expecting java.lang.RuntimeException
01-08-2022 18:30:29:  ERROR: Test case throws exception: Unexpected response content org.glassfish.hk2.api.MultiException expecting java.lang.RuntimeException
01-08-2022 18:30:29:  ERROR: Exception at:  
01-08-2022 18:30:29:  ERROR: com.sun.ts.lib.harness.EETest$Fault: Unexpected response content org.glassfish.hk2.api.MultiException expecting java.lang.RuntimeException
	at com.sun.ts.tests.jaxrs.common.JAXRSCommonClient.fault(JAXRSCommonClient.java:767)
	at com.sun.ts.tests.jaxrs.common.JAXRSCommonClient.assertTrue(JAXRSCommonClient.java:662)
	at com.sun.ts.tests.jaxrs.common.JAXRSCommonClient.assertEquals(JAXRSCommonClient.java:703)
	at com.sun.ts.tests.jaxrs.platform.container.completioncallback.JAXRSClient.assertString(JAXRSClient.java:403)
	at com.sun.ts.tests.jaxrs.platform.container.completioncallback.JAXRSClient.argumentContainsExceptionInTwoCallbackInstancesTest(JAXRSClient.java:298)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	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:41)
	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:37)

01-08-2022 18:30:29:  [JAXRSCommonClient] Test cleanup OK
STATUS:Failed.Test case throws exception: Unexpected response content org.glassfish.hk2.api.MultiException expecting java.lang.RuntimeException
result: Failed. Test case throws exception: Unexpected response content org.glassfish.hk2.api.MultiException expecting java.lang.RuntimeException


test result: Failed. Test case throws exception: Unexpected response content org.glassfish.hk2.api.MultiException expecting java.lang.RuntimeException