[
https://issues.jboss.org/browse/WFCORE-3317?page=com.atlassian.jira.plugi...
]
Marek Kopecký updated WFCORE-3317:
----------------------------------
Description:
*Description of problem:*
Some deployment-scanner unit tests from wf-core fail on IBM JDK intermittently.
This is testsuite issue only.
Affected test cases:
* ShutdownFileSystemDeploymentServiceUnitTestCase
* FileSystemDeploymentServiceUnitTestCase
Executors.newSingleThreadExecutor() method returns ExecutorService with finalize method,
that shutdown thread executor. Currently ExecutorService instance is not referenced, so
IBM JDK calls finalize method. Finalize method calls shutdown method and size of
thread-pool is decreased to 0 before lockDone.get(...) is called.
*How reproducible:*
0.6% - intermittently on IBM JDK
*Actual results - ShutdownFileSystemDeploymentServiceUnitTestCase:*
StackTrace:
{noformat}
java.util.concurrent.RejectedExecutionException: Task
java.util.concurrent.FutureTask@67503391 rejected from
java.util.concurrent.ThreadPoolExecutor@ae603d77[Terminated, pool size = 0, active threads
= 0, queued tasks = 0, completed tasks = 0]
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2058)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:834)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1380)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:692)
at
org.jboss.as.server.deployment.scanner.ShutdownFileSystemDeploymentServiceUnitTestCase.testUncleanShutdown(ShutdownFileSystemDeploymentServiceUnitTestCase.java:156)
{noformat}
*Actual results - FileSystemDeploymentServiceUnitTestCase:*
StackTrace:
{noformat}
java.util.concurrent.RejectedExecutionException: Task
java.util.concurrent.FutureTask@9408464a rejected from
java.util.concurrent.ThreadPoolExecutor@fa7bfba[Terminated, pool size = 0, active threads
= 0, queued tasks = 0, completed tasks = 0]
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2058)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:834)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1380)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:692)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase.testUncleanShutdown(FileSystemDeploymentServiceUnitTestCase.java:1755)
{noformat}
*Expected results:*
No errors
was:
*Description of problem:*
Some deployment-scanner unit tests from wf-core fail on IBM JDK intermittently.
This is testsuite issue only.
Affected test cases:
* ShutdownFileSystemDeploymentServiceUnitTestCase
* FileSystemDeploymentServiceUnitTestCase
Executors.newSingleThreadExecutor() method returns ExecutorService with finalize method,
that shutdown thread executor. Currently ExecutorService instance is not referenced, so
IBM JDK calls finalize method. It calls shutdown method and size of thread-pool is
decreased to 0 before lockDone.get(...) is called.
*How reproducible:*
0.6% - intermittently on IBM JDK
*Actual results - ShutdownFileSystemDeploymentServiceUnitTestCase:*
StackTrace:
{noformat}
java.util.concurrent.RejectedExecutionException: Task
java.util.concurrent.FutureTask@67503391 rejected from
java.util.concurrent.ThreadPoolExecutor@ae603d77[Terminated, pool size = 0, active threads
= 0, queued tasks = 0, completed tasks = 0]
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2058)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:834)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1380)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:692)
at
org.jboss.as.server.deployment.scanner.ShutdownFileSystemDeploymentServiceUnitTestCase.testUncleanShutdown(ShutdownFileSystemDeploymentServiceUnitTestCase.java:156)
{noformat}
*Actual results - FileSystemDeploymentServiceUnitTestCase:*
StackTrace:
{noformat}
java.util.concurrent.RejectedExecutionException: Task
java.util.concurrent.FutureTask@9408464a rejected from
java.util.concurrent.ThreadPoolExecutor@fa7bfba[Terminated, pool size = 0, active threads
= 0, queued tasks = 0, completed tasks = 0]
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2058)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:834)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1380)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:692)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase.testUncleanShutdown(FileSystemDeploymentServiceUnitTestCase.java:1755)
{noformat}
*Expected results:*
No errors
Some deployment-scanner unit tests from wf-core fail on IBM JDK
intermittently
------------------------------------------------------------------------------
Key: WFCORE-3317
URL:
https://issues.jboss.org/browse/WFCORE-3317
Project: WildFly Core
Issue Type: Bug
Components: Test Suite
Reporter: Marek Kopecký
Assignee: Marek Kopecký
*Description of problem:*
Some deployment-scanner unit tests from wf-core fail on IBM JDK intermittently.
This is testsuite issue only.
Affected test cases:
* ShutdownFileSystemDeploymentServiceUnitTestCase
* FileSystemDeploymentServiceUnitTestCase
Executors.newSingleThreadExecutor() method returns ExecutorService with finalize method,
that shutdown thread executor. Currently ExecutorService instance is not referenced, so
IBM JDK calls finalize method. Finalize method calls shutdown method and size of
thread-pool is decreased to 0 before lockDone.get(...) is called.
*How reproducible:*
0.6% - intermittently on IBM JDK
*Actual results - ShutdownFileSystemDeploymentServiceUnitTestCase:*
StackTrace:
{noformat}
java.util.concurrent.RejectedExecutionException: Task
java.util.concurrent.FutureTask@67503391 rejected from
java.util.concurrent.ThreadPoolExecutor@ae603d77[Terminated, pool size = 0, active threads
= 0, queued tasks = 0, completed tasks = 0]
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2058)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:834)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1380)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:692)
at
org.jboss.as.server.deployment.scanner.ShutdownFileSystemDeploymentServiceUnitTestCase.testUncleanShutdown(ShutdownFileSystemDeploymentServiceUnitTestCase.java:156)
{noformat}
*Actual results - FileSystemDeploymentServiceUnitTestCase:*
StackTrace:
{noformat}
java.util.concurrent.RejectedExecutionException: Task
java.util.concurrent.FutureTask@9408464a rejected from
java.util.concurrent.ThreadPoolExecutor@fa7bfba[Terminated, pool size = 0, active threads
= 0, queued tasks = 0, completed tasks = 0]
at
java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2058)
at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:834)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1380)
at
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:692)
at
org.jboss.as.server.deployment.scanner.FileSystemDeploymentServiceUnitTestCase.testUncleanShutdown(FileSystemDeploymentServiceUnitTestCase.java:1755)
{noformat}
*Expected results:*
No errors
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)