[GitHub] [lucene] dweiss commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
dweiss commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830767123 > For developers, yes. For Jenkins: No. Jenkins only needs to collect the jacoco.exec files and generates report on its own. So the jenkins job just sets property and runs tests -

[GitHub] [lucene] dweiss commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
dweiss commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830766980 SimpleServer is invoked from another test. It shouldn't be included by default in test runs though (there is a test file name pattern?). I'm not sure why it's being called. --

[GitHub] [lucene] uschindler commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830792571 Do we need the delete task at all? From Gradle's documentation: > Tasks configured for running with the JaCoCo agent delete the destination file for the execution data

[GitHub] [lucene] uschindler commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830815745 Hi @rmuir, I removed the extra task. In my tests, the coverage was not adding up. In all combinations (with "gradlew coverage", "gradlew -Dtests.coverage=true test",...) it

[GitHub] [lucene] dweiss commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
dweiss commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830777822 I corrected the code - simple server actually utilizes test infrastructure and will fail if it's not a "test"... I think what I committed solves the problem with minimal effort?

[GitHub] [lucene] rmuir commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
rmuir commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830808504 > > Tasks configured for running with the JaCoCo agent delete the destination file for the execution data when the task starts executing. This ensures that no stale coverage data is

[jira] [Resolved] (LUCENE-9188) Add jacoco code coverage support to gradle build

2021-05-02 Thread Robert Muir (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved LUCENE-9188. - Fix Version/s: main (9.0) Resolution: Fixed > Add jacoco code coverage support to gradle

[jira] [Created] (LUCENE-9948) Automatically detect multi- vs. single-valued cases in LongValueFacetCounts

2021-05-02 Thread Greg Miller (Jira)
Greg Miller created LUCENE-9948: --- Summary: Automatically detect multi- vs. single-valued cases in LongValueFacetCounts Key: LUCENE-9948 URL: https://issues.apache.org/jira/browse/LUCENE-9948 Project:

[GitHub] [lucene] uschindler commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830776087 > SimpleServer is invoked from another test. It shouldn't be included by default in test runs though (there is a test file name pattern?). I'm not sure why it's being called.

[GitHub] [lucene] uschindler commented on a change in pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on a change in pull request #119: URL: https://github.com/apache/lucene/pull/119#discussion_r624668806 ## File path: lucene/replicator/src/test/org/apache/lucene/replicator/nrt/TestStressNRTReplication.java ## @@ -607,17 +608,19 @@ NodeProcess

[GitHub] [lucene] uschindler commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830785124 > It shouldn't be included by default in test runs though (there is a test file name pattern?) Although this was not the problem here: We have no filename pattern! It

[GitHub] [lucene] uschindler commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830788731 This all looks fine now: https://ci-builds.apache.org/job/Lucene/job/Lucene-Coverage-main/18/ -- I also ran the NRT replication tests with tests.nightly on my local machine, it

[GitHub] [lucene] uschindler commented on a change in pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on a change in pull request #119: URL: https://github.com/apache/lucene/pull/119#discussion_r624675556 ## File path: gradle/testing/coverage.gradle ## @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + *

[GitHub] [lucene] uschindler commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830790991 I found a small problem with the delete task. @dweiss: can you check? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to

[GitHub] [lucene] uschindler commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830819657 Config now looks like this: ![image](https://user-images.githubusercontent.com/1005388/116817052-f5920980-ab64-11eb-858a-fc4e2cd837cc.png) -- This is an automated

[GitHub] [lucene] uschindler commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830785450 I think we should at least run the test once with tests.nightly=true, as most tests in StresstestNRTReplication are only running nightly. -- This is an automated message from

[jira] [Commented] (LUCENE-9188) Add jacoco code coverage support to gradle build

2021-05-02 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338034#comment-17338034 ] ASF subversion and git services commented on LUCENE-9188: - Commit

[GitHub] [lucene] uschindler merged pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler merged pull request #119: URL: https://github.com/apache/lucene/pull/119 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service,

[jira] [Assigned] (LUCENE-9188) Add jacoco code coverage support to gradle build

2021-05-02 Thread Uwe Schindler (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler reassigned LUCENE-9188: - Assignee: Uwe Schindler I merged the pull request. > Add jacoco code coverage support

[jira] [Updated] (LUCENE-9188) Add jacoco code coverage support to gradle build

2021-05-02 Thread Uwe Schindler (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-9188: -- Attachment: screenshot-1.png > Add jacoco code coverage support to gradle build >

[jira] [Commented] (LUCENE-9188) Add jacoco code coverage support to gradle build

2021-05-02 Thread Uwe Schindler (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338036#comment-17338036 ] Uwe Schindler commented on LUCENE-9188: --- The new Jenkins config now looks like this:

[jira] [Commented] (LUCENE-9946) Support multi-value fields in range facet counting

2021-05-02 Thread Greg Miller (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338048#comment-17338048 ] Greg Miller commented on LUCENE-9946: - I've created LUCENE-9948 to track an API refresh for

[jira] [Commented] (LUCENE-9948) Automatically detect multi- vs. single-valued cases in LongValueFacetCounts

2021-05-02 Thread Greg Miller (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338046#comment-17338046 ] Greg Miller commented on LUCENE-9948: - Attached a PR with some "nocommit" questions in it. An

[jira] [Commented] (LUCENE-9909) Some jflex regeneration tasks should also check the checksums of %include-d resources

2021-05-02 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338076#comment-17338076 ] ASF subversion and git services commented on LUCENE-9909: - Commit

[jira] [Commented] (LUCENE-9909) Some jflex regeneration tasks should also check the checksums of %include-d resources

2021-05-02 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338077#comment-17338077 ] ASF subversion and git services commented on LUCENE-9909: - Commit

[jira] [Resolved] (LUCENE-9909) Some jflex regeneration tasks should also check the checksums of %include-d resources

2021-05-02 Thread Dawid Weiss (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dawid Weiss resolved LUCENE-9909. - Fix Version/s: main (9.0) Resolution: Fixed > Some jflex regeneration tasks should also

[GitHub] [lucene] dweiss merged pull request #121: LUCENE-9909: add checksums of included files for some jflex generation tasks. Fix a task ordering issue with spotless.

2021-05-02 Thread GitBox
dweiss merged pull request #121: URL: https://github.com/apache/lucene/pull/121 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please

[GitHub] [lucene] uschindler commented on a change in pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on a change in pull request #119: URL: https://github.com/apache/lucene/pull/119#discussion_r624732263 ## File path: gradle/testing/coverage.gradle ## @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + *

[jira] [Commented] (LUCENE-9948) Automatically detect multi- vs. single-valued cases in LongValueFacetCounts

2021-05-02 Thread Greg Miller (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338038#comment-17338038 ] Greg Miller commented on LUCENE-9948: - I've got a PR almost ready for the implementation changes. I

[jira] [Commented] (LUCENE-9188) Add jacoco code coverage support to gradle build

2021-05-02 Thread Uwe Schindler (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338040#comment-17338040 ] Uwe Schindler commented on LUCENE-9188: --- To run coverage, now the following needs to be done for

[GitHub] [lucene] gsmiller opened a new pull request #122: [nocommit] LUCENE-9948: Automatically detect multi- vs. single-valued cases in LongValueFacetCounts

2021-05-02 Thread GitBox
gsmiller opened a new pull request #122: URL: https://github.com/apache/lucene/pull/122 # Description Automatically detect single- vs. multi-value cases instead of asking the user to specify. NOTE: Contains "nocommit" questions in comments that I'd like to resolve before

[GitHub] [lucene] rmuir commented on pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
rmuir commented on pull request #119: URL: https://github.com/apache/lucene/pull/119#issuecomment-830829699 Thanks @uschindler @dweiss for the assistance here! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL

[GitHub] [lucene] dweiss commented on a change in pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
dweiss commented on a change in pull request #119: URL: https://github.com/apache/lucene/pull/119#discussion_r624726031 ## File path: gradle/testing/coverage.gradle ## @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor

[jira] [Commented] (LUCENE-9948) Automatically detect multi- vs. single-valued cases in LongValueFacetCounts

2021-05-02 Thread Robert Muir (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338091#comment-17338091 ] Robert Muir commented on LUCENE-9948: - For 9.0, i wouldnt add back compat at all or deprecations. I

[GitHub] [lucene] uschindler commented on a change in pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
uschindler commented on a change in pull request #119: URL: https://github.com/apache/lucene/pull/119#discussion_r624745614 ## File path: gradle/testing/coverage.gradle ## @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + *

[GitHub] [lucene] dweiss commented on a change in pull request #119: LUCENE-9188: Add jacoco code coverage support to gradle

2021-05-02 Thread GitBox
dweiss commented on a change in pull request #119: URL: https://github.com/apache/lucene/pull/119#discussion_r624736809 ## File path: gradle/testing/coverage.gradle ## @@ -0,0 +1,64 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor

[jira] [Created] (LUCENE-9949) Flaky test in TestCachePurging.testBackgroundPurges

2021-05-02 Thread Gautam Worah (Jira)
Gautam Worah created LUCENE-9949: Summary: Flaky test in TestCachePurging.testBackgroundPurges Key: LUCENE-9949 URL: https://issues.apache.org/jira/browse/LUCENE-9949 Project: Lucene - Core

[jira] [Commented] (LUCENE-9047) Directory APIs should be little endian

2021-05-02 Thread ASF subversion and git services (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17338187#comment-17338187 ] ASF subversion and git services commented on LUCENE-9047: - Commit

[jira] [Resolved] (LUCENE-9047) Directory APIs should be little endian

2021-05-02 Thread Ignacio Vera (Jira)
[ https://issues.apache.org/jira/browse/LUCENE-9047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ignacio Vera resolved LUCENE-9047. -- Assignee: Ignacio Vera Resolution: Fixed > Directory APIs should be little endian >

[GitHub] [lucene] iverase merged pull request #107: LUCENE-9047: Move the Directory APIs to be little endian (take 2)

2021-05-02 Thread GitBox
iverase merged pull request #107: URL: https://github.com/apache/lucene/pull/107 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please