Mailing List Archive

Re: [JENKINS] Lucene-9.x-Linux (64b it/jdk-17) - Build # 465 - Failure!
There's also the same bug in javac. It fails with an error in every source file.

Uwe

Am 18. Dezember 2021 20:13:09 UTC schrieb Dawid Weiss <dawid.weiss@gmail.com>:
>Eh. It seems this bug in ECJ is not predictable - it fails on the CI, it
>doesn't fail for me locally.
>https://bugs.eclipse.org/bugs/show_bug.cgi?id=569833
>
>>* Task :lucene:core:ecjLintMain* FAILED
>----------
>1. ERROR in /home/jenkins/workspace/Lucene-9.x-Linux/lucene/core/src/java/module-info.java
>(at line 22)
> exports org.apache.lucene.analysis;
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
>The package org.apache.lucene.analysis does not exist or is empty
>
>
>On Sat, Dec 18, 2021 at 9:08 PM Policeman Jenkins Server <
>jenkins@thetaphi.de> wrote:
>
>> Build: https://jenkins.thetaphi.de/job/Lucene-9.x-Linux/465/
>> Java: 64bit/jdk-17 -XX:+UseCompressedOops -XX:+UseSerialGC
>>
>> No tests ran.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: builds-help@lucene.apache.org

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de
Re: [JENKINS] Lucene-9.x-Linux (64bit/jdk-17) - Build # 465 - Failure! [ In reply to ]
I see it on Jenkins but can't reproduce this on any system I have access to
(Linux, Windows). We don't do anything special for javac - the arguments
there are collected from within gradle... So weird.

D.

On Sat, Dec 18, 2021 at 9:34 PM Uwe Schindler <uwe@thetaphi.de> wrote:

> There's also the same bug in javac. It fails with an error in every source
> file.
>
> Uwe
>
> Am 18. Dezember 2021 20:13:09 UTC schrieb Dawid Weiss <
> dawid.weiss@gmail.com>:
>>
>>
>> Eh. It seems this bug in ECJ is not predictable - it fails on the CI, it
>> doesn't fail for me locally.
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=569833
>>
>> >* Task :lucene:core:ecjLintMain* FAILED
>> ----------
>> 1. ERROR in /home/jenkins/workspace/Lucene-9.x-Linux/lucene/core/src/java/module-info.java (at line 22)
>> exports org.apache.lucene.analysis;
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^
>> The package org.apache.lucene.analysis does not exist or is empty
>>
>>
>> On Sat, Dec 18, 2021 at 9:08 PM Policeman Jenkins Server <
>> jenkins@thetaphi.de> wrote:
>>
>>> Build: https://jenkins.thetaphi.de/job/Lucene-9.x-Linux/465/
>>> Java: 64bit/jdk-17 -XX:+UseCompressedOops -XX:+UseSerialGC
>>>
>>> No tests ran.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: builds-help@lucene.apache.org
>>
>> --
> Uwe Schindler
> Achterdiek 19, 28357 Bremen
> https://www.thetaphi.de
>
Re: [JENKINS] Lucene-9.x-Linux (64b it/jdk-17) - Build # 465 - Failure! [ In reply to ]
Hi,
Unfortunately I have to pass runtime Java for randomization. I know it would work with later java versions, but Gradle does not work with jdk18 preview. The way how the randomizer is coded is: always pass jdk11 to run Gradle (which is the Jenkins config for the job) and pass the test runner JVM with runtime env var by the randomizer. This also includes the test runner args, which are all passed as env vars.

Uwe

Am 18. Dezember 2021 22:18:02 UTC schrieb Dawid Weiss <dawid.weiss@gmail.com>:
>It doesn't work if you pass a different runtime.java.home. It does work if
>you're using the same gradle/runtime jvm. Seems like gradle emits an empty
>sourcepath which changes runtime javac behavior:
>
>-sourcepath
>""
>
>I don't know if there's any workaround for this.
>
>D.
>
>On Sat, Dec 18, 2021 at 11:02 PM Dawid Weiss <dawid.weiss@gmail.com> wrote:
>
>>
>> I see it on Jenkins but can't reproduce this on any system I have access
>> to (Linux, Windows). We don't do anything special for javac - the arguments
>> there are collected from within gradle... So weird.
>>
>> D.
>>
>> On Sat, Dec 18, 2021 at 9:34 PM Uwe Schindler <uwe@thetaphi.de> wrote:
>>
>>> There's also the same bug in javac. It fails with an error in every
>>> source file.
>>>
>>> Uwe
>>>
>>> Am 18. Dezember 2021 20:13:09 UTC schrieb Dawid Weiss <
>>> dawid.weiss@gmail.com>:
>>>>
>>>>
>>>> Eh. It seems this bug in ECJ is not predictable - it fails on the CI, it
>>>> doesn't fail for me locally.
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=569833
>>>>
>>>> >* Task :lucene:core:ecjLintMain* FAILED
>>>> ----------
>>>> 1. ERROR in /home/jenkins/workspace/Lucene-9.x-Linux/lucene/core/src/java/module-info.java (at line 22)
>>>> exports org.apache.lucene.analysis;
>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>> The package org.apache.lucene.analysis does not exist or is empty
>>>>
>>>>
>>>> On Sat, Dec 18, 2021 at 9:08 PM Policeman Jenkins Server <
>>>> jenkins@thetaphi.de> wrote:
>>>>
>>>>> Build: https://jenkins.thetaphi.de/job/Lucene-9.x-Linux/465/
>>>>> Java: 64bit/jdk-17 -XX:+UseCompressedOops -XX:+UseSerialGC
>>>>>
>>>>> No tests ran.
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
>>>>> For additional commands, e-mail: builds-help@lucene.apache.org
>>>>
>>>> --
>>> Uwe Schindler
>>> Achterdiek 19, 28357 Bremen
>>> https://www.thetaphi.de
>>>
>>

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de
--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de
Re: [JENKINS] Lucene-9.x-Linux (64bit/jdk-17) - Build # 465 - Failure! [ In reply to ]
I'm sorry then, I'll have to revert until a solution is found. I don't
think this is easily fixable. I'm tired.

Dawid

On Sat, Dec 18, 2021 at 11:31 PM Uwe Schindler <uwe@thetaphi.de> wrote:

> Hi,
> Unfortunately I have to pass runtime Java for randomization. I know it
> would work with later java versions, but Gradle does not work with jdk18
> preview. The way how the randomizer is coded is: always pass jdk11 to run
> Gradle (which is the Jenkins config for the job) and pass the test runner
> JVM with runtime env var by the randomizer. This also includes the test
> runner args, which are all passed as env vars.
>
> Uwe
>
> Am 18. Dezember 2021 22:18:02 UTC schrieb Dawid Weiss <
> dawid.weiss@gmail.com>:
> >It doesn't work if you pass a different runtime.java.home. It does work if
> >you're using the same gradle/runtime jvm. Seems like gradle emits an empty
> >sourcepath which changes runtime javac behavior:
> >
> >-sourcepath
> >""
> >
> >I don't know if there's any workaround for this.
> >
> >D.
> >
> >On Sat, Dec 18, 2021 at 11:02 PM Dawid Weiss <dawid.weiss@gmail.com>
> wrote:
> >
> >>
> >> I see it on Jenkins but can't reproduce this on any system I have access
> >> to (Linux, Windows). We don't do anything special for javac - the
> arguments
> >> there are collected from within gradle... So weird.
> >>
> >> D.
> >>
> >> On Sat, Dec 18, 2021 at 9:34 PM Uwe Schindler <uwe@thetaphi.de> wrote:
> >>
> >>> There's also the same bug in javac. It fails with an error in every
> >>> source file.
> >>>
> >>> Uwe
> >>>
> >>> Am 18. Dezember 2021 20:13:09 UTC schrieb Dawid Weiss <
> >>> dawid.weiss@gmail.com>:
> >>>>
> >>>>
> >>>> Eh. It seems this bug in ECJ is not predictable - it fails on the CI,
> it
> >>>> doesn't fail for me locally.
> >>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=569833
> >>>>
> >>>> >* Task :lucene:core:ecjLintMain* FAILED
> >>>> ----------
> >>>> 1. ERROR in
> /home/jenkins/workspace/Lucene-9.x-Linux/lucene/core/src/java/module-info.java
> (at line 22)
> >>>> exports org.apache.lucene.analysis;
> >>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> >>>> The package org.apache.lucene.analysis does not exist or is empty
> >>>>
> >>>>
> >>>> On Sat, Dec 18, 2021 at 9:08 PM Policeman Jenkins Server <
> >>>> jenkins@thetaphi.de> wrote:
> >>>>
> >>>>> Build: https://jenkins.thetaphi.de/job/Lucene-9.x-Linux/465/
> >>>>> Java: 64bit/jdk-17 -XX:+UseCompressedOops -XX:+UseSerialGC
> >>>>>
> >>>>> No tests ran.
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: builds-unsubscribe@lucene.apache.org
> >>>>> For additional commands, e-mail: builds-help@lucene.apache.org
> >>>>
> >>>> --
> >>> Uwe Schindler
> >>> Achterdiek 19, 28357 Bremen
> >>> https://www.thetaphi.de
> >>>
> >>
>
> --
> Uwe Schindler
> Achterdiek 19, 28357 Bremen
> https://www.thetaphi.de
> --
> Uwe Schindler
> Achterdiek 19, 28357 Bremen
> https://www.thetaphi.de
>