[jboss-jira] [JBoss JIRA] (WFLY-8148) Intermittent failure in InterDeploymentDependenciesEarTestCase

Brian Stansberry (JIRA) issues at jboss.org
Thu Feb 16 16:37:00 EST 2017


Brian Stansberry created WFLY-8148:
--------------------------------------

             Summary: Intermittent failure in InterDeploymentDependenciesEarTestCase
                 Key: WFLY-8148
                 URL: https://issues.jboss.org/browse/WFLY-8148
             Project: WildFly
          Issue Type: Bug
          Components: EE, Test Suite
            Reporter: Brian Stansberry


On a fairly frequent basis we are seeing failures in InterDeploymentDependenciesEarTestCase. This then seems to be followed by ~ 200 other failures.

https://ci.wildfly.org/viewLog.html?buildId=46213&buildTypeId=WildFlyCore_PullRequest_WildFlyCoreFullIntegration is an example.

Pattern is:

Failure:

{code}
javax.ejb.NoSuchEJBException: No such EJB: app2/hello/LogAccessBean
    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:354)
    at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:75)
    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:357)
    at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:608)
    at org.jboss.ejb.client.EJBInvocationHandler.lambda$invoke$0(EJBInvocationHandler.java:164)
    at org.jboss.ejb.client.EJBClientContext.discoverAffinityNone(EJBClientContext.java:428)
    at org.jboss.ejb.client.EJBClientContext.performLocatedAction(EJBClientContext.java:387)
    at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:150)
    at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:100)
    at com.sun.proxy.$Proxy65.getLog(Unknown Source)
    at org.jboss.as.test.integration.deployment.dependencies.ear.InterDeploymentDependenciesEarTestCase.test(InterDeploymentDependenciesEarTestCase.java:127)
{code}

Server log ERROR which explains why the JNDI lookup fails:

{code}
&amp#27;[0m&amp#27;[31m10:41:54,799 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "app2.ear")]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"app1.ear\".deploymentCompleteService"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.deployment.subunit.\"app2.ear\".\"hello.jar\".PARSE is missing [jboss.deployment.unit.\"app1.ear\".deploymentCompleteService]",
        "jboss.deployment.unit.\"app2.ear\".PARSE is missing [jboss.deployment.unit.\"app1.ear\".deploymentCompleteService]"
    ]
}
&amp#27;[0m&amp#27;[31m10:41:54,799 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "app2.ear" was rolled back with the following failure message: 
{
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"app1.ear\".deploymentCompleteService"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.deployment.subunit.\"app2.ear\".\"hello.jar\".PARSE is missing [jboss.deployment.unit.\"app1.ear\".deploymentCompleteService]",
        "jboss.deployment.unit.\"app2.ear\".PARSE is missing [jboss.deployment.unit.\"app1.ear\".deploymentCompleteService]"
    ]
}
{code}

Earliest failure I see with this pattern in the TeamCity history is from Aug 17, 2016. But such failures were confined to JDK9 runs and stopped last Sept 2. Then they start appearing quite frequently on Feb 6, 2017. First appearance was in a test of PR #9600, but there are other failures before that PR was merged so I doubt that PR is relevant.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list