[jboss-jira] [JBoss JIRA] (WFCORE-2955) Hang in ExpressionSupportSmokeTestCase

Brian Stansberry (JIRA) issues at jboss.org
Tue Jun 13 21:54:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420833#comment-13420833 ] 

Brian Stansberry commented on WFCORE-2955:
------------------------------------------

Here's the DC code that's waiting for the latch:

{code}
            final CountDownLatch latch = new CountDownLatch(1);
            final IOExceptionHolder exceptionHolder = new IOExceptionHolder();

            boolean accepted = responseContext.executeAsync(new ManagementRequestContext.AsyncTask<Void>() {

                @Override
                public void execute(final ManagementRequestContext<Void> context) throws Exception {

                    FlushableDataOutput output = null;
                    try {
                        MGMT_OP_LOGGER.tracef("Transmitting response for %d", context.getOperationId());
                        output = responseContext.writeMessage(response);
                        output.write(ModelControllerProtocol.PARAM_RESPONSE);
                        result.writeExternal(output);
                        output.writeByte(ManagementProtocol.RESPONSE_END);
                        output.close();
                    } catch (IOException e) {
                        exceptionHolder.exception = e;
                    } finally {
                        StreamUtils.safeClose(output);
                        latch.countDown();
                    }
                }
            }, false);
{code}

But the thread dump doesn't show any DC thread executing that AsyncTask.

> Hang in ExpressionSupportSmokeTestCase
> --------------------------------------
>
>                 Key: WFCORE-2955
>                 URL: https://issues.jboss.org/browse/WFCORE-2955
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>            Reporter: Brian Stansberry
>         Attachments: WFCORE-2955-threaddump.txt
>
>
> Hang:
> https://github.com/wildfly/wildfly-core/pull/2494
> https://ci.wildfly.org/viewLog.html?buildId=63669&buildTypeId=WildFlyCore_PullRequest_WildFlyCoreFullIntegration&tab=buildLog&_focus=35551
> I'll attach the thread dump.



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


More information about the jboss-jira mailing list