[
https://issues.jboss.org/browse/ISPN-8541?page=com.atlassian.jira.plugin....
]
William Markito Oliveira commented on ISPN-8541:
------------------------------------------------
Repeating the build process on OSX generated the second jstack file (attached)
Attempted on a Docker container running Ubuntu with JDK 8, got the following failures:
{code:java}
~~~~~~~~~~~~~~~~~~~~~~~~~ ENVIRONMENT INFO ~~~~~~~~~~~~~~~~~~~~~~~~~~
jgroups.bind_addr = 127.0.0.1
java.runtime.version = 1.8.0_111-8u111-b14-2~bpo8+1-b14
java.runtime.name =OpenJDK Runtime Environment
java.vm.version = 25.111-b14
java.vm.vendor = Oracle Corporation
os.name = Linux
os.version = 4.9.49-moby
sun.arch.data.model = 64
sun.cpu.endian = little
protocol.stack = null
infinispan.test.jgroups.protocol = tcp
infinispan.unsafe.allow_jdk8_chm = [Forced: requires JDK8 now]
java.net.preferIPv4Stack = true
java.net.preferIPv6Stack = null
log4.configurationFile = /infinispan/core/../etc/log4j2.xml
MAVEN_OPTS = null
~~~~~~~~~~~~~~~~~~~~~~~~~ ENVIRONMENT INFO ~~~~~~~~~~~~~~~~~~~~~~~~~~
[ERROR] Tests run: 10371, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 526.471 s
<<< FAILURE! - in TestSuite
[ERROR] testExecutorTriConsumerTimeoutException on SingleClusterExecutorTest{ local =
true}(org.infinispan.manager.SingleClusterExecutorTest) Time elapsed: 0.059 s
<<< FAILURE!
java.lang.AssertionError: Should have thrown an class
java.util.concurrent.ExecutionException
at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
at org.infinispan.test.Exceptions.expectExecutionException(Exceptions.java:150)
at
org.infinispan.manager.AllClusterExecutorTest$17.call(AllClusterExecutorTest.java:413)
at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1519)
at
org.infinispan.manager.AllClusterExecutorTest.testExecutorTriConsumerTimeoutException(AllClusterExecutorTest.java:382)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[ERROR]
testSync(org.infinispan.statetransfer.StaleLocksWithLockOnlyTxDuringStateTransferTest)
Time elapsed: 0.007 s <<< FAILURE!
java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node
StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeA-32074, expected member list is
[StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeA-32074,
StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeB-7534], current member list is
[StaleLocksWithLockOnlyTxDuringStateTransferTest-NodeA-32074]!
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:385)
at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:421)
at
org.infinispan.statetransfer.StaleLocksWithLockOnlyTxDuringStateTransferTest.testSync(StaleLocksWithLockOnlyTxDuringStateTransferTest.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[ERROR] testExecutorTriConsumerTimeoutException on SingleClusterExecutorTest{ local =
false}(org.infinispan.manager.SingleClusterExecutorTest) Time elapsed: 0.112 s
<<< FAILURE!
java.lang.AssertionError: Should have thrown an class
java.util.concurrent.ExecutionException
at org.infinispan.test.Exceptions.assertException(Exceptions.java:21)
at org.infinispan.test.Exceptions.expectExecutionException(Exceptions.java:150)
at
org.infinispan.manager.AllClusterExecutorTest$17.call(AllClusterExecutorTest.java:413)
at org.infinispan.test.TestingUtil.withCacheManagers(TestingUtil.java:1519)
at
org.infinispan.manager.AllClusterExecutorTest.testExecutorTriConsumerTimeoutException(AllClusterExecutorTest.java:382)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]
SingleClusterExecutorTest>AllClusterExecutorTest.testExecutorTriConsumerTimeoutException:382
Should have thrown an class java.util.concurrent.ExecutionException
[ERROR]
SingleClusterExecutorTest>AllClusterExecutorTest.testExecutorTriConsumerTimeoutException:382
Should have thrown an class java.util.concurrent.ExecutionException
[ERROR] StaleLocksWithLockOnlyTxDuringStateTransferTest.testSync:102 ยป Runtime Timed
o...
[INFO]
[ERROR] Tests run: 10371, Failures: 3, Errors: 0, Skipped: 0
{code}
Building from source on OSX caused deadlock during tests
--------------------------------------------------------
Key: ISPN-8541
URL:
https://issues.jboss.org/browse/ISPN-8541
Project: Infinispan
Issue Type: Bug
Components: Build process, Core
Affects Versions: 9.1.3.Final
Environment: MacOSX High Sierra
17.2.0 Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017;
root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T02:58:13-05:00)
Reporter: William Markito Oliveira
Priority: Minor
Attachments: jstack.log, jstack2.log, tests.log
Building from source using build.sh is frozen after [PolarionJUnitXMLReporter] Test case
'testReplWriteValueAndReadValueAndMetadataOnOwner' already exists in the results
Running jstack on the build process found 1 deadlock.
jstack log attached with the locks.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)