Skip to content
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

8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS #13791

Closed
wants to merge 1 commit into from

Conversation

ArnoZeller
Copy link
Contributor

@ArnoZeller ArnoZeller commented May 4, 2023

Unless this test is run as root, it needs sudo privileges. If it gets them, the test runs fine, but leaves a file with root ownership. So jtreg cannot delete it, and you see errors when "make clean" tries to delete it.
It's best that we just don't run the test on OSX if sudo privileges.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 1 Reviewer, 1 Author)

Issue

  • JDK-8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13791/head:pull/13791
$ git checkout pull/13791

Update a local copy of the PR:
$ git checkout pull/13791
$ git pull https://git.openjdk.org/jdk.git pull/13791/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 13791

View PR using the GUI difftool:
$ git pr show -t 13791

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13791.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented May 4, 2023

👋 Welcome back azeller! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot changed the title JDK-8307347 8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS May 4, 2023
@openjdk openjdk bot added the rfr Pull request is ready for review label May 4, 2023
@openjdk
Copy link

openjdk bot commented May 4, 2023

@ArnoZeller The following label will be automatically applied to this pull request:

  • serviceability

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the serviceability serviceability-dev@openjdk.org label May 4, 2023
@mlbridge
Copy link

mlbridge bot commented May 4, 2023

Webrevs

Copy link
Member

@tstuefe tstuefe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable.

@openjdk
Copy link

openjdk bot commented May 4, 2023

@ArnoZeller 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:

8307347: serviceability/sa/ClhsdbDumpclass.java could leave files owned by root on macOS

Reviewed-by: stuefe, cjplummer

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 56 new commits pushed to the master branch:

  • ad0e5a9: 8304720: SuperWord::schedule should rebuild C2-graph from SuperWord dependency-graph
  • 495f268: 8306966: RISC-V: Support vector cast node for Vector API
  • 0dca573: 8301739: AArch64: Add optimized rules for vector compare with immediate for SVE
  • 3d3eaed: 8306941: Open source several datatransfer and dnd AWT tests
  • 1f57ce0: 8307446: RISC-V: Improve performance of floating point to integer conversion
  • 4e4828e: 8307553: Remove dead code MetaspaceClosure::push_method_entry
  • 7d58978: 8280031: Deprecate GTK2 for removal
  • b5922c3: 8305846: Support compilation in Proc test utility
  • 73ac710: 8307425: Socket input stream read burns CPU cycles with back-to-back poll(0) calls
  • e2b1013: 8306326: [BACKOUT] 8277573: VmObjectAlloc is not generated by intrinsics methods which allocate objects
  • ... and 46 more: https://git.openjdk.org/jdk/compare/fc76687c2fac39fcbf706c419bfa170b8efa5747...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@tstuefe, @plummercj) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label May 4, 2023
@plummercj
Copy link
Contributor

/reviewers 2

@openjdk
Copy link

openjdk bot commented May 4, 2023

@plummercj
The total number of required reviews for this PR (including the jcheck configuration and the last /reviewers command) is now set to 2 (with at least 1 Reviewer, 1 Author).

@openjdk openjdk bot removed the ready Pull request is ready to be integrated label May 4, 2023
Copy link
Contributor

@plummercj plummercj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. Is there a reason why this was not noticed when JDK-8290687 was filed and fixed last year?

@openjdk openjdk bot added the ready Pull request is ready to be integrated label May 4, 2023
@ArnoZeller
Copy link
Contributor Author

@plummercj : I tried to find out why we did not see it when JDK-8290687 was fixed but I am unable to find a reason :-(.

@ArnoZeller
Copy link
Contributor Author

@tstuefe and @plummercj
Thanks for the reviews! As I am no Committer I will need a sponsor - would one of you be so kind to sponsor me?

@tstuefe
Copy link
Member

tstuefe commented May 8, 2023

/sponsor

@openjdk
Copy link

openjdk bot commented May 8, 2023

@tstuefe The change author (@ArnoZeller) must issue an integrate command before the integration can be sponsored.

@ArnoZeller
Copy link
Contributor Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label May 8, 2023
@openjdk
Copy link

openjdk bot commented May 8, 2023

@ArnoZeller
Your change (at version 22e6ea3) is now ready to be sponsored by a Committer.

@RealCLanger
Copy link
Contributor

/sponsor

@openjdk
Copy link

openjdk bot commented May 8, 2023

Going to push as commit 5c7ede9.
Since your change was applied there have been 63 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label May 8, 2023
@openjdk openjdk bot closed this May 8, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels May 8, 2023
@openjdk
Copy link

openjdk bot commented May 8, 2023

@RealCLanger @ArnoZeller Pushed as commit 5c7ede9.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated serviceability serviceability-dev@openjdk.org
Development

Successfully merging this pull request may close these issues.

4 participants