adoptium / infrastructure

This repo contains all information about machine maintenance.
Apache License 2.0
86 stars 102 forks source link

Test: LargeGatheringWrite failed due to OOM on test-azure-win2012r2-x64-3 #3065

Open adamfarley opened 1 year ago

adamfarley commented 1 year ago

Please set the title to indicate the test name and machine name where known.

To make it easy for the infrastructure team to repeat and diagnose, please answer the following questions:

Any other details: Please take a look and see if something else is using up the available memory.

sxa commented 3 weeks ago

Has been excluded across all platforms. Check whether it occurs on other platforms and/or the win2022 systems.

sxa commented 1 week ago

Testing on:

While the win32 and arm32 ones had different messages, they are likely the result of the test being explicitly set up n ot to run on 32-bit platforms https://github.com/openjdk/jdk21u-dev/blob/4b1365eaab151ecf5ff2c40e4292d93137499c06/test/jdk/java/nio/channels/FileChannel/LargeGatheringWrite.java#L28C1-L28C27

sxa commented 1 week ago

More experimentation on AIX:

@smlambert Based on the above I'm slightly tempted to re-enable this everywhere except AIX - what do you think?

Also ref AIX, we're also seeing resource issues on that platform in https://github.com/adoptium/infrastructure/issues/3513

smlambert commented 1 week ago

In your runs above, have you run with both compressedrefs and noncompressedrefs options? To ensure both modes pass

(tangentially related is this Slack comment, though its talking about the jdk_jfr target versus this testcase from the jdk_nio target, but still...)

sxa commented 1 week ago

In your runs above, have you run with both compressedrefs and noncompressedrefs options? To ensure both modes pass

No I haven't but that's an interesting thought ... It's been a while since I tried to add extra options - can I just put them in JVM_OPTIONS in the Grinder parameters? (I'm not sure what the defaults that I might overwrite are)

smlambert commented 1 week ago

JVM_OPTIONS overwrites, EXTRA_OPTIONS appends

sxa commented 6 days ago

New runs with -XX:-UseCompressedOops

sxa commented 5 days ago

Further tests before excluding:

Version OS NoCompressedOoops Default CompressedOops
jdk23u Windows Grinder 11697 Grinder 11702
jdk23u AIX Grinder 11718 Grinder 11719
jdk24EA Windows Grinder 11701 Grinder 11704
jdk24EA AIX Grinder 11720 Grinder 11721

Summary: All windows ones passed, all AIX ones failed, so I'm going to take the associated PR out of draft so this test is only skipped on AIX. Note that 21 and 24 also pass for macos/aarch64