Re: [VOTE] Release Lucene 10.3.0 RC2

Chris Hegarty <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.devel
Message-ID <[email protected]>
+1

I ran with Java 21 and 24,

SUCCESS! [1:42:46.278094]

I tried with Java 25 and it failed with an error [*]. I don’t think that this is an issue with the RC build, but rather something in the infrastructure.

-Chris.

[*]
    Checking suggest
    Checking test-framework
    Checking licenses
    Checking build.gradle
    Checking documentation
    Checking distribution
    Checking dev-docs
    make sure no JARs/WARs in src dist...
    run "./gradlew --no-daemon check -p lucene/documentation"
    run tests w/ Java 21 and testArgs='-Dtests.gui=true -Dtests.nightly=true '...
    compile jars w/ Java 21
    test demo with 21...
      got 262 hits for query "lucene"
    checkindex with 21...
    run tests w/ Java 25 and testArgs='-Dtests.gui=true -Dtests.nightly=true '...

command "export JAVA_HOME="/Users/chegar/binaries/jdk-25.jdk/Contents/Home/" PATH="/Users/chegar/binaries/jdk-25.jdk/Contents/Home//bin:$PATH" JAVACMD="/Users/chegar/binaries/jdk-25.jdk/Contents/Home//bin/java"; ./gradlew --no-daemon test -Dtests.gui=true -Dtests.nightly=true " failed:
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build  
> Task :build-infra:compileJava
Note: /private/tmp/smoke_lucene_10.3.0_e2871287e4a378739f0b74081d124e3668347875_3/unpack/lucene-10.3.0/build-tools/build-infra/src/main/java/org/apache/lucene/gradle/Checksum.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :build-infra:pluginDescriptors UP-TO-DATE
> Task :build-infra:processResources UP-TO-DATE
> Task :build-infra:classes
> Task :build-infra:jar

[Incubating] Problems report is available at: file:///private/tmp/smoke_lucene_10.3.0_e2871287e4a378739f0b74081d124e3668347875_3/unpack/lucene-10.3.0/build/reports/problems/problems-report.html

FAILURE: Build failed with an exception.

* What went wrong:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 69
> Unsupported class file major version 69

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 5s
4 actionable tasks: 2 executed, 2 up-to-date


Traceback (most recent call last):
  File "/Users/chegar/git/tmp/lucene/dev-tools/scripts/smokeTestRelease.py", line 1224, in <module>
    main()
    ~~~~^^
  File "/Users/chegar/git/tmp/lucene/dev-tools/scripts/smokeTestRelease.py", line 1159, in main
    smokeTest(c.java, c.url, c.revision, c.version, c.tmp_dir, c.is_signed, c.local_keys, " ".join(c.test_args), downloadOnly=c.download_only)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/chegar/git/tmp/lucene/dev-tools/scripts/smokeTestRelease.py", line 1212, in smokeTest
    unpackAndVerify(java, tmpDir, "lucene-%s-src.tgz" % version, gitRevision, version, testArgs)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/chegar/git/tmp/lucene/dev-tools/scripts/smokeTestRelease.py", line 520, in unpackAndVerify
    verifyUnpacked(java, artifact, unpackPath, gitRevision, version, testArgs)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/chegar/git/tmp/lucene/dev-tools/scripts/smokeTestRelease.py", line 661, in verifyUnpacked
    run_alt_java("./gradlew --no-daemon test %s" % testArgs, "%s/test.log" % unpackPath)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/chegar/git/tmp/lucene/dev-tools/scripts/smokeTestRelease.py", line 975, in run_java
    run("%s; %s" % (cmd_prefix, cmd), logfile)
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/chegar/git/tmp/lucene/dev-tools/scripts/smokeTestRelease.py", line 452, in run
    raise RuntimeError('command "%s" failed; see log file %s' % (command, logPath))
RuntimeError: command "export JAVA_HOME="/Users/chegar/binaries/jdk-25.jdk/Contents/Home/" PATH="/Users/chegar/binaries/jdk-25.jdk/Contents/Home//bin:$PATH" JAVACMD="/Users/chegar/binaries/jdk-25.jdk/Contents/Home//bin/java"; ./gradlew --no-daemon test -Dtests.gui=true -Dtests.nightly=true " failed; see log file /tmp/smoke_lucene_10.3.0_e2871287e4a378739f0b74081d124e3668347875_3/unpack/lucene-10.3.0/test.log


> On 9 Sep 2025, at 13:26, Ignacio Vera <[email protected]> wrote:
> 
> +1
> SUCCESS! [1:23:52.821898]
> 
> On Tue, Sep 9, 2025 at 9:18 AM Alan Woodward <[email protected]> wrote:
> +1
> 
> SUCCESS! [0:37:32.931636]
> 
> - Alan
> 
>> On 9 Sep 2025, at 06:02, Vigya Sharma <[email protected]> wrote:
>> 
>> Please vote for release candidate 2 for Lucene 10.3.0
>> 
>> The artifacts can be downloaded from:
>> https://dist.apache.org/repos/dist/dev/lucene/lucene-10.3.0-RC2-rev-e2871287e4a378739f0b74081d124e3668347875
>> 
>> You can run the smoke tester directly with this command:
>> 
>> python3 -u dev-tools/scripts/smokeTestRelease.py \
>> https://dist.apache.org/repos/dist/dev/lucene/lucene-10.3.0-RC2-rev-e2871287e4a378739f0b74081d124e3668347875
>> 
>> The vote will be open for at least 72 hours i.e. until 2025-09-12 06:00 UTC.
>> 
>> [ ] +1  approve
>> [ ] +0  no opinion
>> [ ] -1  disapprove (and reason why)
>> 
>> Here is my +1
>> ----
>> 
>> Vigya
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.