Chuck,

On Tue, Feb 4, 2025 at 7:10 PM Chuck Caldarale <n82...@gmail.com> wrote:

>
> > On 2025 Feb 4, at 20:42, Igal Sapir <isa...@apache.org> wrote:
> >
> > Rainer,
> >
> > On Tue, Feb 4, 2025 at 5:50 PM Rainer Jung <rainer.j...@kippdata.de>
> wrote:
> >
> >> Am 04.02.25 um 19:35 schrieb Mark Thomas:
> >>> The proposed Apache Tomcat 11.0.3 release is now available for voting.
> >> <snip/>
> >>
> >> I see occasional OutOfMemoryErrors in org.apache.tomcat.util.net
> .TestSsl:
>
>
> <snip>
>
>
> >> Test currently run with Java 17.0.14, and fail for several vendors and
> >> for JSSE and also tcnative, OpenSSL versions 3.0 to 3.4 but now always.
> >>
> >> JVM size is 256MB.
> >
> > Is there a reason you set such a strict limit on the memory?
>
>
> Didn’t Mark limit test JVMs to 256m in a recent commit:
>
> diff --git a/build.xml b/build.xml
> index f47b137d1c..bdb0b0cf7a 100644
> --- a/build.xml
> +++ b/build.xml
> @@ -2043,7 +2043,8 @@
>           errorproperty="test.result.error"
>           failureproperty="test.result.failure"
>           haltonfailure="${test.haltonfailure}"
> -          threads="${test.threads}">
> +          threads="${test.threads}"
> +          maxmemory="256m">
>
>           <jvmarg value="${test.jvmarg.egd}"/>
>           <jvmarg value="-Dfile.encoding=UTF-8"/>
>

Yeah, I guess I missed that.

FWIW I have the following in build.properties - it doesn't look related but
I'm throwing it here in case it would make sense to someone else:

test.openssl.unimplemented=IDEA

I ran the test again and it passed again, but I do see 6 skipped tests:

test-nio2:
   [junit] Running org.apache.tomcat.util.net.TestSsl in thread 1
   [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 6, Time elapsed:
8.078 sec, Thread: 1, Class: org.apache.tomcat.util.net.TestSsl

Upon checking the log file it looked like those were FFM tests, so I
installed Java 23.0.2 (Azul) and ran the test again and again it passed
with no issues:

test-nio2:
   [junit] Running org.apache.tomcat.util.net.TestSsl in thread 1
   [junit] Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
11.416 sec, Thread: 1, Class: org.apache.tomcat.util.net.TestSsl


Igal

Reply via email to