-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
8286191: misc tests fail due to JDK-8285987 #8556
Conversation
👋 Welcome back mbaesken! 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.
LGTM
@MBaesken 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
* @comment musl/Alpine has problems executing some shell scripts, see 8285987 | ||
* @requires !vm.musl |
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.
So this change backs out an "@requires" that was added by:
JDK-8285987 executing shell scripts without #! fails on Alpine linux
https://bugs.openjdk.java.net/browse/JDK-8285987
Presumably this "@requires" was added for some reason so what's
going to happen if this test is run on Alpine Linux? Also, the fix in
JDK-8285987 updated the copyright year. Do you plan on restoring
it to the original "2017" value?
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 Daniel, I restored the original year 2017.
(additionally I removed the langtools exclusion)
Presumably this "@requires" was added for some reason so what's going to happen if this test is run on Alpine Linux
I can only speak about our Alpine setup (3.15 in a container) and there the test fails with error=8, Exec format error. Looks like something similar has been observed as well by these people
https://www.openwall.com/lists/musl/2018/03/09/2
scala-steward-org/scala-steward#1374
@MBaesken - I corrected a typo in my synopsis update for JDK-8286191. |
/issue JDK-8286191 |
@MBaesken This issue is referenced in the PR title - it will now be updated. |
|
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.
Looks good.
Thanks for resolving both ProblemLists.
Hopefully, the real problem and solution on Musl can be found separately.
/integrate |
Going to push as commit de8f4d0. |
The isMusl method had to be handled in test/lib-test/jdk/test/lib/TestMutuallyExclusivePlatformPredicates.java .
Additionally, the vm.musl predicate seem not to be available in the langtools tests.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/8556/head:pull/8556
$ git checkout pull/8556
Update a local copy of the PR:
$ git checkout pull/8556
$ git pull https://git.openjdk.java.net/jdk pull/8556/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 8556
View PR using the GUI difftool:
$ git pr show -t 8556
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/8556.diff