[JBoss JIRA] (ISPN-10141) Disable RocksDB*Test and LevelDB*Test for unsupported platform
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10141?page=com.atlassian.jira.plugin... ]
Diego Lovison commented on ISPN-10141:
--------------------------------------
According to Dan Berindei we can use {{-Dsurefire.excludesFile=yourfile}}
{noformat}
echo "**/RocksDBReaderTest.java,**/LevelDBStoreTest.java,**/RocksDBStoreTest.java" > foo.txt
mvn verify -pl persistence/rocksdb,persistence/leveldb,tools -Dsurefire.excludesFile=/Users/dlovison/Documents/GitHub/infinispan/jdg/foo.txt > log.txt
{noformat}
> Disable RocksDB*Test and LevelDB*Test for unsupported platform
> --------------------------------------------------------------
>
> Key: ISPN-10141
> URL: https://issues.jboss.org/browse/ISPN-10141
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> If the Operational System doesn't contains {{GLIBC_2.14}} skip RocksDBReaderTest, LevelDBStoreTest, RocksDBStoreTest
> {noformat}
> java.lang.NoClassDefFoundError: org.rocksdb.DBOptions (initialization failure)
> at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:96)
> at org.infinispan.persistence.rocksdb.RocksDBStore.dataDbOptions(RocksDBStore.java:155)
> at org.infinispan.persistence.rocksdb.RocksDBStore.start(RocksDBStore.java:121)
> at org.infinispan.persistence.BaseStoreTest.setUp(BaseStoreTest.java:79)
> at java.util.concurrent.FutureTask.run(FutureTask.java:277)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.lang.Thread.run(Thread.java:812)
> Caused by: java.lang.UnsatisfiedLinkError: /home/jenkins/workspace/jdg-7.3.x-jdg-func-ispn-testsuite-flaky-tests/6eab5da7/infinispan/persistence/leveldb/target/librocksdbjni7161794121621539720.so (/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/jenkins/workspace/jdg-7.3.x-jdg-func-ispn-testsuite-flaky-tests/6eab5da7/infinispan/persistence/leveldb/target/librocksdbjni7161794121621539720.so))
> at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1425)
> at java.lang.System.load(System.java:571)
> at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78)
> at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56)
> at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64)
> at org.rocksdb.RocksDB.<clinit>(RocksDB.java:35)
> at org.rocksdb.DBOptions.<clinit>(DBOptions.java:21)
> ... 26 more
> ... Removed 19 stack frames
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10141) Disable RocksDB*Test and LevelDB*Test for unsupported platform
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10141?page=com.atlassian.jira.plugin... ]
Diego Lovison closed ISPN-10141.
--------------------------------
Resolution: Explained
> Disable RocksDB*Test and LevelDB*Test for unsupported platform
> --------------------------------------------------------------
>
> Key: ISPN-10141
> URL: https://issues.jboss.org/browse/ISPN-10141
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 9.4.12.Final, 10.0.0.Beta3
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> If the Operational System doesn't contains {{GLIBC_2.14}} skip RocksDBReaderTest, LevelDBStoreTest, RocksDBStoreTest
> {noformat}
> java.lang.NoClassDefFoundError: org.rocksdb.DBOptions (initialization failure)
> at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:96)
> at org.infinispan.persistence.rocksdb.RocksDBStore.dataDbOptions(RocksDBStore.java:155)
> at org.infinispan.persistence.rocksdb.RocksDBStore.start(RocksDBStore.java:121)
> at org.infinispan.persistence.BaseStoreTest.setUp(BaseStoreTest.java:79)
> at java.util.concurrent.FutureTask.run(FutureTask.java:277)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> at java.lang.Thread.run(Thread.java:812)
> Caused by: java.lang.UnsatisfiedLinkError: /home/jenkins/workspace/jdg-7.3.x-jdg-func-ispn-testsuite-flaky-tests/6eab5da7/infinispan/persistence/leveldb/target/librocksdbjni7161794121621539720.so (/lib64/libc.so.6: version `GLIBC_2.14' not found (required by /home/jenkins/workspace/jdg-7.3.x-jdg-func-ispn-testsuite-flaky-tests/6eab5da7/infinispan/persistence/leveldb/target/librocksdbjni7161794121621539720.so))
> at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1425)
> at java.lang.System.load(System.java:571)
> at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78)
> at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56)
> at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64)
> at org.rocksdb.RocksDB.<clinit>(RocksDB.java:35)
> at org.rocksdb.DBOptions.<clinit>(DBOptions.java:21)
> ... 26 more
> ... Removed 19 stack frames
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10334) Prevent some tests to be running
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10334?page=com.atlassian.jira.plugin... ]
Diego Lovison updated ISPN-10334:
---------------------------------
Status: Open (was: Pull Request Sent)
According to [~dan.berindei] we can use {{-Dsurefire.excludesFile=yourfile}}
{noformat}
echo "**/RocksDBReaderTest.java,**/LevelDBStoreTest.java,**/RocksDBStoreTest.java" > foo.txt
mvn verify -pl persistence/rocksdb,persistence/leveldb,tools -Dsurefire.excludesFile=/Users/dlovison/Documents/GitHub/infinispan/jdg/foo.txt > log.txt
{noformat}
> Prevent some tests to be running
> --------------------------------
>
> Key: ISPN-10334
> URL: https://issues.jboss.org/browse/ISPN-10334
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.0.Beta3, 9.4.15.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> The Maven documentation says that we can prevent some tests to be running using:
> mvn clean install -Dtest="*,!MyTest"
> The problem is that it returns the following exception when executing: mvn verify -pl persistence/rocksdb -Dtest=*,!MyTest"
> {noformat}
> java.lang.NoClassDefFoundError: org/junit/rules/TestRule
> at java.base/java.lang.ClassLoader.defineClass1(Native Method)
> at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
> at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
> at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)
> at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:700)
> at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:623)
> at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
> at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> at org.apache.maven.surefire.util.DefaultScanResult.loadClass(DefaultScanResult.java:136)
> at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:100)
> at org.apache.maven.surefire.testng.TestNGProvider.scanClassPath(TestNGProvider.java:235)
> at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:136)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
> at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
> Caused by: java.lang.ClassNotFoundException: org.junit.rules.TestRule
> at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
> at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> ... 17 more
> {noformat}
> If we add the junit dependecy in persistence/rocksdb/pom.xml it starts running the test but the filter is not applied.
> Different filters were used in other to exclude that test but no one works.
> I am proposing the PR in other to allow that behavior in ISPN
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10334) Prevent some tests to be running
by Diego Lovison (Jira)
[ https://issues.jboss.org/browse/ISPN-10334?page=com.atlassian.jira.plugin... ]
Diego Lovison closed ISPN-10334.
--------------------------------
Resolution: Explained
> Prevent some tests to be running
> --------------------------------
>
> Key: ISPN-10334
> URL: https://issues.jboss.org/browse/ISPN-10334
> Project: Infinispan
> Issue Type: Enhancement
> Affects Versions: 10.0.0.Beta3, 9.4.15.Final
> Reporter: Diego Lovison
> Assignee: Diego Lovison
> Priority: Major
>
> The Maven documentation says that we can prevent some tests to be running using:
> mvn clean install -Dtest="*,!MyTest"
> The problem is that it returns the following exception when executing: mvn verify -pl persistence/rocksdb -Dtest=*,!MyTest"
> {noformat}
> java.lang.NoClassDefFoundError: org/junit/rules/TestRule
> at java.base/java.lang.ClassLoader.defineClass1(Native Method)
> at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
> at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)
> at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:802)
> at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:700)
> at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:623)
> at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
> at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> at org.apache.maven.surefire.util.DefaultScanResult.loadClass(DefaultScanResult.java:136)
> at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:100)
> at org.apache.maven.surefire.testng.TestNGProvider.scanClassPath(TestNGProvider.java:235)
> at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:136)
> at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
> at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
> Caused by: java.lang.ClassNotFoundException: org.junit.rules.TestRule
> at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
> at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
> ... 17 more
> {noformat}
> If we add the junit dependecy in persistence/rocksdb/pom.xml it starts running the test but the filter is not applied.
> Different filters were used in other to exclude that test but no one works.
> I am proposing the PR in other to allow that behavior in ISPN
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-9963) Restructure Documentation Titles
by Tristan Tarrant (Jira)
[ https://issues.jboss.org/browse/ISPN-9963?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant updated ISPN-9963:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 10.0.0.Beta4
Resolution: Done
> Restructure Documentation Titles
> --------------------------------
>
> Key: ISPN-9963
> URL: https://issues.jboss.org/browse/ISPN-9963
> Project: Infinispan
> Issue Type: Enhancement
> Components: Documentation-Core
> Reporter: Donald Naro
> Assignee: Donald Naro
> Priority: Major
> Fix For: 10.0.0.Beta4
>
>
> Restructure the layout of the documentation directory and set up new titles. Part 1 to adopt flexible customer content.
> The goal is to have a buildable set of titles created from existing content. The current chapter files from ISPN 9.x books are moved into the /topics directory where they can be divided into sections and topics (discrete units of reusable information).
> Also requires changes to the docs layout on the community website.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10332) Make sure listeners resume on the cpu thread
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-10332?page=com.atlassian.jira.plugin... ]
Dan Berindei updated ISPN-10332:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Make sure listeners resume on the cpu thread
> --------------------------------------------
>
> Key: ISPN-10332
> URL: https://issues.jboss.org/browse/ISPN-10332
> Project: Infinispan
> Issue Type: Sub-task
> Components: Core, Listeners
> Reporter: Will Burns
> Assignee: Will Burns
> Priority: Major
> Fix For: 10.0.0.Beta4
>
>
> Listeners can now be ran in a non blocking fashion. Unfortunately this means that they can complete on a completely unrelated thread, even possibly a user based thread. We need to make sure that we continue after a listener completes on the cpu thread to ensure we are doing processing correctly.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months
[JBoss JIRA] (ISPN-10262) Deprecate custom interceptors configuration
by Ryan Emerson (Jira)
[ https://issues.jboss.org/browse/ISPN-10262?page=com.atlassian.jira.plugin... ]
Ryan Emerson resolved ISPN-10262.
---------------------------------
Fix Version/s: (was: 10.0.0.Final)
Resolution: Done
> Deprecate custom interceptors configuration
> -------------------------------------------
>
> Key: ISPN-10262
> URL: https://issues.jboss.org/browse/ISPN-10262
> Project: Infinispan
> Issue Type: Task
> Components: Configuration, Core
> Affects Versions: 10.0.0.Beta3
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Major
> Fix For: 10.0.0.Beta4
>
>
> The custom interceptors support puts very hard limits on the changes we can make to our interceptors, because almost any change to our interceptors, the commands, or the invocation context will require changes to the user-defined custom interceptors as well.
> We will keep the support for modules and tests to add new interceptors, but it will no longer be part of the public API and the configuration.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 9 months