[GitHub] lucene-solr pull request #430: SOLR-12485: support labelled children in xml ...

2018-08-05 Thread moshebla
Github user moshebla commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/430#discussion_r207776740
  
--- Diff: solr/core/src/java/org/apache/solr/handler/loader/XMLLoader.java 
---
@@ -404,6 +404,7 @@ public SolrInputDocument readDoc(XMLStreamReader 
parser) throws XMLStreamExcepti
 StringBuilder text = new StringBuilder();
 String name = null;
 boolean isNull = false;
+boolean isLabeledChildDoc = false;
--- End diff --

I just added a test which seems to pass.
Hopefully I did not miss anything when I wrote it. :)


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[JENKINS] Lucene-Solr-BadApples-master-Linux (64bit/jdk1.8.0_172) - Build # 74 - Failure!

2018-08-05 Thread Policeman Jenkins Server
Build: https://jenkins.thetaphi.de/job/Lucene-Solr-BadApples-master-Linux/74/
Java: 64bit/jdk1.8.0_172 -XX:-UseCompressedOops -XX:+UseSerialGC

3 tests failed.
FAILED:  
org.apache.lucene.index.TestIndexingSequenceNumbers.testStressConcurrentCommit

Error Message:
this IndexWriter is closed

Stack Trace:
org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:671)
at org.apache.lucene.index.IndexWriter.ensureOpen(IndexWriter.java:685)
at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3410)
at 
org.apache.lucene.index.TestIndexingSequenceNumbers.testStressConcurrentCommit(TestIndexingSequenceNumbers.java:228)
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:498)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
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:53)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.OutOfMemoryError: Java heap space
at __randomizedtesting.SeedInfo.seed([48EE8146FBCF5CD0]:0)
at 
org.apache.lucene.codecs.compressing.CompressingStoredFieldsIndexWriter.(CompressingStoredFieldsIndexWriter.java:93)
at 
org.apache.lucene.codecs.compressing.CompressingStoredFieldsWriter.(CompressingStoredFieldsWriter.java:125)
at 
org.apache.lucene.codecs.compressing.CompressingStoredFieldsFormat.fieldsWriter(CompressingStoredFieldsFormat.java:128)
at 

[JENKINS] Lucene-Solr-Tests-7.x - Build # 741 - Unstable

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Tests-7.x/741/

1 tests failed.
FAILED:  org.apache.solr.cloud.TestPullReplica.testKillLeader

Error Message:
Replica core_node4 not up to date after 10 seconds expected:<1> but was:<0>

Stack Trace:
java.lang.AssertionError: Replica core_node4 not up to date after 10 seconds 
expected:<1> but was:<0>
at 
__randomizedtesting.SeedInfo.seed([4EDC3840BF6F5E4F:7CACCF4DDD4CA19]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.failNotEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:128)
at org.junit.Assert.assertEquals(Assert.java:472)
at 
org.apache.solr.cloud.TestPullReplica.waitForNumDocsInAllReplicas(TestPullReplica.java:542)
at 
org.apache.solr.cloud.TestPullReplica.doTestNoLeader(TestPullReplica.java:490)
at 
org.apache.solr.cloud.TestPullReplica.testKillLeader(TestPullReplica.java:309)
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:498)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
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:53)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 

[jira] [Commented] (LUCENE-8060) Enable top-docs collection optimizations by default

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/LUCENE-8060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569720#comment-16569720
 ] 

ASF subversion and git services commented on LUCENE-8060:
-

Commit 3b15be378101ddd1e6f4529f6b02694128fb9ae4 in lucene-solr's branch 
refs/heads/jira/http2 from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3b15be3 ]

LUCENE-8060: Fix test bug.

Should use IndexSearcher#count to get accurate counts.


> Enable top-docs collection optimizations by default
> ---
>
> Key: LUCENE-8060
> URL: https://issues.apache.org/jira/browse/LUCENE-8060
> Project: Lucene - Core
>  Issue Type: Improvement
>Reporter: Adrien Grand
>Priority: Minor
> Fix For: master (8.0)
>
> Attachments: LUCENE-8060.patch
>
>
> We are getting optimizations when hit counts are not required (sorted 
> indexes, MAXSCORE, short-circuiting of phrase queries) but our users won't 
> benefit from them unless we disable exact hit counts by default or we require 
> them to tell us whether hit counts are required.
> I think making hit counts approximate by default is going to be a bit trappy, 
> so I'm rather leaning towards requiring users to tell us explicitly whether 
> they need total hit counts. I can think of two ways to do that: either by 
> passing a boolean to the IndexSearcher constructor or by adding a boolean to 
> all methods that produce TopDocs instances. I like the latter better but I'm 
> open to discussion or other ideas?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-12592) Support cores:'EQUAL' %age , range in autoscaling policies

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569716#comment-16569716
 ] 

ASF subversion and git services commented on SOLR-12592:


Commit 664187f73af51059c75d51206bf53900433f669c in lucene-solr's branch 
refs/heads/jira/http2 from noble
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=664187f ]

SOLR-12592: added support for range , percentage and decimal


> Support cores:'EQUAL'  %age , range in autoscaling policies
> ---
>
> Key: SOLR-12592
> URL: https://issues.apache.org/jira/browse/SOLR-12592
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling, SolrCloud
>Reporter: Noble Paul
>Assignee: Noble Paul
>Priority: Major
>
> It's possible to  sort nodes according to cores and the system can normally 
> prefer nodes with fewer cores when placing new replicas. However, it may not 
> give suggestions to move off replicas , if the system  is already in an 
> unbalanced state.
> The following rule may help achieve such a balanced distribution of cores
> {code}
> {"cores":"#EQUAL" , node: "#ANY"}
> {code}
> The value of cores is computed as {{total_cores/total_nodes}}. for e.g: if 
> there are 28 cores in total and there are 5 nodes . the value of cores= 28/5 
> = 5.6. This means a node may have either 5 cores or 6 cores.
> It's possible that this may cause a conflict with other collection-specific 
> rules such as
> {code}
> {"replica":"#EQUAL" , "node" : "#ANY"}
> {code}
> It can be remedied by making this rule , not strict.
> {code}
> {"cores":"#EQUAL" , "node": "#ANY", "strict"=false}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-12592) Support cores:'EQUAL' %age , range in autoscaling policies

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569719#comment-16569719
 ] 

ASF subversion and git services commented on SOLR-12592:


Commit ffedb99dc8127e14ad32c6c1345bb7d4516a570e in lucene-solr's branch 
refs/heads/jira/http2 from [~noble.paul]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ffedb99 ]

SOLR-12592: added javadoc


> Support cores:'EQUAL'  %age , range in autoscaling policies
> ---
>
> Key: SOLR-12592
> URL: https://issues.apache.org/jira/browse/SOLR-12592
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: AutoScaling, SolrCloud
>Reporter: Noble Paul
>Assignee: Noble Paul
>Priority: Major
>
> It's possible to  sort nodes according to cores and the system can normally 
> prefer nodes with fewer cores when placing new replicas. However, it may not 
> give suggestions to move off replicas , if the system  is already in an 
> unbalanced state.
> The following rule may help achieve such a balanced distribution of cores
> {code}
> {"cores":"#EQUAL" , node: "#ANY"}
> {code}
> The value of cores is computed as {{total_cores/total_nodes}}. for e.g: if 
> there are 28 cores in total and there are 5 nodes . the value of cores= 28/5 
> = 5.6. This means a node may have either 5 cores or 6 cores.
> It's possible that this may cause a conflict with other collection-specific 
> rules such as
> {code}
> {"replica":"#EQUAL" , "node" : "#ANY"}
> {code}
> It can be remedied by making this rule , not strict.
> {code}
> {"cores":"#EQUAL" , "node": "#ANY", "strict"=false}
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-12615) HashQParserPlugin will throw an NPE for string hash key and documents have empty value

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569718#comment-16569718
 ] 

ASF subversion and git services commented on SOLR-12615:


Commit 592899a419c2a15e75f73e906fa61b7e922c9830 in lucene-solr's branch 
refs/heads/jira/http2 from [~varunthacker]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=592899a ]

SOLR-12615: HashQParserPlugin won't throw an NPE for string hash key and 
documents with empty value


> HashQParserPlugin will throw an NPE for string hash key and documents have 
> empty value
> --
>
> Key: SOLR-12615
> URL: https://issues.apache.org/jira/browse/SOLR-12615
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Varun Thacker
>Priority: Major
> Fix For: master (8.0), 7.5
>
> Attachments: SOLR-12615.patch, SOLR-12615.patch
>
>
> If I index documents where the partitionKeys keys field is missing from a few 
> docs then the stream expression throws an NPE
> docs:
> {code:java}
> [
> {"id" : "1", "search_term_s" : "query1"},
> {"id" : "2", "search_term_s" : "query1"},
> {"id" : "3"},
> {"id" : "4"}
> ]{code}
>  
> query
> {code:java}
> search(test_empty, q="*:*", fl="search_term_s,id" , sort="search_term_s 
> desc", qt="/export", partitionKeys="search_term_s"){code}
>  
> logs
> {code:java}
> INFO - 2018-08-03 01:44:36.156; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.core.SolrCore.Request; 
> [test_empty_shard1_replica_n1] webapp=/solr path=/stream 
> params={expr=search(test_empty,+q%3D"*:*",+fl%3D"search_term_s,id"+,+sort%3D"search_term_s+desc",+qt%3D"/export",+partitionKeys%3D"search_term_s")&_=1533260573672}
>  status=0 QTime=11
> INFO - 2018-08-03 01:44:36.160; [ ] 
> org.apache.solr.common.cloud.ConnectionManager; zkClient has connected
> INFO - 2018-08-03 01:44:36.162; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.common.cloud.ZkStateReader; 
> Updated live nodes from ZooKeeper... (0) -> (1)
> INFO - 2018-08-03 01:44:36.164; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] 
> org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider; Cluster at 
> localhost:9888 ready
> INFO - 2018-08-03 01:44:36.207; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.core.SolrCore.Request; 
> [test_empty_shard1_replica_n1] webapp=/solr path=/export 
> params={q=*:*=false=off=search_term_s,id=search_term_s+desc=search_term_s={!hash+workers%3D1+worker%3D0}=json=2.2}
>  status=500 QTime=36
> ERROR - 2018-08-03 01:44:36.209; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.servlet.HttpSolrCall; 
> null:java.io.IOException: java.lang.RuntimeException: 
> java.lang.NullPointerException
> at 
> org.apache.solr.search.HashQParserPlugin$HashQuery.createWeight(HashQParserPlugin.java:130)
> at org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:743)
> at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:463)
> at org.apache.solr.search.DocSetUtil.createDocSetGeneric(DocSetUtil.java:151)
> at org.apache.solr.search.DocSetUtil.createDocSet(DocSetUtil.java:140)
> at 
> org.apache.solr.search.SolrIndexSearcher.getDocSetNC(SolrIndexSearcher.java:1196)
> at 
> org.apache.solr.search.SolrIndexSearcher.getPositiveDocSet(SolrIndexSearcher.java:836)
> at 
> org.apache.solr.search.SolrIndexSearcher.getProcessedFilter(SolrIndexSearcher.java:1044)
> at 
> org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1563)
> at 
> org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1439)
> at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:586)
> at 
> org.apache.solr.handler.component.QueryComponent.doProcessUngroupedSearch(QueryComponent.java:1435)
> at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:375)
> at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:298)
> at 
> org.apache.solr.handler.ExportHandler.handleRequestBody(ExportHandler.java:37)
> at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
> at org.apache.solr.core.SolrCore.execute(SolrCore.java:2539)
> at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:709)
> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:515)
> at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:377)
> at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:323)
> at 
> 

[jira] [Commented] (SOLR-12622) Show a ref-guide example to configure SolrSlf4jReporter

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569717#comment-16569717
 ] 

ASF subversion and git services commented on SOLR-12622:


Commit b33df4ecff2c138dd248b945833e2e59e4aa0424 in lucene-solr's branch 
refs/heads/jira/http2 from [~varunthacker]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b33df4e ]

SOLR-12622: Ref guide example for configuring SolrSlf4jReporter


> Show a ref-guide example to configure SolrSlf4jReporter
> ---
>
> Key: SOLR-12622
> URL: https://issues.apache.org/jira/browse/SOLR-12622
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Varun Thacker
>Priority: Major
> Fix For: master (8.0), 7.5
>
> Attachments: SOLR-12622.patch, SOLR-12622.patch
>
>
> To configure SolrSlf4jReporter we must configure a logger in the log4j2.xml 
> file and then the solr.xml file must be able to reference it. 
> It won't be super obvious to users on how to do this so we should show an 
> example in the ref guide
> With log4j.xml we could do it like 
> [https://github.com/vthacker/solr-solutions/blob/master/docs/solr_metrics_logger.md]
>  but not we moved over to log4j2.xml 
> I have a working example for log4j2.xml and I'll post a patch in the next few 
> hours 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-12617) Remove Commons BeanUtils as a dependency

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569714#comment-16569714
 ] 

ASF subversion and git services commented on SOLR-12617:


Commit 0b59b0ed1da4919a7ccd87dd2cbac1148ea64ff9 in lucene-solr's branch 
refs/heads/jira/http2 from [~varunthacker]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=0b59b0e ]

SOLR-12617: remove beanutils license and notice files


> Remove Commons BeanUtils as a dependency
> 
>
> Key: SOLR-12617
> URL: https://issues.apache.org/jira/browse/SOLR-12617
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Varun Thacker
>Priority: Major
> Fix For: master (8.0), 7.5
>
> Attachments: SOLR-12617.patch
>
>
> The BeanUtils library is a dependency in the velocity contrib module.
> It is a compile time dependency but the velocity code that Solr uses doesn't 
> leverage any of this.
> After removing the dependency Solr compiles just fine and the browse handler 
> also loads up correctly. 
> While chatting to [~ehatcher] offline he confirmed that the tests also pass 
> without this dependency.
> The main motivation behind this is a long standing CVE against bean-utils 
> 1.8.3 ( 
> [https://nvd.nist.gov/vuln/detail/CVE-2014-0114#vulnCurrentDescriptionTitle] 
> ) which to my knowledge cannot be leveraged from how we use it in Solr . But 
> security scans still pick it up so if it's not being used we should simply 
> remove it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-12614) Make "Nodes" tab the default in AdminUI Cloud view

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569715#comment-16569715
 ] 

ASF subversion and git services commented on SOLR-12614:


Commit f8db5d0afd34ebea4ae414a2eb148f926830be34 in lucene-solr's branch 
refs/heads/jira/http2 from [~janhoy]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f8db5d0 ]

SOLR-12614: Make "Nodes" view the default in AdminUI "Cloud" tab


> Make "Nodes" tab the default in AdminUI Cloud view
> --
>
> Key: SOLR-12614
> URL: https://issues.apache.org/jira/browse/SOLR-12614
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Admin UI
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
>Priority: Major
> Fix For: master (8.0)
>
> Attachments: SOLR-12614.patch
>
>
> The Nodes tab was added in version 7.5, but "Graph" was still the default 
> tab. Make the new Nodes tab the default one when opening the "Cloud" view.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-12617) Remove Commons BeanUtils as a dependency

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569713#comment-16569713
 ] 

ASF subversion and git services commented on SOLR-12617:


Commit e3cdb395a4009f118900397c8a2086620b436455 in lucene-solr's branch 
refs/heads/jira/http2 from [~varunthacker]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e3cdb39 ]

SOLR-12617: Remove Commons BeanUtils as a dependency


> Remove Commons BeanUtils as a dependency
> 
>
> Key: SOLR-12617
> URL: https://issues.apache.org/jira/browse/SOLR-12617
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Varun Thacker
>Priority: Major
> Fix For: master (8.0), 7.5
>
> Attachments: SOLR-12617.patch
>
>
> The BeanUtils library is a dependency in the velocity contrib module.
> It is a compile time dependency but the velocity code that Solr uses doesn't 
> leverage any of this.
> After removing the dependency Solr compiles just fine and the browse handler 
> also loads up correctly. 
> While chatting to [~ehatcher] offline he confirmed that the tests also pass 
> without this dependency.
> The main motivation behind this is a long standing CVE against bean-utils 
> 1.8.3 ( 
> [https://nvd.nist.gov/vuln/detail/CVE-2014-0114#vulnCurrentDescriptionTitle] 
> ) which to my knowledge cannot be leveraged from how we use it in Solr . But 
> security scans still pick it up so if it's not being used we should simply 
> remove it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[JENKINS] Lucene-Solr-SmokeRelease-7.x - Build # 280 - Still Failing

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-SmokeRelease-7.x/280/

No tests ran.

Build Log:
[...truncated 23042 lines...]
[asciidoctor:convert] asciidoctor: ERROR: about-this-guide.adoc: line 1: 
invalid part, must have at least one section (e.g., chapter, appendix, etc.)
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 263: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 269: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 280: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 286: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 291: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: ERROR: solr-glossary.adoc: line 1: invalid 
part, must have at least one section (e.g., chapter, appendix, etc.)
 [java] Processed 2239 links (1792 relative) to 3019 anchors in 230 files
 [echo] Validated Links & Anchors via: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/build/solr-ref-guide/bare-bones-html/

-dist-changes:
 [copy] Copying 4 files to 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/package/changes

-dist-keys:
  [get] Getting: http://home.apache.org/keys/group/lucene.asc
  [get] To: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/package/KEYS

package:

-unpack-solr-tgz:

-ensure-solr-tgz-exists:
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/build/solr.tgz.unpacked
[untar] Expanding: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/package/solr-7.5.0.tgz
 into 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/build/solr.tgz.unpacked

generate-maven-artifacts:

resolve:

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:

[JENKINS] Lucene-Solr-7.x-Linux (32bit/jdk1.8.0_172) - Build # 2494 - Still Unstable!

2018-08-05 Thread Policeman Jenkins Server
Build: https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/2494/
Java: 32bit/jdk1.8.0_172 -server -XX:+UseG1GC

1 tests failed.
FAILED:  
org.apache.solr.cloud.autoscaling.sim.TestTriggerIntegration.testNodeLostTriggerRestoreState

Error Message:
The trigger did not fire at all

Stack Trace:
java.lang.AssertionError: The trigger did not fire at all
at 
__randomizedtesting.SeedInfo.seed([FFB112DE1AEE45D8:D44EC78580965008]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at 
org.apache.solr.cloud.autoscaling.sim.TestTriggerIntegration.testNodeLostTriggerRestoreState(TestTriggerIntegration.java:324)
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:498)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
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:53)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at java.lang.Thread.run(Thread.java:748)




Build Log:
[...truncated 12335 lines...]
   [junit4] Suite: org.apache.solr.cloud.autoscaling.sim.TestTriggerIntegration
   [junit4]   2> Creating dataDir: 

[JENKINS-EA] Lucene-Solr-master-Linux (64bit/jdk-11-ea+24) - Build # 22607 - Unstable!

2018-08-05 Thread Policeman Jenkins Server
Build: https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/22607/
Java: 64bit/jdk-11-ea+24 -XX:-UseCompressedOops -XX:+UseG1GC

73 tests failed.
FAILED:  junit.framework.TestSuite.org.apache.solr.schema.SchemaApiFailureTest

Error Message:


Stack Trace:
java.util.concurrent.TimeoutException
at __randomizedtesting.SeedInfo.seed([61FC2F24BE0088F9]:0)
at 
org.apache.solr.common.cloud.ZkStateReader.waitForState(ZkStateReader.java:1469)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.waitForState(CloudSolrClient.java:450)
at 
org.apache.solr.schema.SchemaApiFailureTest.setupCluster(SchemaApiFailureTest.java:43)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:874)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at java.base/java.lang.Thread.run(Thread.java:834)


FAILED:  junit.framework.TestSuite.org.apache.solr.schema.SchemaApiFailureTest

Error Message:


Stack Trace:
java.util.concurrent.TimeoutException
at __randomizedtesting.SeedInfo.seed([61FC2F24BE0088F9]:0)
at 
org.apache.solr.common.cloud.ZkStateReader.waitForState(ZkStateReader.java:1469)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.waitForState(CloudSolrClient.java:450)
at 
org.apache.solr.schema.SchemaApiFailureTest.setupCluster(SchemaApiFailureTest.java:43)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:874)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 

Re: Two reliably reproducing Lucene test fails

2018-08-05 Thread Erick Erickson
Cool! Just wanted to be sure someone saw them amidst the noise ;)

On Sun, Aug 5, 2018 at 1:46 PM, Adrien Grand  wrote:
> Thanks Erick, Steve reported them as well on LUCENE-8060, those were mine.
> The first one is a test bug but the second one was an (unreleased) actual
> bug. I just pushed a fix.
>
> Le dim. 5 août 2018 à 22:37, Erick Erickson  a
> écrit :
>>
>> ant test  -Dtestcase=TestIndexWriterReader
>> -Dtests.method=testDuringAddIndexes -Dtests.seed=79B288D1A01DD690
>> -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true
>>
>> -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
>> -Dtests.locale=ar-LB -Dtests.timezone=Australia/Lindeman
>> -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>>
>>  ant test  -Dtestcase=TestApproximationSearchEquivalence
>> -Dtests.method=testReqOpt -Dtests.seed=79B288D1A01DD690
>> -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true
>>
>> -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
>> -Dtests.locale=en-IN -Dtests.timezone=Asia/Macau -Dtests.asserts=true
>> -Dtests.file.encoding=UTF-8
>>
>> on a fresh pull from master.
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: dev-h...@lucene.apache.org
>>
>

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-8445) RandomGeoPolygonTest.testCompareBigPolygons() failure

2018-08-05 Thread Karl Wright (JIRA)


[ 
https://issues.apache.org/jira/browse/LUCENE-8445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569594#comment-16569594
 ] 

Karl Wright commented on LUCENE-8445:
-

It worries me that the detection of identical planes needs to be extended.  
Usually that's a sign that the math isn't quite right.  But we were already 
1e12 times larger than we should have needed to be, so a factor of 5 more seems 
not much worse.

I don't have the time right now to do a more detailed analysis, so I guess we 
can go ahead and commit the patch if all tests continue to pass.  But if others 
fail we'll want to look in depth as to what is actually going wrong.


> RandomGeoPolygonTest.testCompareBigPolygons() failure
> -
>
> Key: LUCENE-8445
> URL: https://issues.apache.org/jira/browse/LUCENE-8445
> Project: Lucene - Core
>  Issue Type: Bug
>  Components: modules/spatial3d
>Reporter: Steve Rowe
>Assignee: Ignacio Vera
>Priority: Major
> Attachments: LUCENE-8445.patch
>
>
> Failure from 
> [https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/22590/], reproduces 
> for me on Java8:
> {noformat}
> Checking out Revision 2a41cbd192451f6e69ae2e6cccb7b2e26af2 
> (refs/remotes/origin/master)
> [...]
>[junit4] Suite: org.apache.lucene.spatial3d.geom.RandomGeoPolygonTest
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=RandomGeoPolygonTest -Dtests.method=testCompareBigPolygons 
> -Dtests.seed=5444688174504C79 -Dtests.multiplier=3 -Dtests.slow=true 
> -Dtests.locale=pt-LU -Dtests.timezone=Pacific/Pago_Pago -Dtests.asserts=true 
> -Dtests.file.encoding=US-ASCII
>[junit4] FAILURE 0.23s J1 | RandomGeoPolygonTest.testCompareBigPolygons 
> {seed=[5444688174504C79:CC6BBA71B5FC82A6]} <<<
>[junit4]> Throwable #1: java.lang.AssertionError: 
>[junit4]> Standard polygon: GeoCompositePolygon: {[GeoConvexPolygon: 
> {planetmodel=PlanetModel.SPHERE, points=[[lat=1.0468214627857893E-8, 
> lon=8.413079957136915E-7([X=0.6461, Y=8.413079957135923E-7, 
> Z=1.0468214627857893E-8])], [lat=-0.3036468642757333, 
> lon=0.5616500855257733([X=0.80765773219, Y=0.508219108660839, 
> Z=-0.29900221630132817])], [lat=-0.17226782498440368, 
> lon=0.8641157866087514([X=0.6397020656700857, Y=0.7492646151846353, 
> Z=-0.1714170458549729])], [lat=0.591763073597, 
> lon=1.0258877306398073([X=0.43020057589183536, Y=0.7097594028504629, 
> Z=0.5578252903622132])], [lat=0.16341821264361944, 
> lon=0.04608724380526752([X=0.9856292512291138, Y=0.04545712432110151, 
> Z=0.16269182207472105])]], internalEdges={4}}, GeoConvexPolygon: 
> {planetmodel=PlanetModel.SPHERE, points=[[lat=1.0468214627857893E-8, 
> lon=8.413079957136915E-7([X=0.6461, Y=8.413079957135923E-7, 
> Z=1.0468214627857893E-8])], [lat=0.16341821264361944, 
> lon=0.04608724380526752([X=0.9856292512291138, Y=0.04545712432110151, 
> Z=0.16269182207472105])], [lat=1.5452567609928165E-12, 
> lon=5.5280224842135794E-12([X=1.0, Y=5.5280224842135794E-12, 
> Z=1.5452567609928165E-12])]], internalEdges={0, 2}}, GeoConvexPolygon: 
> {planetmodel=PlanetModel.SPHERE, points=[[lat=1.0468214627857893E-8, 
> lon=8.413079957136915E-7([X=0.6461, Y=8.413079957135923E-7, 
> Z=1.0468214627857893E-8])], [lat=1.5452567609928165E-12, 
> lon=5.5280224842135794E-12([X=1.0, Y=5.5280224842135794E-12, 
> Z=1.5452567609928165E-12])], [lat=-1.0E-323, lon=0.0([X=1.0, Y=0.0, 
> Z=-1.0E-323])]], internalEdges={0}}]}
>[junit4]> Large polygon: GeoComplexPolygon: 
> {planetmodel=PlanetModel.SPHERE, number of shapes=1, address=e0a76761, 
> testPoint=[lat=0.04032281608974351, 
> lon=0.33067345007473165([X=0.945055084899262, Y=0.3244161494642355, 
> Z=0.040311889968686655])], testPointInSet=true, shapes={ 
> {[lat=1.0468214627857893E-8, lon=8.413079957136915E-7([X=0.6461, 
> Y=8.413079957135923E-7, Z=1.0468214627857893E-8])], [lat=-0.3036468642757333, 
> lon=0.5616500855257733([X=0.80765773219, Y=0.508219108660839, 
> Z=-0.29900221630132817])], [lat=-0.17226782498440368, 
> lon=0.8641157866087514([X=0.6397020656700857, Y=0.7492646151846353, 
> Z=-0.1714170458549729])], [lat=0.591763073597, 
> lon=1.0258877306398073([X=0.43020057589183536, Y=0.7097594028504629, 
> Z=0.5578252903622132])], [lat=0.16341821264361944, 
> lon=0.04608724380526752([X=0.9856292512291138, Y=0.04545712432110151, 
> Z=0.16269182207472105])], [lat=1.5452567609928165E-12, 
> lon=5.5280224842135794E-12([X=1.0, Y=5.5280224842135794E-12, 
> Z=1.5452567609928165E-12])], [lat=-1.0E-323, lon=0.0([X=1.0, Y=0.0, 
> Z=-1.0E-323])]}}
>[junit4]> Point: [lat=-8.763997112262326E-13, 
> lon=3.14159265358979([X=-1.0, Y=3.2310891488651735E-15, 
> Z=-8.763997112262326E-13])]
>[junit4]> WKT: POLYGON((32.18017946378854 
> 

[jira] [Assigned] (LUCENE-8445) RandomGeoPolygonTest.testCompareBigPolygons() failure

2018-08-05 Thread Karl Wright (JIRA)


 [ 
https://issues.apache.org/jira/browse/LUCENE-8445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright reassigned LUCENE-8445:
---

Assignee: Ignacio Vera

> RandomGeoPolygonTest.testCompareBigPolygons() failure
> -
>
> Key: LUCENE-8445
> URL: https://issues.apache.org/jira/browse/LUCENE-8445
> Project: Lucene - Core
>  Issue Type: Bug
>  Components: modules/spatial3d
>Reporter: Steve Rowe
>Assignee: Ignacio Vera
>Priority: Major
> Attachments: LUCENE-8445.patch
>
>
> Failure from 
> [https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/22590/], reproduces 
> for me on Java8:
> {noformat}
> Checking out Revision 2a41cbd192451f6e69ae2e6cccb7b2e26af2 
> (refs/remotes/origin/master)
> [...]
>[junit4] Suite: org.apache.lucene.spatial3d.geom.RandomGeoPolygonTest
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=RandomGeoPolygonTest -Dtests.method=testCompareBigPolygons 
> -Dtests.seed=5444688174504C79 -Dtests.multiplier=3 -Dtests.slow=true 
> -Dtests.locale=pt-LU -Dtests.timezone=Pacific/Pago_Pago -Dtests.asserts=true 
> -Dtests.file.encoding=US-ASCII
>[junit4] FAILURE 0.23s J1 | RandomGeoPolygonTest.testCompareBigPolygons 
> {seed=[5444688174504C79:CC6BBA71B5FC82A6]} <<<
>[junit4]> Throwable #1: java.lang.AssertionError: 
>[junit4]> Standard polygon: GeoCompositePolygon: {[GeoConvexPolygon: 
> {planetmodel=PlanetModel.SPHERE, points=[[lat=1.0468214627857893E-8, 
> lon=8.413079957136915E-7([X=0.6461, Y=8.413079957135923E-7, 
> Z=1.0468214627857893E-8])], [lat=-0.3036468642757333, 
> lon=0.5616500855257733([X=0.80765773219, Y=0.508219108660839, 
> Z=-0.29900221630132817])], [lat=-0.17226782498440368, 
> lon=0.8641157866087514([X=0.6397020656700857, Y=0.7492646151846353, 
> Z=-0.1714170458549729])], [lat=0.591763073597, 
> lon=1.0258877306398073([X=0.43020057589183536, Y=0.7097594028504629, 
> Z=0.5578252903622132])], [lat=0.16341821264361944, 
> lon=0.04608724380526752([X=0.9856292512291138, Y=0.04545712432110151, 
> Z=0.16269182207472105])]], internalEdges={4}}, GeoConvexPolygon: 
> {planetmodel=PlanetModel.SPHERE, points=[[lat=1.0468214627857893E-8, 
> lon=8.413079957136915E-7([X=0.6461, Y=8.413079957135923E-7, 
> Z=1.0468214627857893E-8])], [lat=0.16341821264361944, 
> lon=0.04608724380526752([X=0.9856292512291138, Y=0.04545712432110151, 
> Z=0.16269182207472105])], [lat=1.5452567609928165E-12, 
> lon=5.5280224842135794E-12([X=1.0, Y=5.5280224842135794E-12, 
> Z=1.5452567609928165E-12])]], internalEdges={0, 2}}, GeoConvexPolygon: 
> {planetmodel=PlanetModel.SPHERE, points=[[lat=1.0468214627857893E-8, 
> lon=8.413079957136915E-7([X=0.6461, Y=8.413079957135923E-7, 
> Z=1.0468214627857893E-8])], [lat=1.5452567609928165E-12, 
> lon=5.5280224842135794E-12([X=1.0, Y=5.5280224842135794E-12, 
> Z=1.5452567609928165E-12])], [lat=-1.0E-323, lon=0.0([X=1.0, Y=0.0, 
> Z=-1.0E-323])]], internalEdges={0}}]}
>[junit4]> Large polygon: GeoComplexPolygon: 
> {planetmodel=PlanetModel.SPHERE, number of shapes=1, address=e0a76761, 
> testPoint=[lat=0.04032281608974351, 
> lon=0.33067345007473165([X=0.945055084899262, Y=0.3244161494642355, 
> Z=0.040311889968686655])], testPointInSet=true, shapes={ 
> {[lat=1.0468214627857893E-8, lon=8.413079957136915E-7([X=0.6461, 
> Y=8.413079957135923E-7, Z=1.0468214627857893E-8])], [lat=-0.3036468642757333, 
> lon=0.5616500855257733([X=0.80765773219, Y=0.508219108660839, 
> Z=-0.29900221630132817])], [lat=-0.17226782498440368, 
> lon=0.8641157866087514([X=0.6397020656700857, Y=0.7492646151846353, 
> Z=-0.1714170458549729])], [lat=0.591763073597, 
> lon=1.0258877306398073([X=0.43020057589183536, Y=0.7097594028504629, 
> Z=0.5578252903622132])], [lat=0.16341821264361944, 
> lon=0.04608724380526752([X=0.9856292512291138, Y=0.04545712432110151, 
> Z=0.16269182207472105])], [lat=1.5452567609928165E-12, 
> lon=5.5280224842135794E-12([X=1.0, Y=5.5280224842135794E-12, 
> Z=1.5452567609928165E-12])], [lat=-1.0E-323, lon=0.0([X=1.0, Y=0.0, 
> Z=-1.0E-323])]}}
>[junit4]> Point: [lat=-8.763997112262326E-13, 
> lon=3.14159265358979([X=-1.0, Y=3.2310891488651735E-15, 
> Z=-8.763997112262326E-13])]
>[junit4]> WKT: POLYGON((32.18017946378854 
> -17.397683785381247,49.51018758330871 -9.870219317504647,58.77903721991479 
> 33.90553510354402,2.640604559432277 9.363173880050821,3.1673235739886286E-10 
> 8.853669066894417E-11,0.0 -5.7E-322,4.820339742500488E-5 
> 5.99784517213369E-7,32.18017946378854 -17.397683785381247))
>[junit4]> WKT: POINT(179.83 -5.021400461974724E-11)
>[junit4]> normal polygon: true
>[junit4]> large polygon: false
>[junit4]>  at 
> 

[JENKINS] Lucene-Solr-7.x-Linux (32bit/jdk1.8.0_172) - Build # 2493 - Unstable!

2018-08-05 Thread Policeman Jenkins Server
Build: https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/2493/
Java: 32bit/jdk1.8.0_172 -server -XX:+UseSerialGC

1 tests failed.
FAILED:  org.apache.solr.cloud.TestWithCollection.testDeleteWithCollection

Error Message:
Error from server at http://127.0.0.1:35137/solr: Could not find collection : 
testDeleteWithCollection_abc_2

Stack Trace:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at http://127.0.0.1:35137/solr: Could not find collection : 
testDeleteWithCollection_abc_2
at 
__randomizedtesting.SeedInfo.seed([383F482D3ADFB936:43E6BFC063456B88]:0)
at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643)
at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:255)
at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:244)
at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:483)
at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:413)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1106)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:886)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:819)
at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194)
at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:211)
at 
org.apache.solr.cloud.TestWithCollection.testDeleteWithCollection(TestWithCollection.java:224)
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:498)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 

[JENKINS] Lucene-Solr-repro - Build # 1151 - Unstable

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-repro/1151/

[...truncated 28 lines...]
[repro] Jenkins log URL: 
https://builds.apache.org/job/Lucene-Solr-BadApples-Tests-master/117/consoleText

[repro] Revision: ffedb99dc8127e14ad32c6c1345bb7d4516a570e

[repro] Repro line:  ant test  -Dtestcase=TestTriggerIntegration 
-Dtests.method=testSearchRate -Dtests.seed=DF545B9038DC04E1 
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=es-NI -Dtests.timezone=Africa/Casablanca -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[repro] Repro line:  ant test  -Dtestcase=IndexSizeTriggerTest 
-Dtests.method=testMixedBounds -Dtests.seed=DF545B9038DC04E1 
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=he-IL -Dtests.timezone=Europe/Oslo -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[repro] Repro line:  ant test  -Dtestcase=TestCollectionsAPIViaSolrCloudCluster 
-Dtests.method=testCollectionCreateSearchDelete -Dtests.seed=DF545B9038DC04E1 
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=ar-SA -Dtests.timezone=US/Aleutian -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[repro] Repro line:  ant test  -Dtestcase=TestLargeCluster 
-Dtests.method=testAddNode -Dtests.seed=DF545B9038DC04E1 -Dtests.multiplier=2 
-Dtests.slow=true -Dtests.badapples=true -Dtests.locale=es-NI 
-Dtests.timezone=America/Cayenne -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[repro] git rev-parse --abbrev-ref HEAD
[repro] git rev-parse HEAD
[repro] Initial local git branch/revision: 
3b15be378101ddd1e6f4529f6b02694128fb9ae4
[repro] git fetch
[repro] git checkout ffedb99dc8127e14ad32c6c1345bb7d4516a570e

[...truncated 2 lines...]
[repro] git merge --ff-only

[...truncated 1 lines...]
[repro] ant clean

[...truncated 6 lines...]
[repro] Test suites by module:
[repro]solr/core
[repro]   TestCollectionsAPIViaSolrCloudCluster
[repro]   IndexSizeTriggerTest
[repro]   TestLargeCluster
[repro]   TestTriggerIntegration
[repro] ant compile-test

[...truncated 3317 lines...]
[repro] ant test-nocompile -Dtests.dups=5 -Dtests.maxfailures=20 
-Dtests.class="*.TestCollectionsAPIViaSolrCloudCluster|*.IndexSizeTriggerTest|*.TestLargeCluster|*.TestTriggerIntegration"
 -Dtests.showOutput=onerror  -Dtests.seed=DF545B9038DC04E1 -Dtests.multiplier=2 
-Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ar-SA 
-Dtests.timezone=US/Aleutian -Dtests.asserts=true -Dtests.file.encoding=UTF-8

[...truncated 26158 lines...]
[repro] Setting last failure code to 256

[repro] Failures:
[repro]   0/5 failed: 
org.apache.solr.cloud.api.collections.TestCollectionsAPIViaSolrCloudCluster
[repro]   1/5 failed: 
org.apache.solr.cloud.autoscaling.sim.TestTriggerIntegration
[repro]   2/5 failed: org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest
[repro]   4/5 failed: org.apache.solr.cloud.autoscaling.sim.TestLargeCluster
[repro] git checkout 3b15be378101ddd1e6f4529f6b02694128fb9ae4

[...truncated 2 lines...]
[repro] Exiting with code 256

[...truncated 6 lines...]

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

[JENKINS] Lucene-Solr-BadApples-Tests-master - Build # 117 - Still Unstable

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-BadApples-Tests-master/117/

4 tests failed.
FAILED:  org.apache.solr.cloud.autoscaling.sim.TestLargeCluster.testAddNode

Error Message:
trigger did not fire

Stack Trace:
java.lang.AssertionError: trigger did not fire
at 
__randomizedtesting.SeedInfo.seed([DF545B9038DC04E1:78BB4633F7918BF9]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at 
org.apache.solr.cloud.autoscaling.sim.TestLargeCluster.testAddNode(TestLargeCluster.java:309)
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:498)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
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:53)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at java.lang.Thread.run(Thread.java:748)


FAILED:  
org.apache.solr.cloud.autoscaling.sim.TestTriggerIntegration.testSearchRate

Error Message:
The trigger did not fire at all

Stack Trace:
java.lang.AssertionError: The trigger did not fire at all
at 
__randomizedtesting.SeedInfo.seed([DF545B9038DC04E1:821C4519F71AA2AE]:0)
at org.junit.Assert.fail(Assert.java:93)
at 

[GitHub] lucene-solr issue #428: SOLR-12586: deprecate joda-time and use java.time in...

2018-08-05 Thread dsmiley
Github user dsmiley commented on the issue:

https://github.com/apache/lucene-solr/pull/428
  
It's coming along great.  Please add the following comment at the top of 
our parsing method:
```
// see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8177021 
which is fixed in Java 9.
//  The upshot is that trying to use parse(Instant::from) is unreliable 
in the event that
//  the input string contains a timezone/offset that differs from the 
"override zone"
//  (which we configure in DEFAULT_TIME_ZONE).  Besides, we need the 
code below which handles
//  the optionality of time.  Were it not for that, we truly could do 
formatter.parse(Instant::from).
```

Ok still, there is I think one last remaining task.  Search for 
ParseDateFieldUpdateProcessorFactory across the codebase and you will find many 
references to include ".adoc" (in the ref guide) and in many solrconfig files 
to include the default one.  Most/all of them have a particular set of 
patterns, and they are out of date because they have "Z" and not "z".  I 
discovered this due to a failing test -- TestCloudSchemaless which uses one of 
these test files.  But moreover now that we're on java.time API we can be 
smarter about pattern specifications by leveraging optional sections (open 
bracket).  For example, parse-date-UTC-defaultTimeZone-no-run-processor in our 
test can be reduced to this:
```
  
-MM-dd'T'HH:mm[:ss[.SSS]][z
-MM-dd'T'HH:mm[:ss[,SSS]][z
-MM-dd HH:mm[:ss[.SSS]][z
-MM-dd HH:mm[:ss[,SSS]][z
-MM-dd

-MM-dd hh:mm[ ]a
EEE MMM dd HH:mm:ss ZZZ 
EEE MMM dd HH:mm:ss  z
EEE MMM dd HH:mm:ss 
EEE, dd MMM  HH:mm:ss z
, dd-MMM-yy HH:mm:ss z
,  dd, 
 dd, 
MMM. dd, 
  
```
(which has not only the documented/recommended set but some additional 
ones).  I don't mean to say add the extra patterns on the bottom here to all 
those places, just the ones on top (5 patterns).  Fewer patterns is faster too 
-- fewer doomed parsing attempts, fewer exceptions.

When updating testParseDateFormats we may want to forgo the duplication of 
putting the pattern in there -- the input samples alone is fine.


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-8060) Enable top-docs collection optimizations by default

2018-08-05 Thread Adrien Grand (JIRA)


[ 
https://issues.apache.org/jira/browse/LUCENE-8060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569576#comment-16569576
 ] 

Adrien Grand commented on LUCENE-8060:
--

Thanks Steve. The second one was a test bug due to the fact that 
TopDocs.totalHits is not accurate anymore, but the first one was an actual bug 
that could cause boolean queries that mix SHOULD and MUST clauses to advance 
the SHOULD clauses backwards. I just pushed fixes.

> Enable top-docs collection optimizations by default
> ---
>
> Key: LUCENE-8060
> URL: https://issues.apache.org/jira/browse/LUCENE-8060
> Project: Lucene - Core
>  Issue Type: Improvement
>Reporter: Adrien Grand
>Priority: Minor
> Fix For: master (8.0)
>
> Attachments: LUCENE-8060.patch
>
>
> We are getting optimizations when hit counts are not required (sorted 
> indexes, MAXSCORE, short-circuiting of phrase queries) but our users won't 
> benefit from them unless we disable exact hit counts by default or we require 
> them to tell us whether hit counts are required.
> I think making hit counts approximate by default is going to be a bit trappy, 
> so I'm rather leaning towards requiring users to tell us explicitly whether 
> they need total hit counts. I can think of two ways to do that: either by 
> passing a boolean to the IndexSearcher constructor or by adding a boolean to 
> all methods that produce TopDocs instances. I like the latter better but I'm 
> open to discussion or other ideas?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-8060) Enable top-docs collection optimizations by default

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/LUCENE-8060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569575#comment-16569575
 ] 

ASF subversion and git services commented on LUCENE-8060:
-

Commit 3b15be378101ddd1e6f4529f6b02694128fb9ae4 in lucene-solr's branch 
refs/heads/master from [~jpountz]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3b15be3 ]

LUCENE-8060: Fix test bug.

Should use IndexSearcher#count to get accurate counts.


> Enable top-docs collection optimizations by default
> ---
>
> Key: LUCENE-8060
> URL: https://issues.apache.org/jira/browse/LUCENE-8060
> Project: Lucene - Core
>  Issue Type: Improvement
>Reporter: Adrien Grand
>Priority: Minor
> Fix For: master (8.0)
>
> Attachments: LUCENE-8060.patch
>
>
> We are getting optimizations when hit counts are not required (sorted 
> indexes, MAXSCORE, short-circuiting of phrase queries) but our users won't 
> benefit from them unless we disable exact hit counts by default or we require 
> them to tell us whether hit counts are required.
> I think making hit counts approximate by default is going to be a bit trappy, 
> so I'm rather leaning towards requiring users to tell us explicitly whether 
> they need total hit counts. I can think of two ways to do that: either by 
> passing a boolean to the IndexSearcher constructor or by adding a boolean to 
> all methods that produce TopDocs instances. I like the latter better but I'm 
> open to discussion or other ideas?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



Re: And a third reproducible Lucene test failure

2018-08-05 Thread Adrien Grand
This failed for the same reason as TestApproximationSearchEquivalence in
your other email. I just pushed a fix. Thanks for forwarding!

Le dim. 5 août 2018 à 22:38, Erick Erickson  a
écrit :

> ant test  -Dtestcase=TestBooleanRewrites -Dtests.method=testRandom
> -Dtests.seed=7BD1B6005EB1BCDB -Dtests.multiplier=2 -Dtests.slow=true
> -Dtests.locale=es-GT -Dtests.timezone=Europe/Uzhgorod
> -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>


Re: Two reliably reproducing Lucene test fails

2018-08-05 Thread Adrien Grand
Thanks Erick, Steve reported them as well on LUCENE-8060, those were mine.
The first one is a test bug but the second one was an (unreleased) actual
bug. I just pushed a fix.

Le dim. 5 août 2018 à 22:37, Erick Erickson  a
écrit :

> ant test  -Dtestcase=TestIndexWriterReader
> -Dtests.method=testDuringAddIndexes -Dtests.seed=79B288D1A01DD690
> -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true
>
> -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
> -Dtests.locale=ar-LB -Dtests.timezone=Australia/Lindeman
> -Dtests.asserts=true -Dtests.file.encoding=UTF-8
>
>  ant test  -Dtestcase=TestApproximationSearchEquivalence
> -Dtests.method=testReqOpt -Dtests.seed=79B288D1A01DD690
> -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true
>
> -Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
> -Dtests.locale=en-IN -Dtests.timezone=Asia/Macau -Dtests.asserts=true
> -Dtests.file.encoding=UTF-8
>
> on a fresh pull from master.
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
> For additional commands, e-mail: dev-h...@lucene.apache.org
>
>


And a third reproducible Lucene test failure

2018-08-05 Thread Erick Erickson
ant test  -Dtestcase=TestBooleanRewrites -Dtests.method=testRandom
-Dtests.seed=7BD1B6005EB1BCDB -Dtests.multiplier=2 -Dtests.slow=true
-Dtests.locale=es-GT -Dtests.timezone=Europe/Uzhgorod
-Dtests.asserts=true -Dtests.file.encoding=UTF-8

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



Two reliably reproducing Lucene test fails

2018-08-05 Thread Erick Erickson
ant test  -Dtestcase=TestIndexWriterReader
-Dtests.method=testDuringAddIndexes -Dtests.seed=79B288D1A01DD690
-Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
-Dtests.locale=ar-LB -Dtests.timezone=Australia/Lindeman
-Dtests.asserts=true -Dtests.file.encoding=UTF-8

 ant test  -Dtestcase=TestApproximationSearchEquivalence
-Dtests.method=testReqOpt -Dtests.seed=79B288D1A01DD690
-Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
-Dtests.locale=en-IN -Dtests.timezone=Asia/Macau -Dtests.asserts=true
-Dtests.file.encoding=UTF-8

on a fresh pull from master.

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[GitHub] lucene-solr pull request #428: SOLR-12586: deprecate joda-time and use java....

2018-08-05 Thread barrotsteindev
Github user barrotsteindev commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/428#discussion_r207745675
  
--- Diff: 
solr/core/src/test-files/solr/collection1/conf/solrconfig-parsing-update-processor-chains.xml
 ---
@@ -29,43 +29,43 @@
 
   
 
-  -MM-dd'T'HH:mm:ss.SSSZ
--- End diff --

Changed this to single lower case z.


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-8445) RandomGeoPolygonTest.testCompareBigPolygons() failure

2018-08-05 Thread Lucene/Solr QA (JIRA)


[ 
https://issues.apache.org/jira/browse/LUCENE-8445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569555#comment-16569555
 ] 

Lucene/Solr QA commented on LUCENE-8445:


| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} test4tests {color} | {color:green}  0m 
 0s{color} | {color:green} The patch appears to include 1 new or modified test 
files. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
17s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
15s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 
15s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Release audit (RAT) {color} | 
{color:green}  0m 15s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Check forbidden APIs {color} | 
{color:green}  0m 15s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Validate source patterns {color} | 
{color:green}  0m 15s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} unit {color} | {color:green}  0m 
59s{color} | {color:green} spatial3d in the patch passed. {color} |
| {color:black}{color} | {color:black} {color} | {color:black}  3m 24s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | LUCENE-8445 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12934406/LUCENE-8445.patch |
| Optional Tests |  compile  javac  unit  ratsources  checkforbiddenapis  
validatesourcepatterns  |
| uname | Linux lucene1-us-west 4.4.0-130-generic #156~14.04.1-Ubuntu SMP Thu 
Jun 14 13:51:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | ant |
| Personality | 
/home/jenkins/jenkins-slave/workspace/PreCommit-LUCENE-Build/sourcedir/dev-tools/test-patch/lucene-solr-yetus-personality.sh
 |
| git revision | master / ffedb99 |
| ant | version: Apache Ant(TM) version 1.9.3 compiled on July 24 2018 |
| Default Java | 1.8.0_172 |
|  Test Results | 
https://builds.apache.org/job/PreCommit-LUCENE-Build/62/testReport/ |
| modules | C: lucene/spatial3d U: lucene/spatial3d |
| Console output | 
https://builds.apache.org/job/PreCommit-LUCENE-Build/62/console |
| Powered by | Apache Yetus 0.7.0   http://yetus.apache.org |


This message was automatically generated.



> RandomGeoPolygonTest.testCompareBigPolygons() failure
> -
>
> Key: LUCENE-8445
> URL: https://issues.apache.org/jira/browse/LUCENE-8445
> Project: Lucene - Core
>  Issue Type: Bug
>  Components: modules/spatial3d
>Reporter: Steve Rowe
>Priority: Major
> Attachments: LUCENE-8445.patch
>
>
> Failure from 
> [https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/22590/], reproduces 
> for me on Java8:
> {noformat}
> Checking out Revision 2a41cbd192451f6e69ae2e6cccb7b2e26af2 
> (refs/remotes/origin/master)
> [...]
>[junit4] Suite: org.apache.lucene.spatial3d.geom.RandomGeoPolygonTest
>[junit4]   2> NOTE: reproduce with: ant test  
> -Dtestcase=RandomGeoPolygonTest -Dtests.method=testCompareBigPolygons 
> -Dtests.seed=5444688174504C79 -Dtests.multiplier=3 -Dtests.slow=true 
> -Dtests.locale=pt-LU -Dtests.timezone=Pacific/Pago_Pago -Dtests.asserts=true 
> -Dtests.file.encoding=US-ASCII
>[junit4] FAILURE 0.23s J1 | RandomGeoPolygonTest.testCompareBigPolygons 
> {seed=[5444688174504C79:CC6BBA71B5FC82A6]} <<<
>[junit4]> Throwable #1: java.lang.AssertionError: 
>[junit4]> Standard polygon: GeoCompositePolygon: {[GeoConvexPolygon: 
> {planetmodel=PlanetModel.SPHERE, points=[[lat=1.0468214627857893E-8, 
> lon=8.413079957136915E-7([X=0.6461, Y=8.413079957135923E-7, 
> Z=1.0468214627857893E-8])], [lat=-0.3036468642757333, 
> lon=0.5616500855257733([X=0.80765773219, Y=0.508219108660839, 
> Z=-0.29900221630132817])], [lat=-0.17226782498440368, 
> lon=0.8641157866087514([X=0.6397020656700857, Y=0.7492646151846353, 
> Z=-0.1714170458549729])], [lat=0.591763073597, 
> lon=1.0258877306398073([X=0.43020057589183536, Y=0.7097594028504629, 
> Z=0.5578252903622132])], [lat=0.16341821264361944, 
> lon=0.04608724380526752([X=0.9856292512291138, Y=0.04545712432110151, 
> Z=0.16269182207472105])]], internalEdges={4}}, GeoConvexPolygon: 
> {planetmodel=PlanetModel.SPHERE, points=[[lat=1.0468214627857893E-8, 
> 

[jira] [Commented] (SOLR-11008) TestMetricsHandler.testPropertyFilter failure

2018-08-05 Thread Varun Thacker (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-11008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569554#comment-16569554
 ] 

Varun Thacker commented on SOLR-11008:
--

[~ab] I don't think the test fails anymore ( not sure what changes since this 
Jira was reported )

I put put out a patch which takes the approach Alan suggested. I don't see any 
harm in committing this even if the test failures are gone. WDYT?

> TestMetricsHandler.testPropertyFilter failure
> -
>
> Key: SOLR-11008
> URL: https://issues.apache.org/jira/browse/SOLR-11008
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Alan Woodward
>Priority: Major
> Attachments: SOLR-11008.patch
>
>
> This happens pretty frequently - see  
> https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/19455/ for latest 
> fail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Assigned] (SOLR-11008) TestMetricsHandler.testPropertyFilter failure

2018-08-05 Thread Varun Thacker (JIRA)


 [ 
https://issues.apache.org/jira/browse/SOLR-11008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Varun Thacker reassigned SOLR-11008:


Assignee: Varun Thacker

> TestMetricsHandler.testPropertyFilter failure
> -
>
> Key: SOLR-11008
> URL: https://issues.apache.org/jira/browse/SOLR-11008
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Alan Woodward
>Assignee: Varun Thacker
>Priority: Major
> Attachments: SOLR-11008.patch
>
>
> This happens pretty frequently - see  
> https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/19455/ for latest 
> fail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-11008) TestMetricsHandler.testPropertyFilter failure

2018-08-05 Thread Varun Thacker (JIRA)


 [ 
https://issues.apache.org/jira/browse/SOLR-11008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Varun Thacker updated SOLR-11008:
-
Attachment: SOLR-11008.patch

> TestMetricsHandler.testPropertyFilter failure
> -
>
> Key: SOLR-11008
> URL: https://issues.apache.org/jira/browse/SOLR-11008
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Alan Woodward
>Priority: Major
> Attachments: SOLR-11008.patch
>
>
> This happens pretty frequently - see  
> https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/19455/ for latest 
> fail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[JENKINS] Lucene-Solr-SmokeRelease-master - Build # 1088 - Failure

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-SmokeRelease-master/1088/

No tests ran.

Build Log:
[...truncated 22999 lines...]
[asciidoctor:convert] asciidoctor: ERROR: about-this-guide.adoc: line 1: 
invalid part, must have at least one section (e.g., chapter, appendix, etc.)
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 263: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 269: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 280: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 286: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 291: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: ERROR: solr-glossary.adoc: line 1: invalid 
part, must have at least one section (e.g., chapter, appendix, etc.)
 [java] Processed 2252 links (1804 relative) to 3150 anchors in 247 files
 [echo] Validated Links & Anchors via: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/solr/build/solr-ref-guide/bare-bones-html/

-dist-changes:
 [copy] Copying 4 files to 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/solr/package/changes

-dist-keys:
  [get] Getting: http://home.apache.org/keys/group/lucene.asc
  [get] To: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/solr/package/KEYS

package:

-unpack-solr-tgz:

-ensure-solr-tgz-exists:
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/solr/build/solr.tgz.unpacked
[untar] Expanding: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/solr/package/solr-8.0.0.tgz
 into 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/solr/build/solr.tgz.unpacked

generate-maven-artifacts:

resolve:

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/lucene/top-level-ivy-settings.xml

resolve:

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-master/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.


[jira] [Resolved] (SOLR-12615) HashQParserPlugin will throw an NPE for string hash key and documents have empty value

2018-08-05 Thread Varun Thacker (JIRA)


 [ 
https://issues.apache.org/jira/browse/SOLR-12615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Varun Thacker resolved SOLR-12615.
--
Resolution: Fixed

> HashQParserPlugin will throw an NPE for string hash key and documents have 
> empty value
> --
>
> Key: SOLR-12615
> URL: https://issues.apache.org/jira/browse/SOLR-12615
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Varun Thacker
>Priority: Major
> Fix For: master (8.0), 7.5
>
> Attachments: SOLR-12615.patch, SOLR-12615.patch
>
>
> If I index documents where the partitionKeys keys field is missing from a few 
> docs then the stream expression throws an NPE
> docs:
> {code:java}
> [
> {"id" : "1", "search_term_s" : "query1"},
> {"id" : "2", "search_term_s" : "query1"},
> {"id" : "3"},
> {"id" : "4"}
> ]{code}
>  
> query
> {code:java}
> search(test_empty, q="*:*", fl="search_term_s,id" , sort="search_term_s 
> desc", qt="/export", partitionKeys="search_term_s"){code}
>  
> logs
> {code:java}
> INFO - 2018-08-03 01:44:36.156; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.core.SolrCore.Request; 
> [test_empty_shard1_replica_n1] webapp=/solr path=/stream 
> params={expr=search(test_empty,+q%3D"*:*",+fl%3D"search_term_s,id"+,+sort%3D"search_term_s+desc",+qt%3D"/export",+partitionKeys%3D"search_term_s")&_=1533260573672}
>  status=0 QTime=11
> INFO - 2018-08-03 01:44:36.160; [ ] 
> org.apache.solr.common.cloud.ConnectionManager; zkClient has connected
> INFO - 2018-08-03 01:44:36.162; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.common.cloud.ZkStateReader; 
> Updated live nodes from ZooKeeper... (0) -> (1)
> INFO - 2018-08-03 01:44:36.164; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] 
> org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider; Cluster at 
> localhost:9888 ready
> INFO - 2018-08-03 01:44:36.207; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.core.SolrCore.Request; 
> [test_empty_shard1_replica_n1] webapp=/solr path=/export 
> params={q=*:*=false=off=search_term_s,id=search_term_s+desc=search_term_s={!hash+workers%3D1+worker%3D0}=json=2.2}
>  status=500 QTime=36
> ERROR - 2018-08-03 01:44:36.209; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.servlet.HttpSolrCall; 
> null:java.io.IOException: java.lang.RuntimeException: 
> java.lang.NullPointerException
> at 
> org.apache.solr.search.HashQParserPlugin$HashQuery.createWeight(HashQParserPlugin.java:130)
> at org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:743)
> at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:463)
> at org.apache.solr.search.DocSetUtil.createDocSetGeneric(DocSetUtil.java:151)
> at org.apache.solr.search.DocSetUtil.createDocSet(DocSetUtil.java:140)
> at 
> org.apache.solr.search.SolrIndexSearcher.getDocSetNC(SolrIndexSearcher.java:1196)
> at 
> org.apache.solr.search.SolrIndexSearcher.getPositiveDocSet(SolrIndexSearcher.java:836)
> at 
> org.apache.solr.search.SolrIndexSearcher.getProcessedFilter(SolrIndexSearcher.java:1044)
> at 
> org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1563)
> at 
> org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1439)
> at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:586)
> at 
> org.apache.solr.handler.component.QueryComponent.doProcessUngroupedSearch(QueryComponent.java:1435)
> at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:375)
> at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:298)
> at 
> org.apache.solr.handler.ExportHandler.handleRequestBody(ExportHandler.java:37)
> at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
> at org.apache.solr.core.SolrCore.execute(SolrCore.java:2539)
> at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:709)
> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:515)
> at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:377)
> at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:323)
> at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1634)
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
> at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
> at 
> 

[jira] [Commented] (SOLR-12615) HashQParserPlugin will throw an NPE for string hash key and documents have empty value

2018-08-05 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569541#comment-16569541
 ] 

ASF subversion and git services commented on SOLR-12615:


Commit a862e432ec68a22a2b784d8d1226a6ee36918c22 in lucene-solr's branch 
refs/heads/branch_7x from [~varunthacker]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=a862e43 ]

SOLR-12615: HashQParserPlugin won't throw an NPE for string hash key and 
documents with empty value

(cherry picked from commit 592899a)


> HashQParserPlugin will throw an NPE for string hash key and documents have 
> empty value
> --
>
> Key: SOLR-12615
> URL: https://issues.apache.org/jira/browse/SOLR-12615
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Varun Thacker
>Priority: Major
> Fix For: master (8.0), 7.5
>
> Attachments: SOLR-12615.patch, SOLR-12615.patch
>
>
> If I index documents where the partitionKeys keys field is missing from a few 
> docs then the stream expression throws an NPE
> docs:
> {code:java}
> [
> {"id" : "1", "search_term_s" : "query1"},
> {"id" : "2", "search_term_s" : "query1"},
> {"id" : "3"},
> {"id" : "4"}
> ]{code}
>  
> query
> {code:java}
> search(test_empty, q="*:*", fl="search_term_s,id" , sort="search_term_s 
> desc", qt="/export", partitionKeys="search_term_s"){code}
>  
> logs
> {code:java}
> INFO - 2018-08-03 01:44:36.156; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.core.SolrCore.Request; 
> [test_empty_shard1_replica_n1] webapp=/solr path=/stream 
> params={expr=search(test_empty,+q%3D"*:*",+fl%3D"search_term_s,id"+,+sort%3D"search_term_s+desc",+qt%3D"/export",+partitionKeys%3D"search_term_s")&_=1533260573672}
>  status=0 QTime=11
> INFO - 2018-08-03 01:44:36.160; [ ] 
> org.apache.solr.common.cloud.ConnectionManager; zkClient has connected
> INFO - 2018-08-03 01:44:36.162; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.common.cloud.ZkStateReader; 
> Updated live nodes from ZooKeeper... (0) -> (1)
> INFO - 2018-08-03 01:44:36.164; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] 
> org.apache.solr.client.solrj.impl.ZkClientClusterStateProvider; Cluster at 
> localhost:9888 ready
> INFO - 2018-08-03 01:44:36.207; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.core.SolrCore.Request; 
> [test_empty_shard1_replica_n1] webapp=/solr path=/export 
> params={q=*:*=false=off=search_term_s,id=search_term_s+desc=search_term_s={!hash+workers%3D1+worker%3D0}=json=2.2}
>  status=500 QTime=36
> ERROR - 2018-08-03 01:44:36.209; [c:test_empty s:shard1 r:core_node2 
> x:test_empty_shard1_replica_n1] org.apache.solr.servlet.HttpSolrCall; 
> null:java.io.IOException: java.lang.RuntimeException: 
> java.lang.NullPointerException
> at 
> org.apache.solr.search.HashQParserPlugin$HashQuery.createWeight(HashQParserPlugin.java:130)
> at org.apache.lucene.search.IndexSearcher.createWeight(IndexSearcher.java:743)
> at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:463)
> at org.apache.solr.search.DocSetUtil.createDocSetGeneric(DocSetUtil.java:151)
> at org.apache.solr.search.DocSetUtil.createDocSet(DocSetUtil.java:140)
> at 
> org.apache.solr.search.SolrIndexSearcher.getDocSetNC(SolrIndexSearcher.java:1196)
> at 
> org.apache.solr.search.SolrIndexSearcher.getPositiveDocSet(SolrIndexSearcher.java:836)
> at 
> org.apache.solr.search.SolrIndexSearcher.getProcessedFilter(SolrIndexSearcher.java:1044)
> at 
> org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1563)
> at 
> org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1439)
> at org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:586)
> at 
> org.apache.solr.handler.component.QueryComponent.doProcessUngroupedSearch(QueryComponent.java:1435)
> at 
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:375)
> at 
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:298)
> at 
> org.apache.solr.handler.ExportHandler.handleRequestBody(ExportHandler.java:37)
> at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
> at org.apache.solr.core.SolrCore.execute(SolrCore.java:2539)
> at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:709)
> at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:515)
> at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:377)
> at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:323)
> at 
> 

[JENKINS] Lucene-Solr-master-Linux (64bit/jdk-9.0.4) - Build # 22605 - Unstable!

2018-08-05 Thread Policeman Jenkins Server
Build: https://jenkins.thetaphi.de/job/Lucene-Solr-master-Linux/22605/
Java: 64bit/jdk-9.0.4 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC

1 tests failed.
FAILED:  org.apache.solr.cloud.DeleteReplicaTest.deleteReplicaOnIndexing

Error Message:
Captured an uncaught exception in thread: Thread[id=6511, 
name=updateExecutor-1504-thread-67, state=RUNNABLE, 
group=TGRP-DeleteReplicaTest]

Stack Trace:
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught 
exception in thread: Thread[id=6511, name=updateExecutor-1504-thread-67, 
state=RUNNABLE, group=TGRP-DeleteReplicaTest]
at 
__randomizedtesting.SeedInfo.seed([80F7ED33A8AC58BD:F98CC1BC0B31929E]:0)
Caused by: org.apache.solr.common.SolrException: Replica: 
http://127.0.0.1:39673/solr/deleteReplicaOnIndexing_shard1_replica_n1/ should 
have been marked under leader initiated recovery in ZkController but wasn't.
at __randomizedtesting.SeedInfo.seed([80F7ED33A8AC58BD]:0)
at 
org.apache.solr.cloud.LeaderInitiatedRecoveryThread.run(LeaderInitiatedRecoveryThread.java:90)
at 
com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209)
at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.base/java.lang.Thread.run(Thread.java:844)




Build Log:
[...truncated 1930 lines...]
   [junit4] JVM J0: stderr was not empty, see: 
/home/jenkins/workspace/Lucene-Solr-master-Linux/lucene/build/core/test/temp/junit4-J0-20180805_163117_2934321098766339600389.syserr
   [junit4] >>> JVM J0 emitted unexpected output (verbatim) 
   [junit4] Java HotSpot(TM) 64-Bit Server VM warning: Option 
UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in 
a future release.
   [junit4] <<< JVM J0: EOF 

[...truncated 5 lines...]
   [junit4] JVM J2: stderr was not empty, see: 
/home/jenkins/workspace/Lucene-Solr-master-Linux/lucene/build/core/test/temp/junit4-J2-20180805_163117_29313261435872252084854.syserr
   [junit4] >>> JVM J2 emitted unexpected output (verbatim) 
   [junit4] Java HotSpot(TM) 64-Bit Server VM warning: Option 
UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in 
a future release.
   [junit4] <<< JVM J2: EOF 

[...truncated 3 lines...]
   [junit4] JVM J1: stderr was not empty, see: 
/home/jenkins/workspace/Lucene-Solr-master-Linux/lucene/build/core/test/temp/junit4-J1-20180805_163117_293587476017728716741.syserr
   [junit4] >>> JVM J1 emitted unexpected output (verbatim) 
   [junit4] Java HotSpot(TM) 64-Bit Server VM warning: Option 
UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in 
a future release.
   [junit4] <<< JVM J1: EOF 

[...truncated 292 lines...]
   [junit4] JVM J0: stderr was not empty, see: 
/home/jenkins/workspace/Lucene-Solr-master-Linux/lucene/build/test-framework/test/temp/junit4-J0-20180805_163858_2701197367419450898069.syserr
   [junit4] >>> JVM J0 emitted unexpected output (verbatim) 
   [junit4] Java HotSpot(TM) 64-Bit Server VM warning: Option 
UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in 
a future release.
   [junit4] <<< JVM J0: EOF 

   [junit4] JVM J1: stderr was not empty, see: 
/home/jenkins/workspace/Lucene-Solr-master-Linux/lucene/build/test-framework/test/temp/junit4-J1-20180805_163858_2711160339475038980906.syserr
   [junit4] >>> JVM J1 emitted unexpected output (verbatim) 
   [junit4] Java HotSpot(TM) 64-Bit Server VM warning: Option 
UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in 
a future release.
   [junit4] <<< JVM J1: EOF 

[...truncated 9 lines...]
   [junit4] JVM J2: stderr was not empty, see: 
/home/jenkins/workspace/Lucene-Solr-master-Linux/lucene/build/test-framework/test/temp/junit4-J2-20180805_163858_27115143973786600045953.syserr
   [junit4] >>> JVM J2 emitted unexpected output (verbatim) 
   [junit4] Java HotSpot(TM) 64-Bit Server VM warning: Option 
UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in 
a future release.
   [junit4] <<< JVM J2: EOF 

[...truncated 1080 lines...]
   [junit4] JVM J0: stderr was not empty, see: 
/home/jenkins/workspace/Lucene-Solr-master-Linux/lucene/build/analysis/common/test/temp/junit4-J0-20180805_164013_4842215872920298863596.syserr
   [junit4] >>> JVM J0 emitted unexpected output (verbatim) 
   [junit4] Java HotSpot(TM) 64-Bit Server VM warning: Option 
UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in 
a future release.
   [junit4] <<< JVM J0: EOF 

[...truncated 3 lines...]
   [junit4] JVM J2: stderr was not empty, see: 

[JENKINS] Lucene-Solr-repro - Build # 1149 - Unstable

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-repro/1149/

[...truncated 28 lines...]
[repro] Jenkins log URL: 
https://builds.apache.org/job/Lucene-Solr-BadApples-Tests-7.x/122/consoleText

[repro] Revision: 7a14a1a7e68200a48a94e423c4a425536e1116b4

[repro] Repro line:  ant test  -Dtestcase=AutoScalingHandlerTest 
-Dtests.method=testReadApi -Dtests.seed=18A47EFF8B441AF5 -Dtests.multiplier=2 
-Dtests.slow=true -Dtests.badapples=true -Dtests.locale=nl 
-Dtests.timezone=Etc/Greenwich -Dtests.asserts=true -Dtests.file.encoding=UTF-8

[repro] Repro line:  ant test  -Dtestcase=IndexSizeTriggerTest 
-Dtests.method=testSplitIntegration -Dtests.seed=18A47EFF8B441AF5 
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=ar-QA -Dtests.timezone=Asia/Brunei -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[repro] Repro line:  ant test  -Dtestcase=IndexSizeTriggerTest 
-Dtests.method=testMixedBounds -Dtests.seed=18A47EFF8B441AF5 
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=ar-QA -Dtests.timezone=Asia/Brunei -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[repro] git rev-parse --abbrev-ref HEAD
[repro] git rev-parse HEAD
[repro] Initial local git branch/revision: 
ffedb99dc8127e14ad32c6c1345bb7d4516a570e
[repro] git fetch
[repro] git checkout 7a14a1a7e68200a48a94e423c4a425536e1116b4

[...truncated 2 lines...]
[repro] git merge --ff-only

[...truncated 1 lines...]
[repro] ant clean

[...truncated 6 lines...]
[repro] Test suites by module:
[repro]solr/core
[repro]   IndexSizeTriggerTest
[repro]   AutoScalingHandlerTest
[repro] ant compile-test

[...truncated 3334 lines...]
[repro] ant test-nocompile -Dtests.dups=5 -Dtests.maxfailures=10 
-Dtests.class="*.IndexSizeTriggerTest|*.AutoScalingHandlerTest" 
-Dtests.showOutput=onerror  -Dtests.seed=18A47EFF8B441AF5 -Dtests.multiplier=2 
-Dtests.slow=true -Dtests.badapples=true -Dtests.locale=ar-QA 
-Dtests.timezone=Asia/Brunei -Dtests.asserts=true -Dtests.file.encoding=UTF-8

[...truncated 50500 lines...]
[repro] Setting last failure code to 256

[repro] Failures:
[repro]   1/5 failed: org.apache.solr.cloud.autoscaling.AutoScalingHandlerTest
[repro]   5/5 failed: org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest

[repro] Re-testing 100% failures at the tip of branch_7x
[repro] git fetch
[repro] git checkout branch_7x

[...truncated 4 lines...]
[repro] git merge --ff-only

[...truncated 5 lines...]
[repro] ant clean

[...truncated 8 lines...]
[repro] Test suites by module:
[repro]solr/core
[repro]   IndexSizeTriggerTest
[repro] ant compile-test

[...truncated 3334 lines...]
[repro] ant test-nocompile -Dtests.dups=5 -Dtests.maxfailures=5 
-Dtests.class="*.IndexSizeTriggerTest" -Dtests.showOutput=onerror  
-Dtests.seed=18A47EFF8B441AF5 -Dtests.multiplier=2 -Dtests.slow=true 
-Dtests.badapples=true -Dtests.locale=ar-QA -Dtests.timezone=Asia/Brunei 
-Dtests.asserts=true -Dtests.file.encoding=UTF-8

[...truncated 24919 lines...]
[repro] Setting last failure code to 256

[repro] Failures at the tip of branch_7x:
[repro]   5/5 failed: org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest

[repro] Re-testing 100% failures at the tip of branch_7x without a seed
[repro] ant clean

[...truncated 8 lines...]
[repro] Test suites by module:
[repro]solr/core
[repro]   IndexSizeTriggerTest
[repro] ant compile-test

[...truncated 3334 lines...]
[repro] ant test-nocompile -Dtests.dups=5 -Dtests.maxfailures=5 
-Dtests.class="*.IndexSizeTriggerTest" -Dtests.showOutput=onerror  
-Dtests.multiplier=2 -Dtests.slow=true -Dtests.badapples=true 
-Dtests.locale=ar-QA -Dtests.timezone=Asia/Brunei -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[...truncated 13075 lines...]
[repro] Setting last failure code to 256

[repro] Failures at the tip of branch_7x without a seed:
[repro]   5/5 failed: org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest
[repro] git checkout ffedb99dc8127e14ad32c6c1345bb7d4516a570e

[...truncated 8 lines...]
[repro] Exiting with code 256

[...truncated 6 lines...]

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

[GitHub] lucene-solr pull request #428: SOLR-12586: deprecate joda-time and use java....

2018-08-05 Thread barrotsteindev
Github user barrotsteindev commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/428#discussion_r207742429
  
--- Diff: 
solr/core/src/test/org/apache/solr/update/processor/ParsingFieldUpdateProcessorsTest.java
 ---
@@ -171,36 +162,36 @@ public void testParseUSPacificDate() throws Exception 
{
  doc(f("id", "288"), 
f("not_in_schema", dateString)));
 assertNotNull(d);
 assertTrue(d.getFieldValue("not_in_schema") instanceof Date);
-assertEquals(dateStringUTC, 
- (new 
DateTime(((Date)d.getFieldValue("not_in_schema")).getTime(),DateTimeZone.UTC)).toString());
+assertEquals(dateStringUTC,
+
(ZonedDateTime.ofInstant(((Date)d.getFieldValue("not_in_schema")).toInstant(), 
ZoneOffset.UTC)).format(DateTimeFormatter.ofPattern("-MM-dd'T'HH:mm:ss.SSSZ",
 Locale.ROOT)));
   }
   
   public void testParseDateFormats() throws Exception {
 String[] formatExamples = { 
--- End diff --

Added :)


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[GitHub] lucene-solr pull request #428: SOLR-12586: deprecate joda-time and use java....

2018-08-05 Thread barrotsteindev
Github user barrotsteindev commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/428#discussion_r207742308
  
--- Diff: 
solr/core/src/java/org/apache/solr/update/processor/ParseDateFieldUpdateProcessorFactory.java
 ---
@@ -172,4 +181,34 @@ public void init(NamedList args) {
   return (null == type) || type instanceof DateValueFieldType;
 };
   }
+
+  public static void validateFormatter(DateTimeFormatter formatter) {
+// check it's valid via round-trip
+try {
+  parseInstant(formatter, formatter.format(Instant.now()));
+} catch (Exception e) {
+  throw new SolrException(SolrException.ErrorCode.SERVER_ERROR,
+  "Bad or unsupported pattern: " + 
formatter.toFormat().toString(), e);
+}
+  }
+
+  private static Instant parseInstant(DateTimeFormatter formatter, String 
dateStr) {
+final TemporalAccessor temporalAccessor = formatter.parse(dateStr);
+// parsed successfully.  But is it a full instant or just to the day?
+if (temporalAccessor.isSupported(ChronoField.INSTANT_SECONDS)) { // 
has time
+  // has offset time
+  if(temporalAccessor.isSupported(ChronoField.OFFSET_SECONDS)) {
--- End diff --

Oh wow can't believe I missed that. This seems so much more robust then the 
previous version.


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[GitHub] lucene-solr pull request #430: SOLR-12485: support labelled children in xml ...

2018-08-05 Thread dsmiley
Github user dsmiley commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/430#discussion_r207741161
  
--- Diff: solr/core/src/java/org/apache/solr/handler/loader/XMLLoader.java 
---
@@ -404,6 +404,7 @@ public SolrInputDocument readDoc(XMLStreamReader 
parser) throws XMLStreamExcepti
 StringBuilder text = new StringBuilder();
 String name = null;
 boolean isNull = false;
+boolean isLabeledChildDoc = false;
--- End diff --

I think this won't handle deeply nested cases.  Please enhance the test to 
have another layer of docs and lets see what happens.


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[GitHub] lucene-solr pull request #430: SOLR-12485: support labelled children in xml ...

2018-08-05 Thread dsmiley
Github user dsmiley commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/430#discussion_r207741137
  
--- Diff: 
solr/solrj/src/java/org/apache/solr/client/solrj/util/ClientUtils.java ---
@@ -114,17 +121,34 @@ private static void writeVal(Writer writer, String 
name, Object v, String update
 
 if (update == null) {
   if (v != null) {
-XML.writeXML(writer, "field", v.toString(), "name", name );
+if(v instanceof SolrInputDocument) {
+  OutputStream os = SolrInputDocumentXmlOutput((SolrInputDocument) 
v);
+  XML.writeXML(writer, "field", false, os.toString(), "name", 
name);
+} else {
+  XML.writeXML(writer, "field", v.toString(), "name", name );
+}
   }
 } else {
   if (v == null)  {
 XML.writeXML(writer, "field", null, "name", name, "update", 
update, "null", true);
   } else  {
+if(v instanceof SolrInputDocument) {
+  OutputStream os = SolrInputDocumentXmlOutput((SolrInputDocument) 
v);
+  XML.writeXML(writer, "field", false, os.toString(), "name", 
name, "update", update);
+}
 XML.writeXML(writer, "field", v.toString(), "name", name, 
"update", update);
   }
 }
   }
 
+  private static OutputStream SolrInputDocumentXmlOutput(SolrInputDocument 
v) throws IOException {
--- End diff --

Never start a method name with an uppercase letter.


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[GitHub] lucene-solr pull request #430: SOLR-12485: support labelled children in xml ...

2018-08-05 Thread dsmiley
Github user dsmiley commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/430#discussion_r207740065
  
--- Diff: solr/solrj/src/java/org/apache/solr/common/util/XML.java ---
@@ -126,8 +126,8 @@ public final static void writeUnescapedXML(Writer out, 
String tag, String val, O
 }
   }
 
-  /** escapes character data in val */
-  public final static void writeXML(Writer out, String tag, String val, 
Object... attrs) throws IOException {
+  /** escapes character data in val if shouldEscape is true*/
+  public final static void writeXML(Writer out, String tag, boolean 
shouldEscape, String val, Object... attrs) throws IOException {
--- End diff --

I think this change is redundant; see the previously defined method 
"writeUnescapedXML".


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[GitHub] lucene-solr pull request #430: SOLR-12485: support labelled children in xml ...

2018-08-05 Thread dsmiley
Github user dsmiley commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/430#discussion_r207741118
  
--- Diff: 
solr/solrj/src/java/org/apache/solr/client/solrj/util/ClientUtils.java ---
@@ -114,17 +121,34 @@ private static void writeVal(Writer writer, String 
name, Object v, String update
 
 if (update == null) {
   if (v != null) {
-XML.writeXML(writer, "field", v.toString(), "name", name );
+if(v instanceof SolrInputDocument) {
+  OutputStream os = SolrInputDocumentXmlOutput((SolrInputDocument) 
v);
--- End diff --

1st; it's not generally valid to call OutputString.toString() (or 
Writer.toString() for that matter) unless the declared implementation expressly 
defines what it does.  I am aware the impl/subclass you've chosen does but the 
declared type here, OutputStream, does not.  It would be better if that 
"solrInputDocumentXmlOutput" method returns a String since that's all we're 
going to do here any way.

But moreover, I'm concerned that the approach here buffers child documents 
instead of writing directly to a stream.  The buffering happens for each depth 
again, and gets larger.  It seems this deficiency is mostly due to the API 
contract of XML.writeXML which is not recursive -- it wants a string value and 
thus forces you to materialize that up front.  We could choose to just accept 
this as _perhaps_ not a big deal.  Or, what if XML had an inner interface:  
(lambda friendly)
```
  interface Writable {
void write(Writer w) throws IOException ;
  }
```
And the writeXML method was overloaded with a variant that took that 
instead of the Value.  To avoid duplicating similar methods, the existing ones 
could be convenience methods to this one with a simple lambda that wrote the 
string, possibly escaping it first if needed.  WDYT?


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[JENKINS] Lucene-Solr-BadApples-Tests-7.x - Build # 122 - Still Unstable

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-BadApples-Tests-7.x/122/

3 tests failed.
FAILED:  org.apache.solr.cloud.autoscaling.AutoScalingHandlerTest.testReadApi

Error Message:
expected:<2> but was:<1>

Stack Trace:
java.lang.AssertionError: expected:<2> but was:<1>
at 
__randomizedtesting.SeedInfo.seed([18A47EFF8B441AF5:4F8D854A50B6F8EE]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.failNotEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:128)
at org.junit.Assert.assertEquals(Assert.java:472)
at org.junit.Assert.assertEquals(Assert.java:456)
at 
org.apache.solr.cloud.autoscaling.AutoScalingHandlerTest.testReadApi(AutoScalingHandlerTest.java:845)
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:498)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
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:53)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at java.lang.Thread.run(Thread.java:748)


FAILED:  org.apache.solr.cloud.autoscaling.IndexSizeTriggerTest.testMixedBounds

Error Message:
number of ops expected:<2> but was:<3>

Stack Trace:

[jira] [Commented] (SOLR-12209) add Paging Streaming Expression

2018-08-05 Thread mosh (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569485#comment-16569485
 ] 

mosh commented on SOLR-12209:
-

Hey [~joel.bernstein],
was wondering whether you could have another peek at the patch.
Thanks in advance.

> add Paging Streaming Expression
> ---
>
> Key: SOLR-12209
> URL: https://issues.apache.org/jira/browse/SOLR-12209
> Project: Solr
>  Issue Type: New Feature
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: streaming expressions
>Reporter: mosh
>Priority: Major
> Attachments: SOLR-12209.patch, SOLR-12209.patch, SOLR-12209.patch
>
>
> Currently the closest streaming expression that allows some sort of 
> pagination is top.
> I propose we add a new streaming expression, which is based on the 
> RankedStream class to add offset to the stream. currently it can only be done 
> in code by reading the stream until the desired offset is reached.
> The new expression will be used as such:
> {{paging(rows=3, search(collection1, q="*:*", qt="/export", 
> fl="id,a_s,a_i,a_f", sort="a_f desc, a_i desc"), sort="a_f asc, a_i asc", 
> start=100)}}
> {{this will offset the returned stream by 100 documents}}
>  
> [~joel.bernstein] what to you think?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[GitHub] lucene-solr pull request #430: SOLR-12485: support labelled children in xml ...

2018-08-05 Thread moshebla
Github user moshebla commented on a diff in the pull request:

https://github.com/apache/lucene-solr/pull/430#discussion_r207737277
  
--- Diff: solr/core/src/test/org/apache/solr/update/AddBlockUpdateTest.java 
---
@@ -501,6 +501,73 @@ public void testXML() throws IOException, 
XMLStreamException {

   }
 
+  @Test
+  public void testXMLLabeledChildren() throws IOException, 
XMLStreamException {
--- End diff --

Yes I agree. I have just pushed 2 new commits which address both the syntax 
and the test additions you requested.


---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[JENKINS] Lucene-Solr-repro - Build # 1147 - Unstable

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-repro/1147/

[...truncated 28 lines...]
[repro] Jenkins log URL: 
https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/1604/consoleText

[repro] Revision: ffedb99dc8127e14ad32c6c1345bb7d4516a570e

[repro] Ant options: -Dtests.multiplier=2 
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
[repro] Repro line:  ant test  -Dtestcase=TestIndexWriterReader 
-Dtests.method=testDuringAddIndexes -Dtests.seed=79B288D1A01DD690 
-Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true 
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
 -Dtests.locale=ar-LB -Dtests.timezone=Australia/Lindeman -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[repro] Repro line:  ant test  -Dtestcase=TestApproximationSearchEquivalence 
-Dtests.method=testReqOpt -Dtests.seed=79B288D1A01DD690 -Dtests.multiplier=2 
-Dtests.nightly=true -Dtests.slow=true 
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
 -Dtests.locale=en-IN -Dtests.timezone=Asia/Macau -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[repro] git rev-parse --abbrev-ref HEAD
[repro] git rev-parse HEAD
[repro] Initial local git branch/revision: 
ffedb99dc8127e14ad32c6c1345bb7d4516a570e
[repro] git fetch
[repro] git checkout ffedb99dc8127e14ad32c6c1345bb7d4516a570e

[...truncated 1 lines...]
[repro] git merge --ff-only

[...truncated 1 lines...]
[repro] ant clean

[...truncated 6 lines...]
[repro] Test suites by module:
[repro]lucene/core
[repro]   TestIndexWriterReader
[repro]   TestApproximationSearchEquivalence
[repro] ant compile-test

[...truncated 159 lines...]
[repro] ant test-nocompile -Dtests.dups=5 -Dtests.maxfailures=10 
-Dtests.class="*.TestIndexWriterReader|*.TestApproximationSearchEquivalence" 
-Dtests.showOutput=onerror -Dtests.multiplier=2 
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
 -Dtests.seed=79B288D1A01DD690 -Dtests.multiplier=2 -Dtests.nightly=true 
-Dtests.slow=true 
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
 -Dtests.locale=ar-LB -Dtests.timezone=Australia/Lindeman -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[...truncated 480 lines...]
[repro] Setting last failure code to 256

[repro] Failures:
[repro]   5/5 failed: org.apache.lucene.index.TestIndexWriterReader
[repro]   5/5 failed: 
org.apache.lucene.search.TestApproximationSearchEquivalence

[repro] Re-testing 100% failures at the tip of master
[repro] git fetch
[repro] git checkout master

[...truncated 4 lines...]
[repro] git merge --ff-only

[...truncated 117 lines...]
[repro] ant clean

[...truncated 7 lines...]
[repro] Test suites by module:
[repro]lucene/core
[repro]   TestIndexWriterReader
[repro]   TestApproximationSearchEquivalence
[repro] ant compile-test

[...truncated 159 lines...]
[repro] ant test-nocompile -Dtests.dups=5 -Dtests.maxfailures=10 
-Dtests.class="*.TestIndexWriterReader|*.TestApproximationSearchEquivalence" 
-Dtests.showOutput=onerror -Dtests.multiplier=2 
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
 -Dtests.seed=79B288D1A01DD690 -Dtests.multiplier=2 -Dtests.nightly=true 
-Dtests.slow=true 
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
 -Dtests.locale=ar-LB -Dtests.timezone=Australia/Lindeman -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[...truncated 479 lines...]
[repro] Setting last failure code to 256

[repro] Failures at the tip of master:
[repro]   5/5 failed: org.apache.lucene.index.TestIndexWriterReader
[repro]   5/5 failed: 
org.apache.lucene.search.TestApproximationSearchEquivalence

[repro] Re-testing 100% failures at the tip of master without a seed
[repro] ant clean

[...truncated 7 lines...]
[repro] Test suites by module:
[repro]lucene/core
[repro]   TestIndexWriterReader
[repro]   TestApproximationSearchEquivalence
[repro] ant compile-test

[...truncated 159 lines...]
[repro] ant test-nocompile -Dtests.dups=5 -Dtests.maxfailures=10 
-Dtests.class="*.TestIndexWriterReader|*.TestApproximationSearchEquivalence" 
-Dtests.showOutput=onerror -Dtests.multiplier=2 
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
 -Dtests.multiplier=2 -Dtests.nightly=true -Dtests.slow=true 
-Dtests.linedocsfile=/home/jenkins/jenkins-slave/workspace/Lucene-Solr-NightlyTests-master/test-data/enwiki.random.lines.txt
 -Dtests.locale=ar-LB -Dtests.timezone=Australia/Lindeman -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8

[...truncated 455 lines...]
[repro] 

[jira] [Commented] (SOLR-12626) TestInjection.waitForInSyncWithLeader

2018-08-05 Thread Lucene/Solr QA (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569440#comment-16569440
 ] 

Lucene/Solr QA commented on SOLR-12626:
---

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:red}-1{color} | {color:red} test4tests {color} | {color:red}  0m  
0s{color} | {color:red} The patch doesn't appear to include any new or modified 
tests. Please justify why no new tests are needed for this patch. Also please 
list what manual steps were performed to verify this patch. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  2m 
11s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  3m 
14s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  3m 
14s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Release audit (RAT) {color} | 
{color:green}  3m 14s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Check forbidden APIs {color} | 
{color:green}  3m 14s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} Validate source patterns {color} | 
{color:green}  3m 14s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} unit {color} | {color:red} 76m 21s{color} 
| {color:red} core in the patch failed. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 86m 41s{color} | 
{color:black} {color} |
\\
\\
|| Reason || Tests ||
| Failed junit tests | solr.cloud.autoscaling.sim.TestTriggerIntegration |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | SOLR-12626 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12934394/SOLR-12626.patch |
| Optional Tests |  compile  javac  unit  ratsources  checkforbiddenapis  
validatesourcepatterns  |
| uname | Linux lucene2-us-west.apache.org 4.4.0-112-generic #135-Ubuntu SMP 
Fri Jan 19 11:48:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | ant |
| Personality | 
/home/jenkins/jenkins-slave/workspace/PreCommit-SOLR-Build/sourcedir/dev-tools/test-patch/lucene-solr-yetus-personality.sh
 |
| git revision | master / ffedb99 |
| ant | version: Apache Ant(TM) version 1.9.6 compiled on July 20 2018 |
| Default Java | 1.8.0_172 |
| unit | 
https://builds.apache.org/job/PreCommit-SOLR-Build/160/artifact/out/patch-unit-solr_core.txt
 |
|  Test Results | 
https://builds.apache.org/job/PreCommit-SOLR-Build/160/testReport/ |
| modules | C: solr/core U: solr/core |
| Console output | 
https://builds.apache.org/job/PreCommit-SOLR-Build/160/console |
| Powered by | Apache Yetus 0.7.0   http://yetus.apache.org |


This message was automatically generated.



> TestInjection.waitForInSyncWithLeader
> -
>
> Key: SOLR-12626
> URL: https://issues.apache.org/jira/browse/SOLR-12626
> Project: Solr
>  Issue Type: Improvement
>  Security Level: Public(Default Security Level. Issues are Public) 
>  Components: Tests
>Reporter: Tomás Fernández Löbbe
>Assignee: Tomás Fernández Löbbe
>Priority: Minor
> Attachments: SOLR-12626.patch
>
>
> {{waitForInSyncWithLeader}} currently returns "false" making asserts fail 
> when an exception is thrown while checking if the core is in sync with the 
> leader. This can cause things like the leader being down (i.e. in ChaosMonkey 
> tests) to fail asserts in followers. Instead, we should continue iterating 
> the remaining amount of times.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[JENKINS] Lucene-Solr-Tests-master - Build # 2659 - Still Unstable

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Tests-master/2659/

1 tests failed.
FAILED:  org.apache.lucene.search.TestBooleanRewrites.testRandom

Error Message:
target = 0 < docID = 7

Stack Trace:
java.lang.AssertionError: target = 0 < docID = 7
at 
__randomizedtesting.SeedInfo.seed([7BD1B6005EB1BCDB:99D930FEFD10AA8]:0)
at 
org.apache.lucene.search.AssertingScorer.advanceShallow(AssertingScorer.java:81)
at 
org.apache.lucene.search.ReqOptSumScorer.advanceShallow(ReqOptSumScorer.java:215)
at 
org.apache.lucene.search.AssertingScorer.advanceShallow(AssertingScorer.java:82)
at 
org.apache.lucene.search.BlockMaxConjunctionScorer.advanceShallow(BlockMaxConjunctionScorer.java:228)
at 
org.apache.lucene.search.ConjunctionScorer.advanceShallow(ConjunctionScorer.java:82)
at 
org.apache.lucene.search.AssertingScorer.advanceShallow(AssertingScorer.java:82)
at 
org.apache.lucene.search.WANDScorer.updateMaxScores(WANDScorer.java:347)
at 
org.apache.lucene.search.WANDScorer.updateMaxScoresIfNecessary(WANDScorer.java:381)
at 
org.apache.lucene.search.WANDScorer.moveToNextCandidate(WANDScorer.java:389)
at org.apache.lucene.search.WANDScorer.access$300(WANDScorer.java:45)
at org.apache.lucene.search.WANDScorer$1.advance(WANDScorer.java:238)
at org.apache.lucene.search.WANDScorer$1.nextDoc(WANDScorer.java:224)
at 
org.apache.lucene.search.Weight$DefaultBulkScorer.scoreAll(Weight.java:269)
at 
org.apache.lucene.search.Weight$DefaultBulkScorer.score(Weight.java:214)
at org.apache.lucene.search.BulkScorer.score(BulkScorer.java:39)
at 
org.apache.lucene.search.AssertingBulkScorer.score(AssertingBulkScorer.java:71)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:652)
at 
org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:72)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:443)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:567)
at 
org.apache.lucene.search.IndexSearcher.searchAfter(IndexSearcher.java:419)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:430)
at 
org.apache.lucene.search.TestBooleanRewrites.testRandom(TestBooleanRewrites.java:365)
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:498)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 

[JENKINS] Lucene-Solr-NightlyTests-master - Build # 1604 - Still Unstable

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-master/1604/

2 tests failed.
FAILED:  org.apache.lucene.search.TestApproximationSearchEquivalence.testReqOpt

Error Message:
target = 2728 < docID = 2735

Stack Trace:
java.lang.AssertionError: target = 2728 < docID = 2735
at 
__randomizedtesting.SeedInfo.seed([79B288D1A01DD690:1D530D1C8B7AAE52]:0)
at 
org.apache.lucene.search.AssertingScorer.advanceShallow(AssertingScorer.java:81)
at 
org.apache.lucene.search.ReqOptSumScorer.advanceShallow(ReqOptSumScorer.java:215)
at 
org.apache.lucene.search.AssertingScorer.advanceShallow(AssertingScorer.java:82)
at 
org.apache.lucene.search.BlockMaxConjunctionScorer.advanceShallow(BlockMaxConjunctionScorer.java:228)
at 
org.apache.lucene.search.BlockMaxConjunctionScorer$1.moveToNextBlock(BlockMaxConjunctionScorer.java:89)
at 
org.apache.lucene.search.BlockMaxConjunctionScorer$1.advanceTarget(BlockMaxConjunctionScorer.java:110)
at 
org.apache.lucene.search.BlockMaxConjunctionScorer$1.doNext(BlockMaxConjunctionScorer.java:181)
at 
org.apache.lucene.search.BlockMaxConjunctionScorer$1.advance(BlockMaxConjunctionScorer.java:137)
at 
org.apache.lucene.search.BlockMaxConjunctionScorer$1.nextDoc(BlockMaxConjunctionScorer.java:132)
at 
org.apache.lucene.search.Weight$DefaultBulkScorer.scoreAll(Weight.java:261)
at 
org.apache.lucene.search.Weight$DefaultBulkScorer.score(Weight.java:214)
at 
org.apache.lucene.search.AssertingBulkScorer.score(AssertingBulkScorer.java:81)
at 
org.apache.lucene.search.AssertingBulkScorer.score(AssertingBulkScorer.java:65)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:652)
at 
org.apache.lucene.search.AssertingIndexSearcher.search(AssertingIndexSearcher.java:72)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:443)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:567)
at 
org.apache.lucene.search.IndexSearcher.searchAfter(IndexSearcher.java:419)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:430)
at 
org.apache.lucene.search.SearchEquivalenceTestBase.assertSameScores(SearchEquivalenceTestBase.java:251)
at 
org.apache.lucene.search.SearchEquivalenceTestBase.assertSameScores(SearchEquivalenceTestBase.java:228)
at 
org.apache.lucene.search.TestApproximationSearchEquivalence.testReqOpt(TestApproximationSearchEquivalence.java:296)
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:498)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 

[JENKINS] Lucene-Solr-SmokeRelease-7.x - Build # 279 - Still Failing

2018-08-05 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-SmokeRelease-7.x/279/

No tests ran.

Build Log:
[...truncated 23037 lines...]
[asciidoctor:convert] asciidoctor: ERROR: about-this-guide.adoc: line 1: 
invalid part, must have at least one section (e.g., chapter, appendix, etc.)
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 263: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 269: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 280: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 286: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 291: section title out of 
sequence: expected level 4, got level 5
[asciidoctor:convert] asciidoctor: ERROR: solr-glossary.adoc: line 1: invalid 
part, must have at least one section (e.g., chapter, appendix, etc.)
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 263: section title out of 
sequence: expected level 2, got level 3
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 269: section title out of 
sequence: expected level 2, got level 3
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 280: section title out of 
sequence: expected level 2, got level 3
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 286: section title out of 
sequence: expected level 2, got level 3
[asciidoctor:convert] asciidoctor: WARNING: 
solrcloud-autoscaling-policy-preferences.adoc: line 291: section title out of 
sequence: expected level 2, got level 3
 [java] Processed 2239 links (1792 relative) to 3019 anchors in 230 files
 [echo] Validated Links & Anchors via: 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/build/solr-ref-guide/bare-bones-html/

-dist-changes:
 [copy] Copying 4 files to 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/package/changes

-dist-keys:
  [get] Getting: http://home.apache.org/keys/group/lucene.asc
  [get] To: 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/package/KEYS

package:

-unpack-solr-tgz:

-ensure-solr-tgz-exists:
[mkdir] Created dir: 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/build/solr.tgz.unpacked
[untar] Expanding: 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/package/solr-7.5.0.tgz
 into 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/solr/build/solr.tgz.unpacked

generate-maven-artifacts:

resolve:

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 
/home/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-7.x/lucene/top-level-ivy-settings.xml

resolve:

ivy-availability-check:
[loadresource] Do not set property disallowed.ivy.jars.list as its length is 0.

-ivy-fail-disallowed-ivy-version:

ivy-fail:

ivy-configure:
[ivy:configure] :: loading settings :: file = 

[JENKINS] Lucene-Solr-7.x-Linux (64bit/jdk-9.0.4) - Build # 2489 - Unstable!

2018-08-05 Thread Policeman Jenkins Server
Build: https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/2489/
Java: 64bit/jdk-9.0.4 -XX:+UseCompressedOops -XX:+UseSerialGC

53 tests failed.
FAILED:  
org.apache.solr.client.solrj.cloud.autoscaling.TestPolicy.testWithCollectionMoveReplica

Error Message:


Stack Trace:
java.lang.ExceptionInInitializerError
at 
__randomizedtesting.SeedInfo.seed([3EC695FE59609B82:710ABC2F4157204C]:0)
at 
org.apache.solr.client.solrj.cloud.autoscaling.Variable$Type.(Variable.java:242)
at 
org.apache.solr.client.solrj.cloud.autoscaling.Variable$Type.(Variable.java:85)
at 
org.apache.solr.client.solrj.impl.SolrClientNodeStateProvider.getNodeValues(SolrClientNodeStateProvider.java:130)
at 
org.apache.solr.client.solrj.cloud.autoscaling.TestPolicy.testWithCollectionMoveReplica(TestPolicy.java:684)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1737)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:934)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$9.evaluate(RandomizedRunner.java:970)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$10.evaluate(RandomizedRunner.java:984)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:49)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:817)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:468)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:943)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:829)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:879)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:890)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:41)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:40)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:53)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:47)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:64)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:54)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:368)
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.NullPointerException
at 

[jira] [Commented] (SOLR-7767) Zookeeper Ensemble Admin UI

2018-08-05 Thread Upayavira (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-7767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16569388#comment-16569388
 ] 

Upayavira commented on SOLR-7767:
-

This pic looks great. My question is whether you can draw more summary out of 
it and present it visually.

You have the "Status: green". Could that be a green bar across the top?

You only show a single ZK host. How would multiples show up? Perhaps they could 
show up as tabs? Or a list of hosts on the left, can be clicked to reveal the 
data about that node. Could you draw out things about the nodes, such as 
whether it is standalone/follower/etc as that is important, then hide 
(collapsed?) the details such as data size, etc?

Just some thoughts.

> Zookeeper Ensemble Admin UI
> ---
>
> Key: SOLR-7767
> URL: https://issues.apache.org/jira/browse/SOLR-7767
> Project: Solr
>  Issue Type: New Feature
>  Components: Admin UI, SolrCloud
>Reporter: Aniket Khare
>Assignee: Jan Høydahl
>Priority: Major
> Fix For: master (8.0), 7.5
>
> Attachments: zk-status-error.png, zk-status-new.png, zk-status-tab.png
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> For SolrCloud mode can we have the functionality to display the live nodes 
> from the zookeeper ensemble. So that user can easily get to know if any of 
> zookeeper instance is down or having any other issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org