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

Glassfish 7 nightly bundle failures with standalone concurrency TCK 3.0 #1053

Closed
gurunrao opened this issue Jun 1, 2022 · 47 comments
Closed
Labels
10.0 Issues related to the Jakarta EE 10 Platform TCK release blocker

Comments

@gurunrao
Copy link
Contributor

gurunrao commented Jun 1, 2022

Glassfish 7 nightly bundle failures with standalone concurrency TCK 3.0

https://ci.eclipse.org/jakartaee-tck/job/10/job/jakarta-concurrency-tck-glassfish-run/8/#showFailuresLink

Failed tests:
-------------------------------------------------------------------------------
Test set: TestSuite
-------------------------------------------------------------------------------
Tests run: 488, Failures: 31, Errors: 0, Skipped: 446, Time elapsed: 34.614 s <<< FAILURE! - in TestSuite
arquillianBeforeClass(ee.jakarta.tck.concurrent.api.ManagedScheduledExecutorService.ManagedScheduledExecutorServiceTests)  Time elapsed: 7.572 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 5e973b26-b8cc-404c-9f3d-6291854d2c6f.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.SocketException: Connection reset
Caused by: jakarta.ws.rs.ProcessingException: java.net.SocketException: Connection reset
Caused by: java.net.SocketException: Connection reset

arquillianBeforeClass(ee.jakarta.tck.concurrent.api.AbortedException.AbortedExceptionTests)  Time elapsed: 8.423 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy ab8b6623-c8e6-4f15-8642-1ab0568a7030.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.api.ContextService.ContextServiceTests)  Time elapsed: 9.021 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 06ce22b6-bad0-4cf4-b26e-75313c3bcd9a.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.api.ManagedTaskListener.ManagedTaskListenerTests)  Time elapsed: 9.59 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 3d572f9f-379e-4f58-bbbe-bb61afe2dd16.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.api.ManageableThread.ManageableThreadTests)  Time elapsed: 10.127 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 1647c453-ae7c-493d-8cd9-5098baaccc68.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.api.ManagedTask.ManagedTaskTests)  Time elapsed: 10.648 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 71c6decf-8a89-4664-af20-e080795e7b9d.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.api.LastExecution.LastExecutionTests)  Time elapsed: 11.142 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy ae2e27aa-043e-4289-8f24-ec1606249b87.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.api.SkippedException.SkippedExceptionTests)  Time elapsed: 11.631 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy e586e42b-acec-4c8c-96ec-2efb929f0f3c.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.api.Trigger.TriggerTests)  Time elapsed: 12.12 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 66e7b81e-c3ce-4775-af28-e70cc69cca6b.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ContextService.contextPropagate_servlet.ContextPropagationServletTests)  Time elapsed: 12.174 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy ContextPropagationServletTests.Proxy.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ContextService.tx.TransactionTests)  Time elapsed: 12.216 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 015cb50a-7837-451e-b85d-f2f3a7dbf97f.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.resourcedef.ManagedScheduledExecutorDefinitionTests)  Time elapsed: 12.273 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy ManagedScheduledExecutorDefinitionTests.ear
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.tx.TransactionTests)  Time elapsed: 12.32 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy d60b8ffe-6865-4367-9404-3d6e3983033b.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.security.SecurityTests)  Time elapsed: 12.359 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy security.ear
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.inheritedapi.InheritedAPITests)  Time elapsed: 12.852 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy inheritedapi.ear
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.managed.forbiddenapi_servlet.ForbiddenAPIServletTests)  Time elapsed: 12.894 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy d735badb-4b7d-415c-b64d-5df93d64d470.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.managed.forbiddenapi.ForbiddenAPITests)  Time elapsed: 13.479 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy test-65aa2526-45e2-46e0-acdd-60f87f1b26f0.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedThreadFactory.context.ContextTests)  Time elapsed: 13.544 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 71fa8ad7-700d-4479-9a4c-42a3e463af81.ear
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedThreadFactory.context_servlet.ContextServletTests)  Time elapsed: 13.584 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy c3ce3b46-bffa-4080-9593-872db25d3a31.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedThreadFactory.resourcedef.ManagedThreadFactoryDefinitionTests)  Time elapsed: 13.637 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy ManagedThreadFactoryDefinitionTests.ear
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedThreadFactory.apitests.APITests)  Time elapsed: 13.682 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy adca978d-2400-4c52-9fbf-a6398f69c909.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.Platform.dd.DeploymentDescriptorTests)  Time elapsed: 13.719 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy DeploymentDescriptorTests.ear
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedExecutorService.inheritedapi.InheritedAPITests)  Time elapsed: 13.765 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 306eddcb-0a0e-4549-a4a9-7f408c1a1666.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedExecutorService.managed.forbiddenapi.ForbiddenAPITests)  Time elapsed: 14.252 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy test-05f9cbc8-d096-4b3d-9968-6fd31c9d8eb9.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedExecutorService.tx.TransactionTests)  Time elapsed: 14.292 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy b4593277-0dea-4451-8589-b5f1775726cf.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedExecutorService.resourcedef.ManagedExecutorDefinitionTests)  Time elapsed: 14.325 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy ManagedExecutorDefinitionTests.ear
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedExecutorService.security.SecurityTests)  Time elapsed: 14.373 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy security.ear
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedExecutorService.managed_servlet.forbiddenapi.ForbiddenAPIServletTests)  Time elapsed: 14.407 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 6b69b88a-7d5c-4331-8a8e-be9b4cea5315.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ContextService.contextPropagate.ContextPropagationTests)  Time elapsed: 14.489 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy ContextPropagationTests.ear
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.inheritedapi_servlet.InheritedAPIServletTests)  Time elapsed: 14.553 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 2f9f5426-7790-4962-82be-b7925141cc66.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

arquillianBeforeClass(ee.jakarta.tck.concurrent.spec.ManagedThreadFactory.tx.TransactionTests)  Time elapsed: 14.59 s  <<< FAILURE!
org.jboss.arquillian.container.spi.client.container.DeploymentException: Could not deploy 7ed12c0c-28de-4c6f-88d8-ae4af0619b26.war
Caused by: org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientException: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: jakarta.ws.rs.ProcessingException: java.net.ConnectException: Connection refused (Connection refused)
Caused by: java.net.ConnectException: Connection refused (Connection refused)

@gurunrao gurunrao added the 10.0 Issues related to the Jakarta EE 10 Platform TCK release label Jun 1, 2022
@gurunrao gurunrao changed the title Glassfish 7 failures with standalone connector TCK 3.0 Glassfish 7 failures with standalone concurrency TCK 3.0 Jun 1, 2022
@gurunrao gurunrao changed the title Glassfish 7 failures with standalone concurrency TCK 3.0 Glassfish 7 nightly bundle failures with standalone concurrency TCK 3.0 Jun 1, 2022
@gurunrao
Copy link
Contributor Author

gurunrao commented Jun 1, 2022

glassfish discussion thread - https://www.eclipse.org/lists/glassfish-dev/msg01304.html
CU dev discussion thread - https://www.eclipse.org/lists/cu-dev/msg00303.html

@arjantijms
Copy link
Contributor

@gurunrao GlassFish should now pass using the latest nightly and https://github.com/eclipse-ee4j/glassfish/tree/master/appserver/tests/tck/concurrency

@scottmarlow
Copy link
Contributor

@scottmarlow
Copy link
Contributor

scottmarlow commented Jun 23, 2022

Latest https://ci.eclipse.org/jakartaee-tck/job/10/job/jakarta-concurrency-tck-glassfish-run run failed with JBoss Nexus 503 failure. How can we use the downloaded concurrency-tck.zip which may help avoid the 503 error?

@arjantijms
Copy link
Contributor

@scottmarlow I see, that's my mistake, I should have excluded the audit jars. JBoss has some kind of protection (domain limiting, bandwidth checks or so) that prevents the Eclipse CI from downloading these. They are referenced by another dependency, but can be excluded. I just did a PR for that to GlassFish.

@arjantijms
Copy link
Contributor

I just noticed @gurunrao came to the same conclusion, and must have updated gf7-nightly already. I think the job is running now.

@gurunrao
Copy link
Contributor Author

gurunrao commented Jun 23, 2022

@arjantijms - We have following runs (using runner - https://github.com/eclipse-ee4j/jakartaee-tck/tree/master/glassfish-runner/concurrency-tck)

PS: As an hack, we replace M5 artifact in maven local repository with GF 7 nightly build download.

@arjantijms
Copy link
Contributor

The failures are about empty EJB jars. Not sure what that is about. Don't see those locally. Maybe it's a JDK 11 vs JDK 17 issue? @dmatej any idea?

@dmatej
Copy link
Contributor

dmatej commented Jun 23, 2022

The failures are about empty EJB jars. Not sure what that is about. Don't see those locally. Maybe it's a JDK 11 vs JDK 17 issue? @dmatej any idea?

There should not be any difference between JDK11 and 17. I will try to reproduce it later, but I have no idea now ...

@arjantijms
Copy link
Contributor

@gurunrao can you also try locally with just GlassFish?

So checkout GF master and then

mvn clean install -Pfastest -T10

When it completes building:

cd appserver/tests/tck/concurrency
mvn clean install

@gurunrao
Copy link
Contributor Author

The failures are about empty EJB jars. Not sure what that is about. Don't see those locally. Maybe it's a JDK 11 vs JDK 17 issue? @dmatej any idea?

There should not be any difference between JDK11 and 17. I will try to reproduce it later, but I have no idea now ...

The results mentioned at #1053 (comment) are for JDK11

@gurunrao
Copy link
Contributor Author

https://ci.eclipse.org/jakartaee-tck/job/10/job/jakarta-concurrency-tck-glassfish-run/43/artifact/glassfish-runner/concurrency-tck/target/glassfish7/glassfish/domains/domain1/logs/server.log has following exception:
`[2022-06-23T12:54:18.761+0000] [glassfish 7.0] [SEVERE] [NCLS-CORE-00026] [jakarta.enterprise.system.core] [tid: _ThreadID=49 _ThreadName=admin-listener(2)] [timeMillis: 1655988858761] [levelValue: 1000] [[
Exception during lifecycle processing
java.lang.IllegalArgumentException: Invalid ejb jar [ManagedExecutorDefinitionTests]: it contains zero ejb.
Note:

  1. A valid ejb jar requires at least one session, entity (1.x/2.x style), or message-driven bean.
  2. EJB3+ entity beans (@entity) are POJOs and please package them as library jar.
  3. If the jar file contains valid EJBs which are annotated with EJB component level annotations (@stateless, @stateful, @MessageDriven, @singleton), please check server.log to see whether the annotations were processed properly.
    at org.glassfish.ejb.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:123)
    at org.glassfish.ejb.deployment.util.EjbBundleValidator.accept(EjbBundleValidator.java:88)
    at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617)
    at org.glassfish.ejb.deployment.descriptor.EjbBundleDescriptorImpl.visit(EjbBundleDescriptorImpl.java:733)
    at com.sun.enterprise.deployment.util.ApplicationValidator.accept(ApplicationValidator.java:118)
    at com.sun.enterprise.deployment.BundleDescriptor.visit(BundleDescriptor.java:617)
    at com.sun.enterprise.deployment.archivist.ApplicationFactory.openArchive(ApplicationFactory.java:165)
    at org.glassfish.javaee.core.deployment.DolProvider.processDOL(DolProvider.java:188)
    at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:213)
    at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:78)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:946)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:886)
    at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:413)
    at `com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:258)``

@scottmarlow
Copy link
Contributor

scottmarlow commented Jun 23, 2022

@gurunrao can you also try locally with just GlassFish?

So checkout GF master and then

mvn clean install -Pfastest -T10

When it completes building:

cd appserver/tests/tck/concurrency
mvn clean install

I ran with eclipse-ee4j/glassfish#24022 locally (-Pstaging helps to build GlassFish/run TCK).

Concurrency TCK Failures:

Failures: 
[ERROR]   ManagedExecutorDefinitionTests>Arquillian.run:138->testAsyncCompletionStage:84->TestClient.runTest:52->TestClient.runTest:60->TestClient.assertSuccessfulURLResponse:143->ArquillianTests.assertTrue:108 Output did not contain successful message: SUCCESS expected [true] but found [false]
[ERROR]   ManagedExecutorDefinitionTests>Arquillian.run:138->testIncompleteFuture:120->TestClient.runTest:52->TestClient.runTest:60->TestClient.assertSuccessfulURLResponse:143->ArquillianTests.assertTrue:108 Output did not contain successful message: SUCCESS expected [true] but found [false]
[ERROR]   ManagedExecutorDefinitionTests>Arquillian.run:138->testIncompleteFutureEJB:126->TestClient.runTest:70->TestClient.assertSuccessfulURLResponse:143->ArquillianTests.assertTrue:108 Output did not contain successful message: SUCCESS expected [true] but found [false]
[ERROR]   ManagedScheduledExecutorDefinitionTests>Arquillian.run:138->testAsyncCompletionStageMSE:86->TestClient.runTest:52->TestClient.runTest:60->TestClient.assertSuccessfulURLResponse:143->ArquillianTests.assertTrue:108 Output did not contain successful message: SUCCESS expected [true] but found [false]
[ERROR]   ManagedScheduledExecutorDefinitionTests>Arquillian.run:138->testAsynchronousMethodWithMaxAsync3:96->TestClient.runTest:52->TestClient.runTest:60->TestClient.assertSuccessfulURLResponse:143->ArquillianTests.assertTrue:108 Output did not contain successful message: SUCCESS expected [true] but found [false]
[ERROR]   ManagedScheduledExecutorDefinitionTests>Arquillian.run:138->testIncompleteFutureMSE:106->TestClient.runTest:52->TestClient.runTest:60->TestClient.assertSuccessfulURLResponse:143->ArquillianTests.assertTrue:108 Output did not contain successful message: SUCCESS expected [true] but found [false]
[ERROR]   ManagedScheduledExecutorDefinitionTests>Arquillian.run:138->testIncompleteFutureMSE_EJB:112->TestClient.runTest:70->TestClient.assertSuccessfulURLResponse:143->ArquillianTests.assertTrue:108 Output did not contain successful message: SUCCESS expected [true] but found [false]
[INFO] 
[ERROR] Tests run: 150, Failures: 7, Errors: 0, Skipped: 0

@dmatej
Copy link
Contributor

dmatej commented Jun 23, 2022

Results with GlassFish commit 4dfcef3a18ad

GF built with JDK11, tests executed with JDK11:
[ERROR] Tests run: 150, Failures: 7, Errors: 0, Skipped: 0
GF built with JDK11, tests executed with JDK17:
[ERROR] Tests run: 150, Failures: 7, Errors: 0, Skipped: 0
GF built with JDK17, tests executed with JDK11:
[ERROR] Tests run: 150, Failures: 7, Errors: 0, Skipped: 0
GF built with JDK17, tests executed with JDK17:
[ERROR] Tests run: 150, Failures: 7, Errors: 0, Skipped: 0

One thing I noticed - appserver-cli is executed with system default java executable, it ignores maven settings. But it did not affect anything. Meanwhile @arjantijms noticed some mistake :-)

@arjantijms
Copy link
Contributor

Yes, I made a mistake indeed. I locally compiled a dependency where I set the version number wrongly. It should have been RC4, but I kept it on RC3. My local RC3 was therefor different from the one that was published. I just did a PR to GF to rectify it.

@arjantijms
Copy link
Contributor

@gurunrao @dmatej

We now have essentially 0 errors with the TCK as deployed by maven, but the downloaded version has 1 error.

See: https://ci.eclipse.org/jakartaee-tck/job/10/job/jakarta-concurrency-tck-glassfish-run/46/

@arjantijms
Copy link
Contributor

Quick glancing at the code, there is indeed a difference between the download version and the maven version:

public void testManagedThreadFactoryDefinitionDefaultsEJB() throws Throwable {
    ManagedThreadFactory threadFactory = (ManagedThreadFactory)this.managedThreadFactoryDefinitionBean.doLookup("java:comp/concurrent/EJBThreadFactoryB");
    CountDownLatch blocker = new CountDownLatch(1);
    CountDownLatch allThreadsRunning = new CountDownLatch(2);
    CompletableFuture<Object> lookupTaskResult = new CompletableFuture();
    CompletableFuture<Object> txTaskResult = new CompletableFuture();
    Runnable lookupTask = () -> {
        try {
          allThreadsRunning.countDown();
          blocker.await(MAX_WAIT_SECONDS * 5L, TimeUnit.SECONDS);
          lookupTaskResult.complete((ManagedThreadFactory)this.managedThreadFactoryDefinitionBean.doLookup("java:comp/concurrent/EJBThreadFactoryB"));
        } catch (Throwable x) {
          lookupTaskResult.completeExceptionally(x);
        } 
      };

other has

public void testManagedThreadFactoryDefinitionDefaultsEJB() throws Throwable {
    ManagedThreadFactory threadFactory = (ManagedThreadFactory)this.managedThreadFactoryDefinitionBean.doLookup("java:comp/concurrent/EJBThreadFactoryB");
    CountDownLatch blocker = new CountDownLatch(1);
    CountDownLatch allThreadsRunning = new CountDownLatch(2);
    CompletableFuture<Object> lookupTaskResult = new CompletableFuture();
    CompletableFuture<Object> txTaskResult = new CompletableFuture();
    Runnable lookupTask = () -> {
        try {
          allThreadsRunning.countDown();
          blocker.await(MAX_WAIT_SECONDS * 5L, TimeUnit.SECONDS);
          lookupTaskResult.complete(InitialContext.doLookup("java:comp/concurrent/EJBThreadFactoryB"));
        } catch (Throwable x) {
          txTaskResult.completeExceptionally(x);
        } 
      };

@arjantijms
Copy link
Contributor

CC @njr-11

@arjantijms
Copy link
Contributor

It specifically concerns this commit it seems:

jakartaee/concurrency@595be6e

The 3.0.0 version at the download location is older, and I guess it should have included this change. It's from the same day. The Maven version is newer, and does include this change.

@njr-11
Copy link

njr-11 commented Jun 24, 2022

It specifically concerns this commit it seems:

jakartaee/concurrency@595be6e

The 3.0.0 version at the download location is older, and I guess it should have included this change. It's from the same day. The Maven version is newer, and does include this change.

I'm not sure how that change was missed. It's expected that the download location and maven won't have identical timestamps because separate Jenkins jobs are used. The intention was for both to have the latest set of changes.

@arjantijms
Copy link
Contributor

@njr-11 If that was always the intention, could we say that the copied file was just wrong and correct that by copying the correct file to the download location? @ivargrimstad can we do that?

@njr-11
Copy link

njr-11 commented Jun 24, 2022

@njr-11 If that was always the intention, could we say that the copied file was just wrong and correct that by copying the correct file to the download location? @ivargrimstad can we do that?

If it's allowed by Jakarta/Eclipse processes, I'd be fine with that. Here are some problems that I could see arising from this:

  • Is there actually a correct copy of the TCK zip to copy over? The TCK jar from Maven can't just be copied over as the TCK zip. That's what we originally wanted to do but we learned this isn't allowed.
  • If there is a correct copy of the TCK zip that can be found, will it be a problem that it doesn't have the same SHA as what was used to release Concurrency 3.0?

I still don't have a good grasp of all the processes and rules, but I suspect that the 3.0.0 TCK zip on downloads will need to remain, in which case a 3.0.1 TCK zip can correct it. I believe they are planning to do that anyways for a couple of other TCK challenges.

@arjantijms
Copy link
Contributor

arjantijms commented Jun 24, 2022

The TCK jar from Maven can't just be copied over as the TCK zip. That's what we originally wanted to do but we learned this isn't allowed.

It's only the license.md file if I'm not mistaken, so in my naive reasoning I'd say taking the Maven file, updating the jar with the correct license, and then uploading it, is all there should be to it.

@arjantijms
Copy link
Contributor

Btw additionally, we could do a very quick challenge of the test and then exclude it? In 3.0.1 we can add it again. Maybe that is faster?

@scottmarlow
Copy link
Contributor

jakartaee/specifications#328 is an example (Platform generated) TCK challenge issue for updating a specification download area to contain a staged TCK and to also update the specification index.md file.

jakartaee/specifications#330 is a pull request for just updating the specification index.md file.

Guidance copied from https://jakarta.ee/committees/specification/tckprocess:

Process for releasing a point revision of a TCK

The process for releasing a point revision of a TCK entails filing an issue in the jakartaee/specifications repository with the following details:

  • Link to the TCK release to be published.
  • Updated TCK links in the specification’s _index.md file.
  • A high-level description of what tests were excluded from the TCK and why.

@scottmarlow
Copy link
Contributor

Btw additionally, we could do a very quick challenge of the test and then exclude it? In 3.0.1 we can add it again. Maybe that is faster?

It could confusing to exclude a test in the existing https://download.eclipse.org/jakartaee/concurrency/3.0/concurrency-tck-3.0.0.zip file by updating it, better to release a new 3.0.1 or 3.0.2 TCK with excluded tests.

@arjantijms
Copy link
Contributor

It could confusing to exclude a test in the existing https://download.eclipse.org/jakartaee/concurrency/3.0/concurrency-tck-3.0.0.zip file by updating it

As the runner on the CI is already using a separate suite.xml file, it would technically be just a matter of adding the test to that exclude file. It already contains about 10 tests that were successfully challenged after 3.0.0 was released. One more wouldn't make much of a difference, in a technical sense at least.

@gurunrao
Copy link
Contributor Author

gurunrao commented Jun 27, 2022

@arjantijms
Copy link
Contributor

@gurunrao I'm afraid the concurrency TCK doesn't have any web profile. There's EAR archives being deployed which the web profile doesn't support.

cc @njr-11 did you run the TCK against web profile Open Liberty?

@njr-11
Copy link

njr-11 commented Jun 27, 2022

@gurunrao I'm afraid the concurrency TCK doesn't have any web profile. There's EAR archives being deployed which the web profile doesn't support.

cc @njr-11 did you run the TCK against web profile Open Liberty?

@brideck performed the official run of the Concurrency TCK on Open Liberty. It would not have been on web profile only, because, as you pointed out, a number of the tests run in EJBs to cover interoperability. In automated TCK runs on Open Liberty, EJB is always enabled as well for that same reason. I think this was missed that there ought to be a web profile subset of the TCK for testing on web profile only. Inclusion in web profile was new in EE 10 for Concurrency and no one thought about that aspect.

@arjantijms
Copy link
Contributor

@njr-11 We may have to work on that in order to get the web profile releases. tbh, I'm afraid some of the other new TCKs I was involved with also may not have thought about the web profile aspect of things.

@njr-11
Copy link

njr-11 commented Jun 27, 2022

Copying @smillidge for awareness because this sounds like something to correct for the 3.0.1 release.

@scottmarlow
Copy link
Contributor

@njr-11 We may have to work on that in order to get the web profile releases. tbh, I'm afraid some of the other new TCKs I was involved with also may not have thought about the web profile aspect of things.

Could the Concurrency TCK user workaround the web profile failure by excluding all tests that require EAR deployment when they run on a Web Profile implementation?

Quoting from TCK process:

The specification project may approve (user) workarounds for an accepted TCK challenge (as alternative to excluding TCK tests).

@njr-11
Copy link

njr-11 commented Jun 27, 2022

@njr-11 We may have to work on that in order to get the web profile releases. tbh, I'm afraid some of the other new TCKs I was involved with also may not have thought about the web profile aspect of things.

Could the Concurrency TCK user workaround the web profile failure by excluding all tests that require EAR deployment when they run on a Web Profile implementation?

Quoting from TCK process:

The specification project may approve (user) workarounds for an accepted TCK challenge (as alternative to excluding TCK tests).

@brideck is planning to look into that approach tomorrow on Open Liberty to see if it would allow running in web profile.

@smillidge
Copy link

Work around seems like the best approach as excluding all the suites with EAR deployments would needlessly impact full platform testing and I don't think we have time to refactor.

Do we need words in the TCK user guide?

@arjantijms
Copy link
Contributor

@scottmarlow there's also many test archives that somewhere in the test archive contain a remove EJB. Such test archive contains many tests that don't use that remote EJB. Unfortunately they would all have to be excluded, since the archive that contains them doesn't deploy.

@arjantijms
Copy link
Contributor

Ps it IS possible to install an Arquillian archive listener that can remove files (including classes from an archive). This would probably still take a couple of days of work though.

@smillidge
Copy link

As I understand the process we can't make major changes to the TCK without reballoting Concurrency so exclusions or work around is the only option.

@arjantijms
Copy link
Contributor

arjantijms commented Jun 27, 2022

An Arquillian "filter" works fully at the integrator side of things, but we would have to test which tests fail if the remote EJB bean is removed, or that maybe not everything fails etc. It's a trial and error thing I guess.

@brideck
Copy link
Contributor

brideck commented Jun 27, 2022

Took a quick look at this right away today and ran against OL with the WebProfile feature set. The tests you would want to exclude from running are:

ee.jakarta.tck.concurrent.spec.ManagedExecutorService.managed.forbiddenapi.ForbiddenAPITests
ee.jakarta.tck.concurrent.spec.ManagedExecutorService.security.SecurityTests
ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.inheritedapi.InheritedAPITests
ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.managed.forbiddenapi.ForbiddenAPITests
ee.jakarta.tck.concurrent.spec.ManagedScheduledExecutorService.security.SecurityTests
ee.jakarta.tck.concurrent.spec.ManagedThreadFactory.context.ContextTests

I just modified the TestNG suite.xml provided in the TCK to test this out. Everything else in the TCK deployed and ran just fine.

@arjantijms
Copy link
Contributor

@brideck for GF we get this:

[ERROR] Failures: 
[ERROR]   ManagedExecutorsTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy 4ddbdfe3-5820-462a-951a-0d6be467aea0.war
[ERROR]   ManagedScheduledExecutorServiceTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy 9ba21620-7d15-43a0-8888-cffdb439dbc8.war
[ERROR]   ManagedTaskTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy 12dac07a-4e85-405a-b706-c0357e370453.war
[ERROR]   ManagedTaskListenerTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy 5f7a99c4-2b87-474b-bd45-7261665116eb.war
[ERROR]   TriggerTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy 7e30feb9-ce03-4157-9645-aeb81cc46313.war
[ERROR]   ContextPropagationTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy ContextPropagationTests.ear
[ERROR]   ForbiddenAPITests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy test-d6be0d63-870f-44d5-8f07-bec55833dbbc.war
[ERROR]   ManagedExecutorDefinitionTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy ManagedExecutorDefinitionTests.ear
[ERROR]   InheritedAPITests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy inheritedapi.ear
[ERROR]   InheritedAPIServletTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy cdb4af58-326f-4680-8f9a-5bcd84296c9f.war
[ERROR]   ForbiddenAPITests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy test-d0c4175c-5b63-4152-9290-313e6af28d02.war
[ERROR]   ManagedScheduledExecutorDefinitionTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy ManagedScheduledExecutorDefinitionTests.ear
[ERROR]   APITests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy 3905a88b-b3bb-432d-aaab-8bccfe30a768.war
[ERROR]   ContextTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy a5f0eed7-3fd6-40e2-b1d4-28056ffdfd97.ear
[ERROR]   ContextServletTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy fc2ccc5b-ceb4-4fcd-9328-787f4eb53a16.war
[ERROR]   ManagedThreadFactoryDefinitionTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy ManagedThreadFactoryDefinitionTests.ear
[ERROR]   DeploymentDescriptorTests>Arquillian.arquillianBeforeClass:99 » Deployment Could not deploy DeploymentDescriptorTests.ear
[INFO] 
[ERROR] Tests run: 201, Failures: 17, Errors: 0, Skipped: 125

@brideck
Copy link
Contributor

brideck commented Jun 27, 2022

Interesting. Is that because there are EJBs present in all of those apps? OL will just skip processing those if you don't have the appropriate feature set enabled, so the rest of the app starts just fine.

That would make my list the set of tests that absolutely require remote EJBs in order to execute, and therefore aren't applicable to WebProfile. It'll take some other intervention to make all the rest work for GF.

@starksm64
Copy link
Contributor

starksm64 commented Jun 27, 2022

Another workaround is to create a web profile junit5 suite to exclude tests that are not appropriate for the web profile. I did this for restful tck tests in the core profile. The suite class and a test invocation interceptor class to do single method level exclusion can be found here:

https://github.com/eclipse-ee4j/jakartaee-tck/tree/master/core-profile-tck/restful-tck-suite/src/main/java/ee/jakarta/tck/coreprofile/rs

@arjantijms
Copy link
Contributor

Interesting. Is that because there are EJBs present in all of those apps?

Yes, although not EJBs themselves (the web profile supports them), but specifically EJBs that expose a remote interface view.

@starksm64
Copy link
Contributor

starksm64 commented Jun 27, 2022

See the org.jboss.arquillian.container.test.spi.client.deployment.ApplicationArchiveProcessor as something to implementation to try to filter the test deployment.

@scottmarlow
Copy link
Contributor

As per https://www.eclipse.org/lists/cu-dev/msg00411.html the concurrency TCK changes are being worked on still.

@gurunrao
Copy link
Contributor Author

gurunrao commented Aug 1, 2022

Concurrency TCK GF 7 Web profile results are passing, please refer - https://github.com/eclipse-ee4j/jakartaee-tck/wiki/Jakarta-EE-10.0-TCK-results#date--2022-07-29

@gurunrao gurunrao closed this as completed Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.0 Issues related to the Jakarta EE 10 Platform TCK release blocker
Projects
None yet
Development

No branches or pull requests

8 participants