Skip to content

8384250: [macos] Test tools/jpackage/share/AsyncTest.java failed#31304

Open
sashamatveev wants to merge 1 commit into
openjdk:masterfrom
sashamatveev:JDK-8384250
Open

8384250: [macos] Test tools/jpackage/share/AsyncTest.java failed#31304
sashamatveev wants to merge 1 commit into
openjdk:masterfrom
sashamatveev:JDK-8384250

Conversation

@sashamatveev
Copy link
Copy Markdown
Member

@sashamatveev sashamatveev commented May 28, 2026

  • Fixed by ignoring ".BC.*" temp file which is transient Finder metadata.


Progress

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

Issue

  • JDK-8384250: [macos] Test tools/jpackage/share/AsyncTest.java failed (Bug - P4)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 31304

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@sashamatveev
Copy link
Copy Markdown
Member Author

@alexeysemenyukoracle Please review.

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper Bot commented May 28, 2026

👋 Welcome back almatvee! 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
Copy link
Copy Markdown

openjdk Bot commented May 28, 2026

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@openjdk openjdk Bot added the core-libs core-libs-dev@openjdk.org label May 28, 2026
@openjdk
Copy link
Copy Markdown

openjdk Bot commented May 28, 2026

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

  • core-libs

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 rfr Pull request is ready for review label May 28, 2026
@mlbridge
Copy link
Copy Markdown

mlbridge Bot commented May 28, 2026

Webrevs

@alexeysemenyukoracle
Copy link
Copy Markdown
Member

I don't see how this is the right fix to ignore that jpackage adds files matching ".BC.*" pattern to DMG archive.

@sashamatveev
Copy link
Copy Markdown
Member Author

I think it is not clear if file gets added to DMG image when it is created or if it was added to unpack folder when DMG was unpacked. I tried to reproduce this issue many times and so far was not able to reproduce it. What is you suggestion? Technically it can be added when we prepared image, during it was copied to DMG or when osascript was running.

One possible solution is to ignore it during unpacking and verify read-only DMG image after we created it to make sure this file does not exist and if exist then remove it from DMG after converting it to write-read and keep doing until this file is gone.

@alexeysemenyukoracle
Copy link
Copy Markdown
Member

Good point that it is unclear whether this file is part of a DMG or was added to a mounted volume during the test.

I suggest we figure this out first. This way, we will know whether to fix the implementation or the test lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-libs core-libs-dev@openjdk.org rfr Pull request is ready for review

Development

Successfully merging this pull request may close these issues.

2 participants