[infinispan-issues] [JBoss JIRA] Commented: (ISPN-1122) InvalidResponseException when running ServerErrorTest from testsuite
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Thu May 19 13:15:01 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603243#comment-12603243 ]
Galder Zamarreño commented on ISPN-1122:
----------------------------------------
Just been banging my head against it further via a similar issue, JBPAPP-6113, and the key might be the same. Sometimes, the response is dealt by a different thread to the one that sent the request, and when that happens, the next request by that tcp transport object goes bang! Btw, this cannot be replicated always... and this testsuite failure is a random one
> InvalidResponseException when running ServerErrorTest from testsuite
> --------------------------------------------------------------------
>
> Key: ISPN-1122
> URL: https://issues.jboss.org/browse/ISPN-1122
> Project: Infinispan
> Issue Type: Bug
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 5.0.0.CR3
>
>
> I've seen this in master, when running ServerErrorTest from testsuite:
> {code}[z at dnb-2:~/Go/code/infinispan.git]% (t_1119_m⚡) more client/hotrod-client/target/surefire-reports/TEST-org.infinispan.client.hotrod.ServerErrorTest-testErrorWhileDoingPut.xml
> <?xml version="1.0" encoding="UTF-8" ?>
> <testsuite time="0" name="org.infinispan.client.hotrod.ServerErrorTest-testErrorWhileDoingPut">
> <testcase time="0.265" classname="org.infinispan.client.hotrod.ServerErrorTest"
> name="org.infinispan.client.hotrod.ServerErrorTest-testErrorWhileDoingPut">
> <failure message="Invalid magic number. Expected 0xa1 and received 0x50"
> type="org.infinispan.client.hotrod.exceptions.InvalidResponseException">
> org.infinispan.client.hotrod.exceptions.InvalidResponseException:: Invalid magic number. Expected 0xa1 and received 0x50
> at org.infinispan.client.hotrod.impl.operations.HotRodOperation.readHeaderAndValidate(HotRodOperation.java:107)
> at org.infinispan.client.hotrod.impl.operations.AbstractKeyValueOperation.sendPutOperation(AbstractKeyValueOperation.java:70)
> at org.infinispan.client.hotrod.impl.operations.PutOperation.executeOperation(PutOperation.java:49)
> at org.infinispan.client.hotrod.impl.operations.RetryOnFailureOperation.execute(RetryOnFailureOperation.java:62)
> at org.infinispan.client.hotrod.impl.RemoteCacheImpl.put(RemoteCacheImpl.java:201)
> at org.infinispan.CacheSupport.put(CacheSupport.java:51)
> at org.infinispan.client.hotrod.ServerErrorTest.testErrorWhileDoingPut(ServerErrorTest.java:97)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:546)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:700)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1002)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
> at org.testng.TestRunner.runWorkers(TestRunner.java:909)
> at org.testng.TestRunner.privateRun(TestRunner.java:618)
> at org.testng.TestRunner.run(TestRunner.java:499)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:33)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:358)
> at org.testng.internal.thread.ThreadUtil$CountDownLatchedRunnable.run(ThreadUtil.java:142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
> </failure>{code}
> This needs investigate cos it could be related to other Invalid* issues QE have been encountering with EDG.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list