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 2015/03/19 13:15:01 UTC
[JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
11848 - Failure!
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
All tests passed
Build Log:
[...truncated 1899 lines...]
[javac] Compiling 461 source files to /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/analysis/common/classes/java
[javac] /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/CharArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1> cannot be converted to CharArrayMap<V>
[javac] return new CharArrayMap<>(map, false);
[javac] ^
[javac] where V is a type-variable:
[javac] V extends Object declared in method <V>copy(Map<?,? extends V>)
[javac] where CAP#1 is a fresh type-variable:
[javac] CAP#1 extends V from capture of ? extends V
[javac] /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
[javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
[javac] ^
[javac] missing type arguments for generic class Arc<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Arc
[javac] /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
[javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
[javac] ^
[javac] missing type arguments for generic class Arc<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Arc
[javac] /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:46: warning: [rawtypes] found raw type: Class
[javac] private static final Class<?>[] EMPTY_PARAMS = new Class[0];
[javac] ^
[javac] missing type arguments for generic class Class<T>
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
[...truncated 1 lines...]
BUILD FAILED
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:456: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:2166: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/analysis/build.xml:106: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/analysis/build.xml:38: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-build.xml:58: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-build.xml:55: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:520: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:1882: Compile failed; see the compiler error output for details.
Total time: 15 minutes 25 seconds
Build step 'Invoke Ant' marked build as failure
[description-setter] Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
[JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.8.0_40) - Build # 11849
- Still Failing!
Posted by Policeman Jenkins Server <je...@thetaphi.de>.
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11849/
Java: 32bit/jdk1.8.0_40 -server -XX:+UseG1GC
2 tests failed.
FAILED: org.apache.solr.cloud.FullSolrCloudDistribCmdsTest.test
Error Message:
Error from server at http://127.0.0.1:48685/_iqs/r/compositeid_collection_with_routerfield_shard1_replica1: no servers hosting shard:
Stack Trace:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://127.0.0.1:48685/_iqs/r/compositeid_collection_with_routerfield_shard1_replica1: no servers hosting shard:
at __randomizedtesting.SeedInfo.seed([838D38BBCAA1EDC:806CEC5112567324]:0)
at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:584)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:236)
at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:228)
at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135)
at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:943)
at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:958)
at org.apache.solr.cloud.FullSolrCloudDistribCmdsTest.testDeleteByIdCompositeRouterWithRouterField(FullSolrCloudDistribCmdsTest.java:357)
at org.apache.solr.cloud.FullSolrCloudDistribCmdsTest.test(FullSolrCloudDistribCmdsTest.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627)
at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:958)
at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:933)
at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:845)
at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
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:54)
at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at java.lang.Thread.run(Thread.java:745)
FAILED: org.apache.solr.handler.TestSolrConfigHandlerCloud.test
Error Message:
Could not get expected value 'CY val' for path 'response/params/y/c' full output: { "responseHeader":{ "status":0, "QTime":0}, "response":{ "znodeVersion":0, "params":{"x":{ "a":"A val", "b":"B val", "":{"v":0}}}}}
Stack Trace:
java.lang.AssertionError: Could not get expected value 'CY val' for path 'response/params/y/c' full output: {
"responseHeader":{
"status":0,
"QTime":0},
"response":{
"znodeVersion":0,
"params":{"x":{
"a":"A val",
"b":"B val",
"":{"v":0}}}}}
at __randomizedtesting.SeedInfo.seed([838D38BBCAA1EDC:806CEC5112567324]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.apache.solr.core.TestSolrConfigHandler.testForResponseElement(TestSolrConfigHandler.java:399)
at org.apache.solr.handler.TestSolrConfigHandlerCloud.testReqParams(TestSolrConfigHandlerCloud.java:190)
at org.apache.solr.handler.TestSolrConfigHandlerCloud.test(TestSolrConfigHandlerCloud.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627)
at com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:958)
at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:933)
at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:845)
at com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
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:54)
at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at java.lang.Thread.run(Thread.java:745)
Build Log:
[...truncated 9910 lines...]
[junit4] Suite: org.apache.solr.cloud.FullSolrCloudDistribCmdsTest
[junit4] 2> Creating dataDir: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/init-core-data-001
[junit4] 2> 695550 T6357 oas.BaseDistributedSearchTestCase.initHostContext Setting hostContext system property: /_iqs/r
[junit4] 2> 695552 T6357 oasc.ZkTestServer.run STARTING ZK TEST SERVER
[junit4] 1> client port:0.0.0.0/0.0.0.0:0
[junit4] 2> 695553 T6358 oasc.ZkTestServer$ZKServerMain.runFromConfig Starting server
[junit4] 2> 695653 T6357 oasc.ZkTestServer.run start zk server on port:46270
[junit4] 2> 695654 T6357 oascc.SolrZkClient.createZkCredentialsToAddAutomatically Using default ZkCredentialsProvider
[junit4] 2> 695654 T6357 oascc.ConnectionManager.waitForConnected Waiting for client to connect to ZooKeeper
[junit4] 2> 695656 T6365 oascc.ConnectionManager.process Watcher org.apache.solr.common.cloud.ConnectionManager@124c7d0 name:ZooKeeperConnection Watcher:127.0.0.1:46270 got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
[junit4] 2> 695656 T6357 oascc.ConnectionManager.waitForConnected Client is connected to ZooKeeper
[junit4] 2> 695657 T6357 oascc.SolrZkClient.createZkACLProvider Using default ZkACLProvider
[junit4] 2> 695657 T6357 oascc.SolrZkClient.makePath makePath: /solr
[junit4] 2> 695659 T6357 oascc.SolrZkClient.createZkCredentialsToAddAutomatically Using default ZkCredentialsProvider
[junit4] 2> 695659 T6357 oascc.ConnectionManager.waitForConnected Waiting for client to connect to ZooKeeper
[junit4] 2> 695661 T6368 oascc.ConnectionManager.process Watcher org.apache.solr.common.cloud.ConnectionManager@10fee08 name:ZooKeeperConnection Watcher:127.0.0.1:46270/solr got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
[junit4] 2> 695661 T6357 oascc.ConnectionManager.waitForConnected Client is connected to ZooKeeper
[junit4] 2> 695661 T6357 oascc.SolrZkClient.createZkACLProvider Using default ZkACLProvider
[junit4] 2> 695661 T6357 oascc.SolrZkClient.makePath makePath: /collections/collection1
[junit4] 2> 695662 T6357 oascc.SolrZkClient.makePath makePath: /collections/collection1/shards
[junit4] 2> 695663 T6357 oascc.SolrZkClient.makePath makePath: /collections/control_collection
[junit4] 2> 695664 T6357 oascc.SolrZkClient.makePath makePath: /collections/control_collection/shards
[junit4] 2> 695665 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/solrconfig-tlog.xml to /configs/conf1/solrconfig.xml
[junit4] 2> 695666 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/solrconfig.xml
[junit4] 2> 695667 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/schema15.xml to /configs/conf1/schema.xml
[junit4] 2> 695668 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/schema.xml
[junit4] 2> 695669 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/solrconfig.snippet.randomindexconfig.xml to /configs/conf1/solrconfig.snippet.randomindexconfig.xml
[junit4] 2> 695669 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/solrconfig.snippet.randomindexconfig.xml
[junit4] 2> 695670 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/stopwords.txt to /configs/conf1/stopwords.txt
[junit4] 2> 695671 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/stopwords.txt
[junit4] 2> 695672 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/protwords.txt to /configs/conf1/protwords.txt
[junit4] 2> 695672 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/protwords.txt
[junit4] 2> 695674 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/currency.xml to /configs/conf1/currency.xml
[junit4] 2> 695674 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/currency.xml
[junit4] 2> 695675 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/enumsConfig.xml to /configs/conf1/enumsConfig.xml
[junit4] 2> 695675 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/enumsConfig.xml
[junit4] 2> 695676 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/open-exchange-rates.json to /configs/conf1/open-exchange-rates.json
[junit4] 2> 695677 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/open-exchange-rates.json
[junit4] 2> 695677 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/mapping-ISOLatin1Accent.txt to /configs/conf1/mapping-ISOLatin1Accent.txt
[junit4] 2> 695678 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/mapping-ISOLatin1Accent.txt
[junit4] 2> 695679 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/old_synonyms.txt to /configs/conf1/old_synonyms.txt
[junit4] 2> 695679 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/old_synonyms.txt
[junit4] 2> 695680 T6357 oasc.AbstractZkTestCase.putConfig put /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/core/src/test-files/solr/collection1/conf/synonyms.txt to /configs/conf1/synonyms.txt
[junit4] 2> 695680 T6357 oascc.SolrZkClient.makePath makePath: /configs/conf1/synonyms.txt
[junit4] 2> 695734 T6357 oas.SolrTestCaseJ4.writeCoreProperties Writing core.properties file to /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1
[junit4] 2> 695736 T6357 oejs.Server.doStart jetty-8.1.10.v20130312
[junit4] 2> 695748 T6357 oejs.AbstractConnector.doStart Started SelectChannelConnector@127.0.0.1:42395
[junit4] 2> 695748 T6357 oascse.JettySolrRunner$1.lifeCycleStarted Jetty properties: {solr.data.dir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/tempDir-001/control/data, hostContext=/_iqs/r, hostPort=42395, coreRootDirectory=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores}
[junit4] 2> 695749 T6357 oass.SolrDispatchFilter.init SolrDispatchFilter.init()sun.misc.Launcher$AppClassLoader@e2f2a
[junit4] 2> 695749 T6357 oasc.SolrResourceLoader.<init> new SolrResourceLoader for directory: '../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/'
[junit4] 2> 695760 T6357 oasc.SolrXmlConfig.fromFile Loading container configuration from /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/solr.xml
[junit4] 2> 695764 T6357 oasc.CorePropertiesLocator.<init> Config-defined core root directory: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores
[junit4] 2> 695764 T6357 oasc.CoreContainer.<init> New CoreContainer 31779333
[junit4] 2> 695765 T6357 oasc.CoreContainer.load Loading cores into CoreContainer [instanceDir=../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/]
[junit4] 2> 695765 T6357 oasc.CoreContainer.load loading shared library: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/lib
[junit4] 2> 695765 T6357 oasc.SolrResourceLoader.addToClassLoader WARN Can't find (or read) directory to add to classloader: lib (resolved as: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/lib).
[junit4] 2> 695770 T6357 oashc.HttpShardHandlerFactory.getParameter Setting socketTimeout to: 90000
[junit4] 2> 695770 T6357 oashc.HttpShardHandlerFactory.getParameter Setting urlScheme to:
[junit4] 2> 695770 T6357 oashc.HttpShardHandlerFactory.getParameter Setting connTimeout to: 15000
[junit4] 2> 695770 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maxConnectionsPerHost to: 20
[junit4] 2> 695771 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maxConnections to: 10000
[junit4] 2> 695771 T6357 oashc.HttpShardHandlerFactory.getParameter Setting corePoolSize to: 0
[junit4] 2> 695771 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maximumPoolSize to: 2147483647
[junit4] 2> 695771 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maxThreadIdleTime to: 5
[junit4] 2> 695772 T6357 oashc.HttpShardHandlerFactory.getParameter Setting sizeOfQueue to: -1
[junit4] 2> 695772 T6357 oashc.HttpShardHandlerFactory.getParameter Setting fairnessPolicy to: false
[junit4] 2> 695772 T6357 oashc.HttpShardHandlerFactory.getParameter Setting useRetries to: false
[junit4] 2> 695773 T6357 oasu.UpdateShardHandler.<init> Creating UpdateShardHandler HTTP client with params: socketTimeout=340000&connTimeout=45000&retry=true
[junit4] 2> 695773 T6357 oasl.LogWatcher.createWatcher SLF4J impl is org.slf4j.impl.Log4jLoggerFactory
[junit4] 2> 695773 T6357 oasl.LogWatcher.newRegisteredLogWatcher Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)]
[junit4] 2> 695773 T6357 oasc.CoreContainer.load Node Name: 127.0.0.1
[junit4] 2> 695774 T6357 oasc.ZkContainer.initZooKeeper Zookeeper client=127.0.0.1:46270/solr
[junit4] 2> 695774 T6357 oasc.ZkController.checkChrootPath zkHost includes chroot
[junit4] 2> 695774 T6357 oascc.SolrZkClient.createZkCredentialsToAddAutomatically Using default ZkCredentialsProvider
[junit4] 2> 695775 T6357 oascc.ConnectionManager.waitForConnected Waiting for client to connect to ZooKeeper
[junit4] 2> 695776 T6380 oascc.ConnectionManager.process Watcher org.apache.solr.common.cloud.ConnectionManager@a45d03 name:ZooKeeperConnection Watcher:127.0.0.1:46270 got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
[junit4] 2> 695776 T6357 oascc.ConnectionManager.waitForConnected Client is connected to ZooKeeper
[junit4] 2> 695776 T6357 oascc.SolrZkClient.createZkACLProvider Using default ZkACLProvider
[junit4] 2> 695777 T6357 oascc.ConnectionManager.waitForConnected Waiting for client to connect to ZooKeeper
[junit4] 2> 695778 T6383 oascc.ConnectionManager.process Watcher org.apache.solr.common.cloud.ConnectionManager@19c2f34 name:ZooKeeperConnection Watcher:127.0.0.1:46270/solr got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
[junit4] 2> 695778 T6357 oascc.ConnectionManager.waitForConnected Client is connected to ZooKeeper
[junit4] 2> 695779 T6357 oascc.SolrZkClient.makePath makePath: /overseer/queue
[junit4] 2> 695780 T6357 oascc.SolrZkClient.makePath makePath: /overseer/collection-queue-work
[junit4] 2> 695781 T6357 oascc.SolrZkClient.makePath makePath: /overseer/collection-map-running
[junit4] 2> 695782 T6357 oascc.SolrZkClient.makePath makePath: /overseer/collection-map-completed
[junit4] 2> 695783 T6357 oascc.SolrZkClient.makePath makePath: /overseer/collection-map-failure
[junit4] 2> 695784 T6357 oascc.SolrZkClient.makePath makePath: /live_nodes
[junit4] 2> 695785 T6357 oascc.SolrZkClient.makePath makePath: /aliases.json
[junit4] 2> 695786 T6357 oascc.SolrZkClient.makePath makePath: /clusterstate.json
[junit4] 2> 695787 T6357 oasc.ZkController.createEphemeralLiveNode Register node as live in ZooKeeper:/live_nodes/127.0.0.1:42395__iqs%2Fr
[junit4] 2> 695787 T6357 oascc.SolrZkClient.makePath makePath: /live_nodes/127.0.0.1:42395__iqs%2Fr
[junit4] 2> 695788 T6357 oascc.SolrZkClient.makePath makePath: /overseer_elect
[junit4] 2> 695789 T6357 oascc.SolrZkClient.makePath makePath: /overseer_elect/election
[junit4] 2> 695790 T6357 oasc.Overseer.close Overseer (id=null) closing
[junit4] 2> 695791 T6357 oasc.OverseerElectionContext.runLeaderProcess I am going to be the leader 127.0.0.1:42395__iqs%2Fr
[junit4] 2> 695791 T6357 oascc.SolrZkClient.makePath makePath: /overseer_elect/leader
[junit4] 2> 695792 T6357 oasc.Overseer.start Overseer (id=93505067367137283-127.0.0.1:42395__iqs%2Fr-n_0000000000) starting
[junit4] 2> 695793 T6357 oascc.SolrZkClient.makePath makePath: /overseer/queue-work
[junit4] 2> 695795 T6357 oasc.OverseerAutoReplicaFailoverThread.<init> Starting OverseerAutoReplicaFailoverThread autoReplicaFailoverWorkLoopDelay=10000 autoReplicaFailoverWaitAfterExpiration=30000 autoReplicaFailoverBadNodeExpiration=60000
[junit4] 2> 695796 T6385 oasc.OverseerCollectionProcessor.run Process current queue of collection creations
[junit4] 2> 695796 T6357 oascc.ZkStateReader.createClusterStateWatchersAndUpdate Updating cluster state from ZooKeeper...
[junit4] 2> 695796 T6384 oasc.Overseer$ClusterStateUpdater.run Starting to work on the main queue
[junit4] 2> 695797 T6357 oasc.CorePropertiesLocator.discover Looking for core definitions underneath /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores
[junit4] 1> CORE DESCRIPTOR: {name=collection1, config=solrconfig.xml, transient=false, schema=schema.xml, loadOnStartup=true, instanceDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1, collection=control_collection, absoluteInstDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1/, coreNodeName=, dataDir=data/, shard=}
[junit4] 2> 695798 T6357 oasc.CorePropertiesLocator.discoverUnder Found core collection1 in /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1/
[junit4] 2> 695799 T6357 oasc.CorePropertiesLocator.discover Found 1 core definitions
[junit4] 2> 695800 T6387 oasc.ZkController.publish publishing core=collection1 state=down collection=control_collection
[junit4] 2> 695800 T6387 oasc.ZkController.publish numShards not found on descriptor - reading it from system property
[junit4] 2> 695800 T6383 oasc.DistributedQueue$LatchWatcher.process NodeChildrenChanged fired on path /overseer/queue state SyncConnected
[junit4] 2> 695800 T6387 oasc.ZkController.waitForCoreNodeName look for our core node name
[junit4] 2> 695801 T6384 oasc.Overseer$ClusterStateUpdater.run processMessage: queueSize: 1, message = {
[junit4] 2> "core":"collection1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:42395/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:42395__iqs%2Fr",
[junit4] 2> "numShards":"1",
[junit4] 2> "state":"down",
[junit4] 2> "shard":null,
[junit4] 2> "collection":"control_collection",
[junit4] 2> "operation":"state"} current state version: 0
[junit4] 2> 695801 T6384 oasco.ReplicaMutator.updateState Update state numShards=1 message={
[junit4] 2> "core":"collection1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:42395/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:42395__iqs%2Fr",
[junit4] 2> "numShards":"1",
[junit4] 2> "state":"down",
[junit4] 2> "shard":null,
[junit4] 2> "collection":"control_collection",
[junit4] 2> "operation":"state"}
[junit4] 2> 695801 T6384 oasco.ClusterStateMutator.createCollection building a new cName: control_collection
[junit4] 2> 695801 T6384 oasco.ReplicaMutator.updateState Assigning new node to shard shard=shard1
[junit4] 2> 695802 T6383 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 1)
[junit4] 2> 696801 T6387 oasc.ZkController.waitForShardId waiting to find shard id in clusterstate for collection1
[junit4] 2> 696801 T6387 oasc.ZkController.createCollectionZkNode Check for collection zkNode:control_collection
[junit4] 2> 696801 T6387 oasc.ZkController.createCollectionZkNode Collection zkNode exists
[junit4] 2> 696802 T6387 oascc.ZkStateReader.readConfigName Load collection config from:/collections/control_collection
[junit4] 2> 696802 T6387 oascc.ZkStateReader.readConfigName path=/collections/control_collection configName=conf1 specified config exists in ZooKeeper
[junit4] 2> 696802 T6387 oasc.SolrResourceLoader.<init> new SolrResourceLoader for directory: '/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1/'
[junit4] 2> 696813 T6387 oasc.ZkController.watchZKConfDir watch zkdir /configs/conf1
[junit4] 2> 696814 T6387 oasc.Config.<init> loaded config solrconfig.xml with version 0
[junit4] 2> 696822 T6387 oasc.SolrConfig.refreshRequestParams current version of requestparams : -1
[junit4] 2> 696826 T6387 oasc.SolrConfig.<init> Using Lucene MatchVersion: 5.1.0
[junit4] 2> 696834 T6387 oasc.SolrConfig.<init> Loaded SolrConfig: solrconfig.xml
[junit4] 2> 696835 T6387 oass.IndexSchema.readSchema Reading Solr Schema from /configs/conf1/schema.xml
[junit4] 2> 696840 T6387 oass.IndexSchema.readSchema [collection1] Schema name=test
[junit4] 2> 696918 T6387 oass.IndexSchema.readSchema default search field in schema is text
[junit4] 2> 696920 T6387 oass.IndexSchema.readSchema unique key field: id
[junit4] 2> 696920 T6387 oass.FileExchangeRateProvider.reload Reloading exchange rates from file currency.xml
[junit4] 2> 696923 T6387 oass.FileExchangeRateProvider.reload Reloading exchange rates from file currency.xml
[junit4] 2> 696931 T6387 oasc.CoreContainer.create Creating SolrCore 'collection1' using configuration from collection control_collection
[junit4] 2> 696931 T6387 oasc.SolrCore.initDirectoryFactory org.apache.solr.core.MockDirectoryFactory
[junit4] 2> 696932 T6387 oasc.SolrCore.<init> [collection1] Opening new SolrCore at /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1/, dataDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1/data/
[junit4] 2> 696932 T6387 oasc.JmxMonitoredMap.<init> JMX monitoring is enabled. Adding Solr mbeans to JMX Server: com.sun.jmx.mbeanserver.JmxMBeanServer@53a23d
[junit4] 2> 696933 T6387 oasc.CachingDirectoryFactory.get return new directory for /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1/data
[junit4] 2> 696933 T6387 oasc.SolrCore.getNewIndexDir New index directory detected: old=null new=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1/data/index/
[junit4] 2> 696933 T6387 oasc.SolrCore.initIndex WARN [collection1] Solr index directory '/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1/data/index' doesn't exist. Creating new index...
[junit4] 2> 696934 T6387 oasc.CachingDirectoryFactory.get return new directory for /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/control-001/cores/collection1/data/index
[junit4] 2> 696934 T6387 oasu.RandomMergePolicy.<init> RandomMergePolicy wrapping class org.apache.lucene.index.TieredMergePolicy: [TieredMergePolicy: maxMergeAtOnce=49, maxMergeAtOnceExplicit=15, maxMergedSegmentMB=12.5615234375, floorSegmentMB=0.2666015625, forceMergeDeletesPctAllowed=8.520484373124678, segmentsPerTier=38.0, maxCFSSegmentSizeMB=8.796093022207999E12, noCFSRatio=0.17078733564647947
[junit4] 2> 696934 T6387 oasc.SolrDeletionPolicy.onCommit SolrDeletionPolicy.onCommit: commits: num=1
[junit4] 2> commit{dir=MockDirectoryWrapper(RAMDirectory@4a846a lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@46a68f),segFN=segments_1,generation=1}
[junit4] 2> 696935 T6387 oasc.SolrDeletionPolicy.updateCommits newest commit generation = 1
[junit4] 2> 696938 T6387 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "nodistrib"
[junit4] 2> 696938 T6387 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "dedupe"
[junit4] 2> 696939 T6387 oasup.UpdateRequestProcessorChain.init inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain "dedupe"
[junit4] 2> 696939 T6387 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "stored_sig"
[junit4] 2> 696939 T6387 oasup.UpdateRequestProcessorChain.init inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain "stored_sig"
[junit4] 2> 696939 T6387 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "distrib-dup-test-chain-explicit"
[junit4] 2> 696940 T6387 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "distrib-dup-test-chain-implicit"
[junit4] 2> 696940 T6387 oasup.UpdateRequestProcessorChain.init inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain "distrib-dup-test-chain-implicit"
[junit4] 2> 696940 T6387 oasc.SolrCore.loadUpdateProcessorChains no updateRequestProcessorChain defined as default, creating implicit default
[junit4] 2> 696942 T6387 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 696943 T6387 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 696944 T6387 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 696945 T6387 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 696947 T6387 oasc.RequestHandlers.initHandlersFromConfig Registered paths: /admin/mbeans,standard,/update/csv,/update/json/docs,/admin/luke,/admin/segments,/get,/admin/system,/replication,/admin/properties,/config,/schema,/admin/plugins,/admin/logging,/update/json,/admin/threads,/admin/ping,/update,/admin/file
[junit4] 2> 696948 T6387 oasc.SolrCore.initStatsCache Using default statsCache cache: org.apache.solr.search.stats.LocalStatsCache
[junit4] 2> 696949 T6387 oasu.UpdateHandler.<init> Using UpdateLog implementation: org.apache.solr.update.UpdateLog
[junit4] 2> 696949 T6387 oasu.UpdateLog.init Initializing UpdateLog: dataDir= defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10
[junit4] 2> 696949 T6387 oasu.CommitTracker.<init> Hard AutoCommit: disabled
[junit4] 2> 696950 T6387 oasu.CommitTracker.<init> Soft AutoCommit: disabled
[junit4] 2> 696950 T6387 oasu.RandomMergePolicy.<init> RandomMergePolicy wrapping class org.apache.lucene.index.TieredMergePolicy: [TieredMergePolicy: maxMergeAtOnce=41, maxMergeAtOnceExplicit=18, maxMergedSegmentMB=3.27734375, floorSegmentMB=0.875, forceMergeDeletesPctAllowed=18.556567161373547, segmentsPerTier=34.0, maxCFSSegmentSizeMB=8.796093022207999E12, noCFSRatio=0.5076618464389847
[junit4] 2> 696951 T6387 oasc.SolrDeletionPolicy.onInit SolrDeletionPolicy.onInit: commits: num=1
[junit4] 2> commit{dir=MockDirectoryWrapper(RAMDirectory@4a846a lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@46a68f),segFN=segments_1,generation=1}
[junit4] 2> 696951 T6387 oasc.SolrDeletionPolicy.updateCommits newest commit generation = 1
[junit4] 2> 696951 T6387 oass.SolrIndexSearcher.<init> Opening Searcher@1a6f2df[collection1] main
[junit4] 2> 696952 T6387 oascc.ZkStateReader.readConfigName Load collection config from:/collections/control_collection
[junit4] 2> 696952 T6387 oascc.ZkStateReader.readConfigName path=/collections/control_collection configName=conf1 specified config exists in ZooKeeper
[junit4] 2> 696952 T6387 oasr.ManagedResourceStorage.newStorageIO Setting up ZooKeeper-based storage for the RestManager with znodeBase: /configs/conf1
[junit4] 2> 696953 T6387 oasr.ManagedResourceStorage$ZooKeeperStorageIO.configure Configured ZooKeeperStorageIO with znodeBase: /configs/conf1
[junit4] 2> 696953 T6387 oasr.RestManager.init Initializing RestManager with initArgs: {}
[junit4] 2> 696953 T6387 oasr.ManagedResourceStorage.load Reading _rest_managed.json using ZooKeeperStorageIO:path=/configs/conf1
[junit4] 2> 696954 T6387 oasr.ManagedResourceStorage$ZooKeeperStorageIO.openInputStream No data found for znode /configs/conf1/_rest_managed.json
[junit4] 2> 696954 T6387 oasr.ManagedResourceStorage.load Loaded null at path _rest_managed.json using ZooKeeperStorageIO:path=/configs/conf1
[junit4] 2> 696954 T6387 oasr.RestManager.init Initializing 0 registered ManagedResources
[junit4] 2> 696954 T6387 oash.ReplicationHandler.inform Commits will be reserved for 10000
[junit4] 2> 696955 T6388 oasc.SolrCore.registerSearcher [collection1] Registered new searcher Searcher@1a6f2df[collection1] main{ExitableDirectoryReader(UninvertingDirectoryReader())}
[junit4] 2> 696955 T6387 oasc.CoreContainer.registerCore registering core: collection1
[junit4] 2> 696956 T6391 oasc.ZkController.register Register replica - core:collection1 address:http://127.0.0.1:42395/_iqs/r collection:control_collection shard:shard1
[junit4] 2> 696956 T6357 oass.SolrDispatchFilter.init user.dir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1
[junit4] 2> 696956 T6357 oass.SolrDispatchFilter.init SolrDispatchFilter.init() done
[junit4] 2> 696956 T6391 oascc.SolrZkClient.makePath makePath: /collections/control_collection/leader_elect/shard1/election
[junit4] 2> 696957 T6357 oascc.SolrZkClient.createZkCredentialsToAddAutomatically Using default ZkCredentialsProvider
[junit4] 2> 696957 T6357 oascc.ConnectionManager.waitForConnected Waiting for client to connect to ZooKeeper
[junit4] 2> 696959 T6394 oascc.ConnectionManager.process Watcher org.apache.solr.common.cloud.ConnectionManager@105f008 name:ZooKeeperConnection Watcher:127.0.0.1:46270/solr got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
[junit4] 2> 696959 T6391 oasc.ShardLeaderElectionContext.runLeaderProcess Running the leader process for shard shard1
[junit4] 2> 696961 T6357 oascc.ConnectionManager.waitForConnected Client is connected to ZooKeeper
[junit4] 2> 696961 T6357 oascc.SolrZkClient.createZkACLProvider Using default ZkACLProvider
[junit4] 2> 696962 T6391 oasc.ShardLeaderElectionContext.waitForReplicasToComeUp Enough replicas found to continue.
[junit4] 2> 696962 T6391 oasc.ShardLeaderElectionContext.runLeaderProcess I may be the new leader - try and sync
[junit4] 2> 696962 T6383 oasc.DistributedQueue$LatchWatcher.process NodeChildrenChanged fired on path /overseer/queue state SyncConnected
[junit4] 2> ASYNC NEW_CORE C694 name=collection1 org.apache.solr.core.SolrCore@17af32 url=http://127.0.0.1:42395/_iqs/r/collection1 node=127.0.0.1:42395__iqs%2Fr C694_STATE=coll:control_collection core:collection1 props:{core=collection1, base_url=http://127.0.0.1:42395/_iqs/r, node_name=127.0.0.1:42395__iqs%2Fr, state=down}
[junit4] 2> 696962 T6391 C694 P42395 oasc.SyncStrategy.sync Sync replicas to http://127.0.0.1:42395/_iqs/r/collection1/
[junit4] 2> 696962 T6357 oascc.ZkStateReader.createClusterStateWatchersAndUpdate Updating cluster state from ZooKeeper...
[junit4] 2> 696963 T6384 oasc.Overseer$ClusterStateUpdater.run processMessage: queueSize: 1, message = {
[junit4] 2> "operation":"leader",
[junit4] 2> "shard":"shard1",
[junit4] 2> "collection":"control_collection"} current state version: 1
[junit4] 2> 696962 T6391 C694 P42395 oasc.SyncStrategy.syncReplicas Sync Success - now sync replicas to me
[junit4] 2> 696964 T6391 C694 P42395 oasc.SyncStrategy.syncToMe http://127.0.0.1:42395/_iqs/r/collection1/ has no replicas
[junit4] 2> 696964 T6391 oasc.ShardLeaderElectionContext.runLeaderProcess I am the new leader: http://127.0.0.1:42395/_iqs/r/collection1/ shard1
[junit4] 2> 696964 T6391 oascc.SolrZkClient.makePath makePath: /collections/control_collection/leaders/shard1
[junit4] 2> 696965 T6357 oasc.ChaosMonkey.monkeyLog monkey: init - expire sessions:false cause connection loss:false
[junit4] 2> 696965 T6383 oasc.DistributedQueue$LatchWatcher.process NodeChildrenChanged fired on path /overseer/queue state SyncConnected
[junit4] 2> 696966 T6384 oasc.Overseer$ClusterStateUpdater.run processMessage: queueSize: 1, message = {
[junit4] 2> "operation":"leader",
[junit4] 2> "shard":"shard1",
[junit4] 2> "collection":"control_collection",
[junit4] 2> "base_url":"http://127.0.0.1:42395/_iqs/r",
[junit4] 2> "core":"collection1",
[junit4] 2> "state":"active"} current state version: 1
[junit4] 2> 697038 T6357 oas.SolrTestCaseJ4.writeCoreProperties Writing core.properties file to /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1
[junit4] 2> 697039 T6357 oasc.AbstractFullDistribZkTestBase.createJettys create jetty 1 in directory /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001
[junit4] 2> 697039 T6357 oejs.Server.doStart jetty-8.1.10.v20130312
[junit4] 2> 697041 T6357 oejs.AbstractConnector.doStart Started SelectChannelConnector@127.0.0.1:48685
[junit4] 2> 697041 T6357 oascse.JettySolrRunner$1.lifeCycleStarted Jetty properties: {solr.data.dir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/tempDir-001/jetty1, solrconfig=solrconfig.xml, hostContext=/_iqs/r, hostPort=48685, coreRootDirectory=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores}
[junit4] 2> 697042 T6357 oass.SolrDispatchFilter.init SolrDispatchFilter.init()sun.misc.Launcher$AppClassLoader@e2f2a
[junit4] 2> 697042 T6357 oasc.SolrResourceLoader.<init> new SolrResourceLoader for directory: '../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/'
[junit4] 2> 697056 T6357 oasc.SolrXmlConfig.fromFile Loading container configuration from /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/solr.xml
[junit4] 2> 697062 T6357 oasc.CorePropertiesLocator.<init> Config-defined core root directory: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores
[junit4] 2> 697062 T6357 oasc.CoreContainer.<init> New CoreContainer 32130176
[junit4] 2> 697063 T6357 oasc.CoreContainer.load Loading cores into CoreContainer [instanceDir=../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/]
[junit4] 2> 697063 T6357 oasc.CoreContainer.load loading shared library: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/lib
[junit4] 2> 697064 T6357 oasc.SolrResourceLoader.addToClassLoader WARN Can't find (or read) directory to add to classloader: lib (resolved as: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/lib).
[junit4] 2> 697067 T6383 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 1)
[junit4] 2> 697067 T6394 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 1)
[junit4] 2> 697071 T6357 oashc.HttpShardHandlerFactory.getParameter Setting socketTimeout to: 90000
[junit4] 2> 697071 T6357 oashc.HttpShardHandlerFactory.getParameter Setting urlScheme to:
[junit4] 2> 697072 T6357 oashc.HttpShardHandlerFactory.getParameter Setting connTimeout to: 15000
[junit4] 2> 697072 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maxConnectionsPerHost to: 20
[junit4] 2> 697072 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maxConnections to: 10000
[junit4] 2> 697073 T6357 oashc.HttpShardHandlerFactory.getParameter Setting corePoolSize to: 0
[junit4] 2> 697073 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maximumPoolSize to: 2147483647
[junit4] 2> 697074 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maxThreadIdleTime to: 5
[junit4] 2> 697074 T6357 oashc.HttpShardHandlerFactory.getParameter Setting sizeOfQueue to: -1
[junit4] 2> 697074 T6357 oashc.HttpShardHandlerFactory.getParameter Setting fairnessPolicy to: false
[junit4] 2> 697075 T6357 oashc.HttpShardHandlerFactory.getParameter Setting useRetries to: false
[junit4] 2> 697075 T6357 oasu.UpdateShardHandler.<init> Creating UpdateShardHandler HTTP client with params: socketTimeout=340000&connTimeout=45000&retry=true
[junit4] 2> 697076 T6357 oasl.LogWatcher.createWatcher SLF4J impl is org.slf4j.impl.Log4jLoggerFactory
[junit4] 2> 697076 T6357 oasl.LogWatcher.newRegisteredLogWatcher Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)]
[junit4] 2> 697076 T6357 oasc.CoreContainer.load Node Name: 127.0.0.1
[junit4] 2> 697077 T6357 oasc.ZkContainer.initZooKeeper Zookeeper client=127.0.0.1:46270/solr
[junit4] 2> 697077 T6357 oasc.ZkController.checkChrootPath zkHost includes chroot
[junit4] 2> 697078 T6357 oascc.SolrZkClient.createZkCredentialsToAddAutomatically Using default ZkCredentialsProvider
[junit4] 2> 697078 T6357 oascc.ConnectionManager.waitForConnected Waiting for client to connect to ZooKeeper
[junit4] 2> 697080 T6406 oascc.ConnectionManager.process Watcher org.apache.solr.common.cloud.ConnectionManager@2371a4 name:ZooKeeperConnection Watcher:127.0.0.1:46270 got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
[junit4] 2> 697080 T6357 oascc.ConnectionManager.waitForConnected Client is connected to ZooKeeper
[junit4] 2> 697081 T6357 oascc.SolrZkClient.createZkACLProvider Using default ZkACLProvider
[junit4] 2> 697082 T6357 oascc.ConnectionManager.waitForConnected Waiting for client to connect to ZooKeeper
[junit4] 2> 697083 T6409 oascc.ConnectionManager.process Watcher org.apache.solr.common.cloud.ConnectionManager@16a71c name:ZooKeeperConnection Watcher:127.0.0.1:46270/solr got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
[junit4] 2> 697083 T6357 oascc.ConnectionManager.waitForConnected Client is connected to ZooKeeper
[junit4] 2> 697085 T6357 oascc.ZkStateReader.createClusterStateWatchersAndUpdate Updating cluster state from ZooKeeper...
[junit4] 2> 697116 T6391 oasc.ZkController.register We are http://127.0.0.1:42395/_iqs/r/collection1/ and leader is http://127.0.0.1:42395/_iqs/r/collection1/
[junit4] 2> 697116 T6391 oasc.ZkController.register No LogReplay needed for core=collection1 baseURL=http://127.0.0.1:42395/_iqs/r
[junit4] 2> 697116 T6391 oasc.ZkController.checkRecovery I am the leader, no recovery necessary
[junit4] 2> 697116 T6391 oasc.ZkController.publish publishing core=collection1 state=active collection=control_collection
[junit4] 2> 697117 T6391 oasc.ZkController.publish numShards not found on descriptor - reading it from system property
[junit4] 2> 697118 T6383 oasc.DistributedQueue$LatchWatcher.process NodeChildrenChanged fired on path /overseer/queue state SyncConnected
[junit4] 2> 697118 T6384 oasc.Overseer$ClusterStateUpdater.run processMessage: queueSize: 1, message = {
[junit4] 2> "core":"collection1",
[junit4] 2> "core_node_name":"core_node1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:42395/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:42395__iqs%2Fr",
[junit4] 2> "numShards":"3",
[junit4] 2> "state":"active",
[junit4] 2> "shard":"shard1",
[junit4] 2> "collection":"control_collection",
[junit4] 2> "operation":"state"} current state version: 2
[junit4] 2> 697119 T6384 oasco.ReplicaMutator.updateState Update state numShards=3 message={
[junit4] 2> "core":"collection1",
[junit4] 2> "core_node_name":"core_node1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:42395/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:42395__iqs%2Fr",
[junit4] 2> "numShards":"3",
[junit4] 2> "state":"active",
[junit4] 2> "shard":"shard1",
[junit4] 2> "collection":"control_collection",
[junit4] 2> "operation":"state"}
[junit4] 2> 697221 T6394 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 1)
[junit4] 2> 697221 T6409 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 1)
[junit4] 2> 697221 T6383 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 1)
[junit4] 2> 698087 T6357 oasc.ZkController.createEphemeralLiveNode Register node as live in ZooKeeper:/live_nodes/127.0.0.1:48685__iqs%2Fr
[junit4] 2> 698088 T6357 oascc.SolrZkClient.makePath makePath: /live_nodes/127.0.0.1:48685__iqs%2Fr
[junit4] 2> 698089 T6357 oasc.Overseer.close Overseer (id=null) closing
[junit4] 2> 698090 T6357 oasc.CorePropertiesLocator.discover Looking for core definitions underneath /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores
[junit4] 1> CORE DESCRIPTOR: {name=collection1, config=solrconfig.xml, transient=false, schema=schema.xml, loadOnStartup=true, instanceDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1, collection=collection1, absoluteInstDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1/, coreNodeName=, dataDir=data/, shard=}
[junit4] 2> 698092 T6357 oasc.CorePropertiesLocator.discoverUnder Found core collection1 in /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1/
[junit4] 2> 698092 T6357 oasc.CorePropertiesLocator.discover Found 1 core definitions
[junit4] 2> 698093 T6410 oasc.ZkController.publish publishing core=collection1 state=down collection=collection1
[junit4] 2> 698093 T6410 oasc.ZkController.publish numShards not found on descriptor - reading it from system property
[junit4] 2> 698093 T6383 oasc.DistributedQueue$LatchWatcher.process NodeChildrenChanged fired on path /overseer/queue state SyncConnected
[junit4] 2> 698093 T6410 oasc.ZkController.waitForCoreNodeName look for our core node name
[junit4] 2> 698094 T6384 oasc.Overseer$ClusterStateUpdater.run processMessage: queueSize: 1, message = {
[junit4] 2> "core":"collection1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:48685/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:48685__iqs%2Fr",
[junit4] 2> "numShards":"3",
[junit4] 2> "state":"down",
[junit4] 2> "shard":null,
[junit4] 2> "collection":"collection1",
[junit4] 2> "operation":"state"} current state version: 3
[junit4] 2> 698094 T6384 oasco.ReplicaMutator.updateState Update state numShards=3 message={
[junit4] 2> "core":"collection1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:48685/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:48685__iqs%2Fr",
[junit4] 2> "numShards":"3",
[junit4] 2> "state":"down",
[junit4] 2> "shard":null,
[junit4] 2> "collection":"collection1",
[junit4] 2> "operation":"state"}
[junit4] 2> 698094 T6384 oasco.ClusterStateMutator.createCollection building a new cName: collection1
[junit4] 2> 698095 T6384 oasco.ReplicaMutator.updateState Assigning new node to shard shard=shard2
[junit4] 2> 698196 T6409 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 698199 T6394 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 698199 T6383 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 699094 T6410 oasc.ZkController.waitForShardId waiting to find shard id in clusterstate for collection1
[junit4] 2> 699094 T6410 oasc.ZkController.createCollectionZkNode Check for collection zkNode:collection1
[junit4] 2> 699094 T6410 oasc.ZkController.createCollectionZkNode Collection zkNode exists
[junit4] 2> 699095 T6410 oascc.ZkStateReader.readConfigName Load collection config from:/collections/collection1
[junit4] 2> 699095 T6410 oascc.ZkStateReader.readConfigName path=/collections/collection1 configName=conf1 specified config exists in ZooKeeper
[junit4] 2> 699095 T6410 oasc.SolrResourceLoader.<init> new SolrResourceLoader for directory: '/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1/'
[junit4] 2> 699103 T6410 oasc.ZkController.watchZKConfDir watch zkdir /configs/conf1
[junit4] 2> 699104 T6410 oasc.Config.<init> loaded config solrconfig.xml with version 0
[junit4] 2> 699107 T6410 oasc.SolrConfig.refreshRequestParams current version of requestparams : -1
[junit4] 2> 699111 T6410 oasc.SolrConfig.<init> Using Lucene MatchVersion: 5.1.0
[junit4] 2> 699118 T6410 oasc.SolrConfig.<init> Loaded SolrConfig: solrconfig.xml
[junit4] 2> 699119 T6410 oass.IndexSchema.readSchema Reading Solr Schema from /configs/conf1/schema.xml
[junit4] 2> 699122 T6410 oass.IndexSchema.readSchema [collection1] Schema name=test
[junit4] 2> 699196 T6410 oass.IndexSchema.readSchema default search field in schema is text
[junit4] 2> 699197 T6410 oass.IndexSchema.readSchema unique key field: id
[junit4] 2> 699198 T6410 oass.FileExchangeRateProvider.reload Reloading exchange rates from file currency.xml
[junit4] 2> 699200 T6410 oass.FileExchangeRateProvider.reload Reloading exchange rates from file currency.xml
[junit4] 2> 699206 T6410 oasc.CoreContainer.create Creating SolrCore 'collection1' using configuration from collection collection1
[junit4] 2> 699207 T6410 oasc.SolrCore.initDirectoryFactory org.apache.solr.core.MockDirectoryFactory
[junit4] 2> 699207 T6410 oasc.SolrCore.<init> [collection1] Opening new SolrCore at /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1/, dataDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1/data/
[junit4] 2> 699207 T6410 oasc.JmxMonitoredMap.<init> JMX monitoring is enabled. Adding Solr mbeans to JMX Server: com.sun.jmx.mbeanserver.JmxMBeanServer@53a23d
[junit4] 2> 699208 T6410 oasc.CachingDirectoryFactory.get return new directory for /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1/data
[junit4] 2> 699208 T6410 oasc.SolrCore.getNewIndexDir New index directory detected: old=null new=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1/data/index/
[junit4] 2> 699208 T6410 oasc.SolrCore.initIndex WARN [collection1] Solr index directory '/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1/data/index' doesn't exist. Creating new index...
[junit4] 2> 699208 T6410 oasc.CachingDirectoryFactory.get return new directory for /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/../../../../../../../../../home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-1-001/cores/collection1/data/index
[junit4] 2> 699208 T6410 oasu.RandomMergePolicy.<init> RandomMergePolicy wrapping class org.apache.lucene.index.TieredMergePolicy: [TieredMergePolicy: maxMergeAtOnce=49, maxMergeAtOnceExplicit=15, maxMergedSegmentMB=12.5615234375, floorSegmentMB=0.2666015625, forceMergeDeletesPctAllowed=8.520484373124678, segmentsPerTier=38.0, maxCFSSegmentSizeMB=8.796093022207999E12, noCFSRatio=0.17078733564647947
[junit4] 2> 699209 T6410 oasc.SolrDeletionPolicy.onCommit SolrDeletionPolicy.onCommit: commits: num=1
[junit4] 2> commit{dir=MockDirectoryWrapper(RAMDirectory@1c7243f lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@10e70eb),segFN=segments_1,generation=1}
[junit4] 2> 699209 T6410 oasc.SolrDeletionPolicy.updateCommits newest commit generation = 1
[junit4] 2> 699212 T6410 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "nodistrib"
[junit4] 2> 699212 T6410 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "dedupe"
[junit4] 2> 699212 T6410 oasup.UpdateRequestProcessorChain.init inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain "dedupe"
[junit4] 2> 699212 T6410 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "stored_sig"
[junit4] 2> 699212 T6410 oasup.UpdateRequestProcessorChain.init inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain "stored_sig"
[junit4] 2> 699212 T6410 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "distrib-dup-test-chain-explicit"
[junit4] 2> 699213 T6410 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "distrib-dup-test-chain-implicit"
[junit4] 2> 699213 T6410 oasup.UpdateRequestProcessorChain.init inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain "distrib-dup-test-chain-implicit"
[junit4] 2> 699213 T6410 oasc.SolrCore.loadUpdateProcessorChains no updateRequestProcessorChain defined as default, creating implicit default
[junit4] 2> 699214 T6410 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 699215 T6410 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 699216 T6410 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 699216 T6410 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 699219 T6410 oasc.RequestHandlers.initHandlersFromConfig Registered paths: /admin/mbeans,standard,/update/csv,/update/json/docs,/admin/luke,/admin/segments,/get,/admin/system,/replication,/admin/properties,/config,/schema,/admin/plugins,/admin/logging,/update/json,/admin/threads,/admin/ping,/update,/admin/file
[junit4] 2> 699220 T6410 oasc.SolrCore.initStatsCache Using default statsCache cache: org.apache.solr.search.stats.LocalStatsCache
[junit4] 2> 699220 T6410 oasu.UpdateHandler.<init> Using UpdateLog implementation: org.apache.solr.update.UpdateLog
[junit4] 2> 699220 T6410 oasu.UpdateLog.init Initializing UpdateLog: dataDir= defaultSyncLevel=FLUSH numRecordsToKeep=100 maxNumLogsToKeep=10
[junit4] 2> 699221 T6410 oasu.CommitTracker.<init> Hard AutoCommit: disabled
[junit4] 2> 699221 T6410 oasu.CommitTracker.<init> Soft AutoCommit: disabled
[junit4] 2> 699221 T6410 oasu.RandomMergePolicy.<init> RandomMergePolicy wrapping class org.apache.lucene.index.TieredMergePolicy: [TieredMergePolicy: maxMergeAtOnce=41, maxMergeAtOnceExplicit=18, maxMergedSegmentMB=3.27734375, floorSegmentMB=0.875, forceMergeDeletesPctAllowed=18.556567161373547, segmentsPerTier=34.0, maxCFSSegmentSizeMB=8.796093022207999E12, noCFSRatio=0.5076618464389847
[junit4] 2> 699221 T6410 oasc.SolrDeletionPolicy.onInit SolrDeletionPolicy.onInit: commits: num=1
[junit4] 2> commit{dir=MockDirectoryWrapper(RAMDirectory@1c7243f lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@10e70eb),segFN=segments_1,generation=1}
[junit4] 2> 699222 T6410 oasc.SolrDeletionPolicy.updateCommits newest commit generation = 1
[junit4] 2> 699222 T6410 oass.SolrIndexSearcher.<init> Opening Searcher@8bd8c5[collection1] main
[junit4] 2> 699222 T6410 oascc.ZkStateReader.readConfigName Load collection config from:/collections/collection1
[junit4] 2> 699222 T6410 oascc.ZkStateReader.readConfigName path=/collections/collection1 configName=conf1 specified config exists in ZooKeeper
[junit4] 2> 699223 T6410 oasr.ManagedResourceStorage.newStorageIO Setting up ZooKeeper-based storage for the RestManager with znodeBase: /configs/conf1
[junit4] 2> 699223 T6410 oasr.ManagedResourceStorage$ZooKeeperStorageIO.configure Configured ZooKeeperStorageIO with znodeBase: /configs/conf1
[junit4] 2> 699223 T6410 oasr.RestManager.init Initializing RestManager with initArgs: {}
[junit4] 2> 699223 T6410 oasr.ManagedResourceStorage.load Reading _rest_managed.json using ZooKeeperStorageIO:path=/configs/conf1
[junit4] 2> 699223 T6410 oasr.ManagedResourceStorage$ZooKeeperStorageIO.openInputStream No data found for znode /configs/conf1/_rest_managed.json
[junit4] 2> 699224 T6410 oasr.ManagedResourceStorage.load Loaded null at path _rest_managed.json using ZooKeeperStorageIO:path=/configs/conf1
[junit4] 2> 699224 T6410 oasr.RestManager.init Initializing 0 registered ManagedResources
[junit4] 2> 699224 T6410 oash.ReplicationHandler.inform Commits will be reserved for 10000
[junit4] 2> 699224 T6411 oasc.SolrCore.registerSearcher [collection1] Registered new searcher Searcher@8bd8c5[collection1] main{ExitableDirectoryReader(UninvertingDirectoryReader())}
[junit4] 2> 699225 T6410 oasc.CoreContainer.registerCore registering core: collection1
[junit4] 2> 699225 T6414 oasc.ZkController.register Register replica - core:collection1 address:http://127.0.0.1:48685/_iqs/r collection:collection1 shard:shard2
[junit4] 2> 699225 T6357 oass.SolrDispatchFilter.init user.dir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1
[junit4] 2> 699226 T6357 oass.SolrDispatchFilter.init SolrDispatchFilter.init() done
[junit4] 2> 699225 T6414 oascc.SolrZkClient.makePath makePath: /collections/collection1/leader_elect/shard2/election
[junit4] 2> 699228 T6414 oasc.ShardLeaderElectionContext.runLeaderProcess Running the leader process for shard shard2
[junit4] 2> 699229 T6383 oasc.DistributedQueue$LatchWatcher.process NodeChildrenChanged fired on path /overseer/queue state SyncConnected
[junit4] 2> 699229 T6414 oasc.ShardLeaderElectionContext.waitForReplicasToComeUp Enough replicas found to continue.
[junit4] 2> 699229 T6414 oasc.ShardLeaderElectionContext.runLeaderProcess I may be the new leader - try and sync
[junit4] 2> 699229 T6384 oasc.Overseer$ClusterStateUpdater.run processMessage: queueSize: 1, message = {
[junit4] 2> "operation":"leader",
[junit4] 2> "shard":"shard2",
[junit4] 2> "collection":"collection1"} current state version: 4
[junit4] 2> ASYNC NEW_CORE C695 name=collection1 org.apache.solr.core.SolrCore@1f77ff4 url=http://127.0.0.1:48685/_iqs/r/collection1 node=127.0.0.1:48685__iqs%2Fr C695_STATE=coll:collection1 core:collection1 props:{core=collection1, base_url=http://127.0.0.1:48685/_iqs/r, node_name=127.0.0.1:48685__iqs%2Fr, state=down}
[junit4] 2> 699229 T6414 C695 P48685 oasc.SyncStrategy.sync Sync replicas to http://127.0.0.1:48685/_iqs/r/collection1/
[junit4] 2> 699230 T6414 C695 P48685 oasc.SyncStrategy.syncReplicas Sync Success - now sync replicas to me
[junit4] 2> 699230 T6414 C695 P48685 oasc.SyncStrategy.syncToMe http://127.0.0.1:48685/_iqs/r/collection1/ has no replicas
[junit4] 2> 699230 T6414 oasc.ShardLeaderElectionContext.runLeaderProcess I am the new leader: http://127.0.0.1:48685/_iqs/r/collection1/ shard2
[junit4] 2> 699230 T6414 oascc.SolrZkClient.makePath makePath: /collections/collection1/leaders/shard2
[junit4] 2> 699232 T6383 oasc.DistributedQueue$LatchWatcher.process NodeChildrenChanged fired on path /overseer/queue state SyncConnected
[junit4] 2> 699232 T6384 oasc.Overseer$ClusterStateUpdater.run processMessage: queueSize: 1, message = {
[junit4] 2> "operation":"leader",
[junit4] 2> "shard":"shard2",
[junit4] 2> "collection":"collection1",
[junit4] 2> "base_url":"http://127.0.0.1:48685/_iqs/r",
[junit4] 2> "core":"collection1",
[junit4] 2> "state":"active"} current state version: 4
[junit4] 2> 699282 T6357 oas.SolrTestCaseJ4.writeCoreProperties Writing core.properties file to /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1
[junit4] 2> 699283 T6357 oasc.AbstractFullDistribZkTestBase.createJettys create jetty 2 in directory /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001
[junit4] 2> 699284 T6357 oejs.Server.doStart jetty-8.1.10.v20130312
[junit4] 2> 699285 T6357 oejs.AbstractConnector.doStart Started SelectChannelConnector@127.0.0.1:45095
[junit4] 2> 699285 T6357 oascse.JettySolrRunner$1.lifeCycleStarted Jetty properties: {solr.data.dir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/tempDir-001/jetty2, solrconfig=solrconfig.xml, hostContext=/_iqs/r, hostPort=45095, coreRootDirectory=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores}
[junit4] 2> 699286 T6357 oass.SolrDispatchFilter.init SolrDispatchFilter.init()sun.misc.Launcher$AppClassLoader@e2f2a
[junit4] 2> 699286 T6357 oasc.SolrResourceLoader.<init> new SolrResourceLoader for directory: '/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/'
[junit4] 2> 699297 T6357 oasc.SolrXmlConfig.fromFile Loading container configuration from /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/solr.xml
[junit4] 2> 699301 T6357 oasc.CorePropertiesLocator.<init> Config-defined core root directory: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores
[junit4] 2> 699301 T6357 oasc.CoreContainer.<init> New CoreContainer 310965
[junit4] 2> 699302 T6357 oasc.CoreContainer.load Loading cores into CoreContainer [instanceDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/]
[junit4] 2> 699302 T6357 oasc.CoreContainer.load loading shared library: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/lib
[junit4] 2> 699302 T6357 oasc.SolrResourceLoader.addToClassLoader WARN Can't find (or read) directory to add to classloader: lib (resolved as: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/lib).
[junit4] 2> 699306 T6357 oashc.HttpShardHandlerFactory.getParameter Setting socketTimeout to: 90000
[junit4] 2> 699307 T6357 oashc.HttpShardHandlerFactory.getParameter Setting urlScheme to:
[junit4] 2> 699307 T6357 oashc.HttpShardHandlerFactory.getParameter Setting connTimeout to: 15000
[junit4] 2> 699308 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maxConnectionsPerHost to: 20
[junit4] 2> 699308 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maxConnections to: 10000
[junit4] 2> 699308 T6357 oashc.HttpShardHandlerFactory.getParameter Setting corePoolSize to: 0
[junit4] 2> 699309 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maximumPoolSize to: 2147483647
[junit4] 2> 699309 T6357 oashc.HttpShardHandlerFactory.getParameter Setting maxThreadIdleTime to: 5
[junit4] 2> 699309 T6357 oashc.HttpShardHandlerFactory.getParameter Setting sizeOfQueue to: -1
[junit4] 2> 699310 T6357 oashc.HttpShardHandlerFactory.getParameter Setting fairnessPolicy to: false
[junit4] 2> 699310 T6357 oashc.HttpShardHandlerFactory.getParameter Setting useRetries to: false
[junit4] 2> 699310 T6357 oasu.UpdateShardHandler.<init> Creating UpdateShardHandler HTTP client with params: socketTimeout=340000&connTimeout=45000&retry=true
[junit4] 2> 699311 T6357 oasl.LogWatcher.createWatcher SLF4J impl is org.slf4j.impl.Log4jLoggerFactory
[junit4] 2> 699311 T6357 oasl.LogWatcher.newRegisteredLogWatcher Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)]
[junit4] 2> 699311 T6357 oasc.CoreContainer.load Node Name: 127.0.0.1
[junit4] 2> 699311 T6357 oasc.ZkContainer.initZooKeeper Zookeeper client=127.0.0.1:46270/solr
[junit4] 2> 699312 T6357 oasc.ZkController.checkChrootPath zkHost includes chroot
[junit4] 2> 699312 T6357 oascc.SolrZkClient.createZkCredentialsToAddAutomatically Using default ZkCredentialsProvider
[junit4] 2> 699313 T6357 oascc.ConnectionManager.waitForConnected Waiting for client to connect to ZooKeeper
[junit4] 2> 699313 T6426 oascc.ConnectionManager.process Watcher org.apache.solr.common.cloud.ConnectionManager@123bdde name:ZooKeeperConnection Watcher:127.0.0.1:46270 got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
[junit4] 2> 699314 T6357 oascc.ConnectionManager.waitForConnected Client is connected to ZooKeeper
[junit4] 2> 699314 T6357 oascc.SolrZkClient.createZkACLProvider Using default ZkACLProvider
[junit4] 2> 699315 T6357 oascc.ConnectionManager.waitForConnected Waiting for client to connect to ZooKeeper
[junit4] 2> 699317 T6429 oascc.ConnectionManager.process Watcher org.apache.solr.common.cloud.ConnectionManager@691352 name:ZooKeeperConnection Watcher:127.0.0.1:46270/solr got event WatchedEvent state:SyncConnected type:None path:null path:null type:None
[junit4] 2> 699317 T6357 oascc.ConnectionManager.waitForConnected Client is connected to ZooKeeper
[junit4] 2> 699320 T6357 oascc.ZkStateReader.createClusterStateWatchersAndUpdate Updating cluster state from ZooKeeper...
[junit4] 2> 699334 T6394 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 699334 T6429 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 699334 T6409 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 699337 T6383 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 699382 T6414 oasc.ZkController.register We are http://127.0.0.1:48685/_iqs/r/collection1/ and leader is http://127.0.0.1:48685/_iqs/r/collection1/
[junit4] 2> 699383 T6414 oasc.ZkController.register No LogReplay needed for core=collection1 baseURL=http://127.0.0.1:48685/_iqs/r
[junit4] 2> 699383 T6414 oasc.ZkController.checkRecovery I am the leader, no recovery necessary
[junit4] 2> 699383 T6414 oasc.ZkController.publish publishing core=collection1 state=active collection=collection1
[junit4] 2> 699383 T6414 oasc.ZkController.publish numShards not found on descriptor - reading it from system property
[junit4] 2> 699384 T6383 oasc.DistributedQueue$LatchWatcher.process NodeChildrenChanged fired on path /overseer/queue state SyncConnected
[junit4] 2> 699384 T6384 oasc.Overseer$ClusterStateUpdater.run processMessage: queueSize: 1, message = {
[junit4] 2> "core":"collection1",
[junit4] 2> "core_node_name":"core_node1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:48685/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:48685__iqs%2Fr",
[junit4] 2> "numShards":"3",
[junit4] 2> "state":"active",
[junit4] 2> "shard":"shard2",
[junit4] 2> "collection":"collection1",
[junit4] 2> "operation":"state"} current state version: 5
[junit4] 2> 699385 T6384 oasco.ReplicaMutator.updateState Update state numShards=3 message={
[junit4] 2> "core":"collection1",
[junit4] 2> "core_node_name":"core_node1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:48685/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:48685__iqs%2Fr",
[junit4] 2> "numShards":"3",
[junit4] 2> "state":"active",
[junit4] 2> "shard":"shard2",
[junit4] 2> "collection":"collection1",
[junit4] 2> "operation":"state"}
[junit4] 2> 699487 T6394 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 699487 T6383 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 699487 T6409 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 699489 T6429 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 2)
[junit4] 2> 700322 T6357 oasc.ZkController.createEphemeralLiveNode Register node as live in ZooKeeper:/live_nodes/127.0.0.1:45095__iqs%2Fr
[junit4] 2> 700323 T6357 oascc.SolrZkClient.makePath makePath: /live_nodes/127.0.0.1:45095__iqs%2Fr
[junit4] 2> 700324 T6357 oasc.Overseer.close Overseer (id=null) closing
[junit4] 2> 700325 T6357 oasc.CorePropertiesLocator.discover Looking for core definitions underneath /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores
[junit4] 1> CORE DESCRIPTOR: {name=collection1, config=solrconfig.xml, transient=false, schema=schema.xml, loadOnStartup=true, instanceDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1, collection=collection1, absoluteInstDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1/, coreNodeName=, dataDir=data/, shard=}
[junit4] 2> 700326 T6357 oasc.CorePropertiesLocator.discoverUnder Found core collection1 in /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1/
[junit4] 2> 700327 T6357 oasc.CorePropertiesLocator.discover Found 1 core definitions
[junit4] 2> 700327 T6430 oasc.ZkController.publish publishing core=collection1 state=down collection=collection1
[junit4] 2> 700327 T6430 oasc.ZkController.publish numShards not found on descriptor - reading it from system property
[junit4] 2> 700328 T6383 oasc.DistributedQueue$LatchWatcher.process NodeChildrenChanged fired on path /overseer/queue state SyncConnected
[junit4] 2> 700328 T6430 oasc.ZkController.waitForCoreNodeName look for our core node name
[junit4] 2> 700328 T6384 oasc.Overseer$ClusterStateUpdater.run processMessage: queueSize: 1, message = {
[junit4] 2> "core":"collection1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:45095/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:45095__iqs%2Fr",
[junit4] 2> "numShards":"3",
[junit4] 2> "state":"down",
[junit4] 2> "shard":null,
[junit4] 2> "collection":"collection1",
[junit4] 2> "operation":"state"} current state version: 6
[junit4] 2> 700329 T6384 oasco.ReplicaMutator.updateState Update state numShards=3 message={
[junit4] 2> "core":"collection1",
[junit4] 2> "roles":null,
[junit4] 2> "base_url":"http://127.0.0.1:45095/_iqs/r",
[junit4] 2> "node_name":"127.0.0.1:45095__iqs%2Fr",
[junit4] 2> "numShards":"3",
[junit4] 2> "state":"down",
[junit4] 2> "shard":null,
[junit4] 2> "collection":"collection1",
[junit4] 2> "operation":"state"}
[junit4] 2> 700329 T6384 oasco.ReplicaMutator.updateState Collection already exists with numShards=3
[junit4] 2> 700329 T6384 oasco.ReplicaMutator.updateState Assigning new node to shard shard=shard3
[junit4] 2> 700430 T6394 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 3)
[junit4] 2> 700430 T6383 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 3)
[junit4] 2> 700430 T6409 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 3)
[junit4] 2> 700431 T6429 oascc.ZkStateReader$2.process A cluster state change: WatchedEvent state:SyncConnected type:NodeDataChanged path:/clusterstate.json, has occurred - updating... (live nodes size: 3)
[junit4] 2> 701328 T6430 oasc.ZkController.waitForShardId waiting to find shard id in clusterstate for collection1
[junit4] 2> 701328 T6430 oasc.ZkController.createCollectionZkNode Check for collection zkNode:collection1
[junit4] 2> 701329 T6430 oasc.ZkController.createCollectionZkNode Collection zkNode exists
[junit4] 2> 701329 T6430 oascc.ZkStateReader.readConfigName Load collection config from:/collections/collection1
[junit4] 2> 701330 T6430 oascc.ZkStateReader.readConfigName path=/collections/collection1 configName=conf1 specified config exists in ZooKeeper
[junit4] 2> 701330 T6430 oasc.SolrResourceLoader.<init> new SolrResourceLoader for directory: '/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1/'
[junit4] 2> 701340 T6430 oasc.ZkController.watchZKConfDir watch zkdir /configs/conf1
[junit4] 2> 701341 T6430 oasc.Config.<init> loaded config solrconfig.xml with version 0
[junit4] 2> 701345 T6430 oasc.SolrConfig.refreshRequestParams current version of requestparams : -1
[junit4] 2> 701349 T6430 oasc.SolrConfig.<init> Using Lucene MatchVersion: 5.1.0
[junit4] 2> 701358 T6430 oasc.SolrConfig.<init> Loaded SolrConfig: solrconfig.xml
[junit4] 2> 701359 T6430 oass.IndexSchema.readSchema Reading Solr Schema from /configs/conf1/schema.xml
[junit4] 2> 701364 T6430 oass.IndexSchema.readSchema [collection1] Schema name=test
[junit4] 2> 701458 T6430 oass.IndexSchema.readSchema default search field in schema is text
[junit4] 2> 701459 T6430 oass.IndexSchema.readSchema unique key field: id
[junit4] 2> 701460 T6430 oass.FileExchangeRateProvider.reload Reloading exchange rates from file currency.xml
[junit4] 2> 701462 T6430 oass.FileExchangeRateProvider.reload Reloading exchange rates from file currency.xml
[junit4] 2> 701472 T6430 oasc.CoreContainer.create Creating SolrCore 'collection1' using configuration from collection collection1
[junit4] 2> 701472 T6430 oasc.SolrCore.initDirectoryFactory org.apache.solr.core.MockDirectoryFactory
[junit4] 2> 701472 T6430 oasc.SolrCore.<init> [collection1] Opening new SolrCore at /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1/, dataDir=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1/data/
[junit4] 2> 701472 T6430 oasc.JmxMonitoredMap.<init> JMX monitoring is enabled. Adding Solr mbeans to JMX Server: com.sun.jmx.mbeanserver.JmxMBeanServer@53a23d
[junit4] 2> 701473 T6430 oasc.CachingDirectoryFactory.get return new directory for /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1/data
[junit4] 2> 701473 T6430 oasc.SolrCore.getNewIndexDir New index directory detected: old=null new=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1/data/index/
[junit4] 2> 701473 T6430 oasc.SolrCore.initIndex WARN [collection1] Solr index directory '/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1/data/index' doesn't exist. Creating new index...
[junit4] 2> 701474 T6430 oasc.CachingDirectoryFactory.get return new directory for /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.cloud.FullSolrCloudDistribCmdsTest 838D38BBCAA1EDC-001/shard-2-001/cores/collection1/data/index
[junit4] 2> 701474 T6430 oasu.RandomMergePolicy.<init> RandomMergePolicy wrapping class org.apache.lucene.index.TieredMergePolicy: [TieredMergePolicy: maxMergeAtOnce=49, maxMergeAtOnceExplicit=15, maxMergedSegmentMB=12.5615234375, floorSegmentMB=0.2666015625, forceMergeDeletesPctAllowed=8.520484373124678, segmentsPerTier=38.0, maxCFSSegmentSizeMB=8.796093022207999E12, noCFSRatio=0.17078733564647947
[junit4] 2> 701474 T6430 oasc.SolrDeletionPolicy.onCommit SolrDeletionPolicy.onCommit: commits: num=1
[junit4] 2> commit{dir=MockDirectoryWrapper(RAMDirectory@9e11f0 lockFactory=org.apache.lucene.store.SingleInstanceLockFactory@10e7bee),segFN=segments_1,generation=1}
[junit4] 2> 701475 T6430 oasc.SolrDeletionPolicy.updateCommits newest commit generation = 1
[junit4] 2> 701478 T6430 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "nodistrib"
[junit4] 2> 701478 T6430 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "dedupe"
[junit4] 2> 701478 T6430 oasup.UpdateRequestProcessorChain.init inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain "dedupe"
[junit4] 2> 701478 T6430 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "stored_sig"
[junit4] 2> 701478 T6430 oasup.UpdateRequestProcessorChain.init inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain "stored_sig"
[junit4] 2> 701478 T6430 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "distrib-dup-test-chain-explicit"
[junit4] 2> 701479 T6430 oasup.UpdateRequestProcessorChain.init creating updateRequestProcessorChain "distrib-dup-test-chain-implicit"
[junit4] 2> 701479 T6430 oasup.UpdateRequestProcessorChain.init inserting DistributedUpdateProcessorFactory into updateRequestProcessorChain "distrib-dup-test-chain-implicit"
[junit4] 2> 701479 T6430 oasc.SolrCore.loadUpdateProcessorChains no updateRequestProcessorChain defined as default, creating implicit default
[junit4] 2> 701480 T6430 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 701481 T6430 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 701481 T6430 oashl.XMLLoader.init xsltCacheLifetimeSeconds=60
[junit4] 2> 701482 T6430 oashl.XMLLoad
[...truncated too long message...]
path=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.handler.TestSolrConfigHandlerCloud 838D38BBCAA1EDC-001/shard-4-001/cores/collection1/data;done=false>>]
[junit4] 2> 1156254 T9146 oasc.CachingDirectoryFactory.close Closing directory: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.handler.TestSolrConfigHandlerCloud 838D38BBCAA1EDC-001/shard-4-001/cores/collection1/data
[junit4] 2> 1156255 T9146 oasc.CachingDirectoryFactory.closeCacheValue looking to close /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.handler.TestSolrConfigHandlerCloud 838D38BBCAA1EDC-001/shard-4-001/cores/collection1/data/index [CachedDir<<refCount=0;path=/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.handler.TestSolrConfigHandlerCloud 838D38BBCAA1EDC-001/shard-4-001/cores/collection1/data/index;done=false>>]
[junit4] 2> 1156255 T9146 oasc.CachingDirectoryFactory.close Closing directory: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.handler.TestSolrConfigHandlerCloud 838D38BBCAA1EDC-001/shard-4-001/cores/collection1/data/index
[junit4] 2> 1156255 T9146 oasc.Overseer.close Overseer (id=93505095187431436-127.0.0.1:42802_-n_0000000004) closing
[junit4] 2> 1156256 T9470 oasc.Overseer$ClusterStateUpdater.run Overseer Loop exiting : 127.0.0.1:42802_
[junit4] 2> 1157756 T9260 oascc.ZkStateReader$3.process WARN ZooKeeper watch triggered, but Solr cannot talk to ZK
[junit4] 2> 1157787 T9146 oejsh.ContextHandler.doStop stopped o.e.j.s.ServletContextHandler{/,null}
[junit4] 2> 1157979 T9146 oasc.ZkTestServer.send4LetterWord connecting to 127.0.0.1:38301 38301
[junit4] 2> 1158075 T9147 oasc.ZkTestServer.send4LetterWord connecting to 127.0.0.1:38301 38301
[junit4] 2> 1158076 T9147 oasc.ZkTestServer$ZKServerMain.runFromConfig WARN Watch limit violations:
[junit4] 2> Maximum concurrent create/delete watches above limit:
[junit4] 2>
[junit4] 2> 100 /solr/configs/conf1
[junit4] 2> 6 /solr/aliases.json
[junit4] 2> 6 /solr/clusterstate.json
[junit4] 2>
[junit4] 2> Maximum concurrent children watches above limit:
[junit4] 2>
[junit4] 2> 6 /solr/live_nodes
[junit4] 2> 5 /solr/overseer/queue
[junit4] 2> 5 /solr/overseer/collection-queue-work
[junit4] 2>
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=TestSolrConfigHandlerCloud -Dtests.method=test -Dtests.seed=838D38BBCAA1EDC -Dtests.multiplier=3 -Dtests.slow=true -Dtests.locale=sr_ME -Dtests.timezone=Navajo -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] FAILURE 38.0s J1 | TestSolrConfigHandlerCloud.test <<<
[junit4] > Throwable #1: java.lang.AssertionError: Could not get expected value 'CY val' for path 'response/params/y/c' full output: {
[junit4] > "responseHeader":{
[junit4] > "status":0,
[junit4] > "QTime":0},
[junit4] > "response":{
[junit4] > "znodeVersion":0,
[junit4] > "params":{"x":{
[junit4] > "a":"A val",
[junit4] > "b":"B val",
[junit4] > "":{"v":0}}}}}
[junit4] > at __randomizedtesting.SeedInfo.seed([838D38BBCAA1EDC:806CEC5112567324]:0)
[junit4] > at org.apache.solr.core.TestSolrConfigHandler.testForResponseElement(TestSolrConfigHandler.java:399)
[junit4] > at org.apache.solr.handler.TestSolrConfigHandlerCloud.testReqParams(TestSolrConfigHandlerCloud.java:190)
[junit4] > at org.apache.solr.handler.TestSolrConfigHandlerCloud.test(TestSolrConfigHandlerCloud.java:78)
[junit4] > at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:958)
[junit4] > at org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:933)
[junit4] > at java.lang.Thread.run(Thread.java:745)
[junit4] 2> 1158085 T9146 oas.SolrTestCaseJ4.deleteCore ###deleteCore
[junit4] 2> NOTE: leaving temporary files on disk at: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J1/temp/solr.handler.TestSolrConfigHandlerCloud 838D38BBCAA1EDC-001
[junit4] 2> 38032 T9145 ccr.ThreadLeakControl.checkThreadLeaks WARNING Will linger awaiting termination of 1 leaked thread(s).
[junit4] 2> NOTE: test params are: codec=HighCompressionCompressingStoredFields(storedFieldsFormat=CompressingStoredFieldsFormat(compressionMode=HIGH_COMPRESSION, chunkSize=2, maxDocsPerChunk=4, blockSize=446), termVectorsFormat=CompressingTermVectorsFormat(compressionMode=HIGH_COMPRESSION, chunkSize=2, blockSize=446)), sim=DefaultSimilarity, locale=sr_ME, timezone=Navajo
[junit4] 2> NOTE: Linux 3.13.0-46-generic i386/Oracle Corporation 1.8.0_40 (32-bit)/cpus=12,threads=1,free=256292536,total=449839104
[junit4] 2> NOTE: All tests run in this JVM: [HttpPartitionTest, SpatialFilterTest, ActionThrottleTest, FacetPivotSmallTest, TestCoreContainer, TestMiniSolrCloudClusterSSL, DirectSolrConnectionTest, TestPHPSerializedResponseWriter, TestManagedSchema, ScriptEngineTest, DocumentAnalysisRequestHandlerTest, SolrCmdDistributorTest, TestCloudInspectUtil, TestSolrCoreProperties, ShardRoutingTest, TestDynamicLoading, TriLevelCompositeIdRoutingTest, EchoParamsTest, ZkCLITest, HdfsRecoveryZkTest, TestBlendedInfixSuggestions, JsonLoaderTest, RAMDirectoryFactoryTest, RequiredFieldsTest, TestLMDirichletSimilarityFactory, TestLRUCache, TestValueSourceCache, TestSchemaVersionResource, TestStressUserVersions, LukeRequestHandlerTest, TestSuggestSpellingConverter, TestStressVersions, TestHashPartitioner, SpatialRPTFieldTypeTest, SolrTestCaseJ4Test, TestLMJelinekMercerSimilarityFactory, PreAnalyzedFieldTest, TestAnalyzeInfixSuggestions, BadComponentTest, SpatialHeatmapFacetsTest, DistributedQueueTest, TestLeaderElectionZkExpiry, OverseerStatusTest, TestRandomMergePolicy, DistributedMLTComponentTest, TestCollectionAPI, SpellPossibilityIteratorTest, BasicFunctionalityTest, TestReplicationHandlerBackup, TestDistributedGrouping, DistributedDebugComponentTest, TestAtomicUpdateErrorCases, TestTolerantSearch, ClusterStateUpdateTest, ShardRoutingCustomTest, TestRequestStatusCollectionAPI, TestCryptoKeys, TestCollationFieldDocValues, ZkControllerTest, SimpleCollectionCreateDeleteTest, FileUtilsTest, TestFoldingMultitermQuery, FieldAnalysisRequestHandlerTest, HdfsBasicDistributedZk2Test, DistanceFunctionTest, TestShortCircuitedRequests, TestCoreDiscovery, TestSchemaSimilarityResource, HighlighterMaxOffsetTest, WordBreakSolrSpellCheckerTest, TestCursorMarkWithoutUniqueKey, TestRTGBase, QueryResultKeyTest, TestConfigSets, CurrencyFieldOpenExchangeTest, ChaosMonkeySafeLeaderTest, CoreAdminHandlerTest, AlternateDirectoryTest, CollectionsAPIDistributedZkTest, OpenCloseCoreStressTest, OverseerTest, BasicZkTest, RecoveryZkTest, FullSolrCloudDistribCmdsTest, TestRandomFaceting, LeaderElectionTest, TestRandomDVFaceting, TermVectorComponentDistributedTest, TestRealTimeGet, TestJoin, TestReload, DistributedTermsComponentTest, TestRangeQuery, SimpleFacetsTest, TestSolr4Spatial, SolrCoreTest, TestGroupingSearch, TestFunctionQuery, TestLazyCores, TestBadConfig, TestIndexSearcher, ShowFileRequestHandlerTest, CurrencyFieldXmlFileTest, SolrIndexSplitterTest, AnalysisAfterCoreReloadTest, SuggesterFSTTest, SuggesterTest, TestTrie, NoCacheHeaderTest, TestWordDelimiterFilterFactory, TestRemoteStreaming, XsltUpdateRequestHandlerTest, DebugComponentTest, TestWriterPerf, PrimitiveFieldTypeTest, TermsComponentTest, RequestHandlersTest, TestIndexingPerformance, SolrPluginUtilsTest, UpdateRequestProcessorFactoryTest, MBeansHandlerTest, TestAnalyzedSuggestions, TestQuerySenderListener, TestQuerySenderNoQuery, TestSolrDeletionPolicy2, SampleTest, TestCharFilters, TestCodecSupport, TestDFRSimilarityFactory, TestFastWriter, ResourceLoaderTest, URLClassifyProcessorTest, PrimUtilsTest, SliceStateTest, CircularListTest, TestHighlightDedupGrouping, TestJettySolrRunner, CloudExitableDirectoryReaderTest, DeleteReplicaTest, LeaderInitiatedRecoveryOnCommitTest, OverseerRolesTest, TestMiniSolrCloudCluster, VMParamsZkACLAndCredentialsProvidersTest, HdfsChaosMonkeySafeLeaderTest, HdfsCollectionsAPIDistributedZkTest, HdfsWriteToMultipleCollectionsTest, StressHdfsTest, ZkStateWriterTest, CachingDirectoryFactoryTest, TestReqParamsAPI, TestSolrConfigHandlerCloud]
[junit4] Completed on J1 in 38.30s, 1 test, 1 failure <<< FAILURES!
[...truncated 229 lines...]
BUILD FAILED
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build.xml:191: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/common-build.xml:509: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:1370: The following error occurred while executing this line:
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-build.xml:976: There were test failures: 474 suites, 1890 tests, 1 error, 1 failure, 48 ignored (21 assumptions)
Total time: 48 minutes 43 seconds
Build step 'Invoke Ant' marked build as failure
[description-setter] Description set: Java: 32bit/jdk1.8.0_40 -server -XX:+UseG1GC
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build # 11848 - Failure!
Posted by Uwe Schindler <uw...@thetaphi.de>.
I analyzed this bug a bit more, a second instance of this happens in Solr-Core build. This what I found out:
- It only happens on java 9b54 if you have "-source 1.7 -target 1.7", with Lucene trunk (where we are on Java 8 and pass "-source 1.8 -target 1.8", it does not happen and the exact same code passes compiler).
- The bug happens because the diamond operator is deducted in a different way: The actual type of the diamond is deducted from the parameter of the new HashMap(Map<?extends K,?extends V> other) constructor's parameters not from the return type of the method. Lucene was passing a slightly different type into the constructor that was returned from the surrounding method. A fix was to explicitly apply the type instead of using a diamond. I can write a sample code that reproduces this.
I fixed this with a workaround in http://svn.apache.org/r1667784
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Thursday, March 19, 2015 3:30 PM
> To: dev@lucene.apache.org
> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
> 11848 - Failure!
>
> Hi,
>
> this seems to be a bug (or feature?) in the most recent Java 9 build 54:
>
> compile-core:
> [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/build/analysis/common/classes/java
> [javac] Compiling 461 source files to /home/jenkins/workspace/Lucene-
> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/Ch
> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
> cannot be converted to CharArrayMap<V>
> [javac] return new CharArrayMap<>(map, false);
> [javac] ^
> [javac] where V is a type-variable:
> [javac] V extends Object declared in method <V>copy(Map<?,? extends
> V>)
> [javac] where CAP#1 is a fresh type-variable:
> [javac] CAP#1 extends V from capture of ? extends V
>
> This is the code:
>
> @SuppressWarnings("unchecked")
> public static <V> CharArrayMap<V> copy(final Map<?,? extends V> map) {
> if(map == EMPTY_MAP)
> return emptyMap();
> if(map instanceof CharArrayMap) {
> CharArrayMap<V> m = (CharArrayMap<V>) map;
> // use fast path instead of iterating all values
> // this is even on very small sets ~10 times faster than iterating
> final char[][] keys = new char[m.keys.length][];
> System.arraycopy(m.keys, 0, keys, 0, keys.length);
> final V[] values = (V[]) new Object[m.values.length];
> System.arraycopy(m.values, 0, values, 0, values.length);
> m = new CharArrayMap<>(m);
> m.keys = keys;
> m.values = values;
> return m;
> }
> return new CharArrayMap<>(map, false);
> }
>
> At least this breaks compiling existing code. Rory, should I open a bug report
> with an example code?
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
> > -----Original Message-----
> > From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
> > Sent: Thursday, March 19, 2015 1:15 PM
> > To: dev@lucene.apache.org
> > Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
> > Build #
> > 11848 - Failure!
> >
> > Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
> > Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
> >
> > All tests passed
> >
> > Build Log:
> > [...truncated 1899 lines...]
> > [javac] Compiling 461 source files to
> > /home/jenkins/workspace/Lucene- Solr-5.x-
> Linux/lucene/build/analysis/common/classes/java
> > [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/
> > Ch
> > arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
> > cannot be converted to CharArrayMap<V>
> > [javac] return new CharArrayMap<>(map, false);
> > [javac] ^
> > [javac] where V is a type-variable:
> > [javac] V extends Object declared in method <V>copy(Map<?,?
> extends
> > V>)
> > [javac] where CAP#1 is a fresh type-variable:
> > [javac] CAP#1 extends V from capture of ? extends V
> > [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunsp
> > ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
> > [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
> > [javac] ^
> > [javac] missing type arguments for generic class Arc<T>
> > [javac] where T is a type-variable:
> > [javac] T extends Object declared in class Arc
> > [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunsp
> > ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
> > [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
> > [javac] ^
> > [javac] missing type arguments for generic class Arc<T>
> > [javac] where T is a type-variable:
> > [javac] T extends Object declared in class Arc
> > [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >
> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
> > 46: warning: [rawtypes] found raw type: Class
> > [javac] private static final Class<?>[] EMPTY_PARAMS = new Class[0];
> > [javac] ^
> > [javac] missing type arguments for generic class Class<T>
> > [javac] where T is a type-variable:
> > [javac] T extends Object declared in class Class
> > [javac] Note: Some input files use or override a deprecated API.
> > [javac] Note: Recompile with -Xlint:deprecation for details.
> > [javac] 1 error
> >
> > [...truncated 1 lines...]
> > BUILD FAILED
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
> > following error occurred while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
> > following error occurred while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
> > following error occurred while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39:
> > The following error occurred while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:456:
> > The following error occurred while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> > build.xml:2166: The following error occurred while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-
> > Linux/lucene/analysis/build.xml:106: The following error occurred
> > while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-
> > Linux/lucene/analysis/build.xml:38: The following error occurred while
> > executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> > build.xml:58: The following error occurred while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> > build.xml:55: The following error occurred while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> > build.xml:520: The following error occurred while executing this line:
> > /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> > build.xml:1882: Compile failed; see the compiler error output for details.
> >
> > Total time: 15 minutes 25 seconds
> > Build step 'Invoke Ant' marked build as failure [description-setter]
> > Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
> > XX:+UseConcMarkSweepGC Archiving artifacts Recording test results
> > Email was triggered for: Failure - Any Sending email for trigger:
> > Failure - Any
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional
> commands, e-mail: dev-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build
# 11848 - Failure!
Posted by Balchandra Vaidya <ba...@oracle.com>.
Hi Uwe,
I updated the bug and let me know if I missed any information.
Thanks
Balchandra
On 3/24/2015 8:39 PM, Balchandra Vaidya wrote:
>
> Hi Uwe,
>
> I will update the bug with your findings. Thank you for reporting the
> issue.
>
> Thanks
> Balchandra
>
> On 3/24/2015 7:53 PM, Uwe Schindler wrote:
>> Hi,
>>
>> I did some investigation: It is the following issue that breaks this:
>> https://bugs.openjdk.java.net/browse/JDK-8039214 "Inference should
>> not map capture variables to their upper bounds"
>>
>> This is the commit:
>> http://hg.openjdk.java.net/jdk9/dev/langtools/rev/414b82835861
>>
>> The comments here actually say that there might be backwards breaks
>> with existing code. BUT: The strange thing is that this only affect
>> -source/target 1.7, not for newer code. So this breaks only Java 7
>> backwards compilation! This looks like a regression in the JDK7
>> specific backwards compiler which seems to handle the types in a
>> wrong way. Maybe some of the changes in this commit have to also be
>> applied to the backwards compiler for Java 1.7 code (I have no idea
>> if there is a separate instance of the 1.7 compiler in the code base,
>> just a guess).
>>
>> To me it looks really wrong what is happening here for diamonds and
>> such static wrapper methods like Collections.unmodifiable*()!
>>
>> In fact, both bugs are the same, so I think it's safe to append my
>> second test case to the already existing issue as well.
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>>
>>> -----Original Message-----
>>> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>>> Sent: Tuesday, March 24, 2015 2:39 PM
>>> To: 'dalibor topic'; dev@lucene.apache.org; 'Balchandra Vaidya'; 'Rory
>>> O'Donnell'
>>> Cc: rcmuir@gmail.com
>>> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
>>> - Build #
>>> 11848 - Failure!
>>>
>>> Hi,
>>>
>>> I can file another bug, but the behavior and error pattern is
>>> exactly the same,
>>> it is just a static method instead of the constructor (which is
>>> mostly the same
>>> by the JLS, a constructor is just like a static method returning an
>>> instance). So
>>> I am almost 100% sure, this is caused by the exact same commit.
>>>
>>> I also simplified the code to be as simple as the other one. I found
>>> out that
>>> Collections.unmodifiableCollection(...) is affected by this, so
>>> simplest
>>> reproduce code is:
>>>
>>> import java.util.*;
>>>
>>> class Bug2 {
>>> // this causes the bug -> type is inferred by parameter not left
>>> side
>>> assignment
>>> static <V> void bug(Collection<? extends V> collection) {
>>> Collection<V> c1 = Collections.unmodifiableCollection(collection);
>>> // workaround that compiles:
>>> Collection<V> c2 =
>>> Collections.<V>unmodifiableCollection(collection);
>>> }
>>> }
>>>
>>> So it's up to you to decide, if it is really a new bug. Maybe we
>>> should leave
>>> the decision to the JDK developer who caused the regression to find
>>> out if
>>> it’s a duplicate or not.
>>>
>>> Uwe
>>>
>>> -----
>>> Uwe Schindler
>>> H.-H.-Meier-Allee 63, D-28213 Bremen
>>> http://www.thetaphi.de
>>> eMail: uwe@thetaphi.de
>>>
>>>
>>>> -----Original Message-----
>>>> From: dalibor topic [mailto:dalibor.topic@oracle.com]
>>>> Sent: Tuesday, March 24, 2015 2:16 PM
>>>> To: Uwe Schindler; dev@lucene.apache.org; 'Balchandra Vaidya'; 'Rory
>>>> O'Donnell'
>>>> Cc: rcmuir@gmail.com
>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
>>>> Build #
>>>> 11848 - Failure!
>>>>
>>>> I think this one should be filed as a separate issue.
>>>>
>>>> On 24.03.2015 14:07, Uwe Schindler wrote:
>>>>> Hi,
>>>>>
>>>>> could you please attach the given Bug2.java file to the same issue?
>>>>> This is
>>>> another variant of the same bug that affects simple method calls
>>>> (without diamond), so it is not only the constructor with diamond
>>>> affected. You have to infer the type for those "wrapper" methods, too.
>>>>> The following code does not compile with -source/target 1.7:
>>>>>
>>>>> import java.util.*;
>>>>>
>>>>> class Bug2 {
>>>>> /* This method just emulates the common Google Guava/Guice
>>>>> pattern
>>>> to wrap collections, e.g.
>>>>> * <http://docs.guava-
>>>> libraries.googlecode.com/git/javadoc/com/google/common/collect/Iterato
>>>> rs .html#peekingIterator(java.util.Iterator)>
>>>>> */
>>>>> static <V> Set<V> asSet(Collection<? extends V> collection) {
>>>>> return new HashSet<V>(collection);
>>>>> }
>>>>>
>>>>> // this causes the bug -> type is inferred by parameter not left
>>>>> side
>>>> assignment
>>>>> static <V> void bug(Collection<? extends V> collection) {
>>>>> Set<V> set1 = Bug2.asSet(collection);
>>>>> // workaround that compiles:
>>>>> Set<V> set2 = Bug2.<V>asSet(collection);
>>>>> }
>>>>> }
>>>>>
>>>>> $ javac -source 1.7 -target 1.7 Bug2.java
>>>>> warning: [options] bootstrap class path not set in conjunction with
>>>>> -source 1.7
>>>>> Bug2.java:12: error: incompatible types: Set<CAP#1> cannot be
>>>>> converted
>>>> to Set<V>
>>>>> Set<V> set = Bug2.asSet(collection);
>>>>> ^
>>>>> where V is a type-variable:
>>>>> V extends Object declared in method <V>bug(Collection<? extends
>>> V>)
>>>>> where CAP#1 is a fresh type-variable:
>>>>> CAP#1 extends V from capture of ? extends V
>>>>> 1 error
>>>>> 1 warning
>>>>>
>>>>> This type was discovered by the elasticsearch people, who use a lot
>>>>> of code
>>>> of Google Guava/Guice that has a lot of static methods that wrap
>>>> collections and return views of a different type.
>>>>> Usage of most of the Methods in e.g.
>>>>> com.google.common.collect.Iterators
>>>> or com.google.common.collect.Lists and similars are affected by this
>>>> bug, so it's really serious!
>>>>> To work around the bug you can do whats written in the example code:
>>>> Just infer the generics using the <T> between static class name and
>>>> method name [like the common pattern Arrays.<String>asList (....)].
>>>>> -----
>>>>> Uwe Schindler
>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>> eMail: uwe@thetaphi.de
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>>>>>> Sent: Tuesday, March 24, 2015 10:05 AM
>>>>>> To: 'Balchandra Vaidya'; 'Rory O'Donnell'; dev@lucene.apache.org
>>>>>> Cc: 'Dalibor Topic'; rcmuir@gmail.com
>>>>>> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
>>>>>> - Build #
>>>>>> 11848 - Failure!
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Many thanks! I CCed Robert Muir from Elasticsearch who took care of
>>>>>> this at ES (https://github.com/elastic/elasticsearch/issues/10145).
>>>>>>
>>>>>> Uwe
>>>>>>
>>>>>> -----
>>>>>> Uwe Schindler
>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen
>>>>>> http://www.thetaphi.de
>>>>>> eMail: uwe@thetaphi.de
>>>>>>
>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Balchandra Vaidya [mailto:balchandra.vaidya@oracle.com]
>>>>>>> Sent: Tuesday, March 24, 2015 8:27 AM
>>>>>>> To: Uwe Schindler; 'Rory O'Donnell'; dev@lucene.apache.org
>>>>>>> Cc: 'Dalibor Topic'
>>>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux
>>>>>>> (32bit/jdk1.9.0-ea-b54)
>>>>>>> - Build #
>>>>>>> 11848 - Failure!
>>>>>>>
>>>>>>>
>>>>>>> Hi Uwe,
>>>>>>>
>>>>>>> JBS bug id is https://bugs.openjdk.java.net/browse/JDK-8075793
>>>>>>>
>>>>>>> Thanks
>>>>>>> Balchandra
>>>>>>>
>>>>>>> On 3/24/2015 5:57 AM, Uwe Schindler wrote:
>>>>>>>> Hi Rory,
>>>>>>>>
>>>>>>>> do you have an update on this bug? Searched for it in the openjdk
>>>>>>> bugtracker but did not find it. This also affects lots of code from
>>>>>>> Google Guava / Guice and because of that also our friends at
>>>> Elasticsearch.
>>>>>>>> Uwe
>>>>>>>>
>>>>>>>> -----
>>>>>>>> Uwe Schindler
>>>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>>>>> eMail: uwe@thetaphi.de
>>>>>>>>
>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>>>>>>>>> Sent: Friday, March 20, 2015 10:00 AM
>>>>>>>>> To: Uwe Schindler; dev@lucene.apache.org
>>>>>>>>> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra
>>>>>>>>> Vaidya'
>>>>>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux
>>>>>>>>> (32bit/jdk1.9.0-ea-b54)
>>>>>>>>> - Build #
>>>>>>>>> 11848 - Failure!
>>>>>>>>>
>>>>>>>>> Thanks Uwe, we will update you with the bug id .
>>>>>>>>>
>>>>>>>>> Rgds,Rory
>>>>>>>>> On 19/03/2015 16:28, Uwe Schindler wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code
>>>>>>>>>> with
>>>>>>>>> source/target 1.7 and diamond operator"
>>>>>>>>>> Uwe
>>>>>>>>>>
>>>>>>>>>> -----
>>>>>>>>>> Uwe Schindler
>>>>>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>>>>>>> eMail: uwe@thetaphi.de
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>>>>>>>>>>> Sent: Thursday, March 19, 2015 4:12 PM
>>>>>>>>>>> To: Uwe Schindler; dev@lucene.apache.org
>>>>>>>>>>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
>>>>>>>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux
>>>>>>>>>>> (32bit/jdk1.9.0-ea-b54)
>>>>>>>>>>> - Build #
>>>>>>>>>>> 11848 - Failure!
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 19/03/2015 14:30, Uwe Schindler wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> this seems to be a bug (or feature?) in the most recent Java 9
>>>>>>>>>>>> build
>>>>>> 54:
>>>>>>>>>>>> compile-core:
>>>>>>>>>>>> [mkdir] Created dir:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>> Linux/lucene/build/analysis/common/classes/java
>>>>>>>>>>>> [javac] Compiling 461 source files to
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-
>>>>>>>>>>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
>>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/uti
>>>>>>> l
>>>>>>>>>>> /Ch
>>>>>>>>>>> arArrayMap.java:568: error: incompatible types:
>>>>>>> CharArrayMap<CAP#1>
>>>>>>>>>>> cannot be converted to CharArrayMap<V>
>>>>>>>>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>>>>>>>>> [javac] ^
>>>>>>>>>>>> [javac] where V is a type-variable:
>>>>>>>>>>>> [javac] V extends Object declared in method
>>>>>> <V>copy(Map<?,?
>>>>>>>>>>> extends V>)
>>>>>>>>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>>>>>>>>> [javac] CAP#1 extends V from capture of ?
>>>>>>>>>>>> extends V
>>>>>>>>>>>>
>>>>>>>>>>>> This is the code:
>>>>>>>>>>>>
>>>>>>>>>>>> @SuppressWarnings("unchecked")
>>>>>>>>>>>> public static <V> CharArrayMap<V> copy(final Map<?,?
>>>>>>>>>>>> extends
>>>>>> V>
>>>>>>>>>>>> map)
>>>>>>>>>>> {
>>>>>>>>>>>> if(map == EMPTY_MAP)
>>>>>>>>>>>> return emptyMap();
>>>>>>>>>>>> if(map instanceof CharArrayMap) {
>>>>>>>>>>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
>>>>>>>>>>>> // use fast path instead of iterating all values
>>>>>>>>>>>> // this is even on very small sets ~10 times
>>>>>>>>>>>> faster than
>>>> iterating
>>>>>>>>>>>> final char[][] keys = new char[m.keys.length][];
>>>>>>>>>>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
>>>>>>>>>>>> final V[] values = (V[]) new
>>>>>>>>>>>> Object[m.values.length];
>>>>>>>>>>>> System.arraycopy(m.values, 0, values, 0,
>>>>>>>>>>>> values.length);
>>>>>>>>>>>> m = new CharArrayMap<>(m);
>>>>>>>>>>>> m.keys = keys;
>>>>>>>>>>>> m.values = values;
>>>>>>>>>>>> return m;
>>>>>>>>>>>> }
>>>>>>>>>>>> return new CharArrayMap<>(map, false);
>>>>>>>>>>>> }
>>>>>>>>>>>>
>>>>>>>>>>>> At least this breaks compiling existing code. Rory, should I
>>>>>>>>>>>> open a bug
>>>>>>>>>>> report with an example code?
>>>>>>>>>>> Hi Uwe,
>>>>>>>>>>>
>>>>>>>>>>> Please do log a bug.
>>>>>>>>>>>
>>>>>>>>>>> Rgds,Rory
>>>>>>>>>>>> Uwe
>>>>>>>>>>>>
>>>>>>>>>>>> -----
>>>>>>>>>>>> Uwe Schindler
>>>>>>>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>>>>>>>>> eMail: uwe@thetaphi.de
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
>>>>>>>>>>>>> Sent: Thursday, March 19, 2015 1:15 PM
>>>>>>>>>>>>> To: dev@lucene.apache.org
>>>>>>>>>>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux
>>>>>>>>>>>>> (32bit/jdk1.9.0-ea-b54) - Build #
>>>>>>>>>>>>> 11848 - Failure!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-
>>>>>> Linux/11848/
>>>>>>>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -
>>> XX:+UseConcMarkSweepGC
>>>>>>>>>>>>> All tests passed
>>>>>>>>>>>>>
>>>>>>>>>>>>> Build Log:
>>>>>>>>>>>>> [...truncated 1899 lines...]
>>>>>>>>>>>>> [javac] Compiling 461 source files to
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
>>>>>>>>>>> Linux/lucene/build/analysis/common/classes/java
>>>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>>
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
>>>>>>>>>>>>> /Ch
>>>>>>>>>>>>> arArrayMap.java:568: error: incompatible types:
>>>>>>>>> CharArrayMap<CAP#1>
>>>>>>>>>>>>> cannot be converted to CharArrayMap<V>
>>>>>>>>>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>>>>>>>>>> [javac] ^
>>>>>>>>>>>>> [javac] where V is a type-variable:
>>>>>>>>>>>>> [javac] V extends Object declared in method
>>>>>>> <V>copy(Map<?,?
>>>>>>>>>>> extends
>>>>>>>>>>>>> V>)
>>>>>>>>>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>>>>>>>>>> [javac] CAP#1 extends V from capture of ?
>>>>>>>>>>>>> extends V
>>>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>>
>>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hun
>>>>>>> s
>>>>>>>>>>>>> p
>>>>>>>>>>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type:
>>> Arc
>>>>>>>>>>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new
>>> FST.Arc[3];
>>>>>>>>>>>>> [javac] ^
>>>>>>>>>>>>> [javac] missing type arguments for generic
>>>>>>>>>>>>> class Arc<T>
>>>>>>>>>>>>> [javac] where T is a type-variable:
>>>>>>>>>>>>> [javac] T extends Object declared in class Arc
>>>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>>
>>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hun
>>>>>>> s
>>>>>>>>>>>>> p
>>>>>>>>>>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type:
>>> Arc
>>>>>>>>>>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new
>>> FST.Arc[3];
>>>>>>>>>>>>> [javac] ^
>>>>>>>>>>>>> [javac] missing type arguments for generic
>>>>>>>>>>>>> class Arc<T>
>>>>>>>>>>>>> [javac] where T is a type-variable:
>>>>>>>>>>>>> [javac] T extends Object declared in class Arc
>>>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>>
>>> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
>>>>>>>>>>>>> 46: warning: [rawtypes] found raw type: Class
>>>>>>>>>>>>> [javac] private static final Class<?>[]
>>>>>>>>>>>>> EMPTY_PARAMS =
>>> new
>>>>>>>>> Class[0];
>>>>>>>>>>>>> [javac] ^
>>>>>>>>>>>>> [javac] missing type arguments for generic
>>>>>>>>>>>>> class Class<T>
>>>>>>>>>>>>> [javac] where T is a type-variable:
>>>>>>>>>>>>> [javac] T extends Object declared in class Class
>>>>>>>>>>>>> [javac] Note: Some input files use or override a
>>>>>>>>>>>>> deprecated
>>>>>> API.
>>>>>>>>>>>>> [javac] Note: Recompile with -Xlint:deprecation
>>>>>>>>>>>>> for details.
>>>>>>>>>>>>> [javac] 1 error
>>>>>>>>>>>>>
>>>>>>>>>>>>> [...truncated 1 lines...]
>>>>>>>>>>>>> BUILD FAILED
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>> Linux/build.xml:529:
>>>>>> The
>>>>>>>>>>>>> following error occurred while executing this line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>> Linux/build.xml:477:
>>>>>> The
>>>>>>>>>>>>> following error occurred while executing this line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>> Linux/build.xml:61:
>>>>>> The
>>>>>>>>>>>>> following error occurred while executing this line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
>>>>>>>>> targets.xml:39:
>>>>>>>>>>>>> The following error occurred while executing this line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>> Linux/lucene/build.xml:456:
>>>>>>>>>>>>> The following error occurred while executing this line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>> Linux/lucene/common-
>>>>>>>>>>>>> build.xml:2166: The following error occurred while executing
>>>>>>>>>>>>> this
>>>>>>> line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>> Linux/lucene/analysis/build.xml:106: The following error
>>>>>>>>>>>>> occurred while executing this line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>> Linux/lucene/analysis/build.xml:38: The following error
>>>>>>>>>>>>> occurred while executing this line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>> Linux/lucene/module-
>>>>>>>>>>>>> build.xml:58: The following error occurred while executing
>>>>>>>>>>>>> this
>>>> line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>> Linux/lucene/module-
>>>>>>>>>>>>> build.xml:55: The following error occurred while executing
>>>>>>>>>>>>> this
>>>> line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>> Linux/lucene/common-
>>>>>>>>>>>>> build.xml:520: The following error occurred while executing
>>>>>>>>>>>>> this
>>>>>> line:
>>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>> Linux/lucene/common-
>>>>>>>>>>>>> build.xml:1882: Compile failed; see the compiler error output
>>>>>>>>>>>>> for
>>>>>>>>> details.
>>>>>>>>>>>>> Total time: 15 minutes 25 seconds Build step 'Invoke Ant'
>>>>>>>>>>>>> marked build as failure [description-setter] Description set:
>>>>>>>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -
>>>> XX:+UseConcMarkSweepGC
>>>>>>>>>>>>> Archiving artifacts Recording test
>>>>>>> results
>>>>>>>>>>>>> Email was triggered for: Failure - Any Sending email for
>>>>>>>>>>>>> trigger:
>>>>>>>>>>>>> Failure - Any
>>>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Rgds,Rory O'Donnell
>>>>>>>>>>> Quality Engineering Manager
>>>>>>>>>>> Oracle EMEA , Dublin, Ireland
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ----------------------------------------------------------------
>>>>>>>>>>>
>>>>>>>>>>> ----- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>>>>>>>>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>>>>>>> --
>>>>>>>>> Rgds,Rory O'Donnell
>>>>>>>>> Quality Engineering Manager
>>>>>>>>> Oracle EMEA , Dublin, Ireland
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For
>>>>>> additional commands, e-mail: dev-help@lucene.apache.org
>>>> --
>>>> <http://www.oracle.com> Dalibor Topic | Principal Product Manager
>>>> Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
>>>> <tel:+491737185961>
>>>>
>>>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>>>>
>>>> ORACLE Deutschland B.V. & Co. KG
>>>> Hauptverwaltung: Riesstr. 25, D-80992 München
>>>> Registergericht: Amtsgericht München, HRA 95603
>>>> Geschäftsführer: Jürgen Kunz
>>>>
>>>> Komplementärin: ORACLE Deutschland Verwaltung B.V.
>>>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister
>>> der
>>>> Handelskammer Midden-Niederlande, Nr. 30143697
>>>> Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
>>>>
>>>> <http://www.oracle.com/commitment> Oracle is committed to developing
>>>> practices and products that help protect the environment
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build
# 11848 - Failure!
Posted by Balchandra Vaidya <ba...@oracle.com>.
Hi Uwe,
I will update the bug with your findings. Thank you for reporting the issue.
Thanks
Balchandra
On 3/24/2015 7:53 PM, Uwe Schindler wrote:
> Hi,
>
> I did some investigation: It is the following issue that breaks this:
> https://bugs.openjdk.java.net/browse/JDK-8039214 "Inference should not map capture variables to their upper bounds"
>
> This is the commit:
> http://hg.openjdk.java.net/jdk9/dev/langtools/rev/414b82835861
>
> The comments here actually say that there might be backwards breaks with existing code. BUT: The strange thing is that this only affect -source/target 1.7, not for newer code. So this breaks only Java 7 backwards compilation! This looks like a regression in the JDK7 specific backwards compiler which seems to handle the types in a wrong way. Maybe some of the changes in this commit have to also be applied to the backwards compiler for Java 1.7 code (I have no idea if there is a separate instance of the 1.7 compiler in the code base, just a guess).
>
> To me it looks really wrong what is happening here for diamonds and such static wrapper methods like Collections.unmodifiable*()!
>
> In fact, both bugs are the same, so I think it's safe to append my second test case to the already existing issue as well.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>> -----Original Message-----
>> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> Sent: Tuesday, March 24, 2015 2:39 PM
>> To: 'dalibor topic'; dev@lucene.apache.org; 'Balchandra Vaidya'; 'Rory
>> O'Donnell'
>> Cc: rcmuir@gmail.com
>> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
>> 11848 - Failure!
>>
>> Hi,
>>
>> I can file another bug, but the behavior and error pattern is exactly the same,
>> it is just a static method instead of the constructor (which is mostly the same
>> by the JLS, a constructor is just like a static method returning an instance). So
>> I am almost 100% sure, this is caused by the exact same commit.
>>
>> I also simplified the code to be as simple as the other one. I found out that
>> Collections.unmodifiableCollection(...) is affected by this, so simplest
>> reproduce code is:
>>
>> import java.util.*;
>>
>> class Bug2 {
>> // this causes the bug -> type is inferred by parameter not left side
>> assignment
>> static <V> void bug(Collection<? extends V> collection) {
>> Collection<V> c1 = Collections.unmodifiableCollection(collection);
>> // workaround that compiles:
>> Collection<V> c2 = Collections.<V>unmodifiableCollection(collection);
>> }
>> }
>>
>> So it's up to you to decide, if it is really a new bug. Maybe we should leave
>> the decision to the JDK developer who caused the regression to find out if
>> it’s a duplicate or not.
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>>
>>> -----Original Message-----
>>> From: dalibor topic [mailto:dalibor.topic@oracle.com]
>>> Sent: Tuesday, March 24, 2015 2:16 PM
>>> To: Uwe Schindler; dev@lucene.apache.org; 'Balchandra Vaidya'; 'Rory
>>> O'Donnell'
>>> Cc: rcmuir@gmail.com
>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
>>> Build #
>>> 11848 - Failure!
>>>
>>> I think this one should be filed as a separate issue.
>>>
>>> On 24.03.2015 14:07, Uwe Schindler wrote:
>>>> Hi,
>>>>
>>>> could you please attach the given Bug2.java file to the same issue?
>>>> This is
>>> another variant of the same bug that affects simple method calls
>>> (without diamond), so it is not only the constructor with diamond
>>> affected. You have to infer the type for those "wrapper" methods, too.
>>>> The following code does not compile with -source/target 1.7:
>>>>
>>>> import java.util.*;
>>>>
>>>> class Bug2 {
>>>> /* This method just emulates the common Google Guava/Guice
>>>> pattern
>>> to wrap collections, e.g.
>>>> * <http://docs.guava-
>>> libraries.googlecode.com/git/javadoc/com/google/common/collect/Iterato
>>> rs .html#peekingIterator(java.util.Iterator)>
>>>> */
>>>> static <V> Set<V> asSet(Collection<? extends V> collection) {
>>>> return new HashSet<V>(collection);
>>>> }
>>>>
>>>> // this causes the bug -> type is inferred by parameter not left
>>>> side
>>> assignment
>>>> static <V> void bug(Collection<? extends V> collection) {
>>>> Set<V> set1 = Bug2.asSet(collection);
>>>> // workaround that compiles:
>>>> Set<V> set2 = Bug2.<V>asSet(collection);
>>>> }
>>>> }
>>>>
>>>> $ javac -source 1.7 -target 1.7 Bug2.java
>>>> warning: [options] bootstrap class path not set in conjunction with
>>>> -source 1.7
>>>> Bug2.java:12: error: incompatible types: Set<CAP#1> cannot be
>>>> converted
>>> to Set<V>
>>>> Set<V> set = Bug2.asSet(collection);
>>>> ^
>>>> where V is a type-variable:
>>>> V extends Object declared in method <V>bug(Collection<? extends
>> V>)
>>>> where CAP#1 is a fresh type-variable:
>>>> CAP#1 extends V from capture of ? extends V
>>>> 1 error
>>>> 1 warning
>>>>
>>>> This type was discovered by the elasticsearch people, who use a lot
>>>> of code
>>> of Google Guava/Guice that has a lot of static methods that wrap
>>> collections and return views of a different type.
>>>> Usage of most of the Methods in e.g.
>>>> com.google.common.collect.Iterators
>>> or com.google.common.collect.Lists and similars are affected by this
>>> bug, so it's really serious!
>>>> To work around the bug you can do whats written in the example code:
>>> Just infer the generics using the <T> between static class name and
>>> method name [like the common pattern Arrays.<String>asList (....)].
>>>> -----
>>>> Uwe Schindler
>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>> eMail: uwe@thetaphi.de
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>>>>> Sent: Tuesday, March 24, 2015 10:05 AM
>>>>> To: 'Balchandra Vaidya'; 'Rory O'Donnell'; dev@lucene.apache.org
>>>>> Cc: 'Dalibor Topic'; rcmuir@gmail.com
>>>>> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
>>>>> - Build #
>>>>> 11848 - Failure!
>>>>>
>>>>> Hi,
>>>>>
>>>>> Many thanks! I CCed Robert Muir from Elasticsearch who took care of
>>>>> this at ES (https://github.com/elastic/elasticsearch/issues/10145).
>>>>>
>>>>> Uwe
>>>>>
>>>>> -----
>>>>> Uwe Schindler
>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen
>>>>> http://www.thetaphi.de
>>>>> eMail: uwe@thetaphi.de
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Balchandra Vaidya [mailto:balchandra.vaidya@oracle.com]
>>>>>> Sent: Tuesday, March 24, 2015 8:27 AM
>>>>>> To: Uwe Schindler; 'Rory O'Donnell'; dev@lucene.apache.org
>>>>>> Cc: 'Dalibor Topic'
>>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
>>>>>> - Build #
>>>>>> 11848 - Failure!
>>>>>>
>>>>>>
>>>>>> Hi Uwe,
>>>>>>
>>>>>> JBS bug id is https://bugs.openjdk.java.net/browse/JDK-8075793
>>>>>>
>>>>>> Thanks
>>>>>> Balchandra
>>>>>>
>>>>>> On 3/24/2015 5:57 AM, Uwe Schindler wrote:
>>>>>>> Hi Rory,
>>>>>>>
>>>>>>> do you have an update on this bug? Searched for it in the openjdk
>>>>>> bugtracker but did not find it. This also affects lots of code from
>>>>>> Google Guava / Guice and because of that also our friends at
>>> Elasticsearch.
>>>>>>> Uwe
>>>>>>>
>>>>>>> -----
>>>>>>> Uwe Schindler
>>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>>>> eMail: uwe@thetaphi.de
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>>>>>>>> Sent: Friday, March 20, 2015 10:00 AM
>>>>>>>> To: Uwe Schindler; dev@lucene.apache.org
>>>>>>>> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra Vaidya'
>>>>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux
>>>>>>>> (32bit/jdk1.9.0-ea-b54)
>>>>>>>> - Build #
>>>>>>>> 11848 - Failure!
>>>>>>>>
>>>>>>>> Thanks Uwe, we will update you with the bug id .
>>>>>>>>
>>>>>>>> Rgds,Rory
>>>>>>>> On 19/03/2015 16:28, Uwe Schindler wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code
>>>>>>>>> with
>>>>>>>> source/target 1.7 and diamond operator"
>>>>>>>>> Uwe
>>>>>>>>>
>>>>>>>>> -----
>>>>>>>>> Uwe Schindler
>>>>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>>>>>> eMail: uwe@thetaphi.de
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> -----Original Message-----
>>>>>>>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>>>>>>>>>> Sent: Thursday, March 19, 2015 4:12 PM
>>>>>>>>>> To: Uwe Schindler; dev@lucene.apache.org
>>>>>>>>>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
>>>>>>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux
>>>>>>>>>> (32bit/jdk1.9.0-ea-b54)
>>>>>>>>>> - Build #
>>>>>>>>>> 11848 - Failure!
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 19/03/2015 14:30, Uwe Schindler wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> this seems to be a bug (or feature?) in the most recent Java 9
>>>>>>>>>>> build
>>>>> 54:
>>>>>>>>>>> compile-core:
>>>>>>>>>>> [mkdir] Created dir:
>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>> Linux/lucene/build/analysis/common/classes/java
>>>>>>>>>>> [javac] Compiling 461 source files to
>>>>>>>>>>> /home/jenkins/workspace/Lucene-
>>>>>>>>>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/uti
>>>>>> l
>>>>>>>>>> /Ch
>>>>>>>>>> arArrayMap.java:568: error: incompatible types:
>>>>>> CharArrayMap<CAP#1>
>>>>>>>>>> cannot be converted to CharArrayMap<V>
>>>>>>>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>>>>>>>> [javac] ^
>>>>>>>>>>> [javac] where V is a type-variable:
>>>>>>>>>>> [javac] V extends Object declared in method
>>>>> <V>copy(Map<?,?
>>>>>>>>>> extends V>)
>>>>>>>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>>>>>>>> [javac] CAP#1 extends V from capture of ? extends V
>>>>>>>>>>>
>>>>>>>>>>> This is the code:
>>>>>>>>>>>
>>>>>>>>>>> @SuppressWarnings("unchecked")
>>>>>>>>>>> public static <V> CharArrayMap<V> copy(final Map<?,?
>>>>>>>>>>> extends
>>>>> V>
>>>>>>>>>>> map)
>>>>>>>>>> {
>>>>>>>>>>> if(map == EMPTY_MAP)
>>>>>>>>>>> return emptyMap();
>>>>>>>>>>> if(map instanceof CharArrayMap) {
>>>>>>>>>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
>>>>>>>>>>> // use fast path instead of iterating all values
>>>>>>>>>>> // this is even on very small sets ~10 times faster than
>>> iterating
>>>>>>>>>>> final char[][] keys = new char[m.keys.length][];
>>>>>>>>>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
>>>>>>>>>>> final V[] values = (V[]) new Object[m.values.length];
>>>>>>>>>>> System.arraycopy(m.values, 0, values, 0, values.length);
>>>>>>>>>>> m = new CharArrayMap<>(m);
>>>>>>>>>>> m.keys = keys;
>>>>>>>>>>> m.values = values;
>>>>>>>>>>> return m;
>>>>>>>>>>> }
>>>>>>>>>>> return new CharArrayMap<>(map, false);
>>>>>>>>>>> }
>>>>>>>>>>>
>>>>>>>>>>> At least this breaks compiling existing code. Rory, should I
>>>>>>>>>>> open a bug
>>>>>>>>>> report with an example code?
>>>>>>>>>> Hi Uwe,
>>>>>>>>>>
>>>>>>>>>> Please do log a bug.
>>>>>>>>>>
>>>>>>>>>> Rgds,Rory
>>>>>>>>>>> Uwe
>>>>>>>>>>>
>>>>>>>>>>> -----
>>>>>>>>>>> Uwe Schindler
>>>>>>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>>>>>>>> eMail: uwe@thetaphi.de
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> -----Original Message-----
>>>>>>>>>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
>>>>>>>>>>>> Sent: Thursday, March 19, 2015 1:15 PM
>>>>>>>>>>>> To: dev@lucene.apache.org
>>>>>>>>>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux
>>>>>>>>>>>> (32bit/jdk1.9.0-ea-b54) - Build #
>>>>>>>>>>>> 11848 - Failure!
>>>>>>>>>>>>
>>>>>>>>>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-
>>>>> Linux/11848/
>>>>>>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -
>> XX:+UseConcMarkSweepGC
>>>>>>>>>>>> All tests passed
>>>>>>>>>>>>
>>>>>>>>>>>> Build Log:
>>>>>>>>>>>> [...truncated 1899 lines...]
>>>>>>>>>>>> [javac] Compiling 461 source files to
>>>>>>>>>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
>>>>>>>>>> Linux/lucene/build/analysis/common/classes/java
>>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
>>>>>>>>>>>> /Ch
>>>>>>>>>>>> arArrayMap.java:568: error: incompatible types:
>>>>>>>> CharArrayMap<CAP#1>
>>>>>>>>>>>> cannot be converted to CharArrayMap<V>
>>>>>>>>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>>>>>>>>> [javac] ^
>>>>>>>>>>>> [javac] where V is a type-variable:
>>>>>>>>>>>> [javac] V extends Object declared in method
>>>>>> <V>copy(Map<?,?
>>>>>>>>>> extends
>>>>>>>>>>>> V>)
>>>>>>>>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>>>>>>>>> [javac] CAP#1 extends V from capture of ? extends V
>>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hun
>>>>>> s
>>>>>>>>>>>> p
>>>>>>>>>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type:
>> Arc
>>>>>>>>>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new
>> FST.Arc[3];
>>>>>>>>>>>> [javac] ^
>>>>>>>>>>>> [javac] missing type arguments for generic class Arc<T>
>>>>>>>>>>>> [javac] where T is a type-variable:
>>>>>>>>>>>> [javac] T extends Object declared in class Arc
>>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hun
>>>>>> s
>>>>>>>>>>>> p
>>>>>>>>>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type:
>> Arc
>>>>>>>>>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new
>> FST.Arc[3];
>>>>>>>>>>>> [javac] ^
>>>>>>>>>>>> [javac] missing type arguments for generic class Arc<T>
>>>>>>>>>>>> [javac] where T is a type-variable:
>>>>>>>>>>>> [javac] T extends Object declared in class Arc
>>>>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>>
>> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
>>>>>>>>>>>> 46: warning: [rawtypes] found raw type: Class
>>>>>>>>>>>> [javac] private static final Class<?>[] EMPTY_PARAMS =
>> new
>>>>>>>> Class[0];
>>>>>>>>>>>> [javac] ^
>>>>>>>>>>>> [javac] missing type arguments for generic class Class<T>
>>>>>>>>>>>> [javac] where T is a type-variable:
>>>>>>>>>>>> [javac] T extends Object declared in class Class
>>>>>>>>>>>> [javac] Note: Some input files use or override a
>>>>>>>>>>>> deprecated
>>>>> API.
>>>>>>>>>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
>>>>>>>>>>>> [javac] 1 error
>>>>>>>>>>>>
>>>>>>>>>>>> [...truncated 1 lines...]
>>>>>>>>>>>> BUILD FAILED
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/build.xml:529:
>>>>> The
>>>>>>>>>>>> following error occurred while executing this line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/build.xml:477:
>>>>> The
>>>>>>>>>>>> following error occurred while executing this line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/build.xml:61:
>>>>> The
>>>>>>>>>>>> following error occurred while executing this line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
>>>>>>>> targets.xml:39:
>>>>>>>>>>>> The following error occurred while executing this line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>> Linux/lucene/build.xml:456:
>>>>>>>>>>>> The following error occurred while executing this line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>> Linux/lucene/common-
>>>>>>>>>>>> build.xml:2166: The following error occurred while executing
>>>>>>>>>>>> this
>>>>>> line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>> Linux/lucene/analysis/build.xml:106: The following error
>>>>>>>>>>>> occurred while executing this line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>>>> Linux/lucene/analysis/build.xml:38: The following error
>>>>>>>>>>>> occurred while executing this line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>> Linux/lucene/module-
>>>>>>>>>>>> build.xml:58: The following error occurred while executing this
>>> line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>> Linux/lucene/module-
>>>>>>>>>>>> build.xml:55: The following error occurred while executing this
>>> line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>> Linux/lucene/common-
>>>>>>>>>>>> build.xml:520: The following error occurred while executing
>>>>>>>>>>>> this
>>>>> line:
>>>>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>> Linux/lucene/common-
>>>>>>>>>>>> build.xml:1882: Compile failed; see the compiler error output
>>>>>>>>>>>> for
>>>>>>>> details.
>>>>>>>>>>>> Total time: 15 minutes 25 seconds Build step 'Invoke Ant'
>>>>>>>>>>>> marked build as failure [description-setter] Description set:
>>>>>>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -
>>> XX:+UseConcMarkSweepGC
>>>>>>>>>>>> Archiving artifacts Recording test
>>>>>> results
>>>>>>>>>>>> Email was triggered for: Failure - Any Sending email for trigger:
>>>>>>>>>>>> Failure - Any
>>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Rgds,Rory O'Donnell
>>>>>>>>>> Quality Engineering Manager
>>>>>>>>>> Oracle EMEA , Dublin, Ireland
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ----------------------------------------------------------------
>>>>>>>>>> ----- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>>>>>>>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>>>>>> --
>>>>>>>> Rgds,Rory O'Donnell
>>>>>>>> Quality Engineering Manager
>>>>>>>> Oracle EMEA , Dublin, Ireland
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For
>>>>> additional commands, e-mail: dev-help@lucene.apache.org
>>> --
>>> <http://www.oracle.com> Dalibor Topic | Principal Product Manager
>>> Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
>>> <tel:+491737185961>
>>>
>>> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>>>
>>> ORACLE Deutschland B.V. & Co. KG
>>> Hauptverwaltung: Riesstr. 25, D-80992 München
>>> Registergericht: Amtsgericht München, HRA 95603
>>> Geschäftsführer: Jürgen Kunz
>>>
>>> Komplementärin: ORACLE Deutschland Verwaltung B.V.
>>> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister
>> der
>>> Handelskammer Midden-Niederlande, Nr. 30143697
>>> Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
>>>
>>> <http://www.oracle.com/commitment> Oracle is committed to developing
>>> practices and products that help protect the environment
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build # 11848 - Failure!
Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,
I did some investigation: It is the following issue that breaks this:
https://bugs.openjdk.java.net/browse/JDK-8039214 "Inference should not map capture variables to their upper bounds"
This is the commit:
http://hg.openjdk.java.net/jdk9/dev/langtools/rev/414b82835861
The comments here actually say that there might be backwards breaks with existing code. BUT: The strange thing is that this only affect -source/target 1.7, not for newer code. So this breaks only Java 7 backwards compilation! This looks like a regression in the JDK7 specific backwards compiler which seems to handle the types in a wrong way. Maybe some of the changes in this commit have to also be applied to the backwards compiler for Java 1.7 code (I have no idea if there is a separate instance of the 1.7 compiler in the code base, just a guess).
To me it looks really wrong what is happening here for diamonds and such static wrapper methods like Collections.unmodifiable*()!
In fact, both bugs are the same, so I think it's safe to append my second test case to the already existing issue as well.
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Tuesday, March 24, 2015 2:39 PM
> To: 'dalibor topic'; dev@lucene.apache.org; 'Balchandra Vaidya'; 'Rory
> O'Donnell'
> Cc: rcmuir@gmail.com
> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
> 11848 - Failure!
>
> Hi,
>
> I can file another bug, but the behavior and error pattern is exactly the same,
> it is just a static method instead of the constructor (which is mostly the same
> by the JLS, a constructor is just like a static method returning an instance). So
> I am almost 100% sure, this is caused by the exact same commit.
>
> I also simplified the code to be as simple as the other one. I found out that
> Collections.unmodifiableCollection(...) is affected by this, so simplest
> reproduce code is:
>
> import java.util.*;
>
> class Bug2 {
> // this causes the bug -> type is inferred by parameter not left side
> assignment
> static <V> void bug(Collection<? extends V> collection) {
> Collection<V> c1 = Collections.unmodifiableCollection(collection);
> // workaround that compiles:
> Collection<V> c2 = Collections.<V>unmodifiableCollection(collection);
> }
> }
>
> So it's up to you to decide, if it is really a new bug. Maybe we should leave
> the decision to the JDK developer who caused the regression to find out if
> it’s a duplicate or not.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
> > -----Original Message-----
> > From: dalibor topic [mailto:dalibor.topic@oracle.com]
> > Sent: Tuesday, March 24, 2015 2:16 PM
> > To: Uwe Schindler; dev@lucene.apache.org; 'Balchandra Vaidya'; 'Rory
> > O'Donnell'
> > Cc: rcmuir@gmail.com
> > Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
> > Build #
> > 11848 - Failure!
> >
> > I think this one should be filed as a separate issue.
> >
> > On 24.03.2015 14:07, Uwe Schindler wrote:
> > > Hi,
> > >
> > > could you please attach the given Bug2.java file to the same issue?
> > > This is
> > another variant of the same bug that affects simple method calls
> > (without diamond), so it is not only the constructor with diamond
> > affected. You have to infer the type for those "wrapper" methods, too.
> > >
> > > The following code does not compile with -source/target 1.7:
> > >
> > > import java.util.*;
> > >
> > > class Bug2 {
> > > /* This method just emulates the common Google Guava/Guice
> > > pattern
> > to wrap collections, e.g.
> > > * <http://docs.guava-
> > libraries.googlecode.com/git/javadoc/com/google/common/collect/Iterato
> > rs .html#peekingIterator(java.util.Iterator)>
> > > */
> > > static <V> Set<V> asSet(Collection<? extends V> collection) {
> > > return new HashSet<V>(collection);
> > > }
> > >
> > > // this causes the bug -> type is inferred by parameter not left
> > > side
> > assignment
> > > static <V> void bug(Collection<? extends V> collection) {
> > > Set<V> set1 = Bug2.asSet(collection);
> > > // workaround that compiles:
> > > Set<V> set2 = Bug2.<V>asSet(collection);
> > > }
> > > }
> > >
> > > $ javac -source 1.7 -target 1.7 Bug2.java
> > > warning: [options] bootstrap class path not set in conjunction with
> > > -source 1.7
> > > Bug2.java:12: error: incompatible types: Set<CAP#1> cannot be
> > > converted
> > to Set<V>
> > > Set<V> set = Bug2.asSet(collection);
> > > ^
> > > where V is a type-variable:
> > > V extends Object declared in method <V>bug(Collection<? extends
> V>)
> > > where CAP#1 is a fresh type-variable:
> > > CAP#1 extends V from capture of ? extends V
> > > 1 error
> > > 1 warning
> > >
> > > This type was discovered by the elasticsearch people, who use a lot
> > > of code
> > of Google Guava/Guice that has a lot of static methods that wrap
> > collections and return views of a different type.
> > > Usage of most of the Methods in e.g.
> > > com.google.common.collect.Iterators
> > or com.google.common.collect.Lists and similars are affected by this
> > bug, so it's really serious!
> > >
> > > To work around the bug you can do whats written in the example code:
> > Just infer the generics using the <T> between static class name and
> > method name [like the common pattern Arrays.<String>asList (....)].
> > >
> > > -----
> > > Uwe Schindler
> > > H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> > > eMail: uwe@thetaphi.de
> > >
> > >
> > >> -----Original Message-----
> > >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> > >> Sent: Tuesday, March 24, 2015 10:05 AM
> > >> To: 'Balchandra Vaidya'; 'Rory O'Donnell'; dev@lucene.apache.org
> > >> Cc: 'Dalibor Topic'; rcmuir@gmail.com
> > >> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
> > >> - Build #
> > >> 11848 - Failure!
> > >>
> > >> Hi,
> > >>
> > >> Many thanks! I CCed Robert Muir from Elasticsearch who took care of
> > >> this at ES (https://github.com/elastic/elasticsearch/issues/10145).
> > >>
> > >> Uwe
> > >>
> > >> -----
> > >> Uwe Schindler
> > >> H.-H.-Meier-Allee 63, D-28213 Bremen
> > >> http://www.thetaphi.de
> > >> eMail: uwe@thetaphi.de
> > >>
> > >>
> > >>> -----Original Message-----
> > >>> From: Balchandra Vaidya [mailto:balchandra.vaidya@oracle.com]
> > >>> Sent: Tuesday, March 24, 2015 8:27 AM
> > >>> To: Uwe Schindler; 'Rory O'Donnell'; dev@lucene.apache.org
> > >>> Cc: 'Dalibor Topic'
> > >>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
> > >>> - Build #
> > >>> 11848 - Failure!
> > >>>
> > >>>
> > >>> Hi Uwe,
> > >>>
> > >>> JBS bug id is https://bugs.openjdk.java.net/browse/JDK-8075793
> > >>>
> > >>> Thanks
> > >>> Balchandra
> > >>>
> > >>> On 3/24/2015 5:57 AM, Uwe Schindler wrote:
> > >>>> Hi Rory,
> > >>>>
> > >>>> do you have an update on this bug? Searched for it in the openjdk
> > >>> bugtracker but did not find it. This also affects lots of code from
> > >>> Google Guava / Guice and because of that also our friends at
> > Elasticsearch.
> > >>>>
> > >>>> Uwe
> > >>>>
> > >>>> -----
> > >>>> Uwe Schindler
> > >>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> > >>>> eMail: uwe@thetaphi.de
> > >>>>
> > >>>>
> > >>>>> -----Original Message-----
> > >>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> > >>>>> Sent: Friday, March 20, 2015 10:00 AM
> > >>>>> To: Uwe Schindler; dev@lucene.apache.org
> > >>>>> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra Vaidya'
> > >>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux
> > >>>>> (32bit/jdk1.9.0-ea-b54)
> > >>>>> - Build #
> > >>>>> 11848 - Failure!
> > >>>>>
> > >>>>> Thanks Uwe, we will update you with the bug id .
> > >>>>>
> > >>>>> Rgds,Rory
> > >>>>> On 19/03/2015 16:28, Uwe Schindler wrote:
> > >>>>>> Hi,
> > >>>>>>
> > >>>>>> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code
> > >>>>>> with
> > >>>>> source/target 1.7 and diamond operator"
> > >>>>>> Uwe
> > >>>>>>
> > >>>>>> -----
> > >>>>>> Uwe Schindler
> > >>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> > >>>>>> eMail: uwe@thetaphi.de
> > >>>>>>
> > >>>>>>
> > >>>>>>> -----Original Message-----
> > >>>>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> > >>>>>>> Sent: Thursday, March 19, 2015 4:12 PM
> > >>>>>>> To: Uwe Schindler; dev@lucene.apache.org
> > >>>>>>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
> > >>>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux
> > >>>>>>> (32bit/jdk1.9.0-ea-b54)
> > >>>>>>> - Build #
> > >>>>>>> 11848 - Failure!
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> On 19/03/2015 14:30, Uwe Schindler wrote:
> > >>>>>>>> Hi,
> > >>>>>>>>
> > >>>>>>>> this seems to be a bug (or feature?) in the most recent Java 9
> > >>>>>>>> build
> > >> 54:
> > >>>>>>>>
> > >>>>>>>> compile-core:
> > >>>>>>>> [mkdir] Created dir:
> > >>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>> Linux/lucene/build/analysis/common/classes/java
> > >>>>>>>> [javac] Compiling 461 source files to
> > >>>>>>>> /home/jenkins/workspace/Lucene-
> > >>>>>>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> > >>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>>
> > >>>
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/uti
> > >>> l
> > >>>>>>> /Ch
> > >>>>>>> arArrayMap.java:568: error: incompatible types:
> > >>> CharArrayMap<CAP#1>
> > >>>>>>> cannot be converted to CharArrayMap<V>
> > >>>>>>>> [javac] return new CharArrayMap<>(map, false);
> > >>>>>>>> [javac] ^
> > >>>>>>>> [javac] where V is a type-variable:
> > >>>>>>>> [javac] V extends Object declared in method
> > >> <V>copy(Map<?,?
> > >>>>>>> extends V>)
> > >>>>>>>> [javac] where CAP#1 is a fresh type-variable:
> > >>>>>>>> [javac] CAP#1 extends V from capture of ? extends V
> > >>>>>>>>
> > >>>>>>>> This is the code:
> > >>>>>>>>
> > >>>>>>>> @SuppressWarnings("unchecked")
> > >>>>>>>> public static <V> CharArrayMap<V> copy(final Map<?,?
> > >>>>>>>> extends
> > >> V>
> > >>>>>>>> map)
> > >>>>>>> {
> > >>>>>>>> if(map == EMPTY_MAP)
> > >>>>>>>> return emptyMap();
> > >>>>>>>> if(map instanceof CharArrayMap) {
> > >>>>>>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
> > >>>>>>>> // use fast path instead of iterating all values
> > >>>>>>>> // this is even on very small sets ~10 times faster than
> > iterating
> > >>>>>>>> final char[][] keys = new char[m.keys.length][];
> > >>>>>>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
> > >>>>>>>> final V[] values = (V[]) new Object[m.values.length];
> > >>>>>>>> System.arraycopy(m.values, 0, values, 0, values.length);
> > >>>>>>>> m = new CharArrayMap<>(m);
> > >>>>>>>> m.keys = keys;
> > >>>>>>>> m.values = values;
> > >>>>>>>> return m;
> > >>>>>>>> }
> > >>>>>>>> return new CharArrayMap<>(map, false);
> > >>>>>>>> }
> > >>>>>>>>
> > >>>>>>>> At least this breaks compiling existing code. Rory, should I
> > >>>>>>>> open a bug
> > >>>>>>> report with an example code?
> > >>>>>>> Hi Uwe,
> > >>>>>>>
> > >>>>>>> Please do log a bug.
> > >>>>>>>
> > >>>>>>> Rgds,Rory
> > >>>>>>>> Uwe
> > >>>>>>>>
> > >>>>>>>> -----
> > >>>>>>>> Uwe Schindler
> > >>>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> > >>>>>>>> eMail: uwe@thetaphi.de
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>>> -----Original Message-----
> > >>>>>>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
> > >>>>>>>>> Sent: Thursday, March 19, 2015 1:15 PM
> > >>>>>>>>> To: dev@lucene.apache.org
> > >>>>>>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux
> > >>>>>>>>> (32bit/jdk1.9.0-ea-b54) - Build #
> > >>>>>>>>> 11848 - Failure!
> > >>>>>>>>>
> > >>>>>>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-
> > >> Linux/11848/
> > >>>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -
> XX:+UseConcMarkSweepGC
> > >>>>>>>>>
> > >>>>>>>>> All tests passed
> > >>>>>>>>>
> > >>>>>>>>> Build Log:
> > >>>>>>>>> [...truncated 1899 lines...]
> > >>>>>>>>> [javac] Compiling 461 source files to
> > >>>>>>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
> > >>>>>>> Linux/lucene/build/analysis/common/classes/java
> > >>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>>>>
> > >>>>>
> > >>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> > >>>>>>>>> /Ch
> > >>>>>>>>> arArrayMap.java:568: error: incompatible types:
> > >>>>> CharArrayMap<CAP#1>
> > >>>>>>>>> cannot be converted to CharArrayMap<V>
> > >>>>>>>>> [javac] return new CharArrayMap<>(map, false);
> > >>>>>>>>> [javac] ^
> > >>>>>>>>> [javac] where V is a type-variable:
> > >>>>>>>>> [javac] V extends Object declared in method
> > >>> <V>copy(Map<?,?
> > >>>>>>> extends
> > >>>>>>>>> V>)
> > >>>>>>>>> [javac] where CAP#1 is a fresh type-variable:
> > >>>>>>>>> [javac] CAP#1 extends V from capture of ? extends V
> > >>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>>>>
> > >>>>>
> > >>>
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hun
> > >>> s
> > >>>>>>>>> p
> > >>>>>>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type:
> Arc
> > >>>>>>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new
> FST.Arc[3];
> > >>>>>>>>> [javac] ^
> > >>>>>>>>> [javac] missing type arguments for generic class Arc<T>
> > >>>>>>>>> [javac] where T is a type-variable:
> > >>>>>>>>> [javac] T extends Object declared in class Arc
> > >>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>>>>
> > >>>>>
> > >>>
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hun
> > >>> s
> > >>>>>>>>> p
> > >>>>>>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type:
> Arc
> > >>>>>>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new
> FST.Arc[3];
> > >>>>>>>>> [javac] ^
> > >>>>>>>>> [javac] missing type arguments for generic class Arc<T>
> > >>>>>>>>> [javac] where T is a type-variable:
> > >>>>>>>>> [javac] T extends Object declared in class Arc
> > >>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>>>>
> > >>>>>
> > >>>
> > >>
> >
> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
> > >>>>>>>>> 46: warning: [rawtypes] found raw type: Class
> > >>>>>>>>> [javac] private static final Class<?>[] EMPTY_PARAMS =
> new
> > >>>>> Class[0];
> > >>>>>>>>> [javac] ^
> > >>>>>>>>> [javac] missing type arguments for generic class Class<T>
> > >>>>>>>>> [javac] where T is a type-variable:
> > >>>>>>>>> [javac] T extends Object declared in class Class
> > >>>>>>>>> [javac] Note: Some input files use or override a
> > >>>>>>>>> deprecated
> > >> API.
> > >>>>>>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
> > >>>>>>>>> [javac] 1 error
> > >>>>>>>>>
> > >>>>>>>>> [...truncated 1 lines...]
> > >>>>>>>>> BUILD FAILED
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/build.xml:529:
> > >> The
> > >>>>>>>>> following error occurred while executing this line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/build.xml:477:
> > >> The
> > >>>>>>>>> following error occurred while executing this line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/build.xml:61:
> > >> The
> > >>>>>>>>> following error occurred while executing this line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
> > >>>>> targets.xml:39:
> > >>>>>>>>> The following error occurred while executing this line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>> Linux/lucene/build.xml:456:
> > >>>>>>>>> The following error occurred while executing this line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >> Linux/lucene/common-
> > >>>>>>>>> build.xml:2166: The following error occurred while executing
> > >>>>>>>>> this
> > >>> line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>>>> Linux/lucene/analysis/build.xml:106: The following error
> > >>>>>>>>> occurred while executing this line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>>>> Linux/lucene/analysis/build.xml:38: The following error
> > >>>>>>>>> occurred while executing this line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > Linux/lucene/module-
> > >>>>>>>>> build.xml:58: The following error occurred while executing this
> > line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > Linux/lucene/module-
> > >>>>>>>>> build.xml:55: The following error occurred while executing this
> > line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >> Linux/lucene/common-
> > >>>>>>>>> build.xml:520: The following error occurred while executing
> > >>>>>>>>> this
> > >> line:
> > >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >> Linux/lucene/common-
> > >>>>>>>>> build.xml:1882: Compile failed; see the compiler error output
> > >>>>>>>>> for
> > >>>>> details.
> > >>>>>>>>> Total time: 15 minutes 25 seconds Build step 'Invoke Ant'
> > >>>>>>>>> marked build as failure [description-setter] Description set:
> > >>>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -
> > XX:+UseConcMarkSweepGC
> > >>>>>>>>> Archiving artifacts Recording test
> > >>> results
> > >>>>>>>>> Email was triggered for: Failure - Any Sending email for trigger:
> > >>>>>>>>> Failure - Any
> > >>>>>>>>>
> > >>>>>>> --
> > >>>>>>> Rgds,Rory O'Donnell
> > >>>>>>> Quality Engineering Manager
> > >>>>>>> Oracle EMEA , Dublin, Ireland
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> ----------------------------------------------------------------
> > >>>>>>> ----- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > >>>>>>> For additional commands, e-mail: dev-help@lucene.apache.org
> > >>>>> --
> > >>>>> Rgds,Rory O'Donnell
> > >>>>> Quality Engineering Manager
> > >>>>> Oracle EMEA , Dublin, Ireland
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For
> > >> additional commands, e-mail: dev-help@lucene.apache.org
> >
> > --
> > <http://www.oracle.com> Dalibor Topic | Principal Product Manager
> > Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
> > <tel:+491737185961>
> >
> > ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
> >
> > ORACLE Deutschland B.V. & Co. KG
> > Hauptverwaltung: Riesstr. 25, D-80992 München
> > Registergericht: Amtsgericht München, HRA 95603
> > Geschäftsführer: Jürgen Kunz
> >
> > Komplementärin: ORACLE Deutschland Verwaltung B.V.
> > Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister
> der
> > Handelskammer Midden-Niederlande, Nr. 30143697
> > Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
> >
> > <http://www.oracle.com/commitment> Oracle is committed to developing
> > practices and products that help protect the environment
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build # 11848 - Failure!
Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,
I can file another bug, but the behavior and error pattern is exactly the same, it is just a static method instead of the constructor (which is mostly the same by the JLS, a constructor is just like a static method returning an instance). So I am almost 100% sure, this is caused by the exact same commit.
I also simplified the code to be as simple as the other one. I found out that Collections.unmodifiableCollection(...) is affected by this, so simplest reproduce code is:
import java.util.*;
class Bug2 {
// this causes the bug -> type is inferred by parameter not left side assignment
static <V> void bug(Collection<? extends V> collection) {
Collection<V> c1 = Collections.unmodifiableCollection(collection);
// workaround that compiles:
Collection<V> c2 = Collections.<V>unmodifiableCollection(collection);
}
}
So it's up to you to decide, if it is really a new bug. Maybe we should leave the decision to the JDK developer who caused the regression to find out if it’s a duplicate or not.
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: dalibor topic [mailto:dalibor.topic@oracle.com]
> Sent: Tuesday, March 24, 2015 2:16 PM
> To: Uwe Schindler; dev@lucene.apache.org; 'Balchandra Vaidya'; 'Rory
> O'Donnell'
> Cc: rcmuir@gmail.com
> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
> 11848 - Failure!
>
> I think this one should be filed as a separate issue.
>
> On 24.03.2015 14:07, Uwe Schindler wrote:
> > Hi,
> >
> > could you please attach the given Bug2.java file to the same issue? This is
> another variant of the same bug that affects simple method calls (without
> diamond), so it is not only the constructor with diamond affected. You have
> to infer the type for those "wrapper" methods, too.
> >
> > The following code does not compile with -source/target 1.7:
> >
> > import java.util.*;
> >
> > class Bug2 {
> > /* This method just emulates the common Google Guava/Guice pattern
> to wrap collections, e.g.
> > * <http://docs.guava-
> libraries.googlecode.com/git/javadoc/com/google/common/collect/Iterators
> .html#peekingIterator(java.util.Iterator)>
> > */
> > static <V> Set<V> asSet(Collection<? extends V> collection) {
> > return new HashSet<V>(collection);
> > }
> >
> > // this causes the bug -> type is inferred by parameter not left side
> assignment
> > static <V> void bug(Collection<? extends V> collection) {
> > Set<V> set1 = Bug2.asSet(collection);
> > // workaround that compiles:
> > Set<V> set2 = Bug2.<V>asSet(collection);
> > }
> > }
> >
> > $ javac -source 1.7 -target 1.7 Bug2.java
> > warning: [options] bootstrap class path not set in conjunction with
> > -source 1.7
> > Bug2.java:12: error: incompatible types: Set<CAP#1> cannot be converted
> to Set<V>
> > Set<V> set = Bug2.asSet(collection);
> > ^
> > where V is a type-variable:
> > V extends Object declared in method <V>bug(Collection<? extends V>)
> > where CAP#1 is a fresh type-variable:
> > CAP#1 extends V from capture of ? extends V
> > 1 error
> > 1 warning
> >
> > This type was discovered by the elasticsearch people, who use a lot of code
> of Google Guava/Guice that has a lot of static methods that wrap collections
> and return views of a different type.
> > Usage of most of the Methods in e.g. com.google.common.collect.Iterators
> or com.google.common.collect.Lists and similars are affected by this bug, so
> it's really serious!
> >
> > To work around the bug you can do whats written in the example code:
> Just infer the generics using the <T> between static class name and method
> name [like the common pattern Arrays.<String>asList (....)].
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >
> >> -----Original Message-----
> >> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> >> Sent: Tuesday, March 24, 2015 10:05 AM
> >> To: 'Balchandra Vaidya'; 'Rory O'Donnell'; dev@lucene.apache.org
> >> Cc: 'Dalibor Topic'; rcmuir@gmail.com
> >> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
> >> - Build #
> >> 11848 - Failure!
> >>
> >> Hi,
> >>
> >> Many thanks! I CCed Robert Muir from Elasticsearch who took care of
> >> this at ES (https://github.com/elastic/elasticsearch/issues/10145).
> >>
> >> Uwe
> >>
> >> -----
> >> Uwe Schindler
> >> H.-H.-Meier-Allee 63, D-28213 Bremen
> >> http://www.thetaphi.de
> >> eMail: uwe@thetaphi.de
> >>
> >>
> >>> -----Original Message-----
> >>> From: Balchandra Vaidya [mailto:balchandra.vaidya@oracle.com]
> >>> Sent: Tuesday, March 24, 2015 8:27 AM
> >>> To: Uwe Schindler; 'Rory O'Donnell'; dev@lucene.apache.org
> >>> Cc: 'Dalibor Topic'
> >>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
> >>> - Build #
> >>> 11848 - Failure!
> >>>
> >>>
> >>> Hi Uwe,
> >>>
> >>> JBS bug id is https://bugs.openjdk.java.net/browse/JDK-8075793
> >>>
> >>> Thanks
> >>> Balchandra
> >>>
> >>> On 3/24/2015 5:57 AM, Uwe Schindler wrote:
> >>>> Hi Rory,
> >>>>
> >>>> do you have an update on this bug? Searched for it in the openjdk
> >>> bugtracker but did not find it. This also affects lots of code from
> >>> Google Guava / Guice and because of that also our friends at
> Elasticsearch.
> >>>>
> >>>> Uwe
> >>>>
> >>>> -----
> >>>> Uwe Schindler
> >>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> >>>> eMail: uwe@thetaphi.de
> >>>>
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> >>>>> Sent: Friday, March 20, 2015 10:00 AM
> >>>>> To: Uwe Schindler; dev@lucene.apache.org
> >>>>> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra Vaidya'
> >>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux
> >>>>> (32bit/jdk1.9.0-ea-b54)
> >>>>> - Build #
> >>>>> 11848 - Failure!
> >>>>>
> >>>>> Thanks Uwe, we will update you with the bug id .
> >>>>>
> >>>>> Rgds,Rory
> >>>>> On 19/03/2015 16:28, Uwe Schindler wrote:
> >>>>>> Hi,
> >>>>>>
> >>>>>> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code
> >>>>>> with
> >>>>> source/target 1.7 and diamond operator"
> >>>>>> Uwe
> >>>>>>
> >>>>>> -----
> >>>>>> Uwe Schindler
> >>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> >>>>>> eMail: uwe@thetaphi.de
> >>>>>>
> >>>>>>
> >>>>>>> -----Original Message-----
> >>>>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> >>>>>>> Sent: Thursday, March 19, 2015 4:12 PM
> >>>>>>> To: Uwe Schindler; dev@lucene.apache.org
> >>>>>>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
> >>>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux
> >>>>>>> (32bit/jdk1.9.0-ea-b54)
> >>>>>>> - Build #
> >>>>>>> 11848 - Failure!
> >>>>>>>
> >>>>>>>
> >>>>>>> On 19/03/2015 14:30, Uwe Schindler wrote:
> >>>>>>>> Hi,
> >>>>>>>>
> >>>>>>>> this seems to be a bug (or feature?) in the most recent Java 9
> >>>>>>>> build
> >> 54:
> >>>>>>>>
> >>>>>>>> compile-core:
> >>>>>>>> [mkdir] Created dir:
> >>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>> Linux/lucene/build/analysis/common/classes/java
> >>>>>>>> [javac] Compiling 461 source files to
> >>>>>>>> /home/jenkins/workspace/Lucene-
> >>>>>>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> >>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>>
> >>>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/uti
> >>> l
> >>>>>>> /Ch
> >>>>>>> arArrayMap.java:568: error: incompatible types:
> >>> CharArrayMap<CAP#1>
> >>>>>>> cannot be converted to CharArrayMap<V>
> >>>>>>>> [javac] return new CharArrayMap<>(map, false);
> >>>>>>>> [javac] ^
> >>>>>>>> [javac] where V is a type-variable:
> >>>>>>>> [javac] V extends Object declared in method
> >> <V>copy(Map<?,?
> >>>>>>> extends V>)
> >>>>>>>> [javac] where CAP#1 is a fresh type-variable:
> >>>>>>>> [javac] CAP#1 extends V from capture of ? extends V
> >>>>>>>>
> >>>>>>>> This is the code:
> >>>>>>>>
> >>>>>>>> @SuppressWarnings("unchecked")
> >>>>>>>> public static <V> CharArrayMap<V> copy(final Map<?,?
> >>>>>>>> extends
> >> V>
> >>>>>>>> map)
> >>>>>>> {
> >>>>>>>> if(map == EMPTY_MAP)
> >>>>>>>> return emptyMap();
> >>>>>>>> if(map instanceof CharArrayMap) {
> >>>>>>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
> >>>>>>>> // use fast path instead of iterating all values
> >>>>>>>> // this is even on very small sets ~10 times faster than
> iterating
> >>>>>>>> final char[][] keys = new char[m.keys.length][];
> >>>>>>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
> >>>>>>>> final V[] values = (V[]) new Object[m.values.length];
> >>>>>>>> System.arraycopy(m.values, 0, values, 0, values.length);
> >>>>>>>> m = new CharArrayMap<>(m);
> >>>>>>>> m.keys = keys;
> >>>>>>>> m.values = values;
> >>>>>>>> return m;
> >>>>>>>> }
> >>>>>>>> return new CharArrayMap<>(map, false);
> >>>>>>>> }
> >>>>>>>>
> >>>>>>>> At least this breaks compiling existing code. Rory, should I
> >>>>>>>> open a bug
> >>>>>>> report with an example code?
> >>>>>>> Hi Uwe,
> >>>>>>>
> >>>>>>> Please do log a bug.
> >>>>>>>
> >>>>>>> Rgds,Rory
> >>>>>>>> Uwe
> >>>>>>>>
> >>>>>>>> -----
> >>>>>>>> Uwe Schindler
> >>>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> >>>>>>>> eMail: uwe@thetaphi.de
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> -----Original Message-----
> >>>>>>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
> >>>>>>>>> Sent: Thursday, March 19, 2015 1:15 PM
> >>>>>>>>> To: dev@lucene.apache.org
> >>>>>>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux
> >>>>>>>>> (32bit/jdk1.9.0-ea-b54) - Build #
> >>>>>>>>> 11848 - Failure!
> >>>>>>>>>
> >>>>>>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-
> >> Linux/11848/
> >>>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
> >>>>>>>>>
> >>>>>>>>> All tests passed
> >>>>>>>>>
> >>>>>>>>> Build Log:
> >>>>>>>>> [...truncated 1899 lines...]
> >>>>>>>>> [javac] Compiling 461 source files to
> >>>>>>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
> >>>>>>> Linux/lucene/build/analysis/common/classes/java
> >>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>>>>
> >>>>>
> >> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> >>>>>>>>> /Ch
> >>>>>>>>> arArrayMap.java:568: error: incompatible types:
> >>>>> CharArrayMap<CAP#1>
> >>>>>>>>> cannot be converted to CharArrayMap<V>
> >>>>>>>>> [javac] return new CharArrayMap<>(map, false);
> >>>>>>>>> [javac] ^
> >>>>>>>>> [javac] where V is a type-variable:
> >>>>>>>>> [javac] V extends Object declared in method
> >>> <V>copy(Map<?,?
> >>>>>>> extends
> >>>>>>>>> V>)
> >>>>>>>>> [javac] where CAP#1 is a fresh type-variable:
> >>>>>>>>> [javac] CAP#1 extends V from capture of ? extends V
> >>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>>>>
> >>>>>
> >>>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hun
> >>> s
> >>>>>>>>> p
> >>>>>>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
> >>>>>>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
> >>>>>>>>> [javac] ^
> >>>>>>>>> [javac] missing type arguments for generic class Arc<T>
> >>>>>>>>> [javac] where T is a type-variable:
> >>>>>>>>> [javac] T extends Object declared in class Arc
> >>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>>>>
> >>>>>
> >>>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hun
> >>> s
> >>>>>>>>> p
> >>>>>>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
> >>>>>>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
> >>>>>>>>> [javac] ^
> >>>>>>>>> [javac] missing type arguments for generic class Arc<T>
> >>>>>>>>> [javac] where T is a type-variable:
> >>>>>>>>> [javac] T extends Object declared in class Arc
> >>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>>>>
> >>>>>
> >>>
> >>
> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
> >>>>>>>>> 46: warning: [rawtypes] found raw type: Class
> >>>>>>>>> [javac] private static final Class<?>[] EMPTY_PARAMS = new
> >>>>> Class[0];
> >>>>>>>>> [javac] ^
> >>>>>>>>> [javac] missing type arguments for generic class Class<T>
> >>>>>>>>> [javac] where T is a type-variable:
> >>>>>>>>> [javac] T extends Object declared in class Class
> >>>>>>>>> [javac] Note: Some input files use or override a
> >>>>>>>>> deprecated
> >> API.
> >>>>>>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
> >>>>>>>>> [javac] 1 error
> >>>>>>>>>
> >>>>>>>>> [...truncated 1 lines...]
> >>>>>>>>> BUILD FAILED
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529:
> >> The
> >>>>>>>>> following error occurred while executing this line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477:
> >> The
> >>>>>>>>> following error occurred while executing this line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61:
> >> The
> >>>>>>>>> following error occurred while executing this line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
> >>>>> targets.xml:39:
> >>>>>>>>> The following error occurred while executing this line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>> Linux/lucene/build.xml:456:
> >>>>>>>>> The following error occurred while executing this line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >> Linux/lucene/common-
> >>>>>>>>> build.xml:2166: The following error occurred while executing
> >>>>>>>>> this
> >>> line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>>>> Linux/lucene/analysis/build.xml:106: The following error
> >>>>>>>>> occurred while executing this line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>>>> Linux/lucene/analysis/build.xml:38: The following error
> >>>>>>>>> occurred while executing this line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/module-
> >>>>>>>>> build.xml:58: The following error occurred while executing this
> line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/module-
> >>>>>>>>> build.xml:55: The following error occurred while executing this
> line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >> Linux/lucene/common-
> >>>>>>>>> build.xml:520: The following error occurred while executing
> >>>>>>>>> this
> >> line:
> >>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >> Linux/lucene/common-
> >>>>>>>>> build.xml:1882: Compile failed; see the compiler error output
> >>>>>>>>> for
> >>>>> details.
> >>>>>>>>> Total time: 15 minutes 25 seconds Build step 'Invoke Ant'
> >>>>>>>>> marked build as failure [description-setter] Description set:
> >>>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -
> XX:+UseConcMarkSweepGC
> >>>>>>>>> Archiving artifacts Recording test
> >>> results
> >>>>>>>>> Email was triggered for: Failure - Any Sending email for trigger:
> >>>>>>>>> Failure - Any
> >>>>>>>>>
> >>>>>>> --
> >>>>>>> Rgds,Rory O'Donnell
> >>>>>>> Quality Engineering Manager
> >>>>>>> Oracle EMEA , Dublin, Ireland
> >>>>>>>
> >>>>>>>
> >>>>>>> ----------------------------------------------------------------
> >>>>>>> ----- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >>>>>>> For additional commands, e-mail: dev-help@lucene.apache.org
> >>>>> --
> >>>>> Rgds,Rory O'Donnell
> >>>>> Quality Engineering Manager
> >>>>> Oracle EMEA , Dublin, Ireland
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For
> >> additional commands, e-mail: dev-help@lucene.apache.org
>
> --
> <http://www.oracle.com> Dalibor Topic | Principal Product Manager
> Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
> <tel:+491737185961>
>
> ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
>
> ORACLE Deutschland B.V. & Co. KG
> Hauptverwaltung: Riesstr. 25, D-80992 München
> Registergericht: Amtsgericht München, HRA 95603
> Geschäftsführer: Jürgen Kunz
>
> Komplementärin: ORACLE Deutschland Verwaltung B.V.
> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der
> Handelskammer Midden-Niederlande, Nr. 30143697
> Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
>
> <http://www.oracle.com/commitment> Oracle is committed to developing
> practices and products that help protect the environment
Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build
# 11848 - Failure!
Posted by dalibor topic <da...@oracle.com>.
I think this one should be filed as a separate issue.
On 24.03.2015 14:07, Uwe Schindler wrote:
> Hi,
>
> could you please attach the given Bug2.java file to the same issue? This is another variant of the same bug that affects simple method calls (without diamond), so it is not only the constructor with diamond affected. You have to infer the type for those "wrapper" methods, too.
>
> The following code does not compile with -source/target 1.7:
>
> import java.util.*;
>
> class Bug2 {
> /* This method just emulates the common Google Guava/Guice pattern to wrap collections, e.g.
> * <http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/collect/Iterators.html#peekingIterator(java.util.Iterator)>
> */
> static <V> Set<V> asSet(Collection<? extends V> collection) {
> return new HashSet<V>(collection);
> }
>
> // this causes the bug -> type is inferred by parameter not left side assignment
> static <V> void bug(Collection<? extends V> collection) {
> Set<V> set1 = Bug2.asSet(collection);
> // workaround that compiles:
> Set<V> set2 = Bug2.<V>asSet(collection);
> }
> }
>
> $ javac -source 1.7 -target 1.7 Bug2.java
> warning: [options] bootstrap class path not set in conjunction with -source 1.7
> Bug2.java:12: error: incompatible types: Set<CAP#1> cannot be converted to Set<V>
> Set<V> set = Bug2.asSet(collection);
> ^
> where V is a type-variable:
> V extends Object declared in method <V>bug(Collection<? extends V>)
> where CAP#1 is a fresh type-variable:
> CAP#1 extends V from capture of ? extends V
> 1 error
> 1 warning
>
> This type was discovered by the elasticsearch people, who use a lot of code of Google Guava/Guice that has a lot of static methods that wrap collections and return views of a different type.
> Usage of most of the Methods in e.g. com.google.common.collect.Iterators or com.google.common.collect.Lists and similars are affected by this bug, so it's really serious!
>
> To work around the bug you can do whats written in the example code: Just infer the generics using the <T> between static class name and method name [like the common pattern Arrays.<String>asList (....)].
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>> -----Original Message-----
>> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> Sent: Tuesday, March 24, 2015 10:05 AM
>> To: 'Balchandra Vaidya'; 'Rory O'Donnell'; dev@lucene.apache.org
>> Cc: 'Dalibor Topic'; rcmuir@gmail.com
>> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
>> 11848 - Failure!
>>
>> Hi,
>>
>> Many thanks! I CCed Robert Muir from Elasticsearch who took care of this at
>> ES (https://github.com/elastic/elasticsearch/issues/10145).
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>>
>>> -----Original Message-----
>>> From: Balchandra Vaidya [mailto:balchandra.vaidya@oracle.com]
>>> Sent: Tuesday, March 24, 2015 8:27 AM
>>> To: Uwe Schindler; 'Rory O'Donnell'; dev@lucene.apache.org
>>> Cc: 'Dalibor Topic'
>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
>>> Build #
>>> 11848 - Failure!
>>>
>>>
>>> Hi Uwe,
>>>
>>> JBS bug id is https://bugs.openjdk.java.net/browse/JDK-8075793
>>>
>>> Thanks
>>> Balchandra
>>>
>>> On 3/24/2015 5:57 AM, Uwe Schindler wrote:
>>>> Hi Rory,
>>>>
>>>> do you have an update on this bug? Searched for it in the openjdk
>>> bugtracker but did not find it. This also affects lots of code from
>>> Google Guava / Guice and because of that also our friends at Elasticsearch.
>>>>
>>>> Uwe
>>>>
>>>> -----
>>>> Uwe Schindler
>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>> eMail: uwe@thetaphi.de
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>>>>> Sent: Friday, March 20, 2015 10:00 AM
>>>>> To: Uwe Schindler; dev@lucene.apache.org
>>>>> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra Vaidya'
>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
>>>>> - Build #
>>>>> 11848 - Failure!
>>>>>
>>>>> Thanks Uwe, we will update you with the bug id .
>>>>>
>>>>> Rgds,Rory
>>>>> On 19/03/2015 16:28, Uwe Schindler wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code
>>>>>> with
>>>>> source/target 1.7 and diamond operator"
>>>>>> Uwe
>>>>>>
>>>>>> -----
>>>>>> Uwe Schindler
>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>>> eMail: uwe@thetaphi.de
>>>>>>
>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>>>>>>> Sent: Thursday, March 19, 2015 4:12 PM
>>>>>>> To: Uwe Schindler; dev@lucene.apache.org
>>>>>>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
>>>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
>>>>>>> - Build #
>>>>>>> 11848 - Failure!
>>>>>>>
>>>>>>>
>>>>>>> On 19/03/2015 14:30, Uwe Schindler wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> this seems to be a bug (or feature?) in the most recent Java 9 build
>> 54:
>>>>>>>>
>>>>>>>> compile-core:
>>>>>>>> [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>> Linux/lucene/build/analysis/common/classes/java
>>>>>>>> [javac] Compiling 461 source files to
>>>>>>>> /home/jenkins/workspace/Lucene-
>>>>>>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
>>>>>>> /Ch
>>>>>>> arArrayMap.java:568: error: incompatible types:
>>> CharArrayMap<CAP#1>
>>>>>>> cannot be converted to CharArrayMap<V>
>>>>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>>>>> [javac] ^
>>>>>>>> [javac] where V is a type-variable:
>>>>>>>> [javac] V extends Object declared in method
>> <V>copy(Map<?,?
>>>>>>> extends V>)
>>>>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>>>>> [javac] CAP#1 extends V from capture of ? extends V
>>>>>>>>
>>>>>>>> This is the code:
>>>>>>>>
>>>>>>>> @SuppressWarnings("unchecked")
>>>>>>>> public static <V> CharArrayMap<V> copy(final Map<?,? extends
>> V>
>>>>>>>> map)
>>>>>>> {
>>>>>>>> if(map == EMPTY_MAP)
>>>>>>>> return emptyMap();
>>>>>>>> if(map instanceof CharArrayMap) {
>>>>>>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
>>>>>>>> // use fast path instead of iterating all values
>>>>>>>> // this is even on very small sets ~10 times faster than iterating
>>>>>>>> final char[][] keys = new char[m.keys.length][];
>>>>>>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
>>>>>>>> final V[] values = (V[]) new Object[m.values.length];
>>>>>>>> System.arraycopy(m.values, 0, values, 0, values.length);
>>>>>>>> m = new CharArrayMap<>(m);
>>>>>>>> m.keys = keys;
>>>>>>>> m.values = values;
>>>>>>>> return m;
>>>>>>>> }
>>>>>>>> return new CharArrayMap<>(map, false);
>>>>>>>> }
>>>>>>>>
>>>>>>>> At least this breaks compiling existing code. Rory, should I open a
>>>>>>>> bug
>>>>>>> report with an example code?
>>>>>>> Hi Uwe,
>>>>>>>
>>>>>>> Please do log a bug.
>>>>>>>
>>>>>>> Rgds,Rory
>>>>>>>> Uwe
>>>>>>>>
>>>>>>>> -----
>>>>>>>> Uwe Schindler
>>>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>>>>> eMail: uwe@thetaphi.de
>>>>>>>>
>>>>>>>>
>>>>>>>>> -----Original Message-----
>>>>>>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
>>>>>>>>> Sent: Thursday, March 19, 2015 1:15 PM
>>>>>>>>> To: dev@lucene.apache.org
>>>>>>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
>>>>>>>>> Build #
>>>>>>>>> 11848 - Failure!
>>>>>>>>>
>>>>>>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-
>> Linux/11848/
>>>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
>>>>>>>>>
>>>>>>>>> All tests passed
>>>>>>>>>
>>>>>>>>> Build Log:
>>>>>>>>> [...truncated 1899 lines...]
>>>>>>>>> [javac] Compiling 461 source files to
>>>>>>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
>>>>>>> Linux/lucene/build/analysis/common/classes/java
>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>
>>>>>
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
>>>>>>>>> /Ch
>>>>>>>>> arArrayMap.java:568: error: incompatible types:
>>>>> CharArrayMap<CAP#1>
>>>>>>>>> cannot be converted to CharArrayMap<V>
>>>>>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>>>>>> [javac] ^
>>>>>>>>> [javac] where V is a type-variable:
>>>>>>>>> [javac] V extends Object declared in method
>>> <V>copy(Map<?,?
>>>>>>> extends
>>>>>>>>> V>)
>>>>>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>>>>>> [javac] CAP#1 extends V from capture of ? extends V
>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>
>>>>>
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
>>>>>>>>> p
>>>>>>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
>>>>>>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
>>>>>>>>> [javac] ^
>>>>>>>>> [javac] missing type arguments for generic class Arc<T>
>>>>>>>>> [javac] where T is a type-variable:
>>>>>>>>> [javac] T extends Object declared in class Arc
>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>
>>>>>
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
>>>>>>>>> p
>>>>>>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
>>>>>>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
>>>>>>>>> [javac] ^
>>>>>>>>> [javac] missing type arguments for generic class Arc<T>
>>>>>>>>> [javac] where T is a type-variable:
>>>>>>>>> [javac] T extends Object declared in class Arc
>>>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>>
>>>>>
>>>
>> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
>>>>>>>>> 46: warning: [rawtypes] found raw type: Class
>>>>>>>>> [javac] private static final Class<?>[] EMPTY_PARAMS = new
>>>>> Class[0];
>>>>>>>>> [javac] ^
>>>>>>>>> [javac] missing type arguments for generic class Class<T>
>>>>>>>>> [javac] where T is a type-variable:
>>>>>>>>> [javac] T extends Object declared in class Class
>>>>>>>>> [javac] Note: Some input files use or override a deprecated
>> API.
>>>>>>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
>>>>>>>>> [javac] 1 error
>>>>>>>>>
>>>>>>>>> [...truncated 1 lines...]
>>>>>>>>> BUILD FAILED
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529:
>> The
>>>>>>>>> following error occurred while executing this line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477:
>> The
>>>>>>>>> following error occurred while executing this line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61:
>> The
>>>>>>>>> following error occurred while executing this line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
>>>>> targets.xml:39:
>>>>>>>>> The following error occurred while executing this line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>> Linux/lucene/build.xml:456:
>>>>>>>>> The following error occurred while executing this line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/common-
>>>>>>>>> build.xml:2166: The following error occurred while executing this
>>> line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>> Linux/lucene/analysis/build.xml:106: The following error occurred
>>>>>>>>> while executing this line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>>> Linux/lucene/analysis/build.xml:38: The following error occurred
>>>>>>>>> while executing this line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>>>>>>>>> build.xml:58: The following error occurred while executing this line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>>>>>>>>> build.xml:55: The following error occurred while executing this line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/common-
>>>>>>>>> build.xml:520: The following error occurred while executing this
>> line:
>>>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/common-
>>>>>>>>> build.xml:1882: Compile failed; see the compiler error output for
>>>>> details.
>>>>>>>>> Total time: 15 minutes 25 seconds
>>>>>>>>> Build step 'Invoke Ant' marked build as failure [description-setter]
>>>>>>>>> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
>>>>>>>>> XX:+UseConcMarkSweepGC Archiving artifacts Recording test
>>> results
>>>>>>>>> Email was triggered for: Failure - Any Sending email for trigger:
>>>>>>>>> Failure - Any
>>>>>>>>>
>>>>>>> --
>>>>>>> Rgds,Rory O'Donnell
>>>>>>> Quality Engineering Manager
>>>>>>> Oracle EMEA , Dublin, Ireland
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>>>>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>>> --
>>>>> Rgds,Rory O'Donnell
>>>>> Quality Engineering Manager
>>>>> Oracle EMEA , Dublin, Ireland
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
--
<http://www.oracle.com> Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961
<tel:+491737185961>
ORACLE Deutschland B.V. & Co. KG | Kühnehöfe 5 | 22761 Hamburg
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
<http://www.oracle.com/commitment> Oracle is committed to developing
practices and products that help protect the environment
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build # 11848 - Failure!
Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,
could you please attach the given Bug2.java file to the same issue? This is another variant of the same bug that affects simple method calls (without diamond), so it is not only the constructor with diamond affected. You have to infer the type for those "wrapper" methods, too.
The following code does not compile with -source/target 1.7:
import java.util.*;
class Bug2 {
/* This method just emulates the common Google Guava/Guice pattern to wrap collections, e.g.
* <http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/collect/Iterators.html#peekingIterator(java.util.Iterator)>
*/
static <V> Set<V> asSet(Collection<? extends V> collection) {
return new HashSet<V>(collection);
}
// this causes the bug -> type is inferred by parameter not left side assignment
static <V> void bug(Collection<? extends V> collection) {
Set<V> set1 = Bug2.asSet(collection);
// workaround that compiles:
Set<V> set2 = Bug2.<V>asSet(collection);
}
}
$ javac -source 1.7 -target 1.7 Bug2.java
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Bug2.java:12: error: incompatible types: Set<CAP#1> cannot be converted to Set<V>
Set<V> set = Bug2.asSet(collection);
^
where V is a type-variable:
V extends Object declared in method <V>bug(Collection<? extends V>)
where CAP#1 is a fresh type-variable:
CAP#1 extends V from capture of ? extends V
1 error
1 warning
This type was discovered by the elasticsearch people, who use a lot of code of Google Guava/Guice that has a lot of static methods that wrap collections and return views of a different type.
Usage of most of the Methods in e.g. com.google.common.collect.Iterators or com.google.common.collect.Lists and similars are affected by this bug, so it's really serious!
To work around the bug you can do whats written in the example code: Just infer the generics using the <T> between static class name and method name [like the common pattern Arrays.<String>asList (....)].
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Tuesday, March 24, 2015 10:05 AM
> To: 'Balchandra Vaidya'; 'Rory O'Donnell'; dev@lucene.apache.org
> Cc: 'Dalibor Topic'; rcmuir@gmail.com
> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
> 11848 - Failure!
>
> Hi,
>
> Many thanks! I CCed Robert Muir from Elasticsearch who took care of this at
> ES (https://github.com/elastic/elasticsearch/issues/10145).
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
> > -----Original Message-----
> > From: Balchandra Vaidya [mailto:balchandra.vaidya@oracle.com]
> > Sent: Tuesday, March 24, 2015 8:27 AM
> > To: Uwe Schindler; 'Rory O'Donnell'; dev@lucene.apache.org
> > Cc: 'Dalibor Topic'
> > Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
> > Build #
> > 11848 - Failure!
> >
> >
> > Hi Uwe,
> >
> > JBS bug id is https://bugs.openjdk.java.net/browse/JDK-8075793
> >
> > Thanks
> > Balchandra
> >
> > On 3/24/2015 5:57 AM, Uwe Schindler wrote:
> > > Hi Rory,
> > >
> > > do you have an update on this bug? Searched for it in the openjdk
> > bugtracker but did not find it. This also affects lots of code from
> > Google Guava / Guice and because of that also our friends at Elasticsearch.
> > >
> > > Uwe
> > >
> > > -----
> > > Uwe Schindler
> > > H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> > > eMail: uwe@thetaphi.de
> > >
> > >
> > >> -----Original Message-----
> > >> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> > >> Sent: Friday, March 20, 2015 10:00 AM
> > >> To: Uwe Schindler; dev@lucene.apache.org
> > >> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra Vaidya'
> > >> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
> > >> - Build #
> > >> 11848 - Failure!
> > >>
> > >> Thanks Uwe, we will update you with the bug id .
> > >>
> > >> Rgds,Rory
> > >> On 19/03/2015 16:28, Uwe Schindler wrote:
> > >>> Hi,
> > >>>
> > >>> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code
> > >>> with
> > >> source/target 1.7 and diamond operator"
> > >>> Uwe
> > >>>
> > >>> -----
> > >>> Uwe Schindler
> > >>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> > >>> eMail: uwe@thetaphi.de
> > >>>
> > >>>
> > >>>> -----Original Message-----
> > >>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> > >>>> Sent: Thursday, March 19, 2015 4:12 PM
> > >>>> To: Uwe Schindler; dev@lucene.apache.org
> > >>>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
> > >>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
> > >>>> - Build #
> > >>>> 11848 - Failure!
> > >>>>
> > >>>>
> > >>>> On 19/03/2015 14:30, Uwe Schindler wrote:
> > >>>>> Hi,
> > >>>>>
> > >>>>> this seems to be a bug (or feature?) in the most recent Java 9 build
> 54:
> > >>>>>
> > >>>>> compile-core:
> > >>>>> [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>> Linux/lucene/build/analysis/common/classes/java
> > >>>>> [javac] Compiling 461 source files to
> > >>>>> /home/jenkins/workspace/Lucene-
> > >>>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> > >>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> > >>>> /Ch
> > >>>> arArrayMap.java:568: error: incompatible types:
> > CharArrayMap<CAP#1>
> > >>>> cannot be converted to CharArrayMap<V>
> > >>>>> [javac] return new CharArrayMap<>(map, false);
> > >>>>> [javac] ^
> > >>>>> [javac] where V is a type-variable:
> > >>>>> [javac] V extends Object declared in method
> <V>copy(Map<?,?
> > >>>> extends V>)
> > >>>>> [javac] where CAP#1 is a fresh type-variable:
> > >>>>> [javac] CAP#1 extends V from capture of ? extends V
> > >>>>>
> > >>>>> This is the code:
> > >>>>>
> > >>>>> @SuppressWarnings("unchecked")
> > >>>>> public static <V> CharArrayMap<V> copy(final Map<?,? extends
> V>
> > >>>>> map)
> > >>>> {
> > >>>>> if(map == EMPTY_MAP)
> > >>>>> return emptyMap();
> > >>>>> if(map instanceof CharArrayMap) {
> > >>>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
> > >>>>> // use fast path instead of iterating all values
> > >>>>> // this is even on very small sets ~10 times faster than iterating
> > >>>>> final char[][] keys = new char[m.keys.length][];
> > >>>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
> > >>>>> final V[] values = (V[]) new Object[m.values.length];
> > >>>>> System.arraycopy(m.values, 0, values, 0, values.length);
> > >>>>> m = new CharArrayMap<>(m);
> > >>>>> m.keys = keys;
> > >>>>> m.values = values;
> > >>>>> return m;
> > >>>>> }
> > >>>>> return new CharArrayMap<>(map, false);
> > >>>>> }
> > >>>>>
> > >>>>> At least this breaks compiling existing code. Rory, should I open a
> > >>>>> bug
> > >>>> report with an example code?
> > >>>> Hi Uwe,
> > >>>>
> > >>>> Please do log a bug.
> > >>>>
> > >>>> Rgds,Rory
> > >>>>> Uwe
> > >>>>>
> > >>>>> -----
> > >>>>> Uwe Schindler
> > >>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> > >>>>> eMail: uwe@thetaphi.de
> > >>>>>
> > >>>>>
> > >>>>>> -----Original Message-----
> > >>>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
> > >>>>>> Sent: Thursday, March 19, 2015 1:15 PM
> > >>>>>> To: dev@lucene.apache.org
> > >>>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
> > >>>>>> Build #
> > >>>>>> 11848 - Failure!
> > >>>>>>
> > >>>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-
> Linux/11848/
> > >>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
> > >>>>>>
> > >>>>>> All tests passed
> > >>>>>>
> > >>>>>> Build Log:
> > >>>>>> [...truncated 1899 lines...]
> > >>>>>> [javac] Compiling 461 source files to
> > >>>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
> > >>>> Linux/lucene/build/analysis/common/classes/java
> > >>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>
> > >>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> > >>>>>> /Ch
> > >>>>>> arArrayMap.java:568: error: incompatible types:
> > >> CharArrayMap<CAP#1>
> > >>>>>> cannot be converted to CharArrayMap<V>
> > >>>>>> [javac] return new CharArrayMap<>(map, false);
> > >>>>>> [javac] ^
> > >>>>>> [javac] where V is a type-variable:
> > >>>>>> [javac] V extends Object declared in method
> > <V>copy(Map<?,?
> > >>>> extends
> > >>>>>> V>)
> > >>>>>> [javac] where CAP#1 is a fresh type-variable:
> > >>>>>> [javac] CAP#1 extends V from capture of ? extends V
> > >>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>
> > >>
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> > >>>>>> p
> > >>>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
> > >>>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
> > >>>>>> [javac] ^
> > >>>>>> [javac] missing type arguments for generic class Arc<T>
> > >>>>>> [javac] where T is a type-variable:
> > >>>>>> [javac] T extends Object declared in class Arc
> > >>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>
> > >>
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> > >>>>>> p
> > >>>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
> > >>>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
> > >>>>>> [javac] ^
> > >>>>>> [javac] missing type arguments for generic class Arc<T>
> > >>>>>> [javac] where T is a type-variable:
> > >>>>>> [javac] T extends Object declared in class Arc
> > >>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>>
> > >>
> >
> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
> > >>>>>> 46: warning: [rawtypes] found raw type: Class
> > >>>>>> [javac] private static final Class<?>[] EMPTY_PARAMS = new
> > >> Class[0];
> > >>>>>> [javac] ^
> > >>>>>> [javac] missing type arguments for generic class Class<T>
> > >>>>>> [javac] where T is a type-variable:
> > >>>>>> [javac] T extends Object declared in class Class
> > >>>>>> [javac] Note: Some input files use or override a deprecated
> API.
> > >>>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
> > >>>>>> [javac] 1 error
> > >>>>>>
> > >>>>>> [...truncated 1 lines...]
> > >>>>>> BUILD FAILED
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529:
> The
> > >>>>>> following error occurred while executing this line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477:
> The
> > >>>>>> following error occurred while executing this line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61:
> The
> > >>>>>> following error occurred while executing this line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
> > >> targets.xml:39:
> > >>>>>> The following error occurred while executing this line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >> Linux/lucene/build.xml:456:
> > >>>>>> The following error occurred while executing this line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/common-
> > >>>>>> build.xml:2166: The following error occurred while executing this
> > line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>> Linux/lucene/analysis/build.xml:106: The following error occurred
> > >>>>>> while executing this line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>>>>> Linux/lucene/analysis/build.xml:38: The following error occurred
> > >>>>>> while executing this line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> > >>>>>> build.xml:58: The following error occurred while executing this line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> > >>>>>> build.xml:55: The following error occurred while executing this line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/common-
> > >>>>>> build.xml:520: The following error occurred while executing this
> line:
> > >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/common-
> > >>>>>> build.xml:1882: Compile failed; see the compiler error output for
> > >> details.
> > >>>>>> Total time: 15 minutes 25 seconds
> > >>>>>> Build step 'Invoke Ant' marked build as failure [description-setter]
> > >>>>>> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
> > >>>>>> XX:+UseConcMarkSweepGC Archiving artifacts Recording test
> > results
> > >>>>>> Email was triggered for: Failure - Any Sending email for trigger:
> > >>>>>> Failure - Any
> > >>>>>>
> > >>>> --
> > >>>> Rgds,Rory O'Donnell
> > >>>> Quality Engineering Manager
> > >>>> Oracle EMEA , Dublin, Ireland
> > >>>>
> > >>>>
> > >>>> ---------------------------------------------------------------------
> > >>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > >>>> For additional commands, e-mail: dev-help@lucene.apache.org
> > >> --
> > >> Rgds,Rory O'Donnell
> > >> Quality Engineering Manager
> > >> Oracle EMEA , Dublin, Ireland
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build # 11848 - Failure!
Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,
Many thanks! I CCed Robert Muir from Elasticsearch who took care of this at ES (https://github.com/elastic/elasticsearch/issues/10145).
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: Balchandra Vaidya [mailto:balchandra.vaidya@oracle.com]
> Sent: Tuesday, March 24, 2015 8:27 AM
> To: Uwe Schindler; 'Rory O'Donnell'; dev@lucene.apache.org
> Cc: 'Dalibor Topic'
> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
> 11848 - Failure!
>
>
> Hi Uwe,
>
> JBS bug id is https://bugs.openjdk.java.net/browse/JDK-8075793
>
> Thanks
> Balchandra
>
> On 3/24/2015 5:57 AM, Uwe Schindler wrote:
> > Hi Rory,
> >
> > do you have an update on this bug? Searched for it in the openjdk
> bugtracker but did not find it. This also affects lots of code from Google
> Guava / Guice and because of that also our friends at Elasticsearch.
> >
> > Uwe
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >
> >> -----Original Message-----
> >> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> >> Sent: Friday, March 20, 2015 10:00 AM
> >> To: Uwe Schindler; dev@lucene.apache.org
> >> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra Vaidya'
> >> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
> >> - Build #
> >> 11848 - Failure!
> >>
> >> Thanks Uwe, we will update you with the bug id .
> >>
> >> Rgds,Rory
> >> On 19/03/2015 16:28, Uwe Schindler wrote:
> >>> Hi,
> >>>
> >>> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code
> >>> with
> >> source/target 1.7 and diamond operator"
> >>> Uwe
> >>>
> >>> -----
> >>> Uwe Schindler
> >>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> >>> eMail: uwe@thetaphi.de
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> >>>> Sent: Thursday, March 19, 2015 4:12 PM
> >>>> To: Uwe Schindler; dev@lucene.apache.org
> >>>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
> >>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
> >>>> - Build #
> >>>> 11848 - Failure!
> >>>>
> >>>>
> >>>> On 19/03/2015 14:30, Uwe Schindler wrote:
> >>>>> Hi,
> >>>>>
> >>>>> this seems to be a bug (or feature?) in the most recent Java 9 build 54:
> >>>>>
> >>>>> compile-core:
> >>>>> [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>> Linux/lucene/build/analysis/common/classes/java
> >>>>> [javac] Compiling 461 source files to
> >>>>> /home/jenkins/workspace/Lucene-
> >>>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> >>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> >>>> /Ch
> >>>> arArrayMap.java:568: error: incompatible types:
> CharArrayMap<CAP#1>
> >>>> cannot be converted to CharArrayMap<V>
> >>>>> [javac] return new CharArrayMap<>(map, false);
> >>>>> [javac] ^
> >>>>> [javac] where V is a type-variable:
> >>>>> [javac] V extends Object declared in method <V>copy(Map<?,?
> >>>> extends V>)
> >>>>> [javac] where CAP#1 is a fresh type-variable:
> >>>>> [javac] CAP#1 extends V from capture of ? extends V
> >>>>>
> >>>>> This is the code:
> >>>>>
> >>>>> @SuppressWarnings("unchecked")
> >>>>> public static <V> CharArrayMap<V> copy(final Map<?,? extends V>
> >>>>> map)
> >>>> {
> >>>>> if(map == EMPTY_MAP)
> >>>>> return emptyMap();
> >>>>> if(map instanceof CharArrayMap) {
> >>>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
> >>>>> // use fast path instead of iterating all values
> >>>>> // this is even on very small sets ~10 times faster than iterating
> >>>>> final char[][] keys = new char[m.keys.length][];
> >>>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
> >>>>> final V[] values = (V[]) new Object[m.values.length];
> >>>>> System.arraycopy(m.values, 0, values, 0, values.length);
> >>>>> m = new CharArrayMap<>(m);
> >>>>> m.keys = keys;
> >>>>> m.values = values;
> >>>>> return m;
> >>>>> }
> >>>>> return new CharArrayMap<>(map, false);
> >>>>> }
> >>>>>
> >>>>> At least this breaks compiling existing code. Rory, should I open a
> >>>>> bug
> >>>> report with an example code?
> >>>> Hi Uwe,
> >>>>
> >>>> Please do log a bug.
> >>>>
> >>>> Rgds,Rory
> >>>>> Uwe
> >>>>>
> >>>>> -----
> >>>>> Uwe Schindler
> >>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> >>>>> eMail: uwe@thetaphi.de
> >>>>>
> >>>>>
> >>>>>> -----Original Message-----
> >>>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
> >>>>>> Sent: Thursday, March 19, 2015 1:15 PM
> >>>>>> To: dev@lucene.apache.org
> >>>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
> >>>>>> Build #
> >>>>>> 11848 - Failure!
> >>>>>>
> >>>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
> >>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
> >>>>>>
> >>>>>> All tests passed
> >>>>>>
> >>>>>> Build Log:
> >>>>>> [...truncated 1899 lines...]
> >>>>>> [javac] Compiling 461 source files to
> >>>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
> >>>> Linux/lucene/build/analysis/common/classes/java
> >>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>
> >> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> >>>>>> /Ch
> >>>>>> arArrayMap.java:568: error: incompatible types:
> >> CharArrayMap<CAP#1>
> >>>>>> cannot be converted to CharArrayMap<V>
> >>>>>> [javac] return new CharArrayMap<>(map, false);
> >>>>>> [javac] ^
> >>>>>> [javac] where V is a type-variable:
> >>>>>> [javac] V extends Object declared in method
> <V>copy(Map<?,?
> >>>> extends
> >>>>>> V>)
> >>>>>> [javac] where CAP#1 is a fresh type-variable:
> >>>>>> [javac] CAP#1 extends V from capture of ? extends V
> >>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>
> >>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> >>>>>> p
> >>>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
> >>>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
> >>>>>> [javac] ^
> >>>>>> [javac] missing type arguments for generic class Arc<T>
> >>>>>> [javac] where T is a type-variable:
> >>>>>> [javac] T extends Object declared in class Arc
> >>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>
> >>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> >>>>>> p
> >>>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
> >>>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
> >>>>>> [javac] ^
> >>>>>> [javac] missing type arguments for generic class Arc<T>
> >>>>>> [javac] where T is a type-variable:
> >>>>>> [javac] T extends Object declared in class Arc
> >>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>>
> >>
> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
> >>>>>> 46: warning: [rawtypes] found raw type: Class
> >>>>>> [javac] private static final Class<?>[] EMPTY_PARAMS = new
> >> Class[0];
> >>>>>> [javac] ^
> >>>>>> [javac] missing type arguments for generic class Class<T>
> >>>>>> [javac] where T is a type-variable:
> >>>>>> [javac] T extends Object declared in class Class
> >>>>>> [javac] Note: Some input files use or override a deprecated API.
> >>>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
> >>>>>> [javac] 1 error
> >>>>>>
> >>>>>> [...truncated 1 lines...]
> >>>>>> BUILD FAILED
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
> >>>>>> following error occurred while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
> >>>>>> following error occurred while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
> >>>>>> following error occurred while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
> >> targets.xml:39:
> >>>>>> The following error occurred while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >> Linux/lucene/build.xml:456:
> >>>>>> The following error occurred while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> >>>>>> build.xml:2166: The following error occurred while executing this
> line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>> Linux/lucene/analysis/build.xml:106: The following error occurred
> >>>>>> while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>>> Linux/lucene/analysis/build.xml:38: The following error occurred
> >>>>>> while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> >>>>>> build.xml:58: The following error occurred while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> >>>>>> build.xml:55: The following error occurred while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> >>>>>> build.xml:520: The following error occurred while executing this line:
> >>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> >>>>>> build.xml:1882: Compile failed; see the compiler error output for
> >> details.
> >>>>>> Total time: 15 minutes 25 seconds
> >>>>>> Build step 'Invoke Ant' marked build as failure [description-setter]
> >>>>>> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
> >>>>>> XX:+UseConcMarkSweepGC Archiving artifacts Recording test
> results
> >>>>>> Email was triggered for: Failure - Any Sending email for trigger:
> >>>>>> Failure - Any
> >>>>>>
> >>>> --
> >>>> Rgds,Rory O'Donnell
> >>>> Quality Engineering Manager
> >>>> Oracle EMEA , Dublin, Ireland
> >>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >>>> For additional commands, e-mail: dev-help@lucene.apache.org
> >> --
> >> Rgds,Rory O'Donnell
> >> Quality Engineering Manager
> >> Oracle EMEA , Dublin, Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build
# 11848 - Failure!
Posted by Rory O'Donnell <ro...@oracle.com>.
Hi Uwe,
Sorry about the delay, will let you know if there are any updates.
Rgds,Rory
On 24/03/2015 07:26, Balchandra Vaidya wrote:
>
> Hi Uwe,
>
> JBS bug id is https://bugs.openjdk.java.net/browse/JDK-8075793
>
> Thanks
> Balchandra
>
> On 3/24/2015 5:57 AM, Uwe Schindler wrote:
>> Hi Rory,
>>
>> do you have an update on this bug? Searched for it in the openjdk
>> bugtracker but did not find it. This also affects lots of code from
>> Google Guava / Guice and because of that also our friends at
>> Elasticsearch.
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> H.-H.-Meier-Allee 63, D-28213 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>>
>>> -----Original Message-----
>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>>> Sent: Friday, March 20, 2015 10:00 AM
>>> To: Uwe Schindler; dev@lucene.apache.org
>>> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra Vaidya'
>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
>>> - Build #
>>> 11848 - Failure!
>>>
>>> Thanks Uwe, we will update you with the bug id .
>>>
>>> Rgds,Rory
>>> On 19/03/2015 16:28, Uwe Schindler wrote:
>>>> Hi,
>>>>
>>>> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code with
>>> source/target 1.7 and diamond operator"
>>>> Uwe
>>>>
>>>> -----
>>>> Uwe Schindler
>>>> H.-H.-Meier-Allee 63, D-28213 Bremen
>>>> http://www.thetaphi.de
>>>> eMail: uwe@thetaphi.de
>>>>
>>>>
>>>>> -----Original Message-----
>>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>>>>> Sent: Thursday, March 19, 2015 4:12 PM
>>>>> To: Uwe Schindler; dev@lucene.apache.org
>>>>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
>>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
>>>>> - Build #
>>>>> 11848 - Failure!
>>>>>
>>>>>
>>>>> On 19/03/2015 14:30, Uwe Schindler wrote:
>>>>>> Hi,
>>>>>>
>>>>>> this seems to be a bug (or feature?) in the most recent Java 9
>>>>>> build 54:
>>>>>>
>>>>>> compile-core:
>>>>>> [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>> Linux/lucene/build/analysis/common/classes/java
>>>>>> [javac] Compiling 461 source files to
>>>>>> /home/jenkins/workspace/Lucene-
>>>>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
>>>>> /Ch
>>>>> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
>>>>> cannot be converted to CharArrayMap<V>
>>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>>> [javac] ^
>>>>>> [javac] where V is a type-variable:
>>>>>> [javac] V extends Object declared in method
>>>>>> <V>copy(Map<?,?
>>>>> extends V>)
>>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>>> [javac] CAP#1 extends V from capture of ? extends V
>>>>>>
>>>>>> This is the code:
>>>>>>
>>>>>> @SuppressWarnings("unchecked")
>>>>>> public static <V> CharArrayMap<V> copy(final Map<?,? extends V>
>>>>>> map)
>>>>> {
>>>>>> if(map == EMPTY_MAP)
>>>>>> return emptyMap();
>>>>>> if(map instanceof CharArrayMap) {
>>>>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
>>>>>> // use fast path instead of iterating all values
>>>>>> // this is even on very small sets ~10 times faster than
>>>>>> iterating
>>>>>> final char[][] keys = new char[m.keys.length][];
>>>>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
>>>>>> final V[] values = (V[]) new Object[m.values.length];
>>>>>> System.arraycopy(m.values, 0, values, 0, values.length);
>>>>>> m = new CharArrayMap<>(m);
>>>>>> m.keys = keys;
>>>>>> m.values = values;
>>>>>> return m;
>>>>>> }
>>>>>> return new CharArrayMap<>(map, false);
>>>>>> }
>>>>>>
>>>>>> At least this breaks compiling existing code. Rory, should I open a
>>>>>> bug
>>>>> report with an example code?
>>>>> Hi Uwe,
>>>>>
>>>>> Please do log a bug.
>>>>>
>>>>> Rgds,Rory
>>>>>> Uwe
>>>>>>
>>>>>> -----
>>>>>> Uwe Schindler
>>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>>> eMail: uwe@thetaphi.de
>>>>>>
>>>>>>
>>>>>>> -----Original Message-----
>>>>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
>>>>>>> Sent: Thursday, March 19, 2015 1:15 PM
>>>>>>> To: dev@lucene.apache.org
>>>>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
>>>>>>> Build #
>>>>>>> 11848 - Failure!
>>>>>>>
>>>>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
>>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
>>>>>>>
>>>>>>> All tests passed
>>>>>>>
>>>>>>> Build Log:
>>>>>>> [...truncated 1899 lines...]
>>>>>>> [javac] Compiling 461 source files to
>>>>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
>>>>> Linux/lucene/build/analysis/common/classes/java
>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
>>>>>>> /Ch
>>>>>>> arArrayMap.java:568: error: incompatible types:
>>> CharArrayMap<CAP#1>
>>>>>>> cannot be converted to CharArrayMap<V>
>>>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>>>> [javac] ^
>>>>>>> [javac] where V is a type-variable:
>>>>>>> [javac] V extends Object declared in method
>>>>>>> <V>copy(Map<?,?
>>>>> extends
>>>>>>> V>)
>>>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>>>> [javac] CAP#1 extends V from capture of ? extends V
>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
>>>>>>> p
>>>>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
>>>>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new
>>>>>>> FST.Arc[3];
>>>>>>> [javac] ^
>>>>>>> [javac] missing type arguments for generic class Arc<T>
>>>>>>> [javac] where T is a type-variable:
>>>>>>> [javac] T extends Object declared in class Arc
>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>
>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
>>>>>>> p
>>>>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
>>>>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new
>>>>>>> FST.Arc[3];
>>>>>>> [javac] ^
>>>>>>> [javac] missing type arguments for generic class Arc<T>
>>>>>>> [javac] where T is a type-variable:
>>>>>>> [javac] T extends Object declared in class Arc
>>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>>
>>> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
>>>>>>> 46: warning: [rawtypes] found raw type: Class
>>>>>>> [javac] private static final Class<?>[] EMPTY_PARAMS = new
>>> Class[0];
>>>>>>> [javac] ^
>>>>>>> [javac] missing type arguments for generic class Class<T>
>>>>>>> [javac] where T is a type-variable:
>>>>>>> [javac] T extends Object declared in class Class
>>>>>>> [javac] Note: Some input files use or override a
>>>>>>> deprecated API.
>>>>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
>>>>>>> [javac] 1 error
>>>>>>>
>>>>>>> [...truncated 1 lines...]
>>>>>>> BUILD FAILED
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
>>>>>>> following error occurred while executing this line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
>>>>>>> following error occurred while executing this line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
>>>>>>> following error occurred while executing this line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
>>> targets.xml:39:
>>>>>>> The following error occurred while executing this line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>> Linux/lucene/build.xml:456:
>>>>>>> The following error occurred while executing this line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>>>>>>> build.xml:2166: The following error occurred while executing
>>>>>>> this line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>> Linux/lucene/analysis/build.xml:106: The following error occurred
>>>>>>> while executing this line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>> Linux/lucene/analysis/build.xml:38: The following error occurred
>>>>>>> while executing this line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>>>>>>> build.xml:58: The following error occurred while executing this
>>>>>>> line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>>>>>>> build.xml:55: The following error occurred while executing this
>>>>>>> line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>>>>>>> build.xml:520: The following error occurred while executing this
>>>>>>> line:
>>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>>>>>>> build.xml:1882: Compile failed; see the compiler error output for
>>> details.
>>>>>>> Total time: 15 minutes 25 seconds
>>>>>>> Build step 'Invoke Ant' marked build as failure
>>>>>>> [description-setter]
>>>>>>> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
>>>>>>> XX:+UseConcMarkSweepGC Archiving artifacts Recording test results
>>>>>>> Email was triggered for: Failure - Any Sending email for trigger:
>>>>>>> Failure - Any
>>>>>>>
>>>>> --
>>>>> Rgds,Rory O'Donnell
>>>>> Quality Engineering Manager
>>>>> Oracle EMEA , Dublin, Ireland
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>> --
>>> Rgds,Rory O'Donnell
>>> Quality Engineering Manager
>>> Oracle EMEA , Dublin, Ireland
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build
# 11848 - Failure!
Posted by Balchandra Vaidya <ba...@oracle.com>.
Hi Uwe,
JBS bug id is https://bugs.openjdk.java.net/browse/JDK-8075793
Thanks
Balchandra
On 3/24/2015 5:57 AM, Uwe Schindler wrote:
> Hi Rory,
>
> do you have an update on this bug? Searched for it in the openjdk bugtracker but did not find it. This also affects lots of code from Google Guava / Guice and because of that also our friends at Elasticsearch.
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>> -----Original Message-----
>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>> Sent: Friday, March 20, 2015 10:00 AM
>> To: Uwe Schindler; dev@lucene.apache.org
>> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra Vaidya'
>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
>> 11848 - Failure!
>>
>> Thanks Uwe, we will update you with the bug id .
>>
>> Rgds,Rory
>> On 19/03/2015 16:28, Uwe Schindler wrote:
>>> Hi,
>>>
>>> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code with
>> source/target 1.7 and diamond operator"
>>> Uwe
>>>
>>> -----
>>> Uwe Schindler
>>> H.-H.-Meier-Allee 63, D-28213 Bremen
>>> http://www.thetaphi.de
>>> eMail: uwe@thetaphi.de
>>>
>>>
>>>> -----Original Message-----
>>>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>>>> Sent: Thursday, March 19, 2015 4:12 PM
>>>> To: Uwe Schindler; dev@lucene.apache.org
>>>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
>>>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
>>>> - Build #
>>>> 11848 - Failure!
>>>>
>>>>
>>>> On 19/03/2015 14:30, Uwe Schindler wrote:
>>>>> Hi,
>>>>>
>>>>> this seems to be a bug (or feature?) in the most recent Java 9 build 54:
>>>>>
>>>>> compile-core:
>>>>> [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
>>>> Linux/lucene/build/analysis/common/classes/java
>>>>> [javac] Compiling 461 source files to
>>>>> /home/jenkins/workspace/Lucene-
>>>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
>>>> /Ch
>>>> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
>>>> cannot be converted to CharArrayMap<V>
>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>> [javac] ^
>>>>> [javac] where V is a type-variable:
>>>>> [javac] V extends Object declared in method <V>copy(Map<?,?
>>>> extends V>)
>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>> [javac] CAP#1 extends V from capture of ? extends V
>>>>>
>>>>> This is the code:
>>>>>
>>>>> @SuppressWarnings("unchecked")
>>>>> public static <V> CharArrayMap<V> copy(final Map<?,? extends V>
>>>>> map)
>>>> {
>>>>> if(map == EMPTY_MAP)
>>>>> return emptyMap();
>>>>> if(map instanceof CharArrayMap) {
>>>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
>>>>> // use fast path instead of iterating all values
>>>>> // this is even on very small sets ~10 times faster than iterating
>>>>> final char[][] keys = new char[m.keys.length][];
>>>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
>>>>> final V[] values = (V[]) new Object[m.values.length];
>>>>> System.arraycopy(m.values, 0, values, 0, values.length);
>>>>> m = new CharArrayMap<>(m);
>>>>> m.keys = keys;
>>>>> m.values = values;
>>>>> return m;
>>>>> }
>>>>> return new CharArrayMap<>(map, false);
>>>>> }
>>>>>
>>>>> At least this breaks compiling existing code. Rory, should I open a
>>>>> bug
>>>> report with an example code?
>>>> Hi Uwe,
>>>>
>>>> Please do log a bug.
>>>>
>>>> Rgds,Rory
>>>>> Uwe
>>>>>
>>>>> -----
>>>>> Uwe Schindler
>>>>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
>>>>> eMail: uwe@thetaphi.de
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
>>>>>> Sent: Thursday, March 19, 2015 1:15 PM
>>>>>> To: dev@lucene.apache.org
>>>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
>>>>>> Build #
>>>>>> 11848 - Failure!
>>>>>>
>>>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
>>>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
>>>>>>
>>>>>> All tests passed
>>>>>>
>>>>>> Build Log:
>>>>>> [...truncated 1899 lines...]
>>>>>> [javac] Compiling 461 source files to
>>>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
>>>> Linux/lucene/build/analysis/common/classes/java
>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
>>>>>> /Ch
>>>>>> arArrayMap.java:568: error: incompatible types:
>> CharArrayMap<CAP#1>
>>>>>> cannot be converted to CharArrayMap<V>
>>>>>> [javac] return new CharArrayMap<>(map, false);
>>>>>> [javac] ^
>>>>>> [javac] where V is a type-variable:
>>>>>> [javac] V extends Object declared in method <V>copy(Map<?,?
>>>> extends
>>>>>> V>)
>>>>>> [javac] where CAP#1 is a fresh type-variable:
>>>>>> [javac] CAP#1 extends V from capture of ? extends V
>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
>>>>>> p
>>>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
>>>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
>>>>>> [javac] ^
>>>>>> [javac] missing type arguments for generic class Arc<T>
>>>>>> [javac] where T is a type-variable:
>>>>>> [javac] T extends Object declared in class Arc
>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
>>>>>> p
>>>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
>>>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
>>>>>> [javac] ^
>>>>>> [javac] missing type arguments for generic class Arc<T>
>>>>>> [javac] where T is a type-variable:
>>>>>> [javac] T extends Object declared in class Arc
>>>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>>
>> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
>>>>>> 46: warning: [rawtypes] found raw type: Class
>>>>>> [javac] private static final Class<?>[] EMPTY_PARAMS = new
>> Class[0];
>>>>>> [javac] ^
>>>>>> [javac] missing type arguments for generic class Class<T>
>>>>>> [javac] where T is a type-variable:
>>>>>> [javac] T extends Object declared in class Class
>>>>>> [javac] Note: Some input files use or override a deprecated API.
>>>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
>>>>>> [javac] 1 error
>>>>>>
>>>>>> [...truncated 1 lines...]
>>>>>> BUILD FAILED
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
>>>>>> following error occurred while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
>>>>>> following error occurred while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
>>>>>> following error occurred while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
>> targets.xml:39:
>>>>>> The following error occurred while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/build.xml:456:
>>>>>> The following error occurred while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>>>>>> build.xml:2166: The following error occurred while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>> Linux/lucene/analysis/build.xml:106: The following error occurred
>>>>>> while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>>> Linux/lucene/analysis/build.xml:38: The following error occurred
>>>>>> while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>>>>>> build.xml:58: The following error occurred while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>>>>>> build.xml:55: The following error occurred while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>>>>>> build.xml:520: The following error occurred while executing this line:
>>>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>>>>>> build.xml:1882: Compile failed; see the compiler error output for
>> details.
>>>>>> Total time: 15 minutes 25 seconds
>>>>>> Build step 'Invoke Ant' marked build as failure [description-setter]
>>>>>> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
>>>>>> XX:+UseConcMarkSweepGC Archiving artifacts Recording test results
>>>>>> Email was triggered for: Failure - Any Sending email for trigger:
>>>>>> Failure - Any
>>>>>>
>>>> --
>>>> Rgds,Rory O'Donnell
>>>> Quality Engineering Manager
>>>> Oracle EMEA , Dublin, Ireland
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>>> For additional commands, e-mail: dev-help@lucene.apache.org
>> --
>> Rgds,Rory O'Donnell
>> Quality Engineering Manager
>> Oracle EMEA , Dublin, Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build # 11848 - Failure!
Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi Rory,
do you have an update on this bug? Searched for it in the openjdk bugtracker but did not find it. This also affects lots of code from Google Guava / Guice and because of that also our friends at Elasticsearch.
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> Sent: Friday, March 20, 2015 10:00 AM
> To: Uwe Schindler; dev@lucene.apache.org
> Cc: rory.odonnell@oracle.com; 'Dalibor Topic'; 'Balchandra Vaidya'
> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
> 11848 - Failure!
>
> Thanks Uwe, we will update you with the bug id .
>
> Rgds,Rory
> On 19/03/2015 16:28, Uwe Schindler wrote:
> > Hi,
> >
> > I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code with
> source/target 1.7 and diamond operator"
> >
> > Uwe
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >
> >> -----Original Message-----
> >> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> >> Sent: Thursday, March 19, 2015 4:12 PM
> >> To: Uwe Schindler; dev@lucene.apache.org
> >> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
> >> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54)
> >> - Build #
> >> 11848 - Failure!
> >>
> >>
> >> On 19/03/2015 14:30, Uwe Schindler wrote:
> >>> Hi,
> >>>
> >>> this seems to be a bug (or feature?) in the most recent Java 9 build 54:
> >>>
> >>> compile-core:
> >>> [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
> >> Linux/lucene/build/analysis/common/classes/java
> >>> [javac] Compiling 461 source files to
> >>> /home/jenkins/workspace/Lucene-
> >> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> >>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> >> /Ch
> >> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
> >> cannot be converted to CharArrayMap<V>
> >>> [javac] return new CharArrayMap<>(map, false);
> >>> [javac] ^
> >>> [javac] where V is a type-variable:
> >>> [javac] V extends Object declared in method <V>copy(Map<?,?
> >> extends V>)
> >>> [javac] where CAP#1 is a fresh type-variable:
> >>> [javac] CAP#1 extends V from capture of ? extends V
> >>>
> >>> This is the code:
> >>>
> >>> @SuppressWarnings("unchecked")
> >>> public static <V> CharArrayMap<V> copy(final Map<?,? extends V>
> >>> map)
> >> {
> >>> if(map == EMPTY_MAP)
> >>> return emptyMap();
> >>> if(map instanceof CharArrayMap) {
> >>> CharArrayMap<V> m = (CharArrayMap<V>) map;
> >>> // use fast path instead of iterating all values
> >>> // this is even on very small sets ~10 times faster than iterating
> >>> final char[][] keys = new char[m.keys.length][];
> >>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
> >>> final V[] values = (V[]) new Object[m.values.length];
> >>> System.arraycopy(m.values, 0, values, 0, values.length);
> >>> m = new CharArrayMap<>(m);
> >>> m.keys = keys;
> >>> m.values = values;
> >>> return m;
> >>> }
> >>> return new CharArrayMap<>(map, false);
> >>> }
> >>>
> >>> At least this breaks compiling existing code. Rory, should I open a
> >>> bug
> >> report with an example code?
> >> Hi Uwe,
> >>
> >> Please do log a bug.
> >>
> >> Rgds,Rory
> >>> Uwe
> >>>
> >>> -----
> >>> Uwe Schindler
> >>> H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> >>> eMail: uwe@thetaphi.de
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
> >>>> Sent: Thursday, March 19, 2015 1:15 PM
> >>>> To: dev@lucene.apache.org
> >>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
> >>>> Build #
> >>>> 11848 - Failure!
> >>>>
> >>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
> >>>> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
> >>>>
> >>>> All tests passed
> >>>>
> >>>> Build Log:
> >>>> [...truncated 1899 lines...]
> >>>> [javac] Compiling 461 source files to
> >>>> /home/jenkins/workspace/Lucene- Solr-5.x-
> >> Linux/lucene/build/analysis/common/classes/java
> >>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> >>>> /Ch
> >>>> arArrayMap.java:568: error: incompatible types:
> CharArrayMap<CAP#1>
> >>>> cannot be converted to CharArrayMap<V>
> >>>> [javac] return new CharArrayMap<>(map, false);
> >>>> [javac] ^
> >>>> [javac] where V is a type-variable:
> >>>> [javac] V extends Object declared in method <V>copy(Map<?,?
> >> extends
> >>>> V>)
> >>>> [javac] where CAP#1 is a fresh type-variable:
> >>>> [javac] CAP#1 extends V from capture of ? extends V
> >>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>
> >>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> >>>> p
> >>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
> >>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
> >>>> [javac] ^
> >>>> [javac] missing type arguments for generic class Arc<T>
> >>>> [javac] where T is a type-variable:
> >>>> [javac] T extends Object declared in class Arc
> >>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>
> >>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> >>>> p
> >>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
> >>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
> >>>> [javac] ^
> >>>> [javac] missing type arguments for generic class Arc<T>
> >>>> [javac] where T is a type-variable:
> >>>> [javac] T extends Object declared in class Arc
> >>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>>
> >>
> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
> >>>> 46: warning: [rawtypes] found raw type: Class
> >>>> [javac] private static final Class<?>[] EMPTY_PARAMS = new
> Class[0];
> >>>> [javac] ^
> >>>> [javac] missing type arguments for generic class Class<T>
> >>>> [javac] where T is a type-variable:
> >>>> [javac] T extends Object declared in class Class
> >>>> [javac] Note: Some input files use or override a deprecated API.
> >>>> [javac] Note: Recompile with -Xlint:deprecation for details.
> >>>> [javac] 1 error
> >>>>
> >>>> [...truncated 1 lines...]
> >>>> BUILD FAILED
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
> >>>> following error occurred while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
> >>>> following error occurred while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
> >>>> following error occurred while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-
> targets.xml:39:
> >>>> The following error occurred while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/build.xml:456:
> >>>> The following error occurred while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> >>>> build.xml:2166: The following error occurred while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>> Linux/lucene/analysis/build.xml:106: The following error occurred
> >>>> while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-
> >>>> Linux/lucene/analysis/build.xml:38: The following error occurred
> >>>> while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> >>>> build.xml:58: The following error occurred while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> >>>> build.xml:55: The following error occurred while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> >>>> build.xml:520: The following error occurred while executing this line:
> >>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> >>>> build.xml:1882: Compile failed; see the compiler error output for
> details.
> >>>>
> >>>> Total time: 15 minutes 25 seconds
> >>>> Build step 'Invoke Ant' marked build as failure [description-setter]
> >>>> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
> >>>> XX:+UseConcMarkSweepGC Archiving artifacts Recording test results
> >>>> Email was triggered for: Failure - Any Sending email for trigger:
> >>>> Failure - Any
> >>>>
> >> --
> >> Rgds,Rory O'Donnell
> >> Quality Engineering Manager
> >> Oracle EMEA , Dublin, Ireland
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: dev-help@lucene.apache.org
>
> --
> Rgds,Rory O'Donnell
> Quality Engineering Manager
> Oracle EMEA , Dublin, Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build
# 11848 - Failure!
Posted by Rory O'Donnell <ro...@oracle.com>.
Thanks Uwe, we will update you with the bug id .
Rgds,Rory
On 19/03/2015 16:28, Uwe Schindler wrote:
> Hi,
>
> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code with source/target 1.7 and diamond operator"
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>> -----Original Message-----
>> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
>> Sent: Thursday, March 19, 2015 4:12 PM
>> To: Uwe Schindler; dev@lucene.apache.org
>> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
>> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
>> 11848 - Failure!
>>
>>
>> On 19/03/2015 14:30, Uwe Schindler wrote:
>>> Hi,
>>>
>>> this seems to be a bug (or feature?) in the most recent Java 9 build 54:
>>>
>>> compile-core:
>>> [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/build/analysis/common/classes/java
>>> [javac] Compiling 461 source files to /home/jenkins/workspace/Lucene-
>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/Ch
>> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
>> cannot be converted to CharArrayMap<V>
>>> [javac] return new CharArrayMap<>(map, false);
>>> [javac] ^
>>> [javac] where V is a type-variable:
>>> [javac] V extends Object declared in method <V>copy(Map<?,?
>> extends V>)
>>> [javac] where CAP#1 is a fresh type-variable:
>>> [javac] CAP#1 extends V from capture of ? extends V
>>>
>>> This is the code:
>>>
>>> @SuppressWarnings("unchecked")
>>> public static <V> CharArrayMap<V> copy(final Map<?,? extends V> map)
>> {
>>> if(map == EMPTY_MAP)
>>> return emptyMap();
>>> if(map instanceof CharArrayMap) {
>>> CharArrayMap<V> m = (CharArrayMap<V>) map;
>>> // use fast path instead of iterating all values
>>> // this is even on very small sets ~10 times faster than iterating
>>> final char[][] keys = new char[m.keys.length][];
>>> System.arraycopy(m.keys, 0, keys, 0, keys.length);
>>> final V[] values = (V[]) new Object[m.values.length];
>>> System.arraycopy(m.values, 0, values, 0, values.length);
>>> m = new CharArrayMap<>(m);
>>> m.keys = keys;
>>> m.values = values;
>>> return m;
>>> }
>>> return new CharArrayMap<>(map, false);
>>> }
>>>
>>> At least this breaks compiling existing code. Rory, should I open a bug
>> report with an example code?
>> Hi Uwe,
>>
>> Please do log a bug.
>>
>> Rgds,Rory
>>> Uwe
>>>
>>> -----
>>> Uwe Schindler
>>> H.-H.-Meier-Allee 63, D-28213 Bremen
>>> http://www.thetaphi.de
>>> eMail: uwe@thetaphi.de
>>>
>>>
>>>> -----Original Message-----
>>>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
>>>> Sent: Thursday, March 19, 2015 1:15 PM
>>>> To: dev@lucene.apache.org
>>>> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
>>>> Build #
>>>> 11848 - Failure!
>>>>
>>>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
>>>> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
>>>>
>>>> All tests passed
>>>>
>>>> Build Log:
>>>> [...truncated 1899 lines...]
>>>> [javac] Compiling 461 source files to
>>>> /home/jenkins/workspace/Lucene- Solr-5.x-
>> Linux/lucene/build/analysis/common/classes/java
>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
>>>> /Ch
>>>> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
>>>> cannot be converted to CharArrayMap<V>
>>>> [javac] return new CharArrayMap<>(map, false);
>>>> [javac] ^
>>>> [javac] where V is a type-variable:
>>>> [javac] V extends Object declared in method <V>copy(Map<?,?
>> extends
>>>> V>)
>>>> [javac] where CAP#1 is a fresh type-variable:
>>>> [javac] CAP#1 extends V from capture of ? extends V
>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
>>>> p
>>>> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
>>>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
>>>> [javac] ^
>>>> [javac] missing type arguments for generic class Arc<T>
>>>> [javac] where T is a type-variable:
>>>> [javac] T extends Object declared in class Arc
>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
>>>> p
>>>> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
>>>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
>>>> [javac] ^
>>>> [javac] missing type arguments for generic class Arc<T>
>>>> [javac] where T is a type-variable:
>>>> [javac] T extends Object declared in class Arc
>>>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>>>>
>> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
>>>> 46: warning: [rawtypes] found raw type: Class
>>>> [javac] private static final Class<?>[] EMPTY_PARAMS = new Class[0];
>>>> [javac] ^
>>>> [javac] missing type arguments for generic class Class<T>
>>>> [javac] where T is a type-variable:
>>>> [javac] T extends Object declared in class Class
>>>> [javac] Note: Some input files use or override a deprecated API.
>>>> [javac] Note: Recompile with -Xlint:deprecation for details.
>>>> [javac] 1 error
>>>>
>>>> [...truncated 1 lines...]
>>>> BUILD FAILED
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
>>>> following error occurred while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
>>>> following error occurred while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
>>>> following error occurred while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39:
>>>> The following error occurred while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:456:
>>>> The following error occurred while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>>>> build.xml:2166: The following error occurred while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>> Linux/lucene/analysis/build.xml:106: The following error occurred
>>>> while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-
>>>> Linux/lucene/analysis/build.xml:38: The following error occurred
>>>> while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>>>> build.xml:58: The following error occurred while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>>>> build.xml:55: The following error occurred while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>>>> build.xml:520: The following error occurred while executing this line:
>>>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>>>> build.xml:1882: Compile failed; see the compiler error output for details.
>>>>
>>>> Total time: 15 minutes 25 seconds
>>>> Build step 'Invoke Ant' marked build as failure [description-setter]
>>>> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
>>>> XX:+UseConcMarkSweepGC Archiving artifacts Recording test results
>>>> Email was triggered for: Failure - Any Sending email for trigger:
>>>> Failure - Any
>>>>
>> --
>> Rgds,Rory O'Donnell
>> Quality Engineering Manager
>> Oracle EMEA , Dublin, Ireland
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build # 11848 - Failure!
Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,
on the OpenJDK issue tracker this issue around the diamonds and type inference was discussed. It looks like we were relying on "legacy behavior" not specified in the JLS before Java 8. The Java 9 compiler therefore fixed the behavior to behave exactly like the Java 5, 6, 7 JLS defines how the type inference should happen. Lucene trunk compiled perfectly fine, because Java 8 redefined the type inference in the JLS and the bugs in previous compilers were fixed in Java 9. This also explains why we had issues when moving Trunk to Java 8, because with -source 1.8, the new type inference was used that caused some of our generics code to break. The new spec is more correct and the old legacy one is broken altogether!
https://bugs.openjdk.java.net/browse/JDK-8075793
Because it is unclear, how this issue is solved on the OpenJDK side, I would recommend to stay with the current fix, because those diamonds and type guessing by the compiler was always broken and error prone (my personal opinion). There also exist differences between Eclipse's compiler and JDK's and most of those differences are around this type of stuff.
I always hated diamonds and was always more happy with being explicit. So we should be more explicit in our code, if the type inference is not easy to explain - this is especially true for stuff where you have "<? extends Something>" and pass those as parameters around (and hope that the return type / diamond is correct) - which it isn't! I have nothing against diamongs in simple stuff like new "HashMap<>()", but as soon as you pass additional parameters around, it gets crazy.
In addition, the Eclipse ECJ compiler also seems to compile or understand this stuff in a different way, so it is really better to be explicit.
Thanks,
the Generics Policeman :-)
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Thursday, March 19, 2015 5:29 PM
> To: dev@lucene.apache.org; rory.odonnell@oracle.com
> Cc: 'Dalibor Topic'; 'Balchandra Vaidya'
> Subject: RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
> 11848 - Failure!
>
> Hi,
>
> I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code with
> source/target 1.7 and diamond operator"
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
> > -----Original Message-----
> > From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> > Sent: Thursday, March 19, 2015 4:12 PM
> > To: Uwe Schindler; dev@lucene.apache.org
> > Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
> > Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
> > Build #
> > 11848 - Failure!
> >
> >
> > On 19/03/2015 14:30, Uwe Schindler wrote:
> > > Hi,
> > >
> > > this seems to be a bug (or feature?) in the most recent Java 9 build 54:
> > >
> > > compile-core:
> > > [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
> > Linux/lucene/build/analysis/common/classes/java
> > > [javac] Compiling 461 source files to
> > > /home/jenkins/workspace/Lucene-
> > Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> > > [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/
> > Ch
> > arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
> > cannot be converted to CharArrayMap<V>
> > > [javac] return new CharArrayMap<>(map, false);
> > > [javac] ^
> > > [javac] where V is a type-variable:
> > > [javac] V extends Object declared in method <V>copy(Map<?,?
> > extends V>)
> > > [javac] where CAP#1 is a fresh type-variable:
> > > [javac] CAP#1 extends V from capture of ? extends V
> > >
> > > This is the code:
> > >
> > > @SuppressWarnings("unchecked")
> > > public static <V> CharArrayMap<V> copy(final Map<?,? extends V>
> > > map)
> > {
> > > if(map == EMPTY_MAP)
> > > return emptyMap();
> > > if(map instanceof CharArrayMap) {
> > > CharArrayMap<V> m = (CharArrayMap<V>) map;
> > > // use fast path instead of iterating all values
> > > // this is even on very small sets ~10 times faster than iterating
> > > final char[][] keys = new char[m.keys.length][];
> > > System.arraycopy(m.keys, 0, keys, 0, keys.length);
> > > final V[] values = (V[]) new Object[m.values.length];
> > > System.arraycopy(m.values, 0, values, 0, values.length);
> > > m = new CharArrayMap<>(m);
> > > m.keys = keys;
> > > m.values = values;
> > > return m;
> > > }
> > > return new CharArrayMap<>(map, false);
> > > }
> > >
> > > At least this breaks compiling existing code. Rory, should I open a
> > > bug
> > report with an example code?
> > Hi Uwe,
> >
> > Please do log a bug.
> >
> > Rgds,Rory
> > >
> > > Uwe
> > >
> > > -----
> > > Uwe Schindler
> > > H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
> > > eMail: uwe@thetaphi.de
> > >
> > >
> > >> -----Original Message-----
> > >> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
> > >> Sent: Thursday, March 19, 2015 1:15 PM
> > >> To: dev@lucene.apache.org
> > >> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
> > >> Build #
> > >> 11848 - Failure!
> > >>
> > >> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
> > >> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
> > >>
> > >> All tests passed
> > >>
> > >> Build Log:
> > >> [...truncated 1899 lines...]
> > >> [javac] Compiling 461 source files to
> > >> /home/jenkins/workspace/Lucene- Solr-5.x-
> > Linux/lucene/build/analysis/common/classes/java
> > >> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> > >> /Ch
> > >> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
> > >> cannot be converted to CharArrayMap<V>
> > >> [javac] return new CharArrayMap<>(map, false);
> > >> [javac] ^
> > >> [javac] where V is a type-variable:
> > >> [javac] V extends Object declared in method <V>copy(Map<?,?
> > extends
> > >> V>)
> > >> [javac] where CAP#1 is a fresh type-variable:
> > >> [javac] CAP#1 extends V from capture of ? extends V
> > >> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> > >> p
> > >> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
> > >> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
> > >> [javac] ^
> > >> [javac] missing type arguments for generic class Arc<T>
> > >> [javac] where T is a type-variable:
> > >> [javac] T extends Object declared in class Arc
> > >> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>
> > Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> > >> p
> > >> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
> > >> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
> > >> [javac] ^
> > >> [javac] missing type arguments for generic class Arc<T>
> > >> [javac] where T is a type-variable:
> > >> [javac] T extends Object declared in class Arc
> > >> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> > >>
> >
> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
> > >> 46: warning: [rawtypes] found raw type: Class
> > >> [javac] private static final Class<?>[] EMPTY_PARAMS = new Class[0];
> > >> [javac] ^
> > >> [javac] missing type arguments for generic class Class<T>
> > >> [javac] where T is a type-variable:
> > >> [javac] T extends Object declared in class Class
> > >> [javac] Note: Some input files use or override a deprecated API.
> > >> [javac] Note: Recompile with -Xlint:deprecation for details.
> > >> [javac] 1 error
> > >>
> > >> [...truncated 1 lines...]
> > >> BUILD FAILED
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
> > >> following error occurred while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
> > >> following error occurred while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
> > >> following error occurred while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39:
> > >> The following error occurred while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:456:
> > >> The following error occurred while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> > >> build.xml:2166: The following error occurred while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >> Linux/lucene/analysis/build.xml:106: The following error occurred
> > >> while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-
> > >> Linux/lucene/analysis/build.xml:38: The following error occurred
> > >> while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> > >> build.xml:58: The following error occurred while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> > >> build.xml:55: The following error occurred while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> > >> build.xml:520: The following error occurred while executing this line:
> > >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> > >> build.xml:1882: Compile failed; see the compiler error output for details.
> > >>
> > >> Total time: 15 minutes 25 seconds
> > >> Build step 'Invoke Ant' marked build as failure [description-setter]
> > >> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
> > >> XX:+UseConcMarkSweepGC Archiving artifacts Recording test results
> > >> Email was triggered for: Failure - Any Sending email for trigger:
> > >> Failure - Any
> > >>
> > >
> >
> > --
> > Rgds,Rory O'Donnell
> > Quality Engineering Manager
> > Oracle EMEA , Dublin, Ireland
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: dev-help@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build # 11848 - Failure!
Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,
I opened Review ID: JI-9019884 "Java 9 b54 breaks compiling code with source/target 1.7 and diamond operator"
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: Rory O'Donnell [mailto:rory.odonnell@oracle.com]
> Sent: Thursday, March 19, 2015 4:12 PM
> To: Uwe Schindler; dev@lucene.apache.org
> Cc: rory.odonnell@oracle.com; Dalibor Topic; Balchandra Vaidya
> Subject: Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
> 11848 - Failure!
>
>
> On 19/03/2015 14:30, Uwe Schindler wrote:
> > Hi,
> >
> > this seems to be a bug (or feature?) in the most recent Java 9 build 54:
> >
> > compile-core:
> > [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/build/analysis/common/classes/java
> > [javac] Compiling 461 source files to /home/jenkins/workspace/Lucene-
> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> > [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/Ch
> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
> cannot be converted to CharArrayMap<V>
> > [javac] return new CharArrayMap<>(map, false);
> > [javac] ^
> > [javac] where V is a type-variable:
> > [javac] V extends Object declared in method <V>copy(Map<?,?
> extends V>)
> > [javac] where CAP#1 is a fresh type-variable:
> > [javac] CAP#1 extends V from capture of ? extends V
> >
> > This is the code:
> >
> > @SuppressWarnings("unchecked")
> > public static <V> CharArrayMap<V> copy(final Map<?,? extends V> map)
> {
> > if(map == EMPTY_MAP)
> > return emptyMap();
> > if(map instanceof CharArrayMap) {
> > CharArrayMap<V> m = (CharArrayMap<V>) map;
> > // use fast path instead of iterating all values
> > // this is even on very small sets ~10 times faster than iterating
> > final char[][] keys = new char[m.keys.length][];
> > System.arraycopy(m.keys, 0, keys, 0, keys.length);
> > final V[] values = (V[]) new Object[m.values.length];
> > System.arraycopy(m.values, 0, values, 0, values.length);
> > m = new CharArrayMap<>(m);
> > m.keys = keys;
> > m.values = values;
> > return m;
> > }
> > return new CharArrayMap<>(map, false);
> > }
> >
> > At least this breaks compiling existing code. Rory, should I open a bug
> report with an example code?
> Hi Uwe,
>
> Please do log a bug.
>
> Rgds,Rory
> >
> > Uwe
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >
> >> -----Original Message-----
> >> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
> >> Sent: Thursday, March 19, 2015 1:15 PM
> >> To: dev@lucene.apache.org
> >> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) -
> >> Build #
> >> 11848 - Failure!
> >>
> >> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
> >> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
> >>
> >> All tests passed
> >>
> >> Build Log:
> >> [...truncated 1899 lines...]
> >> [javac] Compiling 461 source files to
> >> /home/jenkins/workspace/Lucene- Solr-5.x-
> Linux/lucene/build/analysis/common/classes/java
> >> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util
> >> /Ch
> >> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
> >> cannot be converted to CharArrayMap<V>
> >> [javac] return new CharArrayMap<>(map, false);
> >> [javac] ^
> >> [javac] where V is a type-variable:
> >> [javac] V extends Object declared in method <V>copy(Map<?,?
> extends
> >> V>)
> >> [javac] where CAP#1 is a fresh type-variable:
> >> [javac] CAP#1 extends V from capture of ? extends V
> >> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> >> p
> >> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
> >> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
> >> [javac] ^
> >> [javac] missing type arguments for generic class Arc<T>
> >> [javac] where T is a type-variable:
> >> [javac] T extends Object declared in class Arc
> >> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/huns
> >> p
> >> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
> >> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
> >> [javac] ^
> >> [javac] missing type arguments for generic class Arc<T>
> >> [javac] where T is a type-variable:
> >> [javac] T extends Object declared in class Arc
> >> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> >>
> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
> >> 46: warning: [rawtypes] found raw type: Class
> >> [javac] private static final Class<?>[] EMPTY_PARAMS = new Class[0];
> >> [javac] ^
> >> [javac] missing type arguments for generic class Class<T>
> >> [javac] where T is a type-variable:
> >> [javac] T extends Object declared in class Class
> >> [javac] Note: Some input files use or override a deprecated API.
> >> [javac] Note: Recompile with -Xlint:deprecation for details.
> >> [javac] 1 error
> >>
> >> [...truncated 1 lines...]
> >> BUILD FAILED
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
> >> following error occurred while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
> >> following error occurred while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
> >> following error occurred while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39:
> >> The following error occurred while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:456:
> >> The following error occurred while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> >> build.xml:2166: The following error occurred while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-
> >> Linux/lucene/analysis/build.xml:106: The following error occurred
> >> while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-
> >> Linux/lucene/analysis/build.xml:38: The following error occurred
> >> while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> >> build.xml:58: The following error occurred while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> >> build.xml:55: The following error occurred while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> >> build.xml:520: The following error occurred while executing this line:
> >> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> >> build.xml:1882: Compile failed; see the compiler error output for details.
> >>
> >> Total time: 15 minutes 25 seconds
> >> Build step 'Invoke Ant' marked build as failure [description-setter]
> >> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
> >> XX:+UseConcMarkSweepGC Archiving artifacts Recording test results
> >> Email was triggered for: Failure - Any Sending email for trigger:
> >> Failure - Any
> >>
> >
>
> --
> Rgds,Rory O'Donnell
> Quality Engineering Manager
> Oracle EMEA , Dublin, Ireland
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build
# 11848 - Failure!
Posted by Rory O'Donnell <ro...@oracle.com>.
On 19/03/2015 14:30, Uwe Schindler wrote:
> Hi,
>
> this seems to be a bug (or feature?) in the most recent Java 9 build 54:
>
> compile-core:
> [mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> [javac] Compiling 461 source files to /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/CharArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1> cannot be converted to CharArrayMap<V>
> [javac] return new CharArrayMap<>(map, false);
> [javac] ^
> [javac] where V is a type-variable:
> [javac] V extends Object declared in method <V>copy(Map<?,? extends V>)
> [javac] where CAP#1 is a fresh type-variable:
> [javac] CAP#1 extends V from capture of ? extends V
>
> This is the code:
>
> @SuppressWarnings("unchecked")
> public static <V> CharArrayMap<V> copy(final Map<?,? extends V> map) {
> if(map == EMPTY_MAP)
> return emptyMap();
> if(map instanceof CharArrayMap) {
> CharArrayMap<V> m = (CharArrayMap<V>) map;
> // use fast path instead of iterating all values
> // this is even on very small sets ~10 times faster than iterating
> final char[][] keys = new char[m.keys.length][];
> System.arraycopy(m.keys, 0, keys, 0, keys.length);
> final V[] values = (V[]) new Object[m.values.length];
> System.arraycopy(m.values, 0, values, 0, values.length);
> m = new CharArrayMap<>(m);
> m.keys = keys;
> m.values = values;
> return m;
> }
> return new CharArrayMap<>(map, false);
> }
>
> At least this breaks compiling existing code. Rory, should I open a bug report with an example code?
Hi Uwe,
Please do log a bug.
Rgds,Rory
>
> Uwe
>
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>> -----Original Message-----
>> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
>> Sent: Thursday, March 19, 2015 1:15 PM
>> To: dev@lucene.apache.org
>> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
>> 11848 - Failure!
>>
>> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
>> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
>>
>> All tests passed
>>
>> Build Log:
>> [...truncated 1899 lines...]
>> [javac] Compiling 461 source files to /home/jenkins/workspace/Lucene-
>> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/Ch
>> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
>> cannot be converted to CharArrayMap<V>
>> [javac] return new CharArrayMap<>(map, false);
>> [javac] ^
>> [javac] where V is a type-variable:
>> [javac] V extends Object declared in method <V>copy(Map<?,? extends
>> V>)
>> [javac] where CAP#1 is a fresh type-variable:
>> [javac] CAP#1 extends V from capture of ? extends V
>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunsp
>> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
>> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
>> [javac] ^
>> [javac] missing type arguments for generic class Arc<T>
>> [javac] where T is a type-variable:
>> [javac] T extends Object declared in class Arc
>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunsp
>> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
>> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
>> [javac] ^
>> [javac] missing type arguments for generic class Arc<T>
>> [javac] where T is a type-variable:
>> [javac] T extends Object declared in class Arc
>> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
>> 46: warning: [rawtypes] found raw type: Class
>> [javac] private static final Class<?>[] EMPTY_PARAMS = new Class[0];
>> [javac] ^
>> [javac] missing type arguments for generic class Class<T>
>> [javac] where T is a type-variable:
>> [javac] T extends Object declared in class Class
>> [javac] Note: Some input files use or override a deprecated API.
>> [javac] Note: Recompile with -Xlint:deprecation for details.
>> [javac] 1 error
>>
>> [...truncated 1 lines...]
>> BUILD FAILED
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:456: The
>> following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>> build.xml:2166: The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/analysis/build.xml:106: The following error occurred while
>> executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-
>> Linux/lucene/analysis/build.xml:38: The following error occurred while
>> executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>> build.xml:58: The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
>> build.xml:55: The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>> build.xml:520: The following error occurred while executing this line:
>> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
>> build.xml:1882: Compile failed; see the compiler error output for details.
>>
>> Total time: 15 minutes 25 seconds
>> Build step 'Invoke Ant' marked build as failure [description-setter]
>> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
>> XX:+UseConcMarkSweepGC Archiving artifacts Recording test results Email
>> was triggered for: Failure - Any Sending email for trigger: Failure - Any
>>
>
--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
RE: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build # 11848 - Failure!
Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,
this seems to be a bug (or feature?) in the most recent Java 9 build 54:
compile-core:
[mkdir] Created dir: /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/analysis/common/classes/java
[javac] Compiling 461 source files to /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build/analysis/common/classes/java
[javac] /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/CharArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1> cannot be converted to CharArrayMap<V>
[javac] return new CharArrayMap<>(map, false);
[javac] ^
[javac] where V is a type-variable:
[javac] V extends Object declared in method <V>copy(Map<?,? extends V>)
[javac] where CAP#1 is a fresh type-variable:
[javac] CAP#1 extends V from capture of ? extends V
This is the code:
@SuppressWarnings("unchecked")
public static <V> CharArrayMap<V> copy(final Map<?,? extends V> map) {
if(map == EMPTY_MAP)
return emptyMap();
if(map instanceof CharArrayMap) {
CharArrayMap<V> m = (CharArrayMap<V>) map;
// use fast path instead of iterating all values
// this is even on very small sets ~10 times faster than iterating
final char[][] keys = new char[m.keys.length][];
System.arraycopy(m.keys, 0, keys, 0, keys.length);
final V[] values = (V[]) new Object[m.values.length];
System.arraycopy(m.values, 0, values, 0, values.length);
m = new CharArrayMap<>(m);
m.keys = keys;
m.values = values;
return m;
}
return new CharArrayMap<>(map, false);
}
At least this breaks compiling existing code. Rory, should I open a bug report with an example code?
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: Policeman Jenkins Server [mailto:jenkins@thetaphi.de]
> Sent: Thursday, March 19, 2015 1:15 PM
> To: dev@lucene.apache.org
> Subject: [JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b54) - Build #
> 11848 - Failure!
>
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11848/
> Java: 32bit/jdk1.9.0-ea-b54 -server -XX:+UseConcMarkSweepGC
>
> All tests passed
>
> Build Log:
> [...truncated 1899 lines...]
> [javac] Compiling 461 source files to /home/jenkins/workspace/Lucene-
> Solr-5.x-Linux/lucene/build/analysis/common/classes/java
> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/util/Ch
> arArrayMap.java:568: error: incompatible types: CharArrayMap<CAP#1>
> cannot be converted to CharArrayMap<V>
> [javac] return new CharArrayMap<>(map, false);
> [javac] ^
> [javac] where V is a type-variable:
> [javac] V extends Object declared in method <V>copy(Map<?,? extends
> V>)
> [javac] where CAP#1 is a fresh type-variable:
> [javac] CAP#1 extends V from capture of ? extends V
> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunsp
> ell/Stemmer.java:270: warning: [rawtypes] found raw type: Arc
> [javac] final FST.Arc<IntsRef> prefixArcs[] = new FST.Arc[3];
> [javac] ^
> [javac] missing type arguments for generic class Arc<T>
> [javac] where T is a type-variable:
> [javac] T extends Object declared in class Arc
> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunsp
> ell/Stemmer.java:274: warning: [rawtypes] found raw type: Arc
> [javac] final FST.Arc<IntsRef> suffixArcs[] = new FST.Arc[3];
> [javac] ^
> [javac] missing type arguments for generic class Arc<T>
> [javac] where T is a type-variable:
> [javac] T extends Object declared in class Arc
> [javac] /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/analysis/common/src/java/org/tartarus/snowball/Among.java:
> 46: warning: [rawtypes] found raw type: Class
> [javac] private static final Class<?>[] EMPTY_PARAMS = new Class[0];
> [javac] ^
> [javac] missing type arguments for generic class Class<T>
> [javac] where T is a type-variable:
> [javac] T extends Object declared in class Class
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] 1 error
>
> [...truncated 1 lines...]
> BUILD FAILED
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:529: The
> following error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:477: The
> following error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/build.xml:61: The
> following error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/extra-targets.xml:39: The
> following error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/build.xml:456: The
> following error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> build.xml:2166: The following error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/analysis/build.xml:106: The following error occurred while
> executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-
> Linux/lucene/analysis/build.xml:38: The following error occurred while
> executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> build.xml:58: The following error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/module-
> build.xml:55: The following error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> build.xml:520: The following error occurred while executing this line:
> /home/jenkins/workspace/Lucene-Solr-5.x-Linux/lucene/common-
> build.xml:1882: Compile failed; see the compiler error output for details.
>
> Total time: 15 minutes 25 seconds
> Build step 'Invoke Ant' marked build as failure [description-setter]
> Description set: Java: 32bit/jdk1.9.0-ea-b54 -server -
> XX:+UseConcMarkSweepGC Archiving artifacts Recording test results Email
> was triggered for: Failure - Any Sending email for trigger: Failure - Any
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org