adoptium / adoptium/aqa-tests

java/nio/file/DirectoryStream/SecureDS.java failed as not supported on arm_linux and alpine-linux

Open
#3,635 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
155
Forks
346
Avg merge
2d 9h
Merged PRs (30d)
36

Description

[java/nio/file/DirectoryStream/SecureDS.java](https://github.com/openjdk/jdk11u/blob/master/test/jdk/java/nio/file/DirectoryStream/SecureDS.java#L47-L51) failed with error message:

```
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:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:829)
```

Reported https://github.com/adoptium/aqa-tests/issues/3596#issuecomment-1104643594
Also
https://github.com/adoptium/infrastructure/issues/2374#issuecomment-980159992

Mentioned https://github.com/adoptium/aqa-tests/issues/3596#issuecomment-1105850846 happened to jdk17 too, but I didn't find the failure in jdk17 build.
https://github.com/adoptium/aqa-tests/issues/3594#issuecomment-1104042051

Contributor guide

Open the contributing guide

Research direction

Start with test/jdk/java/nio/file/DirectoryStream/SecureDS.java, especially lines 47-51, and reproduce or inspect the reported failures on arm_linux and alpine-linux. Review the linked AQA and infrastructure reports to understand the platform-specific behavior; done means the test handles these environments correctly without masking supported-platform failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
operating-systems, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.