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

8343786: [11u] GHA: Bump macOS and Xcode versions to macos-13 and XCode 14.3.1 #2967

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vieiro
Copy link
Contributor

@vieiro vieiro commented Nov 18, 2024

An implementation of JDK-8343786 that bumps the GHA runners versions to macos-13 and XCode 14.3.1.

This uses the --enable-xcode14 configuration flag introduced in #2966 (JDK-8344458) to build and run tier-1 tests on macos-13 and XCode 14.3.1.

Tier-1 tests seem to be failing randomly on macos-13/XCode14 with either a timeout or an ArrayIndexOutOfBoundsException t in serviceability/sa/ClhsdbFindPC.java. This is currently under investigation and may be related to JDK-8260389 or JDK-8277079.

The rest of tier1 tests are expected to pass on this platform.


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
  • JDK-8343786 needs maintainer approval

Issue

  • JDK-8343786: [11u] GHA: Bump macOS and Xcode versions to macos-13 and XCode 14.3.1 (Enhancement - P4 - Requested)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2967/head:pull/2967
$ git checkout pull/2967

Update a local copy of the PR:
$ git checkout pull/2967
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2967/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2967

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2967.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 18, 2024

👋 Welcome back vieiro! A progress list of the required criteria for merging this PR into pr/2966 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

openjdk bot commented Nov 18, 2024

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

@openjdk openjdk bot added the rfr Pull request is ready for review label Nov 18, 2024
@mlbridge
Copy link

mlbridge bot commented Nov 18, 2024

Webrevs

@openjdk-notifier openjdk-notifier bot force-pushed the pr/2966 branch 2 times, most recently from 20c7998 to fec6eed Compare November 19, 2024 06:53
@vieiro vieiro force-pushed the hotfix/JDK-8343786 branch from 3210123 to 34a5b04 Compare November 19, 2024 07:41
@openjdk
Copy link

openjdk bot commented Nov 19, 2024

@vieiro Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@vieiro
Copy link
Contributor Author

vieiro commented Nov 19, 2024

As expected, all tier1 tests pass with XCode 14 but for ClhsdbFindPC, that fails with a timeout. Suspect is JDK-8260389 that will require investigation (intermittent).

2024-11-19T08:29:29.3416570Z java.lang.RuntimeException: Test ERROR java.io.IOException: App waiting timeout
2024-11-19T08:29:29.3418220Z 	at ClhsdbFindPC.testFindPC(ClhsdbFindPC.java:155)

Attaching excerpt of the build log for future reference:
xcode14-build-failure.txt

@vieiro
Copy link
Contributor Author

vieiro commented Nov 25, 2024

The second commit replaces the original --enable-xcode14 with --disable-warnings-as-errors.

Again, build and tests are expected to pass but for an ArrayIndexOutOfBoundsException in `serviceability/sa/ClhsdbFindPC.java'

@gnu-andrew
Copy link
Member

Can we update this PR so it targets master rather than 2966? Then we can integrate this and look into turning the warnings-as-errors back on long term.

@vieiro vieiro changed the base branch from pr/2966 to master November 27, 2024 15:54
@vieiro vieiro force-pushed the hotfix/JDK-8343786 branch from fcfdd70 to 1274d5e Compare November 27, 2024 15:56
@openjdk
Copy link

openjdk bot commented Nov 27, 2024

@vieiro Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@vieiro
Copy link
Contributor Author

vieiro commented Nov 27, 2024

Rebased on master.

@gnu-andrew
Copy link
Member

Thanks. Assuming this builds as before, we can integrate.

Copy link
Member

@gnu-andrew gnu-andrew left a comment

Choose a reason for hiding this comment

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

This looks ok to go in, but I don't know if you want to hold off for now to allow testing of #2966 with MacOS 12.

@openjdk
Copy link

openjdk bot commented Nov 28, 2024

⚠️ @vieiro This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@vieiro
Copy link
Contributor Author

vieiro commented Nov 28, 2024

This looks ok to go in, but I don't know if you want to hold off for now to allow testing of #2966 with MacOS 12.

I think this change with --disable-warnings-as-errors supersedes #2966 , so let's close #2966 and let's get this in.

Next efforts should go to fix the Clhsdb test failure (adding log for the record).

clhsdb-failure.txt

@vieiro
Copy link
Contributor Author

vieiro commented Dec 1, 2024

/approval request Bump 11u GHA to macos-13/ XCode 14.3.1 since macos-12/XCode 13.4.1 is going to be deprecated

@openjdk
Copy link

openjdk bot commented Dec 1, 2024

@vieiro
8343786: The approval request has been created successfully.

@openjdk openjdk bot added the approval label Dec 1, 2024
@jerboaa
Copy link
Contributor

jerboaa commented Dec 6, 2024

Next efforts should go to fix the Clhsdb test failure (adding log for the record).

Agreed. Looks like a backport of https://bugs.openjdk.org/browse/JDK-8243455 would fix it (test only change).

@vieiro
Copy link
Contributor Author

vieiro commented Dec 9, 2024

Agreed. Looks like a backport of https://bugs.openjdk.org/browse/JDK-8243455 would fix it (test only change).

Yep, but that's far away from the current state in 11 (8244670, 8273928, 8264775, 8243455, 8261929, 8261098, 8247514 and/or 8260296) may need to be applied first.

Also it seems this is in ProblemList.txt because of (8294316 and 8267433).

I'll try to investigate during the next weeks.

@vieiro
Copy link
Contributor Author

vieiro commented Dec 12, 2024

After some investigation it seems that the ArrayIndexOutOfBoundsException is just a consequence of a previous error:

2024-11-27T16:35:06.3750870Z Opening core file, please wait...
2024-11-27T16:35:06.3751320Z ERROR: failed to workaround classshareing
2024-11-27T16:35:06.3751780Z Unable to open core file

I applied JDK-8294316 "SA core file support is broken on macosx-x64 starting with macOS 12.x" in this fork and the core files are now properly parsed and the test passes without problems.

I'll try to backport JDK-8294316 to upper OpenJDK versions and get it into 11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

3 participants