I'm trying to resolve the JDK bug by upgrading to Java 17 in bionic
build. The pull request is [1]. I also try to reduce excessive logging
in [2]

[1]: https://github.com/apache/thrift/pull/2662
[2]: https://github.com/apache/thrift/pull/2659

On September 11, 2022, yuxuan wang <yuxuan.w...@reddit.com.invalid>
wrote:
> So I looked into the first problem a bit because I was also annoyed by
> the
> excessive logging. This is what I found:
>
> The excessive logging itself seems to be caused by
> https://github.com/apache/thrift/commit/0aa108fe1ab921ef0371bcfffd3edfa8bea2cdc7.
> But that's not the root cause. It just makes the logs more noisy when
> the
> tests failed.
>
> The root cause that caused the cross-tests involving ssl and java
> client to
> fail seems to be an OpenJDK bug: https://bugs.openjdk.org/browse/JDK-
> 8221218
> .
>
> I'm not familiar with Java enough to know if there's an easy way to
> walk
> around that OpenJDK bug. Someone more familiar might have better
> ideas.
>
> I also noticed that besides java clients, erlang clients with ssl
> cross-tests are also mostly failing. So it might be some issue in the
> certificate we used in ssl tests that triggered the bug?
>
> On Fri, Sep 9, 2022 at 11:58 PM Mario Emmenlauer <ma...@emmenlauer.de>
> wrote:
>
> >
> >
> > Dear All,
> >
> > I've just seen two Java-related issues in the Travis tests.
> >
> > The first issue is that the build is killed after excessive logging
> > of warnings or errors. Probably, the true problem are the actually
> > logged errors, but I did not go any deeper :-) It shows here:
> > https://app.travis-ci.com/github/apache/thrift/jobs/582325440
> >
> > The other problem is that gradle seems not to always start
> correctly,
> > with error `Unrecognized option: --add-exports`. It shows here:
> > https://app.travis-ci.com/github/apache/thrift/jobs/582325444
> >
> > Maybe this is known, and/or somebody already looking into this?
> >
> > All the best,
> >
> > Mario Emmenlauer
> >

Reply via email to