[JBoss JIRA] (ISPN-7584) Rolling upgrade fails with "java.lang.ClassCastException: org.infinispan.container.versioning.SimpleClusteredVersion cannot be cast to org.infinispan.container.versioning.NumericVersion"
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-7584:
---------------------------------------
Summary: Rolling upgrade fails with "java.lang.ClassCastException: org.infinispan.container.versioning.SimpleClusteredVersion cannot be cast to org.infinispan.container.versioning.NumericVersion"
Key: ISPN-7584
URL: https://issues.jboss.org/browse/ISPN-7584
Project: Infinispan
Issue Type: Bug
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Cache configuration, both for source and target clusters:
{code:xml}
<replicated-cache name="test-cache" mode="SYNC" start="EAGER">
<expiration interval="300000" lifespan="525600000000" />
<locking isolation="REPEATABLE_READ" acquire-timeout="20000" concurrency-level="500" striping="false" />
<transaction mode="NONE" />
<string-keyed-jdbc-store datasource="java:jboss/datasources/OracleDS" passivation="false" preload="false" purge="false" shared="true">
<property name="databaseType">ORACLE</property>
<string-keyed-table prefix="ISPN">
<id-column name="id" type="VARCHAR(256)" />
<data-column name="datum" type="BLOB" />
<timestamp-column name="version" type="NUMBER" />
</string-keyed-table>
</string-keyed-jdbc-store>
<remote-store cache="utility" hotrod-wrapping="true" socket-timeout="60000" tcp-no-delay="true" shared="true" passivation="false" purge="false" read-only="true">
<remote-server outbound-socket-binding="source-cluster" />
</remote-store>
</replicated-cache>
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (ISPN-6029) DDL for JDBC store tables should never allow null
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/ISPN-6029?page=com.atlassian.jira.plugin.... ]
Paul Ferraro updated ISPN-6029:
-------------------------------
Status: Open (was: New)
> DDL for JDBC store tables should never allow null
> -------------------------------------------------
>
> Key: ISPN-6029
> URL: https://issues.jboss.org/browse/ISPN-6029
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 8.1.0.Final, 8.2.0.Final, 8.0.2.Final, 9.0.0.CR2
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
>
> The DDL for jdbc persistent stores creates a 3 column table, where only the primary key is not null. However, both the string-based and binary-based cache stores require non-null values for the data column and timestamp column. These columns should not allow null values.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (ISPN-7582) Rolling upgrade tests fail
by Vojtech Juranek (JIRA)
[ https://issues.jboss.org/browse/ISPN-7582?page=com.atlassian.jira.plugin.... ]
Vojtech Juranek updated ISPN-7582:
----------------------------------
Status: Open (was: New)
> Rolling upgrade tests fail
> --------------------------
>
> Key: ISPN-7582
> URL: https://issues.jboss.org/browse/ISPN-7582
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.0.0.CR2
> Reporter: Vojtech Juranek
> Assignee: Vojtech Juranek
>
> when running {{HotRodRollingUpgradesIT}} to upgrade from ISPN 8.0 to 9.0, it fails with
> {noformat}
> java.lang.IllegalArgumentException: Invalid Hot Rod protocol version 'null'
> at org.infinispan.client.hotrod.impl.protocol.CodecFactory.getCodec(CodecFactory.java:69) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.RemoteCacheManager.start(RemoteCacheManager.java:185) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:95) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:81) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.server.test.util.ITestUtils.createCacheManager(ITestUtils.java:54) ~[test-classes/:?]
> at org.infinispan.server.test.util.RemoteCacheManagerFactory.createManager(RemoteCacheManagerFactory.java:51) ~[test-classes/:?]
> at org.infinispan.server.test.util.RemoteCacheManagerFactory.createCache(RemoteCacheManagerFactory.java:35) ~[test-classes/:?]
> at org.infinispan.server.test.rollingupgrades.HotRodRollingUpgradesIT.createCache(HotRodRollingUpgradesIT.java:151) ~[test-classes/:?]
> at org.infinispan.server.test.rollingupgrades.HotRodRollingUpgradesIT.createCache(HotRodRollingUpgradesIT.java:144) ~[test-classes/:?]
> at org.infinispan.server.test.rollingupgrades.HotRodRollingUpgradesIT.testHotRodRollingUpgradesDiffVersions(HotRodRollingUpgradesIT.java:98)
> {noformat}
> {{HotRodRollingUpgradesDistIT}} fails with
> {noformat}
> ESC[0mESC[31m11:45:37,883 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
> at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131) [wildfly-controller-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.ServerService.boot(ServerService.java:357) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299) [wildfly-controller-2.2.0.Final.jar:2.2.0.Final]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_102]
> Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[169,9]
> Message: Unexpected element '{urn:infinispan:server:endpoint:7.0}subsystem'
> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108) [staxmapper-1.2.0.Final.jar:1.2.0.Final]
> at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.2.0.Final.jar:1.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml_4.parseServerProfile(StandaloneXml_4.java:546) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml_4.readServerElement(StandaloneXml_4.java:242) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml_4.readElement(StandaloneXml_4.java:141) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:103) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.2.0.Final.jar:1.2.0.Final]
> at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.2.0.Final.jar:1.2.0.Final]
> at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123) [wildfly-controller-2.2.0.Final.jar:2.2.0.Final]
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (ISPN-7582) Rolling upgrade tests fail
by Vojtech Juranek (JIRA)
[ https://issues.jboss.org/browse/ISPN-7582?page=com.atlassian.jira.plugin.... ]
Vojtech Juranek updated ISPN-7582:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4956
> Rolling upgrade tests fail
> --------------------------
>
> Key: ISPN-7582
> URL: https://issues.jboss.org/browse/ISPN-7582
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 9.0.0.CR2
> Reporter: Vojtech Juranek
> Assignee: Vojtech Juranek
>
> when running {{HotRodRollingUpgradesIT}} to upgrade from ISPN 8.0 to 9.0, it fails with
> {noformat}
> java.lang.IllegalArgumentException: Invalid Hot Rod protocol version 'null'
> at org.infinispan.client.hotrod.impl.protocol.CodecFactory.getCodec(CodecFactory.java:69) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.RemoteCacheManager.start(RemoteCacheManager.java:185) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:95) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.client.hotrod.RemoteCacheManager.<init>(RemoteCacheManager.java:81) ~[infinispan-client-hotrod-9.0.0-SNAPSHOT.jar:9.0.0-SNAPSHOT]
> at org.infinispan.server.test.util.ITestUtils.createCacheManager(ITestUtils.java:54) ~[test-classes/:?]
> at org.infinispan.server.test.util.RemoteCacheManagerFactory.createManager(RemoteCacheManagerFactory.java:51) ~[test-classes/:?]
> at org.infinispan.server.test.util.RemoteCacheManagerFactory.createCache(RemoteCacheManagerFactory.java:35) ~[test-classes/:?]
> at org.infinispan.server.test.rollingupgrades.HotRodRollingUpgradesIT.createCache(HotRodRollingUpgradesIT.java:151) ~[test-classes/:?]
> at org.infinispan.server.test.rollingupgrades.HotRodRollingUpgradesIT.createCache(HotRodRollingUpgradesIT.java:144) ~[test-classes/:?]
> at org.infinispan.server.test.rollingupgrades.HotRodRollingUpgradesIT.testHotRodRollingUpgradesDiffVersions(HotRodRollingUpgradesIT.java:98)
> {noformat}
> {{HotRodRollingUpgradesDistIT}} fails with
> {noformat}
> ESC[0mESC[31m11:45:37,883 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
> at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131) [wildfly-controller-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.ServerService.boot(ServerService.java:357) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299) [wildfly-controller-2.2.0.Final.jar:2.2.0.Final]
> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_102]
> Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[169,9]
> Message: Unexpected element '{urn:infinispan:server:endpoint:7.0}subsystem'
> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108) [staxmapper-1.2.0.Final.jar:1.2.0.Final]
> at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.2.0.Final.jar:1.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml_4.parseServerProfile(StandaloneXml_4.java:546) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml_4.readServerElement(StandaloneXml_4.java:242) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml_4.readElement(StandaloneXml_4.java:141) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:103) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49) [wildfly-server-2.2.0.Final.jar:2.2.0.Final]
> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.2.0.Final.jar:1.2.0.Final]
> at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.2.0.Final.jar:1.2.0.Final]
> at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123) [wildfly-controller-2.2.0.Final.jar:2.2.0.Final]
> ... 3 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (ISPN-7583) ClusterListenerDistInitialStateTest.testPrimaryOwnerGoesDownBeforeSendingEvent random failures
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-7583?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-7583:
------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/4955
> ClusterListenerDistInitialStateTest.testPrimaryOwnerGoesDownBeforeSendingEvent random failures
> ----------------------------------------------------------------------------------------------
>
> Key: ISPN-7583
> URL: https://issues.jboss.org/browse/ISPN-7583
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Labels: testsuite_stability
> Fix For: 9.0.0.Final
>
>
> fixes:
> {code:java}
> testPrimaryOwnerGoesDownBeforeSendingEvent(org.infinispan.notifications.cachelistener.cluster.ClusterListenerDistInitialStateTest) Time elapsed: 0.015 sec <<< FAILURE!
> java.lang.AssertionError: expected [ClusterListenerDistInitialStateTest-NodeDR-44410] but found [ClusterListenerDistInitialStateTest-NodeDP-19475]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:165)
> at org.infinispan.notifications.cachelistener.cluster.ClusterListenerDistTest.testPrimaryOwnerGoesDownBeforeSendingEvent(ClusterListenerDistTest.java:74)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (ISPN-7583) ClusterListenerDistInitialStateTest.testPrimaryOwnerGoesDownBeforeSendingEvent random failures
by Pedro Ruivo (JIRA)
Pedro Ruivo created ISPN-7583:
---------------------------------
Summary: ClusterListenerDistInitialStateTest.testPrimaryOwnerGoesDownBeforeSendingEvent random failures
Key: ISPN-7583
URL: https://issues.jboss.org/browse/ISPN-7583
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Fix For: 9.0.0.Final
fixes:
{code:java}
testPrimaryOwnerGoesDownBeforeSendingEvent(org.infinispan.notifications.cachelistener.cluster.ClusterListenerDistInitialStateTest) Time elapsed: 0.015 sec <<< FAILURE!
java.lang.AssertionError: expected [ClusterListenerDistInitialStateTest-NodeDR-44410] but found [ClusterListenerDistInitialStateTest-NodeDP-19475]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:165)
at org.infinispan.notifications.cachelistener.cluster.ClusterListenerDistTest.testPrimaryOwnerGoesDownBeforeSendingEvent(ClusterListenerDistTest.java:74)
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (ISPN-7583) ClusterListenerDistInitialStateTest.testPrimaryOwnerGoesDownBeforeSendingEvent random failures
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-7583?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-7583:
------------------------------
Status: Open (was: New)
> ClusterListenerDistInitialStateTest.testPrimaryOwnerGoesDownBeforeSendingEvent random failures
> ----------------------------------------------------------------------------------------------
>
> Key: ISPN-7583
> URL: https://issues.jboss.org/browse/ISPN-7583
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Labels: testsuite_stability
> Fix For: 9.0.0.Final
>
>
> fixes:
> {code:java}
> testPrimaryOwnerGoesDownBeforeSendingEvent(org.infinispan.notifications.cachelistener.cluster.ClusterListenerDistInitialStateTest) Time elapsed: 0.015 sec <<< FAILURE!
> java.lang.AssertionError: expected [ClusterListenerDistInitialStateTest-NodeDR-44410] but found [ClusterListenerDistInitialStateTest-NodeDP-19475]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:165)
> at org.infinispan.notifications.cachelistener.cluster.ClusterListenerDistTest.testPrimaryOwnerGoesDownBeforeSendingEvent(ClusterListenerDistTest.java:74)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months
[JBoss JIRA] (ISPN-7583) ClusterListenerDistInitialStateTest.testPrimaryOwnerGoesDownBeforeSendingEvent random failures
by Pedro Ruivo (JIRA)
[ https://issues.jboss.org/browse/ISPN-7583?page=com.atlassian.jira.plugin.... ]
Pedro Ruivo updated ISPN-7583:
------------------------------
Labels: testsuite_stability (was: )
> ClusterListenerDistInitialStateTest.testPrimaryOwnerGoesDownBeforeSendingEvent random failures
> ----------------------------------------------------------------------------------------------
>
> Key: ISPN-7583
> URL: https://issues.jboss.org/browse/ISPN-7583
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Labels: testsuite_stability
> Fix For: 9.0.0.Final
>
>
> fixes:
> {code:java}
> testPrimaryOwnerGoesDownBeforeSendingEvent(org.infinispan.notifications.cachelistener.cluster.ClusterListenerDistInitialStateTest) Time elapsed: 0.015 sec <<< FAILURE!
> java.lang.AssertionError: expected [ClusterListenerDistInitialStateTest-NodeDR-44410] but found [ClusterListenerDistInitialStateTest-NodeDP-19475]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:165)
> at org.infinispan.notifications.cachelistener.cluster.ClusterListenerDistTest.testPrimaryOwnerGoesDownBeforeSendingEvent(ClusterListenerDistTest.java:74)
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 10 months