adoptium / adoptium/infrastructure
java/nio/file/DirectoryStream/SecureDS.java fails on newer Alpine OSs
- Dominant language
- Python
- Stars
- 96
- Forks
- 106
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 12
Description
`java/nio/file/DirectoryStream/SecureDS.java` fails for JDK17 x64 on our alpine 319 machines. Appeared in the April 2024 JDK17 aqa triage, https://github.com/adoptium/aqa-tests/issues/5231#issuecomment-2062885416. It passes on a [314 machine ](https://ci.adoptium.net/computer/test%2Ddocker%2Dalpine314%2Dx64%2D1/) https://ci.adoptium.net/job/Grinder/9688/console
```
java.lang.AssertionError: SecureDirectoryStream not supported.
at SecureDS.main(SecureDS.java:49)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:840)
```
At the moment we dont know the latest alpine OS on which it passes, only that it fails on 319 and passes on 314
Related failure on arm32 linux https://bugs.openjdk.org/browse/JDK-8214078
Contributor guide
Research direction
Start with java/nio/file/DirectoryStream/SecureDS.java around line 49 and reproduce the failure on Alpine 3.19, comparing it with the passing Alpine 3.14 run. Review the linked Grinder output and related JDK-8214078 issue; done means the Alpine-version boundary and cause are established and the appropriate test outcome or change is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100