[jboss-jira] [JBoss JIRA] (WFCORE-2298) RespawnHttpTestCase doesn't account for recycling of PIDs

Brian Stansberry (JIRA) issues at jboss.org
Tue Feb 14 17:25:00 EST 2017


Brian Stansberry created WFCORE-2298:
----------------------------------------

             Summary: RespawnHttpTestCase doesn't account for recycling of PIDs
                 Key: WFCORE-2298
                 URL: https://issues.jboss.org/browse/WFCORE-2298
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management, Test Suite
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
            Priority: Minor


On Windows, apparently PIDs can be recycled in such a way that they can reappear shortly after the first process with a PID is terminated. (See http://stackoverflow.com/questions/26301382/does-windows-7-recycle-process-id-pid-numbers/31257979#31257979 and links therein.)

RespawnHttpTestCase is assuming that this won't happen, since when checking for reload completion it ignores any PID that belonged to one of the servers that's expected to be restarted. I'm seeing intermittent failures that seem to be due to this expectation being incorrect, as the logging for the failed tests clearly shows that the servers are restarted.

For example:

https://ci.wildfly.org/viewLog.html?buildId=45601&tab=buildResultsDiv&buildTypeId=WildFlyCore_PullRequestWindows



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


More information about the jboss-jira mailing list