Hi, it still fails with Policeman Jenkins and I think we can't easily fix this until we patch the build file, too:
Policeman Jenkins uses the feature of RUNTIME_JAVA_HOME. If that is enabled, javac will be forked and runs as a separate process. And this separate process seems to not get the gradle properties. But I am not fully sure about that because I have no idea how Spotless works. I have to try to reproduce this locally to understand why this is happening. I am out of office now, so I disabled Policeman Jenkins builds until I can check this. Uwe ----- Uwe Schindler Achterdiek 19, D-28357 Bremen https://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Uwe Schindler <[email protected]> > Sent: Thursday, January 6, 2022 11:44 AM > To: [email protected] > Subject: RE: Heads up: main branch will soon require Java 17 > > Hi, > > On my jenkins all nodes had a local gradle.properties file in their home > directory to setup node-specific values. As Gradle searches for all those > files > and applies them, the node-specific ones now only have the daemon disable > and the number of workers. Everything else I removed. > > So it will now read the user one and then the build-dir local one. > > Uwe > > ----- > Uwe Schindler > Achterdiek 19, D-28357 Bremen > https://www.thetaphi.de > eMail: [email protected] > > > -----Original Message----- > > From: Adrien Grand <[email protected]> > > Sent: Thursday, January 6, 2022 11:33 AM > > To: Lucene Dev <[email protected]> > > Subject: Re: Heads up: main branch will soon require Java 17 > > > > I just updated the gradle.properties file under "Config files" to add > > the module exports to JVM args, the next build should pass. > > > > On Thu, Jan 6, 2022 at 11:28 AM Adrien Grand <[email protected]> wrote: > > > > > > To clarify, merging the PR wouldn't address the test failures. > > > > > > On Thu, Jan 6, 2022 at 11:27 AM Adrien Grand <[email protected]> > wrote: > > > > > > > > This seems to be due to the fact that it's using an old > > > > gradle.properties file that doesn't have the module exports that Dawid > > > > added as part of LUCENE-10066. > > > > https://github.com/apache/lucene/pull/259/files#diff- > > > fbdfae634c6898f4a415bc2a278ff771c38436d70b0e64250ab068b4b3e58426R > > 48-R52 > > > > > > > > Let me look into whether I can make the ASF Jenkins recreate its > > > > gradle.properties. > > > > > > > > > > > > -- > > > Adrien > > > > > > > > -- > > Adrien > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
