Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8239

Elytron query to DNS server causes intermittent fails of some tests

XMLWordPrintable

      Description of problem:
      Elytron query to DNS server causes intermittent fails of some tests. These tests are affected:

      • InherritanceAnnSFSBTestCase
      • InjectionAnnSLSBtoSLSBTestCase
      • InjectionAnnSLSBtoSFSBTestCase

      How reproducible:
      5%

      Actual results:
      StackTrace:

      java.lang.RuntimeException: Operation failed with status WAITING
      	at org.jboss.ejb.client.remoting.IoFutureHelper.get(IoFutureHelper.java:94)
      	at org.jboss.as.test.integration.ejb.security.AnnSBTest.setupEJBClientContextSelector(AnnSBTest.java:309)
      	at org.jboss.as.test.integration.ejb.security.AnnSBTest.testSingleMethodAnnotationsUser1Template(AnnSBTest.java:172)
      	at org.jboss.as.test.integration.ejb.security.InherritanceAnnSFSBTestCase.testSingleMethodAnnotationsUser1(InherritanceAnnSFSBTestCase.java:71)
      

      Standard output:

      &amp#27;[0m07:42:35,976 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) WFLYCLINF0003: Stopped client-mappings cache from ejb container
      &amp#27;[0m&amp#27;[0m07:42:35,977 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment ejb-security-test.jar (runtime-name: ejb-security-test.jar) in 8ms
      &amp#27;[0m&amp#27;[0m07:42:35,982 INFO  [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0002: Content removed from location /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-integ/69b3b6ee/testsuite/integration/basic/target/jbossas/standalone/data/content/4b/974916aa3e6976db5276b9f2422657d83260ce/content
      &amp#27;[0m&amp#27;[0m07:42:35,982 INFO  [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0009: Undeployed "ejb-security-test.jar" (runtime-name: "ejb-security-test.jar")
      &amp#27;[0m&amp#27;[0m07:42:35,995 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /mnt/hudson_workspace/workspace/eap-7x-as-testsuite-test-integ/69b3b6ee/testsuite/integration/basic/target/jbossas/standalone/data/content/28/e159ca85d9e5fde1a8d03e5a773d548f1285cc/content
      &amp#27;[0m&amp#27;[0m07:42:35,997 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0027: Starting deployment of "inherritanceAnnOnlySFSB.jar" (runtime-name: "inherritanceAnnOnlySFSB.jar")
      &amp#27;[0m&amp#27;[0m07:42:36,003 INFO  [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment inherritanceAnnOnlySFSB.jar
      &amp#27;[0m&amp#27;[0m07:42:36,006 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473: JNDI bindings for session bean named 'AnnOnlyCheckSLSBForInjection' in deployment unit 'deployment "inherritanceAnnOnlySFSB.jar"' are as follows:
      
      	java:global/inherritanceAnnOnlySFSB/AnnOnlyCheckSLSBForInjection!org.jboss.as.test.integration.ejb.security.authorization.AnnOnlyCheckSLSBForInjection
      	java:app/inherritanceAnnOnlySFSB/AnnOnlyCheckSLSBForInjection!org.jboss.as.test.integration.ejb.security.authorization.AnnOnlyCheckSLSBForInjection
      	java:module/AnnOnlyCheckSLSBForInjection!org.jboss.as.test.integration.ejb.security.authorization.AnnOnlyCheckSLSBForInjection
      	java:global/inherritanceAnnOnlySFSB/AnnOnlyCheckSLSBForInjection
      	java:app/inherritanceAnnOnlySFSB/AnnOnlyCheckSLSBForInjection
      	java:module/AnnOnlyCheckSLSBForInjection
      
      &amp#27;[0m&amp#27;[0m07:42:36,006 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473: JNDI bindings for session bean named 'AnnOnlyCheckSFSBForInjection' in deployment unit 'deployment "inherritanceAnnOnlySFSB.jar"' are as follows:
      
      	java:global/inherritanceAnnOnlySFSB/AnnOnlyCheckSFSBForInjection!org.jboss.as.test.integration.ejb.security.authorization.AnnOnlyCheckSFSBForInjection
      	java:app/inherritanceAnnOnlySFSB/AnnOnlyCheckSFSBForInjection!org.jboss.as.test.integration.ejb.security.authorization.AnnOnlyCheckSFSBForInjection
      	java:module/AnnOnlyCheckSFSBForInjection!org.jboss.as.test.integration.ejb.security.authorization.AnnOnlyCheckSFSBForInjection
      	java:global/inherritanceAnnOnlySFSB/AnnOnlyCheckSFSBForInjection
      	java:app/inherritanceAnnOnlySFSB/AnnOnlyCheckSFSBForInjection
      	java:module/AnnOnlyCheckSFSBForInjection
      
      &amp#27;[0m&amp#27;[0m07:42:36,006 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473: JNDI bindings for session bean named 'InherritanceAnnOnlyCheckSFSB' in deployment unit 'deployment "inherritanceAnnOnlySFSB.jar"' are as follows:
      
      	java:global/inherritanceAnnOnlySFSB/InherritanceAnnOnlyCheckSFSB!org.jboss.as.test.integration.ejb.security.authorization.SimpleAuthorizationRemote
      	java:app/inherritanceAnnOnlySFSB/InherritanceAnnOnlyCheckSFSB!org.jboss.as.test.integration.ejb.security.authorization.SimpleAuthorizationRemote
      	java:module/InherritanceAnnOnlyCheckSFSB!org.jboss.as.test.integration.ejb.security.authorization.SimpleAuthorizationRemote
      	java:jboss/exported/inherritanceAnnOnlySFSB/InherritanceAnnOnlyCheckSFSB!org.jboss.as.test.integration.ejb.security.authorization.SimpleAuthorizationRemote
      	java:global/inherritanceAnnOnlySFSB/InherritanceAnnOnlyCheckSFSB
      	java:app/inherritanceAnnOnlySFSB/InherritanceAnnOnlyCheckSFSB
      	java:module/InherritanceAnnOnlyCheckSFSB
      
      &amp#27;[0m&amp#27;[0m07:42:36,018 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 77) WFLYCLINF0002: Started client-mappings cache from ejb container
      &amp#27;[0m&amp#27;[0m07:42:36,064 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "inherritanceAnnOnlySFSB.jar" (runtime-name : "inherritanceAnnOnlySFSB.jar")
      &amp#27;[0m&amp#27;[0m07:42:36,722 INFO  [org.apache.activemq.artemis.ra] (default-threads - 41) AMQ151001: Attempting to reconnect org.apache.activemq.artemis.ra.inflow.ActiveMQActivationSpec(ra=org.apache.activemq.artemis.ra.ActiveMQResourceAdapter@20bd8d31 destination=queue/myAwesomeQueue destinationType=null ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15)
      &amp#27;[0m&amp#27;[31m07:42:36,722 ERROR [org.apache.activemq.artemis.ra] (default-threads - 41) AMQ154003: Unable to reconnect org.apache.activemq.artemis.ra.inflow.ActiveMQActivationSpec(ra=org.apache.activemq.artemis.ra.ActiveMQResourceAdapter@20bd8d31 destination=queue/myAwesomeQueue destinationType=null ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15): javax.naming.NameNotFoundException: queue/myAwesomeQueue -- service jboss.naming.context.java.queue.myAwesomeQueue
      	at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106)
      	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207)
      	at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:235)
      	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193)
      	at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189)
      	at javax.naming.InitialContext.lookup(InitialContext.java:417)
      	at javax.naming.InitialContext.lookup(InitialContext.java:417)
      	at org.apache.activemq.artemis.ra.ActiveMQRaUtils.lookup(ActiveMQRaUtils.java:163)
      	at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.setupDestination(ActiveMQActivation.java:567)
      	at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.setup(ActiveMQActivation.java:304)
      	at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation.reconnect(ActiveMQActivation.java:659)
      	at org.apache.activemq.artemis.ra.inflow.ActiveMQActivation$SetupActivation.run(ActiveMQActivation.java:699)
      	at org.jboss.jca.core.workmanager.WorkWrapper.run(WorkWrapper.java:223)
      	at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
      	at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:808)
      	at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
      	at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:828)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      
      &amp#27;[0m
      

      Expected results:
      No error

              dlloyd@redhat.com David Lloyd
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: