You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beam.apache.org by Fernando Morales Martinez <fe...@wizeline.com> on 2021/12/07 21:01:42 UTC

Help configuring and running jenkins tests on JDK 17

Hi everyone!
As part of this JIRA task <https://issues.apache.org/jira/browse/BEAM-12313>,
a few weeks ago I added <https://github.com/apache/beam/pull/15675> new
jenkins tests and configurations to run such tests against the Java v17 SDK

I'm currently facing two issues to make the whole change work:

1.- Even after running the seed job, most of the new tests are not being
picked up. The status shown is: This project is currently disabled. Does
anyone know how to enable the tests? Weird thing is, another set of tests
were picked up. Some failed, some were successful.

2.- As for the failing ones, the error I'm getting has to do with the path
of the Java 17 SDK which I set up as: */usr/lib/jvm/java-17-openjdk-amd64*,
basically the same convention as SDK 8 (*/usr/lib/jvm/java-8-openjdk-amd64)
*and 11 (*/usr/lib/jvm/java-11-openjdk-amd64*). I don't see any other
configuration change as part of the efforts made when setting up the Java
11 SDK harness.
Does anyone know what could be causing these errors?

Thanks!
-Fer

-- 
*This email and its contents (including any attachments) are being sent to
you on the condition of confidentiality and may be protected by legal
privilege. Access to this email by anyone other than the intended recipient
is unauthorized. If you are not the intended recipient, please immediately
notify the sender by replying to this message and delete the material
immediately from your system. Any further use, dissemination, distribution
or reproduction of this email is strictly prohibited. Further, no
representation is made with respect to any content contained in this email.*

Re: Help configuring and running jenkins tests on JDK 17

Posted by Kiley Sok <ki...@google.com>.
Hey Fernando,

There's a cron job that runs the seed job every few hours, so you'll need
to test before the cron job is kicked off to test the your jobs.

Looking at the wiki
<https://cwiki.apache.org/confluence/display/BEAM/Jenkins+Tips> you may
need to install Java 17 on the worker image.

On Tue, Dec 7, 2021 at 1:02 PM Fernando Morales Martinez <
fernando.morales@wizeline.com> wrote:

> Hi everyone!
> As part of this JIRA task
> <https://issues.apache.org/jira/browse/BEAM-12313>, a few weeks ago I
> added <https://github.com/apache/beam/pull/15675> new jenkins tests and
> configurations to run such tests against the Java v17 SDK
>
> I'm currently facing two issues to make the whole change work:
>
> 1.- Even after running the seed job, most of the new tests are not being
> picked up. The status shown is: This project is currently disabled. Does
> anyone know how to enable the tests? Weird thing is, another set of tests
> were picked up. Some failed, some were successful.
>
> 2.- As for the failing ones, the error I'm getting has to do with the path
> of the Java 17 SDK which I set up as: */usr/lib/jvm/java-17-openjdk-amd64*,
> basically the same convention as SDK 8 (*/usr/lib/jvm/java-8-openjdk-amd64)
> *and 11 (*/usr/lib/jvm/java-11-openjdk-amd64*). I don't see any other
> configuration change as part of the efforts made when setting up the Java
> 11 SDK harness.
> Does anyone know what could be causing these errors?
>
> Thanks!
> -Fer
>
>
>
>
>
>
>
>
> *This email and its contents (including any attachments) are being sent
> toyou on the condition of confidentiality and may be protected by
> legalprivilege. Access to this email by anyone other than the intended
> recipientis unauthorized. If you are not the intended recipient, please
> immediatelynotify the sender by replying to this message and delete the
> materialimmediately from your system. Any further use, dissemination,
> distributionor reproduction of this email is strictly prohibited. Further,
> norepresentation is made with respect to any content contained in this
> email.*