[JBoss JIRA] (ISPN-4405) QueryAuthorizationTest cannot find org/apache/lucene/search/similarities/Similarity class
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4405?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-4405:
----------------------------------
Status: Pull Request Sent (was: Pull Request Sent)
Git Pull Request: https://github.com/infinispan/infinispan/pull/2629 (was: https://github.com/infinispan/infinispan/pull/2642)
> QueryAuthorizationTest cannot find org/apache/lucene/search/similarities/Similarity class
> -----------------------------------------------------------------------------------------
>
> Key: ISPN-4405
> URL: https://issues.jboss.org/browse/ISPN-4405
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Embedded Querying
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Priority: Critical
> Fix For: 7.0.0.Alpha5
>
>
> org.infinispan.security.QueryAuthorizationTest fails to start:
> {code}2014-06-16 09:37:10,650 1966 ERROR [org.infinispan.test.fwk.UnitTestTestNGListener] (testng-QueryAuthorizationTest:) Configuration method createBeforeClass(org.infinispan.security.QueryAuthorizationTest) threw an exception
> java.lang.NoClassDefFoundError: org/apache/lucene/search/similarities/Similarity
> at org.hibernate.search.spi.SearchFactoryBuilder.createCleanFactoryState(SearchFactoryBuilder.java:297)
> at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:195)
> at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:126)
> at org.infinispan.query.impl.LifecycleManager.getSearchFactory(LifecycleManager.java:230)
> at org.infinispan.query.impl.LifecycleManager.cacheStarting(LifecycleManager.java:87)
> at org.infinispan.factories.ComponentRegistry.notifyCacheStarting(ComponentRegistry.java:228)
> at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:214)
> at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:699)
> at org.infinispan.security.impl.SecureCacheImpl.start(SecureCacheImpl.java:82)
> at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:573)
> at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:528)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:408)
> at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:381)
> at org.infinispan.security.QueryAuthorizationTest$1.run(QueryAuthorizationTest.java:50)
> at org.infinispan.security.QueryAuthorizationTest$1.run(QueryAuthorizationTest.java:45)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:356)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (ISPN-4406) Stabilise security manager integration testsuite
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4406?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-4406:
----------------------------------
Status: Pull Request Sent (was: Pull Request Sent)
Git Pull Request: https://github.com/infinispan/infinispan/pull/2629 (was: https://github.com/infinispan/infinispan/pull/2642)
> Stabilise security manager integration testsuite
> ------------------------------------------------
>
> Key: ISPN-4406
> URL: https://issues.jboss.org/browse/ISPN-4406
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Security
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 7.0.0.Alpha5
>
>
> integrationtests/security-manager-it tests randomly fail, which might be related to the fact that a lot of these tests rely on static initialisation, and I think that's causing messing up between tests initialising/uninitialising these static variables. The fact that the errors are random seems to back this up.
> However, enabling sequential testing results in:
> {code}[ERROR] java.lang.SecurityException: ISPN000287: Unauthorized access: subject 'null' lacks 'LIFECYCLE' permission
> [ERROR] at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:56)
> [ERROR] at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:70)
> [ERROR] at org.infinispan.security.impl.AuthorizationHelper.checkPermission(AuthorizationHelper.java:75)
> [ERROR] at org.infinispan.manager.DefaultCacheManager.getStatus(DefaultCacheManager.java:677)
> [ERROR] at org.infinispan.test.fwk.TestCacheManagerFactory$PerThreadCacheManagers.checkManagersClosed(TestCacheManagerFactory.java:435)
> [ERROR] at org.infinispan.test.fwk.TestCacheManagerFactory.testFinished(TestCacheManagerFactory.java:422)
> [ERROR] at org.infinispan.test.fwk.UnitTestTestNGListener.onFinish(UnitTestTestNGListener.java:104){code}
> This error is also present in paralell testing but in this case it's just logged rather than halting the process.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (ISPN-4384) CacheNotifierImplInitialTransferDistTest test instability
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-4384?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-4384:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> CacheNotifierImplInitialTransferDistTest test instability
> ---------------------------------------------------------
>
> Key: ISPN-4384
> URL: https://issues.jboss.org/browse/ISPN-4384
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Core
> Reporter: William Burns
> Assignee: William Burns
> Fix For: 7.0.0.Alpha5
>
>
> There was an issue that was just recently fixed for
> However there are some other inconsistent failures as seen here
> http://ci.infinispan.org/viewLog.html?buildId=8820&tab=buildResultsDiv&bu...
> CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueNonOwnerClustered
> {code}
> java.lang.AssertionError: expected [11] but found [6]
> 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:370)
> at org.testng.Assert.assertEquals(Assert.java:380)
> at org.infinispan.notifications.cachelistener.CacheNotifierImplInitialTransferDistTest.testIterationBeganAndSegmentNotComplete(CacheNotifierImplInitialTransferDistTest.java:510)
> at org.infinispan.notifications.cachelistener.CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueNonOwnerClustered(CacheNotifierImplInitialTransferDistTest.java:600)
> 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.invokeMethod(Invoker.java:714)
> 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)
> {code}
> and CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueOwnerClustered has the same stack trace.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (ISPN-4408) Distribution ZIP file building fails
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-4408?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-4408:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 7.0.0.Alpha5
7.0.0.Final
Resolution: Done
> Distribution ZIP file building fails
> ------------------------------------
>
> Key: ISPN-4408
> URL: https://issues.jboss.org/browse/ISPN-4408
> Project: Infinispan
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Reporter: Ion Savin
> Assignee: Ion Savin
> Fix For: 7.0.0.Alpha5, 7.0.0.Final
>
>
> mvn install -P distribution
> triggers:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (build-dist-dir) on project infinispan-server-build: An Ant BuildException has occured: The following error occurred while executing this line:
> [ERROR] /home/comp_/dc/infinispan/server/integration/build/build.xml:274: Directory does not exist: /home/comp_/dc/infinispan/server/integration/build/target/infinispan-server-7.0.0-SNAPSHOT/bin
> [ERROR] around Ant part ...<ant antfile="build.xml" inheritRefs="true">... @ 4:47 in /home/comp_/dc/infinispan/server/integration/build/target/antrun/build-main.xml
> The destination directory is already present and the dependecy plugin won't overwrite it because of the explicit flag:
> [INFO] --- maven-dependency-plugin:2.8:unpack (unpack) @ infinispan-server-build ---
> [INFO] Configured Artifact: org.wildfly:wildfly-dist:?:zip
> [INFO] wildfly-dist-8.1.0.Final.zip already unpacked.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (ISPN-4414) RequestBalancingStrategy nextServer should be evolved in a backwards compatible way
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-4414?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-4414:
-----------------------------------
Description: In ISPN-3942, we changed RequestBalancingStrategy's nextServer() to receive a list of failed servers. This could be problematic for end users. Find a better, backwards compatible way to deal with this. (was: In ISPN-3942, I changed RequestBalancingStrategy's nextServer() to receive a list of failed servers. This could be problematic for end users. Find a better, backwards compatible way to deal with this.)
> RequestBalancingStrategy nextServer should be evolved in a backwards compatible way
> -----------------------------------------------------------------------------------
>
> Key: ISPN-4414
> URL: https://issues.jboss.org/browse/ISPN-4414
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Remote Protocols
> Affects Versions: 7.0.0.Alpha2
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 7.0.0.Alpha5
>
>
> In ISPN-3942, we changed RequestBalancingStrategy's nextServer() to receive a list of failed servers. This could be problematic for end users. Find a better, backwards compatible way to deal with this.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (ISPN-4414) RequestBalancingStrategy nextServer should be evolved in a backwards compatible way
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-4414?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-4414:
-----------------------------------
Summary: RequestBalancingStrategy nextServer should be evolved in a backwards compatible way (was: RequestBalancingStrategy to keep using InetSocketAddress for better backwards compatibility)
Description: In ISPN-3942, I changed RequestBalancingStrategy's nextServer() to receive a list of failed servers. This could be problematic for end users. Find a better, backwards compatible way to deal with this. (was: In ISPN-3942, I changed RequestBalancingStrategy to use SocketAddress instead of InetSocketAddress. Revert this change.)
> RequestBalancingStrategy nextServer should be evolved in a backwards compatible way
> -----------------------------------------------------------------------------------
>
> Key: ISPN-4414
> URL: https://issues.jboss.org/browse/ISPN-4414
> Project: Infinispan
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Remote Protocols
> Affects Versions: 7.0.0.Alpha2
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 7.0.0.Alpha5
>
>
> In ISPN-3942, I changed RequestBalancingStrategy's nextServer() to receive a list of failed servers. This could be problematic for end users. Find a better, backwards compatible way to deal with this.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months