I will fix 03 окт. 2016 г. 6:47 пользователь "Policeman Jenkins Server" < [email protected]> написал:
> Build: https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Linux/1858/ > Java: 32bit/jdk-9-ea+136 -server -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([12547A5B9D433BC9]: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 @18b9f9 > at jdk.internal.reflect.Reflection.throwInaccessibleObjectExcepti > on(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 10919 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_12547A5B9D433BC9-001/init-core-data-001 > [junit4] 2> 255680 INFO (SUITE-TestManagedSchemaThreadSafety- > seed#[12547A5B9D433BC9]-worker) [ ] o.a.s.SolrTestCaseJ4 Randomized > ssl (false) and clientAuth (true) via: > @org.apache.solr.util.RandomizeSSL(reason="", > ssl=0.0/0.0, value=0.0/0.0, clientAuth=0.0/0.0) > [junit4] 2> 255681 INFO (SUITE-TestManagedSchemaThreadSafety- > seed#[12547A5B9D433BC9]-worker) [ ] o.a.s.c.ZkTestServer STARTING ZK > TEST SERVER > [junit4] 2> 255681 INFO (Thread-579) [ ] o.a.s.c.ZkTestServer > client port:0.0.0.0/0.0.0.0:0 > [junit4] 2> 255681 INFO (Thread-579) [ ] o.a.s.c.ZkTestServer > Starting server > [junit4] 2> 255781 INFO (SUITE-TestManagedSchemaThreadSafety- > seed#[12547A5B9D433BC9]-worker) [ ] o.a.s.c.ZkTestServer start zk > server on port:37213 > [junit4] 2> 255783 INFO (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]) [ ] o.a.s.SolrTestCaseJ4 > ###Starting testThreadSafety > [junit4] 2> 255784 DEBUG (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]) [ ] o.a.s.c.c.SolrZkClient > Using default ZkCredentialsProvider > [junit4] 2> 255785 DEBUG (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]-EventThread) [ ] > o.a.s.c.c.SolrZkClient Submitting job to respond to event WatchedEvent > state:SyncConnected type:None path:null > [junit4] 2> 255786 DEBUG (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]) [ ] o.a.s.c.c.SolrZkClient > Using default ZkACLProvider > [junit4] 2> 255787 DEBUG (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]) [ ] o.a.s.c.c.SolrZkClient > makePath: /configs/managed-config/solrconfig.xml > [junit4] 2> 255788 DEBUG (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]) [ ] o.a.s.c.c.SolrZkClient > makePath: /configs/managed-config/schema.xml > [junit4] 2> 255789 DEBUG (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]) [ ] o.a.s.c.c.SolrZkClient > Using default ZkCredentialsProvider > [junit4] 2> 255790 DEBUG (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]-EventThread) [ ] > o.a.s.c.c.SolrZkClient Submitting job to respond to event WatchedEvent > state:SyncConnected type:None path:null > [junit4] 2> 255791 DEBUG (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]) [ ] o.a.s.c.c.SolrZkClient > Using default ZkACLProvider > [junit4] 2> 256085 INFO (threadpool-372-thread-1) [ ] > o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.3.0 > [junit4] 2> 256085 INFO (threadpool-372-thread-2) [ ] > o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.3.0 > [junit4] 2> 256088 INFO (threadpool-372-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> 256091 INFO (threadpool-372-thread-2) [ ] > o.a.s.s.IndexSchema [null] Schema name=minimal > [junit4] 2> 256092 INFO (threadpool-372-thread-2) [ ] > o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id > [junit4] 2> 256093 INFO (threadpool-372-thread-2) [ ] > o.a.s.s.ManagedIndexSchema Created and persisted managed schema znode at > /configs/managed-config/managed-schema > [junit4] 2> 256095 DEBUG (threadpool-372-thread-2) [ ] > o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/schema.xml.bak > [junit4] 2> 256096 INFO (threadpool-372-thread-2) [ ] > 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> 256588 INFO (threadpool-372-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> 256592 INFO (threadpool-372-thread-1) [ ] > o.a.s.s.IndexSchema [null] Schema name=minimal > [junit4] 2> 256593 INFO (threadpool-372-thread-1) [ ] > o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id > [junit4] 2> 256594 INFO (TEST-TestManagedSchemaThreadSafety. > testThreadSafety-seed#[12547A5B9D433BC9]) [ ] o.a.s.SolrTestCaseJ4 > ###Ending testThreadSafety > [junit4] 2> 256594 INFO (SUITE-TestManagedSchemaThreadSafety- > seed#[12547A5B9D433BC9]-worker) [ ] o.a.s.c.ZkTestServer connecting to > 127.0.0.1:37213 37213 > [junit4] 2> 256697 INFO (Thread-579) [ ] o.a.s.c.ZkTestServer > connecting to 127.0.0.1:37213 37213 > [junit4] 2> 256698 INFO (SUITE-TestManagedSchemaThreadSafety- > seed#[12547A5B9D433BC9]-worker) [ ] o.a.s.SolrTestCaseJ4 ###deleteCore > [junit4] 2> Oct 03, 2016 3:01:13 AM com.carrotsearch. > randomizedtesting.ThreadLeakControl checkThreadLeaks > [junit4] 2> WARNING: Will linger awaiting termination of 1 leaked > thread(s). > [junit4] 2> NOTE: test params are: codec=Asserting(Lucene62): {}, > docValues:{}, maxPointsInLeafNode=574, maxMBSortInHeap=6.335963633993776, > sim=ClassicSimilarity, locale=pa, timezone=America/Noronha > [junit4] 2> NOTE: Linux 4.4.0-36-generic i386/Oracle Corporation 9-ea > (32-bit)/cpus=12,threads=1,free=52848256,total=210411520 > [junit4] 2> NOTE: All tests run in this JVM: [BadComponentTest, > BlockCacheTest, TestDistributedMissingSort, ReplaceNodeTest, > DistributedFacetPivotSmallTest, TestSizeLimitedDistributedMap, > ChangedSchemaMergeTest, ConfigSetsAPITest, SortSpecParsingTest, > TestCloudManagedSchema, TestIndexSearcher, TestImplicitCoreProperties, > TestCoreDiscovery, DistributedQueryComponentOptimizationTest, > ConjunctionSolrSpellCheckerTest, FieldMutatingUpdateProcessorTest, > MigrateRouteKeyTest, ExitableDirectoryReaderTest, TestReqParamsAPI, > TestDownShardTolerantSearch, TestSolrConfigHandler, > CoreAdminRequestStatusTest, TestFieldSortValues, SolrTestCaseJ4Test, > PeerSyncReplicationTest, TestFieldCache, TestManagedSchemaThreadSafety] > [junit4] 2> NOTE: reproduce with: ant test > -Dtestcase=TestManagedSchemaThreadSafety > -Dtests.seed=12547A5B9D433BC9 -Dtests.multiplier=3 -Dtests.slow=true > -Dtests.locale=pa -Dtests.timezone=America/Noronha -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([12547A5B9D433BC9]: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 @18b9f9 > [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 [92/638 (1!)] on J2 in 1.54s, 1 test, 1 failure <<< > FAILURES! > > [...truncated 51642 lines...] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
