You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2018/03/19 14:10:00 UTC

[jira] [Commented] (LUCENE-8155) Add Java 9 support to smoke tester

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

Steve Rowe commented on LUCENE-8155:
------------------------------------

The newly added Java9 test block is improperly calling "ant example", which was fixed for Java8 in SOLR-6926 to call "ant server".

{noformat}
      print('    test solr example w/ Java 8...')
      java.run_java8('ant clean server', '%s/antexample.log' % unpackPath)
      testSolrExample(unpackPath, java.java8_home, True)

      if java.run_java9:
        [...]
        print('    test solr example w/ Java 9...')
        java.run_java9('ant clean example', '%s/antexample.log' % unpackPath)
        testSolrExample(unpackPath, java.java9_home, True)
{noformat}

As a result, Jenkins runs are failing like so from [https://builds.apache.org/job/Lucene-Solr-SmokeRelease-7.3/4/]:

{noformat}
  [smoker] BUILD FAILED
  [smoker] Target "example" does not exist in the project "solr". 
{noformat}

> Add Java 9 support to smoke tester
> ----------------------------------
>
>                 Key: LUCENE-8155
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8155
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Major
>              Labels: Java9
>         Attachments: LUCENE-8155.patch
>
>
> After adding MR-JAR support with LUCENE-7966, we should test the release candidates with Java 9. Therefore the already existing code in {{build.xml}} that uses a separate environment variable to pass {{JAVA9_HOME}} should be reenabled. This also requires reconfiguring Jenkins.



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

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