[JBoss JIRA] (IPROTO-96) Annotation processor does not handle well incremental compilation
by Nistor Adrian (Jira)
[ https://issues.jboss.org/browse/IPROTO-96?page=com.atlassian.jira.plugin.... ]
Nistor Adrian updated IPROTO-96:
--------------------------------
Status: Open (was: New)
> Annotation processor does not handle well incremental compilation
> -----------------------------------------------------------------
>
> Key: IPROTO-96
> URL: https://issues.jboss.org/browse/IPROTO-96
> Project: Infinispan ProtoStream
> Issue Type: Bug
> Affects Versions: 4.3.0.Alpha6
> Reporter: Nistor Adrian
> Priority: Major
>
> The RoundEnvironment might not always contain the whole root elements from source path. In case of incremental compilation that will certainly be an issue, preventing discovery of @ProtoXyz annotated classes.
> A possible way to solve this is to annotate the generated code with that list of user classes from which it originates. This allows us to trace back to the classes that need to be scanned by which are not present in RoundEnvironment as root elements.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (IPROTO-96) Annotation processor does not handle well incremental compilation
by Nistor Adrian (Jira)
Nistor Adrian created IPROTO-96:
-----------------------------------
Summary: Annotation processor does not handle well incremental compilation
Key: IPROTO-96
URL: https://issues.jboss.org/browse/IPROTO-96
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 4.3.0.Alpha6
Reporter: Nistor Adrian
The RoundEnvironment might not always contain the whole root elements from source path. In case of incremental compilation that will certainly be an issue, preventing discovery of @ProtoXyz annotated classes.
A possible way to solve this is to annotate the generated code with that list of user classes from which it originates. This allows us to trace back to the classes that need to be scanned by which are not present in RoundEnvironment as root elements.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10270) DroppedConnectionsTest.testClosedConnection random failures
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10270?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10270:
--------------------------------
Attachment: ISPN-10137_Injection_without_reflection_20190605-1157_DroppedConnectionsTest-infinispan-client-hotrod.log.gz
> DroppedConnectionsTest.testClosedConnection random failures
> -----------------------------------------------------------
>
> Key: ISPN-10270
> URL: https://issues.jboss.org/browse/ISPN-10270
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Server
> Affects Versions: 10.0.0.Beta3
> Reporter: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Attachments: ISPN-10137_Injection_without_reflection_20190605-1157_DroppedConnectionsTest-infinispan-client-hotrod.log.gz
>
>
> {noformat}
> 12:03:26,084 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.DroppedConnectionsTest.testClosedConnection
> java.lang.AssertionError: expected:<1> but was:<0>
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.14.3.jar:?]
> at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.14.3.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.14.3.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245) ~[testng-6.14.3.jar:?]
> at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252) ~[testng-6.14.3.jar:?]
> at org.infinispan.client.hotrod.DroppedConnectionsTest.testClosedConnection(DroppedConnectionsTest.java:78) ~[test-classes/:?]
> {noformat}
> Full trace log attached
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10270) DroppedConnectionsTest.testClosedConnection random failures
by Dan Berindei (Jira)
Dan Berindei created ISPN-10270:
-----------------------------------
Summary: DroppedConnectionsTest.testClosedConnection random failures
Key: ISPN-10270
URL: https://issues.jboss.org/browse/ISPN-10270
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Server
Affects Versions: 10.0.0.Beta3
Reporter: Dan Berindei
{noformat}
12:03:26,084 ERROR (testng-Test:[]) [TestSuiteProgress] Test failed: org.infinispan.client.hotrod.DroppedConnectionsTest.testClosedConnection
java.lang.AssertionError: expected:<1> but was:<0>
at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245) ~[testng-6.14.3.jar:?]
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252) ~[testng-6.14.3.jar:?]
at org.infinispan.client.hotrod.DroppedConnectionsTest.testClosedConnection(DroppedConnectionsTest.java:78) ~[test-classes/:?]
{noformat}
Full trace log attached
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10228) Server licenses should be in docs/licenses/licenses.xml
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-10228?page=com.atlassian.jira.plugin... ]
Pedro Ruivo updated ISPN-10228:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Server licenses should be in docs/licenses/licenses.xml
> -------------------------------------------------------
>
> Key: ISPN-10228
> URL: https://issues.jboss.org/browse/ISPN-10228
> Project: Infinispan
> Issue Type: Bug
> Components: Build
> Affects Versions: 10.0.0.Beta3, 9.4.13.Final
> Reporter: Prajakta Deshmukh
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.15.Final, 9.4.14.Final
>
>
> While Comparing distributions such as library, server, maven repository with current (7.3.1.CR2) and the previous build( 7.3.0-1) it fails with Missing Licenses : LICENSE NOT FOUND
> Steps to Reproduce :
> 1) Script run : /jdg-qe/scripts/initial-testing/initial-testing.sh
> 2) JDG_VERSION_LABEL = 7.3.1.CR2
> 3) JDG_VERSION_LABEL_PREVIOUS_BUILD = 7.3.0-1
> Fails with below missing licenses :================================================================
> Distribution Check fails with below Missing Licenses :
> [LICENSE NOT FOUND] com.googlecode.javaewah:JavaEWAH:1.1.6
> [LICENSE NOT FOUND] com.jcraft:jsch:0.1.54
> [LICENSE NOT FOUND] com.jcraft:jsch:0.1.54.redhat-00001
> [LICENSE NOT FOUND] com.jcraft:jzlib:1.1.1
> [LICENSE NOT FOUND] io.fabric8:agent-bond-agent:1.0.2.redhat-1
> [LICENSE NOT FOUND] io.netty:netty-transport-native-unix-common:4.1.28.Final-redhat-00001
> [LICENSE NOT FOUND] io.prometheus.jmx:jmx_prometheus_javaagent:0.3.1.redhat-00001
> [LICENSE NOT FOUND] io.reactivex.rxjava2:rxjava:2.2.4.redhat-00003
> [LICENSE NOT FOUND] javax.cache:cache-api:1.1.0.redhat-1
> [LICENSE NOT FOUND] javax.inject:javax.inject:1.0.0.redhat-6
> [LICENSE NOT FOUND] org.aesh:aesh-extensions:1.6.0.redhat-00001
> [LICENSE NOT FOUND] org.aesh:aesh-readline:1.10.0.redhat-00001
> [LICENSE NOT FOUND] org.aesh:aesh:1.7.0.redhat-00001 ----> (and packed as: aesh-readline-1.10.0.redhat-00001.jar )
> [LICENSE NOT FOUND] org.eclipse.jgit:org.eclipse.jgit:5.0.2.201807311906-r-redhat-00001
> [LICENSE NOT FOUND] org.fusesource.jansi:jansi:1.16.0.redhat-4
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-common:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-marshalling-api:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-marshalling-spi:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-service:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-ee:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-iiop-openjdk:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-naming:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-security:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-transactions:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.spec.javax.annotation:jboss-annotations-api_1.3_spec:1.0.1.Final-redhat-1
> [LICENSE NOT FOUND] org.jboss.spec.javax.el:jboss-el-api_3.0_spec:1.0.12.Final-redhat-00001
> [LICENSE NOT FOUND] org.projectodd.vdx:vdx-core:1.1.6.redhat-1
> [LICENSE NOT FOUND] org.projectodd.vdx:vdx-wildfly:1.1.6.redhat-1
> [LICENSE NOT FOUND] org.reactivestreams:reactive-streams:1.0.2.redhat-1
> [LICENSE NOT FOUND] org.wildfly.client:wildfly-client-config:1.0.1.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.core:wildfly-core-management-client:6.0.11.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.core:wildfly-embedded:6.0.11.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.security.elytron-web:undertow-server:1.2.3.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.transaction:wildfly-transaction-client:1.1.2.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly.wildfly-http-client:wildfly-http-client-common:1.0.12.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly.wildfly-http-client:wildfly-http-naming-client:1.0.12.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly.wildfly-http-client:wildfly-http-transaction-client:1.0.12.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly:wildfly-naming-client:1.0.9.Final-redhat-1
> [LICENSE NOT FOUND] antlr:antlr:2.7.7.redhat-7 ----> (and packed as: antlr-bsd.txt )
> [LICENSE NOT FOUND] com.thoughtworks.xstream:xstream:1.4.10.redhat-1 ----> (and packed as: xstream-bsd.txt )
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10228) Server licenses should be in docs/licenses/licenses.xml
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-10228?page=com.atlassian.jira.plugin... ]
Pedro Ruivo updated ISPN-10228:
-------------------------------
Status: Pull Request Sent (was: Reopened)
> Server licenses should be in docs/licenses/licenses.xml
> -------------------------------------------------------
>
> Key: ISPN-10228
> URL: https://issues.jboss.org/browse/ISPN-10228
> Project: Infinispan
> Issue Type: Bug
> Components: Build
> Affects Versions: 10.0.0.Beta3, 9.4.13.Final
> Reporter: Prajakta Deshmukh
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.14.Final, 9.4.15.Final
>
>
> While Comparing distributions such as library, server, maven repository with current (7.3.1.CR2) and the previous build( 7.3.0-1) it fails with Missing Licenses : LICENSE NOT FOUND
> Steps to Reproduce :
> 1) Script run : /jdg-qe/scripts/initial-testing/initial-testing.sh
> 2) JDG_VERSION_LABEL = 7.3.1.CR2
> 3) JDG_VERSION_LABEL_PREVIOUS_BUILD = 7.3.0-1
> Fails with below missing licenses :================================================================
> Distribution Check fails with below Missing Licenses :
> [LICENSE NOT FOUND] com.googlecode.javaewah:JavaEWAH:1.1.6
> [LICENSE NOT FOUND] com.jcraft:jsch:0.1.54
> [LICENSE NOT FOUND] com.jcraft:jsch:0.1.54.redhat-00001
> [LICENSE NOT FOUND] com.jcraft:jzlib:1.1.1
> [LICENSE NOT FOUND] io.fabric8:agent-bond-agent:1.0.2.redhat-1
> [LICENSE NOT FOUND] io.netty:netty-transport-native-unix-common:4.1.28.Final-redhat-00001
> [LICENSE NOT FOUND] io.prometheus.jmx:jmx_prometheus_javaagent:0.3.1.redhat-00001
> [LICENSE NOT FOUND] io.reactivex.rxjava2:rxjava:2.2.4.redhat-00003
> [LICENSE NOT FOUND] javax.cache:cache-api:1.1.0.redhat-1
> [LICENSE NOT FOUND] javax.inject:javax.inject:1.0.0.redhat-6
> [LICENSE NOT FOUND] org.aesh:aesh-extensions:1.6.0.redhat-00001
> [LICENSE NOT FOUND] org.aesh:aesh-readline:1.10.0.redhat-00001
> [LICENSE NOT FOUND] org.aesh:aesh:1.7.0.redhat-00001 ----> (and packed as: aesh-readline-1.10.0.redhat-00001.jar )
> [LICENSE NOT FOUND] org.eclipse.jgit:org.eclipse.jgit:5.0.2.201807311906-r-redhat-00001
> [LICENSE NOT FOUND] org.fusesource.jansi:jansi:1.16.0.redhat-4
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-common:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-marshalling-api:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-marshalling-spi:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-service:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-ee:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-iiop-openjdk:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-naming:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-security:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-transactions:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.spec.javax.annotation:jboss-annotations-api_1.3_spec:1.0.1.Final-redhat-1
> [LICENSE NOT FOUND] org.jboss.spec.javax.el:jboss-el-api_3.0_spec:1.0.12.Final-redhat-00001
> [LICENSE NOT FOUND] org.projectodd.vdx:vdx-core:1.1.6.redhat-1
> [LICENSE NOT FOUND] org.projectodd.vdx:vdx-wildfly:1.1.6.redhat-1
> [LICENSE NOT FOUND] org.reactivestreams:reactive-streams:1.0.2.redhat-1
> [LICENSE NOT FOUND] org.wildfly.client:wildfly-client-config:1.0.1.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.core:wildfly-core-management-client:6.0.11.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.core:wildfly-embedded:6.0.11.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.security.elytron-web:undertow-server:1.2.3.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.transaction:wildfly-transaction-client:1.1.2.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly.wildfly-http-client:wildfly-http-client-common:1.0.12.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly.wildfly-http-client:wildfly-http-naming-client:1.0.12.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly.wildfly-http-client:wildfly-http-transaction-client:1.0.12.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly:wildfly-naming-client:1.0.9.Final-redhat-1
> [LICENSE NOT FOUND] antlr:antlr:2.7.7.redhat-7 ----> (and packed as: antlr-bsd.txt )
> [LICENSE NOT FOUND] com.thoughtworks.xstream:xstream:1.4.10.redhat-1 ----> (and packed as: xstream-bsd.txt )
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10228) Server licenses should be in docs/licenses/licenses.xml
by Pedro Ruivo (Jira)
[ https://issues.jboss.org/browse/ISPN-10228?page=com.atlassian.jira.plugin... ]
Pedro Ruivo updated ISPN-10228:
-------------------------------
Fix Version/s: 9.4.15.Final
> Server licenses should be in docs/licenses/licenses.xml
> -------------------------------------------------------
>
> Key: ISPN-10228
> URL: https://issues.jboss.org/browse/ISPN-10228
> Project: Infinispan
> Issue Type: Bug
> Components: Build
> Affects Versions: 10.0.0.Beta3, 9.4.13.Final
> Reporter: Prajakta Deshmukh
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 10.0.0.Beta4, 9.4.14.Final, 9.4.15.Final
>
>
> While Comparing distributions such as library, server, maven repository with current (7.3.1.CR2) and the previous build( 7.3.0-1) it fails with Missing Licenses : LICENSE NOT FOUND
> Steps to Reproduce :
> 1) Script run : /jdg-qe/scripts/initial-testing/initial-testing.sh
> 2) JDG_VERSION_LABEL = 7.3.1.CR2
> 3) JDG_VERSION_LABEL_PREVIOUS_BUILD = 7.3.0-1
> Fails with below missing licenses :================================================================
> Distribution Check fails with below Missing Licenses :
> [LICENSE NOT FOUND] com.googlecode.javaewah:JavaEWAH:1.1.6
> [LICENSE NOT FOUND] com.jcraft:jsch:0.1.54
> [LICENSE NOT FOUND] com.jcraft:jsch:0.1.54.redhat-00001
> [LICENSE NOT FOUND] com.jcraft:jzlib:1.1.1
> [LICENSE NOT FOUND] io.fabric8:agent-bond-agent:1.0.2.redhat-1
> [LICENSE NOT FOUND] io.netty:netty-transport-native-unix-common:4.1.28.Final-redhat-00001
> [LICENSE NOT FOUND] io.prometheus.jmx:jmx_prometheus_javaagent:0.3.1.redhat-00001
> [LICENSE NOT FOUND] io.reactivex.rxjava2:rxjava:2.2.4.redhat-00003
> [LICENSE NOT FOUND] javax.cache:cache-api:1.1.0.redhat-1
> [LICENSE NOT FOUND] javax.inject:javax.inject:1.0.0.redhat-6
> [LICENSE NOT FOUND] org.aesh:aesh-extensions:1.6.0.redhat-00001
> [LICENSE NOT FOUND] org.aesh:aesh-readline:1.10.0.redhat-00001
> [LICENSE NOT FOUND] org.aesh:aesh:1.7.0.redhat-00001 ----> (and packed as: aesh-readline-1.10.0.redhat-00001.jar )
> [LICENSE NOT FOUND] org.eclipse.jgit:org.eclipse.jgit:5.0.2.201807311906-r-redhat-00001
> [LICENSE NOT FOUND] org.fusesource.jansi:jansi:1.16.0.redhat-4
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-common:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-marshalling-api:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-marshalling-spi:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-clustering-service:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-ee:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-iiop-openjdk:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-naming:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-security:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.eap:wildfly-transactions:7.2.0.GA-redhat-00005
> [LICENSE NOT FOUND] org.jboss.spec.javax.annotation:jboss-annotations-api_1.3_spec:1.0.1.Final-redhat-1
> [LICENSE NOT FOUND] org.jboss.spec.javax.el:jboss-el-api_3.0_spec:1.0.12.Final-redhat-00001
> [LICENSE NOT FOUND] org.projectodd.vdx:vdx-core:1.1.6.redhat-1
> [LICENSE NOT FOUND] org.projectodd.vdx:vdx-wildfly:1.1.6.redhat-1
> [LICENSE NOT FOUND] org.reactivestreams:reactive-streams:1.0.2.redhat-1
> [LICENSE NOT FOUND] org.wildfly.client:wildfly-client-config:1.0.1.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.core:wildfly-core-management-client:6.0.11.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.core:wildfly-embedded:6.0.11.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.security.elytron-web:undertow-server:1.2.3.Final-redhat-00001
> [LICENSE NOT FOUND] org.wildfly.transaction:wildfly-transaction-client:1.1.2.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly.wildfly-http-client:wildfly-http-client-common:1.0.12.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly.wildfly-http-client:wildfly-http-naming-client:1.0.12.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly.wildfly-http-client:wildfly-http-transaction-client:1.0.12.Final-redhat-1
> [LICENSE NOT FOUND] org.wildfly:wildfly-naming-client:1.0.9.Final-redhat-1
> [LICENSE NOT FOUND] antlr:antlr:2.7.7.redhat-7 ----> (and packed as: antlr-bsd.txt )
> [LICENSE NOT FOUND] com.thoughtworks.xstream:xstream:1.4.10.redhat-1 ----> (and packed as: xstream-bsd.txt )
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10269) ProtobufMetadataManagerImpl.registerProtofiles always times out
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10269?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10269:
--------------------------------
Status: Open (was: New)
> ProtobufMetadataManagerImpl.registerProtofiles always times out
> ---------------------------------------------------------------
>
> Key: ISPN-10269
> URL: https://issues.jboss.org/browse/ISPN-10269
> Project: Infinispan
> Issue Type: Bug
> Components: Remote Querying, Test Suite - Query
> Affects Versions: 10.0.0.Beta3
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Labels: testsuite_stability
> Fix For: 10.0.0.Beta4
>
>
> {{ProtobufMetadataManagerImpl.registerProtofiles()}} uses {{protobufSchemaCache.putAll(files)}} under the covers, and because of a bug {{ProtobufMetadataManagerInterceptor.visitPutMapCommand()}} it tries to lock the {{.errors}} key both on the originator and on the remote nodes (during remote prepare). The {{LockControlCommand}} goes through {{TransactionSynchronizerInterceptor}} and tries to "lock" the transaction with {{enterSynchronizationAsync()}}, but it hangs because the {{PrepareCommand}} invocation can't continue and complete its {{releaseFuture}}.
> {noformat}
> 00:59:56,177 ERROR [org.infinispan.transaction.impl.TransactionCoordinator] (pool-8-thread-1) ISPN000097: Error while processing a prepare in a single-phase transaction: org.infinispan.util.concurrent.TimeoutException: ISPN000476: Timed out waiting for responses for request 3411 from node1
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:263)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.transaction.impl.TransactionCoordinator.commit(TransactionCoordinator.java:159)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.transaction.impl.TransactionTable.afterCompletion(TransactionTable.java:870)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:33)
> at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.AbstractTransaction.performConsumer(AbstractTransaction.java:223)
> at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.AbstractTransaction$AssociatingSynchronization.afterCompletion(AbstractTransaction.java:306)
> at org.jboss.jts@5.9.0.Final//com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:96)
> at org.jboss.jts@5.9.0.Final//com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:545)
> at org.jboss.jts@5.9.0.Final//com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:101)
> at org.jboss.jts@5.9.0.Final//com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
> at org.jboss.jts@5.9.0.Final//com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1288)
> at org.jboss.jts@5.9.0.Final//com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
> at org.jboss.jts.integration@5.9.0.Final//com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:89)
> at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.LocalTransaction.commitAndDissociate(LocalTransaction.java:77)
> at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.ContextTransactionManager.commit(ContextTransactionManager.java:71)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.tryCommit(CacheImpl.java:1981)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.executeCommandWithInjectedTx(CacheImpl.java:1901)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1874)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.putAll(CacheImpl.java:1458)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.putAll(CacheImpl.java:2005)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.putAll(CacheImpl.java:469)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.AbstractDelegatingCache.putAll(AbstractDelegatingCache.java:459)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.EncoderCache.putAll(EncoderCache.java:693)
> at org.infinispan.remote-query.server:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.query.remote.impl.ProtobufMetadataManagerImpl.registerProtofiles(ProtobufMetadataManagerImpl.java:166)
> Caused by: org.infinispan.util.concurrent.TimeoutException: ISPN000476: Timed out waiting for responses for request 3411 from node1
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.remoting.transport.impl.MultiTargetRequest.onTimeout(MultiTargetRequest.java:167)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.remoting.transport.AbstractRequest.call(AbstractRequest.java:87)
> at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.remoting.transport.AbstractRequest.call(AbstractRequest.java:22)
> at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
> ... 3 more
> {noformat}
> {{enterSynchronizationAsync()}} doesn't have any timeout. When the prepare times out on the originator and it sends a {{RollbackCommand}} to all the affected nodes, the {{RollbackCommand}} will hang as well. However, because {{ProtobufMetadataManagerImpl}} configures the protobuf metadata cache with {{invocationBatching().enable()}}, it uses {{Synchronization}}, and all the exceptions are hidden from the user.
> The failure can still causes failures later in {{RemoteQueryDescriptorIT}}:
> {noformat}
> 00:57:59.423 [ERROR] testDescriptorPropagation(org.infinispan.server.test.query.RemoteQueryDescriptorIT) Time elapsed: 38.848 s <<< FAILURE!
> java.lang.AssertionError
> at org.infinispan.server.test.query.RemoteQueryDescriptorIT.registerProtoOnServer1(RemoteQueryDescriptorIT.java:83)
> at org.infinispan.server.test.query.RemoteQueryDescriptorIT.testDescriptorPropagation(RemoteQueryDescriptorIT.java:59)
> {noformat}
> Interesting enough, it never fails when running all the tests in {{server/integration/testsuite}} on master, but it fails when running only {{RemoteQueryDescriptorIT}} with {{mvn verify -pl server/integration/testsuite -Dit.test=RemoteQueryDescriptorIT -Psuite.queries}}, and it also fails when running all the tests after I removed {{StringBasedStoreMultinodeIT.testSingleton}}. Maybe it's because multiple ITs share the same global state persistence location?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months
[JBoss JIRA] (ISPN-10269) ProtobufMetadataManagerImpl.registerProtofiles always times out
by Dan Berindei (Jira)
Dan Berindei created ISPN-10269:
-----------------------------------
Summary: ProtobufMetadataManagerImpl.registerProtofiles always times out
Key: ISPN-10269
URL: https://issues.jboss.org/browse/ISPN-10269
Project: Infinispan
Issue Type: Bug
Components: Remote Querying, Test Suite - Query
Affects Versions: 10.0.0.Beta3
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 10.0.0.Beta4
{{ProtobufMetadataManagerImpl.registerProtofiles()}} uses {{protobufSchemaCache.putAll(files)}} under the covers, and because of a bug {{ProtobufMetadataManagerInterceptor.visitPutMapCommand()}} it tries to lock the {{.errors}} key both on the originator and on the remote nodes (during remote prepare). The {{LockControlCommand}} goes through {{TransactionSynchronizerInterceptor}} and tries to "lock" the transaction with {{enterSynchronizationAsync()}}, but it hangs because the {{PrepareCommand}} invocation can't continue and complete its {{releaseFuture}}.
{noformat}
00:59:56,177 ERROR [org.infinispan.transaction.impl.TransactionCoordinator] (pool-8-thread-1) ISPN000097: Error while processing a prepare in a single-phase transaction: org.infinispan.util.concurrent.TimeoutException: ISPN000476: Timed out waiting for responses for request 3411 from node1
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:263)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.transaction.impl.TransactionCoordinator.commit(TransactionCoordinator.java:159)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.transaction.impl.TransactionTable.afterCompletion(TransactionTable.java:870)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.transaction.synchronization.SynchronizationAdapter.afterCompletion(SynchronizationAdapter.java:33)
at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.AbstractTransaction.performConsumer(AbstractTransaction.java:223)
at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.AbstractTransaction$AssociatingSynchronization.afterCompletion(AbstractTransaction.java:306)
at org.jboss.jts@5.9.0.Final//com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:96)
at org.jboss.jts@5.9.0.Final//com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:545)
at org.jboss.jts@5.9.0.Final//com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.end(TwoPhaseCoordinator.java:101)
at org.jboss.jts@5.9.0.Final//com.arjuna.ats.arjuna.AtomicAction.commit(AtomicAction.java:162)
at org.jboss.jts@5.9.0.Final//com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1288)
at org.jboss.jts@5.9.0.Final//com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:126)
at org.jboss.jts.integration@5.9.0.Final//com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:89)
at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.LocalTransaction.commitAndDissociate(LocalTransaction.java:77)
at org.wildfly.transaction.client@1.1.2.Final//org.wildfly.transaction.client.ContextTransactionManager.commit(ContextTransactionManager.java:71)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.tryCommit(CacheImpl.java:1981)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.executeCommandWithInjectedTx(CacheImpl.java:1901)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.executeCommandAndCommitIfNeeded(CacheImpl.java:1874)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.putAll(CacheImpl.java:1458)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.putAll(CacheImpl.java:2005)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.CacheImpl.putAll(CacheImpl.java:469)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.AbstractDelegatingCache.putAll(AbstractDelegatingCache.java:459)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.cache.impl.EncoderCache.putAll(EncoderCache.java:693)
at org.infinispan.remote-query.server:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.query.remote.impl.ProtobufMetadataManagerImpl.registerProtofiles(ProtobufMetadataManagerImpl.java:166)
Caused by: org.infinispan.util.concurrent.TimeoutException: ISPN000476: Timed out waiting for responses for request 3411 from node1
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.remoting.transport.impl.MultiTargetRequest.onTimeout(MultiTargetRequest.java:167)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.remoting.transport.AbstractRequest.call(AbstractRequest.java:87)
at org.infinispan.core:ispn-10.0@10.0.0-SNAPSHOT//org.infinispan.remoting.transport.AbstractRequest.call(AbstractRequest.java:22)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
... 3 more
{noformat}
{{enterSynchronizationAsync()}} doesn't have any timeout. When the prepare times out on the originator and it sends a {{RollbackCommand}} to all the affected nodes, the {{RollbackCommand}} will hang as well. However, because {{ProtobufMetadataManagerImpl}} configures the protobuf metadata cache with {{invocationBatching().enable()}}, it uses {{Synchronization}}, and all the exceptions are hidden from the user.
The failure can still causes failures later in {{RemoteQueryDescriptorIT}}:
{noformat}
00:57:59.423 [ERROR] testDescriptorPropagation(org.infinispan.server.test.query.RemoteQueryDescriptorIT) Time elapsed: 38.848 s <<< FAILURE!
java.lang.AssertionError
at org.infinispan.server.test.query.RemoteQueryDescriptorIT.registerProtoOnServer1(RemoteQueryDescriptorIT.java:83)
at org.infinispan.server.test.query.RemoteQueryDescriptorIT.testDescriptorPropagation(RemoteQueryDescriptorIT.java:59)
{noformat}
Interesting enough, it never fails when running all the tests in {{server/integration/testsuite}} on master, but it fails when running only {{RemoteQueryDescriptorIT}} with {{mvn verify -pl server/integration/testsuite -Dit.test=RemoteQueryDescriptorIT -Psuite.queries}}, and it also fails when running all the tests after I removed {{StringBasedStoreMultinodeIT.testSingleton}}. Maybe it's because multiple ITs share the same global state persistence location?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 10 months