[JBoss JIRA] (ISPN-11583) Cannot change to udp jgroups protocol in server test suite
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11583?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11583:
-----------------------------------
Sprint: DataGrid Sprint #42
> Cannot change to udp jgroups protocol in server test suite
> ----------------------------------------------------------
>
> Key: ISPN-11583
> URL: https://issues.redhat.com/browse/ISPN-11583
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 10.1.5.Final, 11.0.0.Dev03
> Reporter: Diego Lovison
> Assignee: Tristan Tarrant
> Priority: Critical
> Fix For: 11.0.0.Dev04, 10.1.6.Final
>
>
> When running {{mvn verify -Dit.test=HotRodCacheQueries -Dinfinispan.test.jgroups.protocol=udp -pl server/tests}} it won't be able to change to UDP because {{ClusteredServerTest.xml}} has a static value for
> {noformat}
> <xi:include href="jgroups/tcp.xml"/>
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11582) Server test driver should use pgrep instead of jps
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11582?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11582:
-----------------------------------
Sprint: DataGrid Sprint #42
> Server test driver should use pgrep instead of jps
> --------------------------------------------------
>
> Key: ISPN-11582
> URL: https://issues.redhat.com/browse/ISPN-11582
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 10.1.5.Final, 11.0.0.Dev03
> Reporter: Diego Lovison
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 11.0.0.Dev04, 10.1.6.Final
>
>
> {noformat}
> [OK: 0, KO: 0, SKIP: 0] Test starting: ResilienceIT.testUnresponsiveNode
> [0] PAUSE Container.ExecResult(exitCode=0, stdout=Paused server with PID=
> , stderr=/opt/infinispan/bin/pause.sh: line 2: jps: command not found
> kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
> )
> ]]></system-out>
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11580) Change Stopping cache manager log message to info
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11580?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11580:
-----------------------------------
Sprint: DataGrid Sprint #42
> Change Stopping cache manager log message to info
> -------------------------------------------------
>
> Key: ISPN-11580
> URL: https://issues.redhat.com/browse/ISPN-11580
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core
> Affects Versions: 11.0.0.Alpha2, 10.1.5.Final
> Reporter: Diego Lovison
> Priority: Minor
>
> When reading the logs it seems like there is a change in the member list after the exception
> {noformat}
> 09:37:35,805 ERROR (jgroups-10,Diegos-MacBook-Pro-16945) [InvocationContextInterceptor] ISPN000136: Error executing command LockControlCommand on Cache 'pessimisticTxCache', writing keys [] org.infinispan.remoting.RemoteException: ISPN000217: Received exception from Diegos-MacBook-Pro-7263, see cause for remote stack trace
> at org.infinispan.remoting.transport.ResponseCollectors.wrapRemoteException(ResponseCollectors.java:25)
> at org.infinispan.remoting.transport.impl.MapResponseCollector.addException(MapResponseCollector.java:64)
> at org.infinispan.remoting.transport.impl.MapResponseCollector$IgnoreLeavers.addException(MapResponseCollector.java:102)
> at org.infinispan.remoting.transport.ValidResponseCollector.addResponse(ValidResponseCollector.java:29)
> at org.infinispan.remoting.transport.impl.MultiTargetRequest.onResponse(MultiTargetRequest.java:93)
> at org.infinispan.remoting.transport.impl.RequestRepository.addResponse(RequestRepository.java:52)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processResponse(JGroupsTransport.java:1435)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.processMessage(JGroupsTransport.java:1338)
> at org.infinispan.remoting.transport.jgroups.JGroupsTransport.access$300(JGroupsTransport.java:132)
> 09:37:51,106 INFO (main) [CLUSTER] [Context=org.infinispan.CONFIG] ISPN100008: Updating cache members list [Diegos-MacBook-Pro-7263], topology id 6
> 09:37:51,177 INFO (main) [CLUSTER] [Context=partitionHandlingCache] ISPN100008: Updating cache members list [Diegos-MacBook-Pro-7263], topology id 6
> {noformat}
> Change DefaultCacheManager:internalStop log message to info
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11574) Automatic server authentication configuration
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11574?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11574:
-----------------------------------
Sprint: DataGrid Sprint #42
> Automatic server authentication configuration
> ---------------------------------------------
>
> Key: ISPN-11574
> URL: https://issues.redhat.com/browse/ISPN-11574
> Project: Infinispan
> Issue Type: Enhancement
> Components: Security, Server
> Affects Versions: 11.0.0.Dev03
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Priority: Major
> Fix For: 11.0.0.Dev04
>
>
> if the <endpoint> is configured with a security realm, authentication should be enabled automatically based on the security realm stores.
> Default mechs for Hot Rod:
> * SCRAM-SHA-512 SCRAM-SHA-384 SCRAM-SHA-256 SCRAM-SHA-1 DIGEST-SHA-512 DIGEST-SHA-384 DIGEST-SHA-256 DIGEST-SHA DIGEST-MD5
> Default mechs for HTTP:
> * DIGEST
> *PLAIN/BASIC will only be enabled if TLS is also enabled
> * EXTERNAL/CLIENT_CERT will only be enabled if TLS is enabled and require-ssl-client-auth="true"
> * GSSAPI/GS2-KRB5/SPNEGO will only be enabled if a kerberos realm is present
> * OAUTHBEARER/BEARER_TOKEN will only be enabled if a token realm is present
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11299) Stale values can be indexed during State Transfer
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11299?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11299:
-----------------------------------
Sprint: DataGrid Sprint #42
> Stale values can be indexed during State Transfer
> -------------------------------------------------
>
> Key: ISPN-11299
> URL: https://issues.redhat.com/browse/ISPN-11299
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 10.1.1.Final, 11.0.0.Alpha1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Priority: Major
>
> If an operation is discarded during state transfer because it was already modified locally, the QueryInterceptor still propagates it to the index, leaving the index out of sync.
> Sequence of events:
> * T1: State Transfer starts
> * T2: The EWI (EntryWrappingInterceptor) starts tracking all non-state-transfer operations
> * T3: An entry is added locally
> * T4: EWI stores the key
> * T5: The same key arrives from State Transfer
> * T6: QueryInterceptor indexes it (The QI is installed after EWI but indexing happens before storing the entry in the data container)
> * T7: The entry operation is not committed in the data container since it was tracked before as DiscardPolicy{discardStateTransfer=true, discardXSiteStateTransfer=false}
> * T8: The index and the data container differ, since the index applied the state transfer operation when the data container didn't
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11586) CNFE when using testdriver in ServerRunMode.EMBEDDED mode
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11586?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11586:
-----------------------------------
Sprint: DataGrid Sprint #42
> CNFE when using testdriver in ServerRunMode.EMBEDDED mode
> ---------------------------------------------------------
>
> Key: ISPN-11586
> URL: https://issues.redhat.com/browse/ISPN-11586
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 10.1.5.Final, 11.0.0.Dev03
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Major
> Fix For: 11.0.0.Dev04, 10.1.6.Final
>
>
> {noformat}
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 8.866 sec <<< FAILURE!
> org.infinispan.playground.server.testdriver.InfinispanServerTest Time elapsed: 8.864 sec <<< ERROR!
> java.lang.NoClassDefFoundError: org/infinispan/test/TestingUtil
> at org.infinispan.server.test.core.EmbeddedInfinispanServerDriver.start(EmbeddedInfinispanServerDriver.java:69)
> at org.infinispan.server.test.core.AbstractInfinispanServerDriver.start(AbstractInfinispanServerDriver.java:110)
> at org.infinispan.server.test.junit4.InfinispanServerRule$1.evaluate(InfinispanServerRule.java:83)
> at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
> 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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
> Caused by: java.lang.ClassNotFoundException: org.infinispan.test.TestingUtil
> at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
> ... 17 more
> Results :
> Tests in error:
> org.infinispan.playground.server.testdriver.InfinispanServerTest: org/infinispan/test/TestingUtil
> {noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years
[JBoss JIRA] (ISPN-11485) No Server logs after shutdownHook has been called
by Tristan Tarrant (Jira)
[ https://issues.redhat.com/browse/ISPN-11485?page=com.atlassian.jira.plugi... ]
Tristan Tarrant updated ISPN-11485:
-----------------------------------
Sprint: DataGrid Sprint #41, DataGrid Sprint #42 (was: DataGrid Sprint #41)
> No Server logs after shutdownHook has been called
> -------------------------------------------------
>
> Key: ISPN-11485
> URL: https://issues.redhat.com/browse/ISPN-11485
> Project: Infinispan
> Issue Type: Bug
> Components: Server
> Affects Versions: 11.0.0.Alpha2, 10.1.5.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.Dev04, 10.1.6.Final
>
>
> When a server process receives a SIGTERM it simply logs the following, regardless of the log configuration:
> {code}
> INFO (Thread-0) [org.infinispan.SERVER] ISPN080002: Infinispan Server stopping
> INFO (Thread-0) [org.infinispan.SERVER] ISPN080002: Infinispan Server stopped
> {code}
> This is because Log4j registers a shutdownHook with the runtime in order to cleanup log resources. In order to aid server debugging, we should [disable this shutdownHook|https://logging.apache.org/log4j/2.x/manual/configuration.html] and manually shutdown the Log4j LogManager.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years