[JBoss JIRA] (ISPN-4794) Ant errors in some modules with partial builds (mvn -am -pl)
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-4794?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-4794:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Ant errors in some modules with partial builds (mvn -am -pl)
> ------------------------------------------------------------
>
> Key: ISPN-4794
> URL: https://issues.jboss.org/browse/ISPN-4794
> Project: Infinispan
> Issue Type: Bug
> Components: Build process
> Affects Versions: 7.0.0.Beta2
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Fix For: 7.0.0.Final
>
>
> I often want to run the tests in a particular module, so I run a command similar to this to build that module and its dependencies:
> {{mvn clean && mvn install -DskipTests -am -pl integrationtests/as-integration-client}}
> That doesn't work, and I get an Ant error message:
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-distros-and-configs) on project infinispan-as-module-client-integrationtests: An Ant BuildException has occured: The following error occurred while executing this line:
> [ERROR] /home/dan/Work/logs/infinispan/integrationtests/as-integration-client/build.xml:16: /home/dan/Work/logs/infinispan/server/integration/build/target/infinispan-server-7.0.0-SNAPSHOT does not exist.
> [ERROR] around Ant part ...<ant antfile="build.xml" target="create_distro"/>... @ 4:52 in /home/dan/Work/logs/infinispan/integrationtests/as-integration-client/target/antrun/build-main.xml
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (generate-distros-and-configs) on project infinispan-as-module-client-integrationtests: An Ant BuildException has occured: The following error occurred while executing this line:
> /home/dan/Work/logs/infinispan/integrationtests/as-integration-client/build.xml:16: /home/dan/Work/logs/infinispan/server/integration/build/target/infinispan-server-7.0.0-SNAPSHOT does not exist.
> around Ant part ...<ant antfile="build.xml" target="create_distro"/>... @ 4:52 in /home/dan/Work/logs/infinispan/integrationtests/as-integration-client/target/antrun/build-main.xml
> {noformat}
> Running {{mvn clean && mvn install -DskipTests}} works fine, so there must be some bad interaction between the Ant build scripts and the partial build system in Maven.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month
[JBoss JIRA] (ISPN-4869) RestStoreParallelIterationTest.clearContent random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-4869?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-4869:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> RestStoreParallelIterationTest.clearContent random failures
> -----------------------------------------------------------
>
> Key: ISPN-4869
> URL: https://issues.jboss.org/browse/ISPN-4869
> Project: Infinispan
> Issue Type: Bug
> Components: Server, Test Suite - Server
> Affects Versions: 7.0.0.CR1
> Reporter: Dan Berindei
> Assignee: Galder Zamarreño
> Priority: Blocker
> Labels: testsuite_stability
> Fix For: 7.0.0.Final
>
>
> {noformat}
> org.infinispan.persistence.spi.PersistenceException: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:18180 refused
> at org.infinispan.persistence.rest.RestStore.clear(RestStore.java:182)
> at org.infinispan.persistence.manager.PersistenceManagerImpl.clearAllStores(PersistenceManagerImpl.java:385)
> at org.infinispan.test.TestingUtil.clearCacheLoader(TestingUtil.java:677)
> at org.infinispan.test.TestingUtil.clearContent(TestingUtil.java:631)
> at org.infinispan.test.SingleCacheManagerTest.clearContent(SingleCacheManagerTest.java:79)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
> at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:786)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
> Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:18180 refused
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190)
> at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
> at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:644)
> at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
> at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:827)
> at org.infinispan.persistence.rest.RestStore.clear(RestStore.java:179)
> ... 26 more
> Caused by: java.net.ConnectException: Cannot assign requested address
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
> at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
> at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
> at java.net.Socket.connect(Socket.java:579)
> at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
> ... 32 more
> {noformat}
> Failing only on the internal CI agents.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month
[JBoss JIRA] (ISPN-4906) Test subject externalizers in clustered mode
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-4906?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-4906:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.Final
Resolution: Done
> Test subject externalizers in clustered mode
> --------------------------------------------
>
> Key: ISPN-4906
> URL: https://issues.jboss.org/browse/ISPN-4906
> Project: Infinispan
> Issue Type: Feature Request
> Components: Test Suite - Server
> Reporter: Vojtech Juranek
> Assignee: Vojtech Juranek
> Fix For: 7.0.0.Final
>
>
> Verify that authorization mask is properly transferred between the node, i.e. subject externalizers work.
> The test scenario could be as follows:
> 1. start HR server, 2. client authenticates itself to the server, 3. another server joins the cluster, 4. the first server is turned off, 5. HR client authenticate to the second server 6. verify HR client is properly authorized on second server.
> Should be done for different subjects to verify different subject externalizers.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month
[JBoss JIRA] (ISPN-4076) RHQ server plugin: bytesRead and bytesWritten stats are broken
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-4076?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-4076:
-----------------------------------
Fix Version/s: (was: 7.0.0.Final)
(was: 7.0.0.Alpha2)
> RHQ server plugin: bytesRead and bytesWritten stats are broken
> --------------------------------------------------------------
>
> Key: ISPN-4076
> URL: https://issues.jboss.org/browse/ISPN-4076
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 7.0.0.Alpha1
> Reporter: Tomas Sykora
> Assignee: Tomas Sykora
> Labels: 630
>
> resource path: subsystem=endpoint
> and underlined connectors provides statistics: bytesRead, bytesWritten.
> However plugin asks for bytes-read and bytes-written which is wrong. Small change in map in MetricsRemappingComponent is needed.
> + We will remove monitoring of those statistics for REST endpoint, as this endpoint does not provide those statistics at all.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month
[JBoss JIRA] (ISPN-3939) Improve test coverage for for x-site configuration parsing
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-3939?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-3939:
-----------------------------------
Fix Version/s: (was: 7.0.0.Final)
> Improve test coverage for for x-site configuration parsing
> ----------------------------------------------------------
>
> Key: ISPN-3939
> URL: https://issues.jboss.org/browse/ISPN-3939
> Project: Infinispan
> Issue Type: Bug
> Components: Cross-Site Replication, Server, Test Suite - Server
> Affects Versions: 6.0.1.Final
> Reporter: Dan Berindei
>
> Need to verify if this NPE can still occur: https://community.jboss.org/message/837370#837370
> {noformat}
> 17:22:41,798 WARN [org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher] (Incoming-2,shared=tcp) ISPN000071: Caught exception when handling command SingleRpcCommand{cacheName='importantCache', command=PutKeyValueCommand{key=1, value=[B@363f983f, flags=null, putIfAbsent=false, metadata=MimeMetadata(contentType=text/plain), successful=true, ignorePreviousValue=false}}: java.lang.NullPointerException
> at org.infinispan.xsite.BackupReceiverRepositoryImpl.isBackupForRemoteCache(BackupReceiverRepositoryImpl.java:112) [infinispan-core-6.0.0.Alpha4.jar:6.0.0.Alpha4]
> at org.infinispan.xsite.BackupReceiverRepositoryImpl.getBackupCacheManager(BackupReceiverRepositoryImpl.java:95) [infinispan-core-6.0.0.Alpha4.jar:6.0.0.Alpha4]
> at org.infinispan.xsite.BackupReceiverRepositoryImpl.handleRemoteCommand(BackupReceiverRepositoryImpl.java:67) [infinispan-core-6.0.0.Alpha4.jar:6.0.0.Alpha4]
> at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.executeCommandFromRemoteSite(CommandAwareRpcDispatcher.java:234) [infinispan-core-6.0.0.Alpha4.jar:6.0.0.Alpha4]
> at org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher.handle(CommandAwareRpcDispatcher.java:209) [infinispan-core-6.0.0.Alpha4.jar:6.0.0.Alpha4]
> at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:460) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.blocks.RequestCorrelator.receiveMessage(RequestCorrelator.java:377) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.blocks.RequestCorrelator.receive(RequestCorrelator.java:247) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:665) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.blocks.mux.MuxUpHandler.up(MuxUpHandler.java:130) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.JChannel.up(JChannel.java:719) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1002) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.protocols.relay.RELAY2.deliver(RELAY2.java:612) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.protocols.relay.RELAY2.route(RELAY2.java:508) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.protocols.relay.RELAY2.handleMessage(RELAY2.java:483) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.protocols.relay.RELAY2.handleRelayMessage(RELAY2.java:461) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.protocols.relay.Relayer$Bridge.receive(Relayer.java:263) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> at org.jgroups.JChannel.up(JChannel.java:749) [jgroups-3.4.0.Alpha1.jar:3.4.0.Alpha1]
> ...
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
10 years, 1 month