Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor jms (EE mode) tests #1495

Open
starksm64 opened this issue Aug 23, 2024 · 2 comments
Open

Refactor jms (EE mode) tests #1495

starksm64 opened this issue Aug 23, 2024 · 2 comments
Assignees
Labels
11.0 Issues related to the Jakarta EE 11 Platform TCK release

Comments

@starksm64
Copy link
Contributor

No description provided.

@starksm64 starksm64 converted this from a draft issue Aug 23, 2024
@starksm64 starksm64 moved this to In progress in Jakarta EE11 TCK Release Aug 23, 2024
@starksm64 starksm64 self-assigned this Aug 23, 2024
starksm64 added a commit to starksm64/platform-tck that referenced this issue Aug 24, 2024
Related to jakartaee#1495

Signed-off-by: Scott M Stark <[email protected]>
starksm64 added a commit that referenced this issue Aug 26, 2024
* Initial jms refactor
Related to #1495

Signed-off-by: Scott M Stark <[email protected]>

* Fix the ear missing desciptors

Signed-off-by: Scott M Stark <[email protected]>

* Fix the jsp_vehicle.jsp import of the old javatest Status

Signed-off-by: Scott M Stark <[email protected]>

* Remove obsolete innerclasses in applcient tests

Signed-off-by: Scott M Stark <[email protected]>

---------

Signed-off-by: Scott M Stark <[email protected]>
@gurunrao gurunrao added the 11.0 Issues related to the Jakarta EE 11 Platform TCK release label Oct 4, 2024
@starksm64 starksm64 removed their assignment Oct 16, 2024
@alwin-joseph
Copy link
Contributor

alwin-joseph commented Oct 30, 2024

Current Status :

Total Tests : 3510 , Passing: 3318, Failed: 192

Appclient Tests :
https://ci.eclipse.org/jakartaee-tck/job/11/job/platform-tck/job/jms-platform-tck-appclient-run
[ERROR] Tests run: 1932, Failures: 0, Errors: 192, Skipped: 0
Logs : https://ci.eclipse.org/jakartaee-tck/job/11/job/platform-tck/job/jms-platform-tck-appclient-run/6/console

Failing Tests :
com.sun.ts.tests.jms.ee.ejb.sessionTtests.ClientTest.simpleSendReceiveT
com.sun.ts.tests.jms.ee.mdb.mdb_exceptQ.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_exceptT.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_msgHdrT.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_msgPropsQ.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_msgPropsT.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_msgTypesQ1.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_msgTypesQ2.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_msgTypesQ3.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_msgTypesT1.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_msgTypesT2.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_msgTypesT3.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_rec.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_sndQ.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_sndToQueue.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_sndToTopic.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.mdb_synchrec.ClientTest.*
com.sun.ts.tests.jms.ee.mdb.xa.ClientTest.*
com.sun.ts.tests.jms.ee20.cditests.ejbweb.ClientTest.*
com.sun.ts.tests.jms.ee20.cditests.mdb.ClientTest.*
com.sun.ts.tests.jms.ee20.cditests.usecases.ClientTest.*
com.sun.ts.tests.jms.ee20.ra.activationconfig.queue.selectorauto.annotated.ClientTest.test1
com.sun.ts.tests.jms.ee20.ra.activationconfig.queue.selectorauto.descriptor.ClientTest.test1
com.sun.ts.tests.jms.ee20.ra.activationconfig.queue.selectordups.annotated.ClientTest.test1
com.sun.ts.tests.jms.ee20.ra.activationconfig.queue.selectordups.descriptor.ClientTest.test1
com.sun.ts.tests.jms.ee20.ra.activationconfig.topic.noselnocidautodurable.annotated.ClientTest.test1
com.sun.ts.tests.jms.ee20.ra.activationconfig.topic.noselnocidautodurable.descriptor.ClientTest.test1
com.sun.ts.tests.jms.ee20.ra.activationconfig.topic.selectorautociddurable.annotated.ClientTest.test1
com.sun.ts.tests.jms.ee20.ra.activationconfig.topic.selectorautociddurable.descriptor.ClientTest.test1
com.sun.ts.tests.jms.ee20.ra.activationconfig.topic.selectordupsnondurable.annotated.ClientTest.test1
com.sun.ts.tests.jms.ee20.ra.activationconfig.topic.selectordupsnondurable.descriptor.ClientTest.test1
com.sun.ts.tests.jms.ee20.resourcedefs.annotations.ClientTest.checkClientIDOnDurableConnFactoryTest
com.sun.ts.tests.jms.ee20.resourcedefs.annotations.ClientTest.sendAndRecvQueueTestFromAppClient
com.sun.ts.tests.jms.ee20.resourcedefs.annotations.ClientTest.sendAndRecvQueueTestFromJspClient
com.sun.ts.tests.jms.ee20.resourcedefs.annotations.ClientTest.sendAndRecvTopicTestFromAppClient
com.sun.ts.tests.jms.ee20.resourcedefs.annotations.ClientTest.sendAndRecvTopicTestFromJspClient
com.sun.ts.tests.jms.ee20.resourcedefs.descriptor.ClientAppclientTest.*

JavaTests:
https://ci.eclipse.org/jakartaee-tck/job/11/job/platform-tck/job/jms-platform-tck-javatest-run
[ERROR] Tests run: 1578, Failures: 0, Errors: 1, Skipped: 0
(The one test failed com/sun/ts/tests/jms/core20/jmscontexttopictests/ClientServletTest#createSharedDurableConsumerTest2. It passes when the suite is run individually.)

@alwin-joseph
Copy link
Contributor

com.sun.ts.tests.jms.ee.mdb.mdb_msgHdrT.ClientTest

Failure logs :

com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Remote ejb-ref name=ejb/MDB_MSGHdrT_Test,Remote 3.x interface =com.sun.ts.tests.jms.commonee.MDB_T_Test,ejb-link=null,lookup=,mappedName=,jndi-name=jms_ee_mdb_mdb_msgHdrT_MDB_MSGHdrT_Test,refType=Session into class com.sun.ts.tests.jms.ee.mdb.mdb_msgHdrT.MDBClient: Lookup failed for java:comp/env/ejb/MDB_MSGHdrT_Test in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}]
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:530)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:362)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:165)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectClass(InjectionManagerImpl.java:160)
at org.glassfish.appclient.client.acc.AppClientContainer$ClientMainClassSetting.getClientMainClass(AppClientContainer.java:514)
at org.glassfish.appclient.client.acc.AppClientContainer.getMainMethod(AppClientContainer.java:425)
at org.glassfish.appclient.client.acc.AppClientContainer.completePreparation(AppClientContainer.java:335)
at org.glassfish.appclient.client.acc.AppClientContainer.prepare(AppClientContainer.java:254)
at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:224)
at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:60)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:560)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:572)
Caused by: javax.naming.NamingException: Lookup failed for java:comp/env/ejb/MDB_MSGHdrT_Test in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}] [Root exception is javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/MDB_MSGHdrT_Test]
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:836)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:269)
at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:413)
at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:565)
at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:470)
... 13 more
Caused by: javax.naming.NameNotFoundException: No object bound for java:comp/env/ejb/MDB_MSGHdrT_Test
at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:135)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:818)
... 17 more
Suppressed: javax.naming.NamingException: Exception resolving Ejb for 'Remote ejb-ref name=ejb/MDB_MSGHdrT_Test,Remote 3.x interface =com.sun.ts.tests.jms.commonee.MDB_T_Test,ejb-link=null,lookup=,mappedName=,jndi-name=jms_ee_mdb_mdb_msgHdrT_MDB_MSGHdrT_Test,refType=Session' . Actual (possibly internal) Remote JNDI name used for lookup is 'jms_ee_mdb_mdb_msgHdrT_MDB_MSGHdrT_Test#com.sun.ts.tests.jms.commonee.MDB_T_Test' [Root exception is javax.naming.NamingException: Lookup failed for jms_ee_mdb_mdb_msgHdrT_MDB_MSGHdrT_Test#com.sun.ts.tests.jms.commonee.MDB_T_Test in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}] [Root exception is javax.naming.NameNotFoundException: jms_ee_mdb_mdb_msgHdrT_MDB_MSGHdrT_Test#com.sun.ts.tests.jms.commonee.MDB_T_Test not found]]
at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:159)
at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$EjbReferenceProxy.create(ComponentEnvManagerImpl.java:975)
at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:621)
at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:587)
at com.sun.enterprise.naming.impl.JavaURLContext.lambda$lookup$0(JavaURLContext.java:153)
at com.sun.enterprise.naming.impl.JavaURLContext.lookupOrCollectException(JavaURLContext.java:550)
at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:153)
... 18 more
Caused by: javax.naming.NamingException: Lookup failed for jms_ee_mdb_mdb_msgHdrT_MDB_MSGHdrT_Test#com.sun.ts.tests.jms.commonee.MDB_T_Test in SerialContext[myEnv={java.naming.factory.initial=com.sun.enterprise.naming.impl.SerialInitContextFactory, java.naming.factory.url.pkgs=com.sun.enterprise.naming, java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl}] [Root exception is javax.naming.NameNotFoundException: jms_ee_mdb_mdb_msgHdrT_MDB_MSGHdrT_Test#com.sun.ts.tests.jms.commonee.MDB_T_Test not found]
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:836)
at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:257)
at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)
at com.sun.ejb.EjbNamingReferenceManagerImpl.resolveEjbReference(EjbNamingReferenceManagerImpl.java:154)
... 24 more
Caused by: javax.naming.NameNotFoundException: jms_ee_mdb_mdb_msgHdrT_MDB_MSGHdrT_Test#com.sun.ts.tests.jms.commonee.MDB_T_Test not found
at com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:234)
at com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:202)
at com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:37)
at com.sun.enterprise.naming.impl.RemoteSerialContextProviderImpl.lookup(RemoteSerialContextProviderImpl.java:85)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie.dispatchToMethod(ReflectiveTie.java:122)
at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:152)
at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatchToServant(ServerRequestDispatcherImpl.java:501)
at com.sun.corba.ee.impl.protocol.ServerRequestDispatcherImpl.dispatch(ServerRequestDispatcherImpl.java:172)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequestRequest(MessageMediatorImpl.java:1529)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:1405)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleInput(MessageMediatorImpl.java:910)
at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:192)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.handleRequest(MessageMediatorImpl.java:674)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.dispatch(MessageMediatorImpl.java:476)
at com.sun.corba.ee.impl.protocol.MessageMediatorImpl.doWork(MessageMediatorImpl.java:2202)
at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:476)
at com.sun.corba.ee.impl.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:519)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
11.0 Issues related to the Jakarta EE 11 Platform TCK release
Projects
Status: In progress
Development

No branches or pull requests

3 participants