-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8325201: (zipfs) Disable TestPosix.setPermissionsShouldConvertToUnix which fails on Windows #17700
Conversation
…indows. Disable for now.
👋 Welcome back eirbjo! A progress list of the required criteria for merging this PR into |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Eirik,
I think disabling the tests makes sense for now or perhaps just disable for windows. Maybe add something like:
private static final boolean isWindows = System.getProperty("os.name") .startsWith("Windows");
And then have the test validate isWindows in the interim?
I think we should use a separate bug to disable the test and keep this bug open
Lance, I did create a separate issue for this PR to disable the test. We can keep the other bug open, yes. Or did I misunderstand something here..? I’m not sure how to disable this test specially for Windows. |
Hi Eirik, Apologies for not being clearer Sorry I missed that, thank you :-)
You could:
You could also use the jtreg SkippedException
See the JTREG FAQ 4.34 |
Thanks Lance, I've pushed a commit which skips the test selectively on Windows. Since this test runs with a security manager, I needed to add a property read permission for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the update Eirik, That looks good. I would also link this bug to the open bug in JBS when you have a moment,
@eirbjo This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
This bug, 8325201 already has a "related to" link to the open test failure bug JDK-8325199. Does that look OK to you, or did you mean something else? |
/integrate |
It looks fine, I checked before I submitted the approval so must have been a timing issue. Thank you for the above |
Can I please get a review for this trivial change to disable the test
TestPosix.setPermissionsShouldConvertToUnix
on Windows?This test was recently introduced in JDK-8324635, but fails intermittently on Windows CI runs. (See JDK-8325199)
To reduce CI noise, I suggest we simply disable this test on Windows for now. The actual fix of the failing test will be investigated and fixed as a follow-up PR.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/17700/head:pull/17700
$ git checkout pull/17700
Update a local copy of the PR:
$ git checkout pull/17700
$ git pull https://git.openjdk.org/jdk.git pull/17700/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 17700
View PR using the GUI difftool:
$ git pr show -t 17700
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/17700.diff
Webrev
Link to Webrev Comment