Hi Luca,

>>  https://ci.bigtop.apache.org/computer/docker-slave-arm-4/configure


I added "JavaPath" and 'JAVA_HOME' to the relevant field in the
configuration.
It seems that the two Arm nodes are working properly:

https://ci.bigtop.apache.org/computer/docker-slave-arm-4/log
https://ci.bigtop.apache.org/computer/docker-slave-arm-5/log

Thanks.

BRs,
Yuqi



Luca Toscano <[email protected]> 于2023年6月27日周二 18:05写道:

> Hi Yuqi,
>
> I don't have access to the ARM nodes afaics, I can only configure
> stuff like
> https://ci.bigtop.apache.org/computer/docker-slave-arm-4/configure
> and launch the agent remotely from the Jenkins UI. I think that it
> expects "java" to point to Java 17, so probably setting alternatives
> should work. Lemme know :)
>
> Luca
>
> On Tue, Jun 27, 2023 at 10:51 AM Yuqi Gu <[email protected]> wrote:
> >
> > Hi Luca,
> >
> > >> Couldn't figure out the Java version of /home/jenkins/jdk/bin/java
> > >> bash: /home/jenkins/jdk/bin/java: No such file or directory
> >
> > It seems the default JAVA_HOME was mistakenly set to /home/jenkins/jdk/.
> > Could you please try to "source /home/jenkins/.bashrc" before launching
> the
> > agent?
> >
> > BRs,
> > Yuqi
> >
> > Luca Toscano <[email protected]> 于2023年6月27日周二 15:06写道:
> >
> > > Hi Yuqi!
> > >
> > > I tried to re-launch the agent on the ARM nodes but I get:
> > >
> > > Checking Java version in the PATH
> > > openjdk version "1.8.0_332"
> > > OpenJDK Runtime Environment (build 1.8.0_332-8u332-ga-1~deb9u1-b09)
> > > OpenJDK 64-Bit Server VM (build 25.332-b09, mixed mode)
> > > [06/27/23 07:04:33] [SSH] Checking java version of
> > > /home/jenkins/jdk/bin/java
> > > Couldn't figure out the Java version of /home/jenkins/jdk/bin/java
> > > bash: /home/jenkins/jdk/bin/java: No such file or directory
> > >
> > > [06/27/23 07:04:34] [SSH] Checking java version of java
> > > [06/27/23 07:04:34] [SSH] java -version returned 1.8.0_332.
> > >
> > > So something is still not configured correctly :(
> > >
> > > Luca
> > >
> > > On Tue, Jun 27, 2023 at 5:30 AM Yuqi Gu <[email protected]> wrote:
> > > >
> > > > Hi Luca,
> > > >
> > > > The default version of the JVM has been set to OpenJDK 17 on Arm
> nodes.
> > > > Please inform me if there are any other issues on Arm workers.
> > > > Thanks.
> > > >
> > > > BRs,
> > > > Yuqi
> > > >
> > > > On Sun, 25 Jun 2023 at 19:00, Yuqi Gu <[email protected]> wrote:
> > > >
> > > > > Hi Luca,
> > > > >
> > > > > Sorry for the late reply.
> > > > > Let me try to set the default JVM version to 11 as you mentioned.
> > > > > I will ping you once JDK 11 has been properly configured on the Arm
> > > nodes.
> > > > > Thanks.
> > > > >
> > > > > BRs,
> > > > > Yuqi
> > > > >
> > > > >
> > > > > Luca Toscano <[email protected]> 于2023年6月25日周日 15:17写道:
> > > > >
> > > > > > Hi folks!
> > > > > >
> > > > > > Sorry to ping you again, but the ARM workers are still down.
> Anybody
> > > > > > with access credentials that can fix them?
> > > > > >
> > > > > > Thanks :)
> > > > > >
> > > > > > Luca
> > > > > >
> > > > > > On Fri, Jun 16, 2023 at 5:50 PM Luca Toscano <
> [email protected]
> > > >
> > > > > > wrote:
> > > > > > >
> > > > > > > Hi folks,
> > > > > > >
> > > > > > > sending an email in here for visibility. After the Jenkins
> upgrade
> > > I
> > > > > > > see the following errors on the Arm workers:
> > > > > > >
> > > > > > > Exception in thread "main"
> java.lang.UnsupportedClassVersionError:
> > > > > > > hudson/remoting/Launcher has been compiled by a more recent
> > > version of
> > > > > > > the Java Runtime (class file version 55.0), this version of the
> > > Java
> > > > > > > Runtime only recognizes class file versions up to 52.0
> > > > > > >
> > > > > > > I resolved the issue in the other nodes, setting the default
> JVM
> > > > > > > version to 11+, since the above error msg suggests that we
> need it
> > > > > > > from now on to run the Jenkins agents. I don't have access,
> > > afaics, on
> > > > > > > the Arm nodes, can somebody check/fix please?
> > > > > > >
> > > > > > > Thanks in advance :)
> > > > > > >
> > > > > > > Luca
> > > > > >
> > > > >
> > >
>

Reply via email to