Build: https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/17955/
Java: 32bit/jdk-9-ea+136 -client -XX:+UseSerialGC
1 tests failed.
FAILED:
junit.framework.TestSuite.org.apache.solr.schema.TestManagedSchemaThreadSafety
Error Message:
Clean up static fields (in @AfterClass?) and null them, your test still has
references to classes of which the sizes cannot be measured due to security
restrictions or Java 9 module encapsulation: - private static
org.apache.solr.cloud.ZkTestServer
org.apache.solr.schema.TestManagedSchemaThreadSafety.zkServer
Stack Trace:
junit.framework.AssertionFailedError: Clean up static fields (in @AfterClass?)
and null them, your test still has references to classes of which the sizes
cannot be measured due to security restrictions or Java 9 module encapsulation:
- private static org.apache.solr.cloud.ZkTestServer
org.apache.solr.schema.TestManagedSchemaThreadSafety.zkServer
at __randomizedtesting.SeedInfo.seed([714F0B54C3F17EDF]:0)
at
com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule$1.afterAlways(StaticFieldsInvariantRule.java:146)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:43)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
at
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
at
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:367)
at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
Caused by: java.lang.IllegalStateException: Unable to access 'private final
sun.nio.ch.FileDispatcher sun.nio.ch.FileChannelImpl.nd' to estimate memory
usage
at
com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.createCacheEntry(RamUsageEstimator.java:602)
at
com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.measureSizeOf(RamUsageEstimator.java:545)
at
com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.sizeOfAll(RamUsageEstimator.java:387)
at
com.carrotsearch.randomizedtesting.rules.StaticFieldsInvariantRule$1.afterAlways(StaticFieldsInvariantRule.java:129)
... 10 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make member
of class sun.nio.ch.FileChannelImpl accessible: module java.base does not
export sun.nio.ch to unnamed module @5a3f96
at
jdk.internal.reflect.Reflection.throwInaccessibleObjectException(java.base@9-ea/Reflection.java:414)
at
java.lang.reflect.AccessibleObject.checkCanSetAccessible(java.base@9-ea/AccessibleObject.java:174)
at
java.lang.reflect.Field.checkCanSetAccessible(java.base@9-ea/Field.java:171)
at java.lang.reflect.Field.setAccessible(java.base@9-ea/Field.java:165)
at
com.carrotsearch.randomizedtesting.rules.RamUsageEstimator$3.run(RamUsageEstimator.java:597)
at
com.carrotsearch.randomizedtesting.rules.RamUsageEstimator$3.run(RamUsageEstimator.java:594)
at java.security.AccessController.doPrivileged(java.base@9-ea/Native
Method)
at
com.carrotsearch.randomizedtesting.rules.RamUsageEstimator.createCacheEntry(RamUsageEstimator.java:594)
... 13 more
Build Log:
[...truncated 10628 lines...]
[junit4] Suite: org.apache.solr.schema.TestManagedSchemaThreadSafety
[junit4] 2> Creating dataDir:
/home/jenkins/workspace/Lucene-Solr-master-Linux/solr/build/solr-core/test/J2/temp/solr.schema.TestManagedSchemaThreadSafety_714F0B54C3F17EDF-001/init-core-data-001
[junit4] 2> 127426 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[714F0B54C3F17EDF]-worker) [ ]
o.a.s.SolrTestCaseJ4 Randomized ssl (false) and clientAuth (false) via:
@org.apache.solr.util.RandomizeSSL(reason="", ssl=0.0/0.0, value=0.0/0.0,
clientAuth=0.0/0.0)
[junit4] 2> 127426 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[714F0B54C3F17EDF]-worker) [ ]
o.a.s.c.ZkTestServer STARTING ZK TEST SERVER
[junit4] 2> 127426 INFO (Thread-207) [ ] o.a.s.c.ZkTestServer client
port:0.0.0.0/0.0.0.0:0
[junit4] 2> 127426 INFO (Thread-207) [ ] o.a.s.c.ZkTestServer Starting
server
[junit4] 2> 127526 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[714F0B54C3F17EDF]-worker) [ ]
o.a.s.c.ZkTestServer start zk server on port:42912
[junit4] 2> 127528 INFO
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]) [
] o.a.s.SolrTestCaseJ4 ###Starting testThreadSafety
[junit4] 2> 127529 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]) [
] o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
[junit4] 2> 127531 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]-EventThread)
[ ] o.a.s.c.c.SolrZkClient Submitting job to respond to event WatchedEvent
state:SyncConnected type:None path:null
[junit4] 2> 127532 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]) [
] o.a.s.c.c.SolrZkClient Using default ZkACLProvider
[junit4] 2> 127533 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]) [
] o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/solrconfig.xml
[junit4] 2> 127535 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]) [
] o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/schema.xml
[junit4] 2> 127536 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]) [
] o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
[junit4] 2> 127536 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]-EventThread)
[ ] o.a.s.c.c.SolrZkClient Submitting job to respond to event WatchedEvent
state:SyncConnected type:None path:null
[junit4] 2> 127537 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]) [
] o.a.s.c.c.SolrZkClient Using default ZkACLProvider
[junit4] 2> 127807 INFO (threadpool-153-thread-2) [ ]
o.a.s.c.SolrConfig Using Lucene MatchVersion: 7.0.0
[junit4] 2> 127815 INFO (threadpool-153-thread-1) [ ]
o.a.s.c.SolrConfig Using Lucene MatchVersion: 7.0.0
[junit4] 2> 127818 INFO (threadpool-153-thread-1) [ ]
o.a.s.s.ManagedIndexSchemaFactory The schema is configured as managed, but
managed schema resource managed-schema not found - loading non-managed schema
schema.xml instead
[junit4] 2> 127823 INFO (threadpool-153-thread-1) [ ]
o.a.s.s.IndexSchema [null] Schema name=minimal
[junit4] 2> 127825 INFO (threadpool-153-thread-1) [ ]
o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id
[junit4] 2> 127832 INFO (threadpool-153-thread-1) [ ]
o.a.s.s.ManagedIndexSchema Created and persisted managed schema znode at
/configs/managed-config/managed-schema
[junit4] 2> 127833 DEBUG (threadpool-153-thread-1) [ ]
o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/schema.xml.bak
[junit4] 2> 127834 INFO (threadpool-153-thread-1) [ ]
o.a.s.s.ManagedIndexSchemaFactory After upgrading to managed schema in
ZooKeeper, renamed the non-managed schema /configs/managed-config/schema.xml to
/configs/managed-config/schema.xml.bak
[junit4] 2> 128318 INFO (threadpool-153-thread-2) [ ]
o.a.s.s.ManagedIndexSchemaFactory The schema is configured as managed, but
managed schema resource managed-schema not found - loading non-managed schema
schema.xml instead
[junit4] 2> 128322 INFO (threadpool-153-thread-2) [ ]
o.a.s.s.IndexSchema [null] Schema name=minimal
[junit4] 2> 128323 INFO (threadpool-153-thread-2) [ ]
o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id
[junit4] 2> 128324 INFO
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[714F0B54C3F17EDF]) [
] o.a.s.SolrTestCaseJ4 ###Ending testThreadSafety
[junit4] 2> 128324 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[714F0B54C3F17EDF]-worker) [ ]
o.a.s.c.ZkTestServer connecting to 127.0.0.1:42912 42912
[junit4] 2> 128339 INFO (Thread-207) [ ] o.a.s.c.ZkTestServer
connecting to 127.0.0.1:42912 42912
[junit4] 2> 128340 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[714F0B54C3F17EDF]-worker) [ ]
o.a.s.SolrTestCaseJ4 ###deleteCore
[junit4] 2> Oct 02, 2016 10:54:54 PM
com.carrotsearch.randomizedtesting.ThreadLeakControl checkThreadLeaks
[junit4] 2> WARNING: Will linger awaiting termination of 2 leaked
thread(s).
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene62): {},
docValues:{}, maxPointsInLeafNode=620, maxMBSortInHeap=7.08769450196648,
sim=RandomSimilarity(queryNorm=false): {}, locale=sg-CF, timezone=Etc/GMT-7
[junit4] 2> NOTE: Linux 4.4.0-36-generic i386/Oracle Corporation 9-ea
(32-bit)/cpus=12,threads=1,free=83229368,total=186474496
[junit4] 2> NOTE: All tests run in this JVM: [CurrencyFieldXmlFileTest,
CircularListTest, CollectionReloadTest, TestPhraseSuggestions,
SimpleFacetsTest, SolrIndexConfigTest, SuggesterWFSTTest,
FullSolrCloudDistribCmdsTest, SimpleCollectionCreateDeleteTest, CursorMarkTest,
TestManagedSchemaThreadSafety]
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestManagedSchemaThreadSafety -Dtests.seed=714F0B54C3F17EDF
-Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=sg-CF
-Dtests.timezone=Etc/GMT-7 -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.00s J2 | TestManagedSchemaThreadSafety (suite) <<<
[junit4] > Throwable #1: junit.framework.AssertionFailedError: Clean up
static fields (in @AfterClass?) and null them, your test still has references
to classes of which the sizes cannot be measured due to security restrictions
or Java 9 module encapsulation:
[junit4] > - private static org.apache.solr.cloud.ZkTestServer
org.apache.solr.schema.TestManagedSchemaThreadSafety.zkServer
[junit4] > at
__randomizedtesting.SeedInfo.seed([714F0B54C3F17EDF]:0)
[junit4] > at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
[junit4] > Caused by: java.lang.IllegalStateException: Unable to access
'private final sun.nio.ch.FileDispatcher sun.nio.ch.FileChannelImpl.nd' to
estimate memory usage
[junit4] > ... 10 more
[junit4] > Caused by: java.lang.reflect.InaccessibleObjectException:
Unable to make member of class sun.nio.ch.FileChannelImpl accessible: module
java.base does not export sun.nio.ch to unnamed module @5a3f96
[junit4] > at
jdk.internal.reflect.Reflection.throwInaccessibleObjectException(java.base@9-ea/Reflection.java:414)
[junit4] > at
java.lang.reflect.AccessibleObject.checkCanSetAccessible(java.base@9-ea/AccessibleObject.java:174)
[junit4] > at
java.lang.reflect.Field.checkCanSetAccessible(java.base@9-ea/Field.java:171)
[junit4] > at
java.lang.reflect.Field.setAccessible(java.base@9-ea/Field.java:165)
[junit4] > at
java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
[junit4] > ... 13 more
[junit4] Completed [32/636 (1!)] on J2 in 1.45s, 1 test, 1 failure <<<
FAILURES!
[...truncated 51787 lines...]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]