You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Policeman Jenkins Server <je...@thetaphi.de> on 2016/10/03 01:01:16 UTC
[JENKINS-EA] Lucene-Solr-6.x-Linux (64bit/jdk-9-ea+136) - Build #
1857 - Unstable!
Build: https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Linux/1857/
Java: 64bit/jdk-9-ea+136 -XX:-UseCompressedOops -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([187C0234801FDE10]: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 @5f10f955
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 12449 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/J0/temp/solr.schema.TestManagedSchemaThreadSafety_187C0234801FDE10-001/init-core-data-001
[junit4] 2> 2065085 INFO (SUITE-TestManagedSchemaThreadSafety-seed#[187C0234801FDE10]-worker) [ ] o.a.s.SolrTestCaseJ4 Randomized ssl (true) 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> 2065085 INFO (SUITE-TestManagedSchemaThreadSafety-seed#[187C0234801FDE10]-worker) [ ] o.a.s.c.ZkTestServer STARTING ZK TEST SERVER
[junit4] 2> 2065086 INFO (Thread-4283) [ ] o.a.s.c.ZkTestServer client port:0.0.0.0/0.0.0.0:0
[junit4] 2> 2065086 INFO (Thread-4283) [ ] o.a.s.c.ZkTestServer Starting server
[junit4] 2> 2065186 INFO (SUITE-TestManagedSchemaThreadSafety-seed#[187C0234801FDE10]-worker) [ ] o.a.s.c.ZkTestServer start zk server on port:34522
[junit4] 2> 2065188 INFO (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]) [ ] o.a.s.SolrTestCaseJ4 ###Starting testThreadSafety
[junit4] 2> 2065190 DEBUG (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]) [ ] o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
[junit4] 2> 2065192 DEBUG (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]-EventThread) [ ] o.a.s.c.c.SolrZkClient Submitting job to respond to event WatchedEvent state:SyncConnected type:None path:null
[junit4] 2> 2065193 DEBUG (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]) [ ] o.a.s.c.c.SolrZkClient Using default ZkACLProvider
[junit4] 2> 2065194 DEBUG (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]) [ ] o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/solrconfig.xml
[junit4] 2> 2065197 DEBUG (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]) [ ] o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/schema.xml
[junit4] 2> 2065198 DEBUG (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]) [ ] o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
[junit4] 2> 2065198 WARN (NIOServerCxn.Factory:0.0.0.0/0.0.0.0:0) [ ] o.a.z.s.NIOServerCnxn caught end of stream exception
[junit4] 2> EndOfStreamException: Unable to read additional data from client sessionid 0x1578806e7980000, likely client has closed socket
[junit4] 2> at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228)
[junit4] 2> at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208)
[junit4] 2> at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
[junit4] 2> 2065200 DEBUG (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]-EventThread) [ ] o.a.s.c.c.SolrZkClient Submitting job to respond to event WatchedEvent state:SyncConnected type:None path:null
[junit4] 2> 2065200 DEBUG (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]) [ ] o.a.s.c.c.SolrZkClient Using default ZkACLProvider
[junit4] 2> 2065583 INFO (threadpool-21902-thread-2) [ ] o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.3.0
[junit4] 2> 2065602 INFO (threadpool-21902-thread-1) [ ] o.a.s.c.SolrConfig Using Lucene MatchVersion: 6.3.0
[junit4] 2> 2065608 INFO (threadpool-21902-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> 2065609 INFO (threadpool-21902-thread-2) [ ] o.a.s.s.IndexSchema [null] Schema name=minimal
[junit4] 2> 2065612 INFO (threadpool-21902-thread-2) [ ] o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id
[junit4] 2> 2065613 INFO (threadpool-21902-thread-2) [ ] o.a.s.s.ManagedIndexSchema Created and persisted managed schema znode at /configs/managed-config/managed-schema
[junit4] 2> 2065614 DEBUG (threadpool-21902-thread-2) [ ] o.a.s.c.c.SolrZkClient makePath: /configs/managed-config/schema.xml.bak
[junit4] 2> 2065615 INFO (threadpool-21902-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> 2066108 INFO (threadpool-21902-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> 2066112 INFO (threadpool-21902-thread-1) [ ] o.a.s.s.IndexSchema [null] Schema name=minimal
[junit4] 2> 2066115 INFO (threadpool-21902-thread-1) [ ] o.a.s.s.IndexSchema Loaded schema minimal/1.1 with uniqueid field id
[junit4] 2> 2066115 INFO (TEST-TestManagedSchemaThreadSafety.testThreadSafety-seed#[187C0234801FDE10]) [ ] o.a.s.SolrTestCaseJ4 ###Ending testThreadSafety
[junit4] 2> 2066116 INFO (SUITE-TestManagedSchemaThreadSafety-seed#[187C0234801FDE10]-worker) [ ] o.a.s.c.ZkTestServer connecting to 127.0.0.1:34522 34522
[junit4] 2> 2066220 INFO (Thread-4283) [ ] o.a.s.c.ZkTestServer connecting to 127.0.0.1:34522 34522
[junit4] 2> 2066221 INFO (SUITE-TestManagedSchemaThreadSafety-seed#[187C0234801FDE10]-worker) [ ] o.a.s.SolrTestCaseJ4 ###deleteCore
[junit4] 2> Oct 03, 2016 12:52:17 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=119, maxMBSortInHeap=5.317568480329814, sim=RandomSimilarity(queryNorm=false,coord=yes): {}, locale=en-CK, timezone=Pacific/Midway
[junit4] 2> NOTE: Linux 4.4.0-36-generic amd64/Oracle Corporation 9-ea (64-bit)/cpus=12,threads=1,free=232545384,total=518979584
[junit4] 2> NOTE: All tests run in this JVM: [CloneFieldUpdateProcessorFactoryTest, PeerSyncTest, UniqFieldsUpdateProcessorFactoryTest, TestSolrDeletionPolicy2, StandardRequestHandlerTest, TestMacroExpander, BasicZkTest, HighlighterConfigTest, RecoveryAfterSoftCommitTest, TestManagedSchema, SynonymTokenizerTest, TestAuthorizationFramework, DistributedSuggestComponentTest, DistributedSpellCheckComponentTest, TestLegacyFieldCache, HdfsDirectoryFactoryTest, TestJsonFacets, TestRecoveryHdfs, DeleteReplicaTest, ReturnFieldsTest, TestRandomCollapseQParserPlugin, TestPerFieldSimilarityWithDefaultOverride, TestRemoteStreaming, TestLRUStatsCache, TestComponentsName, TestInfoStreamLogging, HdfsLockFactoryTest, HdfsBasicDistributedZk2Test, SolrRequestParserTest, AnalysisAfterCoreReloadTest, SharedFSAutoReplicaFailoverTest, UUIDFieldTest, TestPseudoReturnFields, TestDynamicFieldResource, HLLSerializationTest, ExternalFileFieldSortTest, TestPerFieldSimilarity, CurrencyFieldOpenExchangeTest, CollectionsAPISolrJTest, TestGeoJSONResponseWriter, DistribCursorPagingTest, TestBadConfig, TlogReplayBufferedWhileIndexingTest, QueryElevationComponentTest, ChaosMonkeyNothingIsSafeTest, TestStressLucene, TestSolrConfigHandlerConcurrent, LeaderElectionIntegrationTest, DistributedExpandComponentTest, TestOmitPositions, TestSolrCoreProperties, TestClusterStateMutator, TestHdfsBackupRestoreCore, TestStressRecovery, ResourceLoaderTest, BlockJoinFacetRandomTest, TestCodecSupport, TestUninvertingReader, TestFastLRUCache, CdcrRequestHandlerTest, ScriptEngineTest, TestFilteredDocIdSet, TestExclusionRuleCollectionAccess, NotRequiredUniqueKeyTest, MBeansHandlerTest, SolrCoreTest, SpatialRPTFieldTypeTest, TestRandomFlRTGCloud, RegexBoostProcessorTest, ActionThrottleTest, ClusterStateTest, SmileWriterTest, TestRestoreCore, PathHierarchyTokenizerFactoryTest, TestRandomDVFaceting, TestLeaderElectionZkExpiry, MergeStrategyTest, TestIBSimilarityFactory, CoreSorterTest, HdfsRecoverLeaseTest, BitVectorTest, TestNoOpRegenerator, TestExceedMaxTermLength, DateRangeFieldTest, OutputWriterTest, BasicDistributedZkTest, TestObjectReleaseTracker, TestValueSourceCache, TestReplicaProperties, TestConfigOverlay, SuggestComponentContextFilterQueryTest, TestFieldCacheSortRandom, QueryEqualityTest, TestSerializedLuceneMatchVersion, TestDFISimilarityFactory, TestRawTransformer, ZkNodePropsTest, TestRealTimeGet, CoreMergeIndexesAdminHandlerTest, SegmentsInfoRequestHandlerTest, TestSubQueryTransformerDistrib, TestQuerySenderNoQuery, UnloadDistributedZkTest, CollectionsAPIDistributedZkTest, SyncSliceTest, OpenCloseCoreStressTest, OverseerTest, TestReplicationHandler, ClusterStateUpdateTest, TestRandomFaceting, LeaderElectionTest, ZkCLITest, ShardRoutingCustomTest, TestDistributedSearch, AutoCommitTest, TestFaceting, TermVectorComponentDistributedTest, TestJoin, TestReload, TestStressVersions, TestRangeQuery, TestCoreContainer, TestSolr4Spatial, StatsComponentTest, BadIndexSchemaTest, ConvertedLegacyTest, TestFiltering, TestFunctionQuery, TestLazyCores, DirectUpdateHandlerTest, ShowFileRequestHandlerTest, DistributedQueryElevationComponentTest, SolrIndexSplitterTest, SimplePostToolTest, SignatureUpdateProcessorFactoryTest, TestExtendedDismaxParser, SuggesterFSTTest, CoreAdminHandlerTest, TestFoldingMultitermQuery, TestTrie, SpatialFilterTest, TestCSVLoader, PolyFieldTest, WordBreakSolrSpellCheckerTest, TestUpdate, TestAtomicUpdateErrorCases, DefaultValueUpdateProcessorTest, DocValuesMultiTest, DistanceFunctionTest, XsltUpdateRequestHandlerTest, CacheHeaderTest, LukeRequestHandlerTest, DisMaxRequestHandlerTest, TestQueryUtils, DirectSolrSpellCheckerTest, TestReversedWildcardFilterFactory, DocumentAnalysisRequestHandlerTest, FileBasedSpellCheckerTest, XmlUpdateRequestHandlerTest, RequestHandlersTest, DocumentBuilderTest, MoreLikeThisHandlerTest, RequiredFieldsTest, FieldAnalysisRequestHandlerTest, TestSolrQueryParser, FastVectorHighlighterTest, IndexSchemaRuntimeFieldTest, LoggingHandlerTest, SolrPluginUtilsTest, IndexSchemaTest, TestJmxIntegration, TestCollationField, UpdateRequestProcessorFactoryTest, JSONWriterTest, TestCSVResponseWriter, JsonLoaderTest, BinaryUpdateRequestHandlerTest, TestPHPSerializedResponseWriter, TestBinaryResponseWriter, SOLR749Test, UpdateParamsTest, AlternateDirectoryTest, TestSolrIndexConfig, CopyFieldTest, SolrIndexConfigTest, SampleTest, TestDocSet, TestSearchPerf, NumericFieldsTest, TestElisionMultitermQuery, TestConfig, TestLuceneMatchVersion, SpellPossibilityIteratorTest, TestXIncludeConfig, EchoParamsTest, TestFastWriter, URLClassifyProcessorTest, PreAnalyzedFieldTest, TestSystemIdResolver, PrimUtilsTest, TestSuggestSpellingConverter, DateFieldTest, TestSolrJ, TestUtils, TestDocumentBuilder, SystemInfoHandlerTest, FileUtilsTest, CircularListTest, TestRTGBase, CursorPagingTest, DistributedIntervalFacetingTest, SolrTestCaseJ4Test, TestCrossCoreJoin, TestDistributedMissingSort, TestHighlightDedupGrouping, TestSimpleTrackingShardHandler, TestTolerantSearch, ConnectionReuseTest, AssignTest, AsyncCallRequestStatusResponseTest, BaseCdcrDistributedZkTest, CdcrBootstrapTest, DistribJoinFromCollectionTest, DistributedQueueTest, LeaderInitiatedRecoveryOnCommitTest, MultiThreadedOCPTest, OverseerModifyCollectionTest, OverseerStatusTest, OverseerTaskQueueTest, RemoteQueryErrorTest, ReplicationFactorTest, RestartWhileUpdatingTest, RollingRestartTest, TestCloudDeleteByQuery, TestCloudInspectUtil, TestCloudPivotFacet, TestCryptoKeys, TestLocalFSCloudBackupRestore, TestRandomRequestDistribution, TestRequestStatusCollectionAPI, TestSSLRandomization, TestSizeLimitedDistributedMap, TestStressLiveNodes, TriLevelCompositeIdRoutingTest, ExitableDirectoryReaderTest, QueryResultKeyTest, TestBackupRepositoryFactory, TestConfigSetImmutable, TestShardHandlerFactory, TestSolrDynamicMBean, RequestLoggingTest, TestSQLHandler, DistributedFacetPivotLongTailTest, TestExpandComponent, JavabinLoaderTest, HighlighterMaxOffsetTest, WrapperMergePolicyFactoryTest, CheckHdfsIndexTest, JSONWriterTest, SmileWriterTest, TestCustomDocTransformer, TestGraphMLResponseWriter, TestChildDocTransformer, TestSubQueryTransformerCrossCore, TestManagedResource, TestRestManager, TestFieldResource, TestSchemaResource, TestSolrQueryParserDefaultOperatorResource, TestUniqueKeyFieldResource, BadCopyFieldTest, ChangedSchemaMergeTest, EnumFieldTest, TestCollationFieldDocValues, TestManagedSchemaThreadSafety]
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestManagedSchemaThreadSafety -Dtests.seed=187C0234801FDE10 -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=en-CK -Dtests.timezone=Pacific/Midway -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 0.00s J0 | 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([187C0234801FDE10]: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 @5f10f955
[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 [573/638 (1!)] on J0 in 1.66s, 1 test, 1 failure <<< FAILURES!
[...truncated 50099 lines...]
[JENKINS] Lucene-Solr-6.x-Linux (64bit/jdk1.8.0_102) - Build # 1860
- Failure!
Posted by Policeman Jenkins Server <je...@thetaphi.de>.
Build: https://jenkins.thetaphi.de/job/Lucene-Solr-6.x-Linux/1860/
Java: 64bit/jdk1.8.0_102 -XX:-UseCompressedOops -XX:+UseSerialGC
All tests passed
Build Log:
[...truncated 9788 lines...]
[javac] Compiling 299 source files to /home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/build/solr-solrj/classes/java
[javac] /home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java:30: error: package com.google.common.collect does not exist
[javac] import com.google.common.collect.Lists;
[javac] ^
[javac] /home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpClientUtil.java:98: error: cannot find symbol
[javac] = Collections.synchronizedList(Lists.newArrayList(new HttpClientConfigurer()));
[javac] ^
[javac] symbol: variable Lists
[javac] location: class HttpClientUtil
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
BUILD FAILED
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/build.xml:763: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/build.xml:707: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/build.xml:59: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/build.xml:252: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/common-build.xml:536: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/common-build.xml:484: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/common-build.xml:385: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/solr/common-build.xml:405: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/lucene/common-build.xml:501: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-6.x-Linux/lucene/common-build.xml:1955: Compile failed; see the compiler error output for details.
Total time: 20 minutes 53 seconds
Build step 'Invoke Ant' marked build as failure
Archiving artifacts
[WARNINGS] Skipping publisher since build result is FAILURE
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
[JENKINS-EA] Lucene-Solr-6.x-Linux (64bit/jdk-9-ea+136) - Build #
1859 - Still Unstable!
Posted by Policeman Jenkins Server <je...@thetaphi.de>.
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...]
Re: [JENKINS-EA] Lucene-Solr-6.x-Linux (32bit/jdk-9-ea+136) - Build #
1858 - Still Unstable!
Posted by Mikhail Khludnev <gg...@gmail.com>.
I will fix
03 окт. 2016 г. 6:47 пользователь "Policeman Jenkins Server" <
jenkins@thetaphi.de> написал:
> 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: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
[JENKINS-EA] Lucene-Solr-6.x-Linux (32bit/jdk-9-ea+136) - Build #
1858 - Still Unstable!
Posted by Policeman Jenkins Server <je...@thetaphi.de>.
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.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 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...]