Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1172109

Summary: Test org.infinispan.test.integration.as.HotRodClientIT.testCacheManager fails
Product: [JBoss] JBoss Data Grid 6 Reporter: Vojtech Juranek <vjuranek>
Component: TestSuiteAssignee: Martin Gencur <mgencur>
Status: CLOSED NOTABUG QA Contact: Martin Gencur <mgencur>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.0CC: jdg-bugs, ttarrant, vchepeli
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-20 13:12:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vojtech Juranek 2014-12-09 12:22:57 UTC
Please see https://issues.jboss.org/browse/ISPN-5065

Comment 2 Martin Gencur 2015-01-13 17:14:57 UTC
This test passes for me with CR1. It looks like it was fixed in the meantime.

Comment 3 JBoss JIRA Server 2015-01-13 17:24:15 UTC
Martin Gencur <mgencur> updated the status of jira ISPN-5065 to Resolved

Comment 6 Martin Gencur 2015-01-19 12:35:29 UTC
Does this only happen on JDK 7 now? There were two issues mixed in one, I think the JDK 6 one was fixed.

Comment 7 Vojtech Juranek 2015-01-19 12:44:23 UTC
Cannot confirm, I run recently tests only on JDK 7 and 8 (not on JDK 6)

Comment 8 Martin Gencur 2015-01-20 13:12:32 UTC
After looking at the server log, I found the following:

JDG server could not be started because of Caused by: org.jboss.modules.ModuleNotFoundException: org.infinispan.persistence.jdbc:main
This module could not be found by module org.infinispan.server.endpoint because the server contains only org.infinispan.cachestore.jdbc:main module. This module was contained in the build earlier, before renaming to "persistence". As the tests in as-integration-remote-client use a server distribution from server/integration/build/target, and the tests run sooner than server/integration/build is actually built, this issue is caused by running tests with server distribution that existed in the workspace from previous runs.

To fix this, either change the order of modules so that server/integration is built first, or pass the following property that will point to the latest JDG server: -Dserver.build.dist=/home/mgencur/infinispan/6.4.0/cr2/jboss-datagrid-6.4.0-server

I could not reproduce this issue locally in any way, most likely because I have up to date local server distribution.