Build: https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Linux/1859/
Java: 64bit/jdk-9-ea+136 -XX:-UseCompressedOops -XX:+UseConcMarkSweepGC
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([4417100851FC5560]: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 @556f5e35
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 11456 lines...]
[junit4] Suite: org.apache.solr.schema.TestManagedSchemaThreadSafety
[junit4] 2> Creating dataDir:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/build/solr-core/test/J2/temp/solr.schema.TestManagedSchemaThreadSafety_4417100851FC5560-001/init-core-data-001
[junit4] 2> 966044 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[4417100851FC5560]-worker) [ ]
o.a.s.SolrTestCaseJ4 Randomized ssl (true) and clientAuth (true) via:
@org.apache.solr.util.RandomizeSSL(reason="", value=0.0/0.0, ssl=0.0/0.0,
clientAuth=0.0/0.0)
[junit4] 2> 966046 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[4417100851FC5560]-worker) [ ]
o.a.s.c.ZkTestServer STARTING ZK TEST SERVER
[junit4] 2> 966046 INFO (Thread-1589) [ ] o.a.s.c.ZkTestServer client
port:0.0.0.0/0.0.0.0:0
[junit4] 2> 966046 INFO (Thread-1589) [ ] o.a.s.c.ZkTestServer
Starting server
[junit4] 2> 966146 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[4417100851FC5560]-worker) [ ]
o.a.s.c.ZkTestServer start zk server on port:42981
[junit4] 2> 966147 INFO
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]) [
] o.a.s.SolrTestCaseJ4 ###Starting testThreadSafety
[junit4] 2> 966148 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]) [
] o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
[junit4] 2> 966150 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]-EventThread)
[ ] o.a.s.c.c.SolrZkClient Submitting job to respond to event WatchedEvent
state:SyncConnected type:None path:null
[junit4] 2> 966150 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]) [
] o.a.s.c.c.SolrZkClient Using default ZkACLProvider
[junit4] 2> 966151 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]) [
] o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/solrconfig.xml
[junit4] 2> 966152 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]) [
] o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/schema.xml
[junit4] 2> 966153 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]) [
] o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
[junit4] 2> 966153 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]-EventThread)
[ ] o.a.s.c.c.SolrZkClient Submitting job to respond to event WatchedEvent
state:SyncConnected type:None path:null
[junit4] 2> 966154 DEBUG
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]) [
] o.a.s.c.c.SolrZkClient Using default ZkACLProvider
[junit4] 2> 966393 INFO (threadpool-1037-thread-1) [ ]
o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.3.0
[junit4] 2> 966393 INFO (threadpool-1037-thread-2) [ ]
o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.3.0
[junit4] 2> 966404 INFO (threadpool-1037-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> 966406 INFO (threadpool-1037-thread-1) [ ]
o.a.s.s.IndexSchema [null] Schema name=minimal
[junit4] 2> 966409 INFO (threadpool-1037-thread-1) [ ]
o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id
[junit4] 2> 966410 INFO (threadpool-1037-thread-1) [ ]
o.a.s.s.ManagedIndexSchema Created and persisted managed schema znode at
/configs/managed-config/managed-schema
[junit4] 2> 966411 DEBUG (threadpool-1037-thread-1) [ ]
o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/schema.xml.bak
[junit4] 2> 966412 INFO (threadpool-1037-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> 966904 INFO (threadpool-1037-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> 966908 INFO (threadpool-1037-thread-2) [ ]
o.a.s.s.IndexSchema [null] Schema name=minimal
[junit4] 2> 966910 INFO (threadpool-1037-thread-2) [ ]
o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id
[junit4] 2> 966911 INFO
(TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[4417100851FC5560]) [
] o.a.s.SolrTestCaseJ4 ###Ending testThreadSafety
[junit4] 2> 966912 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[4417100851FC5560]-worker) [ ]
o.a.s.c.ZkTestServer connecting to 127.0.0.1:42981 42981
[junit4] 2> 966954 INFO (Thread-1589) [ ] o.a.s.c.ZkTestServer
connecting to 127.0.0.1:42981 42981
[junit4] 2> 966954 INFO
(SUITE-TestManagedSchemaThreadSafety-seed#[4417100851FC5560]-worker) [ ]
o.a.s.SolrTestCaseJ4 ###deleteCore
[junit4] 2> Oct 03, 2016 6:11:45 AM
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),
sim=RandomSimilarity(queryNorm=false,coord=no): {}, locale=pa-Guru-IN,
timezone=Indian/Chagos
[junit4] 2> NOTE: Linux 4.4.0-36-generic amd64/Oracle Corporation 9-ea
(64-bit)/cpus=12,threads=1,free=178144368,total=515899392
[junit4] 2> NOTE: All tests run in this JVM: [TestIntervalFaceting,
TestConfig, BadIndexSchemaTest, TestPhraseSuggestions, TestSolrDeletionPolicy1,
SparseHLLTest, TestSolr4Spatial2, TestXmlQParserPlugin,
TestManagedResourceStorage, LeaderFailureAfterFreshStartTest,
TestSolrCoreSnapshots, AutoCommitTest, SolrXmlInZkTest, TestCloudInspectUtil,
ShowFileRequestHandlerTest, ExitableDirectoryReaderTest, DebugComponentTest,
BigEndianAscendingWordSerializerTest, DistributedFacetPivotSmallTest,
TestFieldSortValues, DirectUpdateHandlerOptimizeTest,
TestPerFieldSimilarityClassic, TestSchemaVersionResource,
TestSolrQueryParserResource, TestConfigSetProperties,
TestLeaderRecoverFromLogOnStartup, TestMergePolicyConfig, QueryParsingTest,
DeleteStatusTest, DistributedQueryComponentOptimizationTest,
TestCollapseQParserPlugin, CoreAdminRequestStatusTest, TestFieldCache,
PreAnalyzedFieldTest, SimpleCollectionCreateDeleteTest,
TestNamedUpdateProcessors, TestFieldCacheWithThreads, CustomCollectionTest,
MigrateRouteKeyTest, PKIAuthenticationIntegrationTest,
TestSlowCompositeReaderWrapper, IgnoreCommitOptimizeUpdateProcessorFactoryTest,
CdcrReplicationHandlerTest, BlockCacheTest, TestSubQueryTransformerCrossCore,
FieldAnalysisRequestHandlerTest, TestJsonRequest, ReplaceNodeTest,
TestAnalyzedSuggestions, ConfigSetsAPITest, DistribJoinFromCollectionTest,
UnloadDistributedZkTest, TermVectorComponentDistributedTest,
CachingDirectoryFactoryTest, OpenExchangeRatesOrgProviderTest,
TestManagedSynonymFilterFactory, UpdateParamsTest, OverseerRolesTest,
DOMUtilTest, ShardSplitTest, SOLR749Test, TestManagedSchemaThreadSafety]
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestManagedSchemaThreadSafety -Dtests.seed=4417100851FC5560
-Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=pa-Guru-IN
-Dtests.timezone=Indian/Chagos -Dtests.asserts=true
-Dtests.file.encoding=ISO-8859-1
[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([4417100851FC5560]: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 @556f5e35
[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 [248/638 (1!)] on J2 in 1.18s, 1 test, 1 failure <<<
FAILURES!
[...truncated 51100 lines...]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]