8246648: issue with OperatingSystemImpl getFreeSwapSpaceSize in docker after 8242480
Baesken, Matthias
matthias.baesken at sap.com
Fri Jun 5 08:14:54 UTC 2020
>> (plus we still need Jie's adjustment to fix getFreeSwapSpaceSize )
>
>Please feel free to open a separate JBS issue.
>And many thanks for fixing it.
>
Hello,
In the TestMemoryAwareness.java docker related test the following issue has been observed
on a Linux machine:
java.lang.RuntimeException: 'OperatingSystemMXBean\\.getFreeSwapSpaceSize: [1-9][0-9]+' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:306)
at TestMemoryAwareness.testOperatingSystemMXBeanAwareness(TestMemoryAwareness.java:154)
at TestMemoryAwareness.main(TestMemoryAwareness.java:65)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
Jie Fu proposed an adjustment to OperatingSystemImpl getFreeSwapSpaceSize to address this.
Bug/webrev :
https://bugs.openjdk.java.net/browse/JDK-8246648
http://cr.openjdk.java.net/~mbaesken/webrevs/8246648.0/
Best regards, Matthias
-----Original Message-----
From: jiefu(傅杰) <jiefu at tencent.com>
Sent: Donnerstag, 4. Juni 2020 16:54
To: Baesken, Matthias <matthias.baesken at sap.com>; Severin Gehwolf <sgehwolf at redhat.com>; David Holmes <david.holmes at oracle.com>; 'hotspot-dev at openjdk.java.net' <hotspot-dev at openjdk.java.net>
Cc: Bob Vandette <Bob.Vandette at oracle.com>
Subject: Re: RFR [XS]: 8244500: jtreg test error in test/hotspot/jtreg/containers/docker/TestMemoryAwareness.java(Internet mail)
Hi Matthias,
On 2020/6/4, 10:12 PM, "Baesken, Matthias" <matthias.baesken at sap.com> wrote:
>> (plus we still need Jie's adjustment to fix getFreeSwapSpaceSize )
>
>Yes, but I'd rather fix this as a separate issue. I don't think it's
>related.
Hmm okay, probably better to open a new one. Jie - should I open a separate JBS issue ? Or do you want to do it ( you proposed the patch for the getFreeSwapSpaceSize issue) ?
Please feel free to open a separate JBS issue.
And many thanks for fixing it.
Best regards,
Jie
More information about the hotspot-dev
mailing list