Skip to content

8385815: [CRaC] Fix aarch64 failing testcases#321

Closed
jankratochvil wants to merge 46 commits into
openjdk:cracfrom
jankratochvil:8385815
Closed

8385815: [CRaC] Fix aarch64 failing testcases#321
jankratochvil wants to merge 46 commits into
openjdk:cracfrom
jankratochvil:8385815

Conversation

@jankratochvil

@jankratochvil jankratochvil commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

test/jdk/jdk/crac/CPUFeatures/SimpleCPUFeaturesTest.java
test/jdk/jdk/crac/engine/CheckCPUFeaturesTest.java

It needs some updates for the new CPU Features support.



Progress

  • Change must not contain extraneous whitespace

Issue

  • JDK-8385815: [CRaC] Fix aarch64 failing testcases (Bug - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 321

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/crac/pull/321.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper

bridgekeeper Bot commented Jun 2, 2026

Copy link
Copy Markdown

👋 Welcome back jkratochvil! A progress list of the required criteria for merging this PR into crac 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 commented Jun 2, 2026

Copy link
Copy Markdown

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

8385815: [CRaC] Fix aarch64 failing testcases

Reviewed-by: tpushkin

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 crac branch:

  • 834e730: 8388144: [CRaC] CRIU fails to restore jdk/crac/SecureRandom/InterlockTest

Please see this link for an up-to-date comparison between the source branch of this pull request and the crac branch.
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.

➡️ To integrate this PR with the above commit message to the crac branch, type /integrate in a new comment.

@openjdk openjdk Bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jun 2, 2026
@mlbridge

mlbridge Bot commented Jun 2, 2026

Copy link
Copy Markdown

@jankratochvil

Copy link
Copy Markdown
Collaborator Author

The failed CI is a false positive:

Comment thread src/hotspot/cpu/aarch64/vm_version_aarch64.cpp Outdated
@TimPushkin TimPushkin changed the title 8385815: CRaC: Fix aarch64 failing testcases 8385815: [CRaC] Fix aarch64 failing testcases Jun 3, 2026
@openjdk openjdk Bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jun 8, 2026
@jankratochvil

Copy link
Copy Markdown
Collaborator Author

With upstream CRIU it somehow does not work now:

+ bin/java -XX:CRaCCheckpointTo=cr -XX:+ShowCPUFeatures -XX:CRaCEngine=criuengine -XX:CPUFeatures=0x21461805ddfbf7,0xfcc0000000000000 CPUFeaturesAWS
This machine's CPU features are: -XX:CPUFeatures=0xe14e1b9dfdfbff,0xfcc0000000000000
CPU features being used are: -XX:CPUFeatures=0x21461805ddfbf7,0xfcc0000000000000
Original environment variable: GLIBC_TUNABLES=glibc.pthread.rseq=0
Re-exec of java with new environment variable: GLIBC_TUNABLES=glibc.pthread.rseq=0:glibc.cpu.hwcaps=,-ERMS,-AVX512F,-AVX512CD,-AVX512BW,-AVX512DQ,-AVX512VL
This machine's CPU features are: -XX:CPUFeatures=0xe14e1b9dfdfbff,0xfcc0000000000000
CPU features being used are: -XX:CPUFeatures=0x21461805ddfbf7,0xfcc0000000000000
CPUFeaturesCheck 0
CPUFeaturesCheck 1
+ set +e
+ bin/jcmd CPUFeaturesAWS JDK.checkpoint
CPUFeaturesCheck 2
CPUFeaturesCheck 3
CPUFeaturesCheck 4
CPUFeaturesCheck 5
CPUFeaturesCheck 6
CPUFeaturesCheck 7
Could not find any processes matching : 'CPUFeaturesAWS'
+ wait 2084
CPUFeaturesCheck 8
CPUFeaturesCheck 9
...
CPUFeaturesCheck 367
CPUFeaturesCheck 368
CPUFeaturesCheck 369
...

@openjdk openjdk Bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jun 8, 2026
@jankratochvil
jankratochvil marked this pull request as draft June 8, 2026 19:37
@openjdk openjdk Bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jun 8, 2026
Comment thread src/hotspot/cpu/x86/vm_version_x86.hpp
@TimPushkin TimPushkin mentioned this pull request Jun 12, 2026
2 tasks
Comment thread src/hotspot/cpu/aarch64/vm_version_aarch64.cpp Outdated
Comment thread test/jdk/jdk/crac/CPUFeatures/CPUFeaturesAWS.sh Outdated
@jankratochvil

Copy link
Copy Markdown
Collaborator Author

windows-aarch64 is a false positive failure:

error: msys: signature from "Christoph Reiter (MSYS2 development key) <reiter.christoph@gmail.com>" is unknown trust

@TimPushkin
TimPushkin self-requested a review July 14, 2026 07:17
@jankratochvil

Copy link
Copy Markdown
Collaborator Author

/integrate

@openjdk openjdk Bot added the sponsor Pull request is ready to be sponsored label Jul 14, 2026
@openjdk

openjdk Bot commented Jul 14, 2026

Copy link
Copy Markdown

@jankratochvil
Your change (at version e5c19cf) is now ready to be sponsored by a Committer.

@openjdk openjdk Bot removed the sponsor Pull request is ready to be sponsored label Jul 15, 2026
Comment thread src/hotspot/cpu/x86/vm_version_x86.cpp
Comment thread src/hotspot/cpu/x86/vm_version_x86.cpp
Comment thread src/hotspot/cpu/x86/vm_version_x86.cpp Outdated
@TimPushkin
TimPushkin self-requested a review July 20, 2026 06:23
@jankratochvil

Copy link
Copy Markdown
Collaborator Author

/integrate

@openjdk

openjdk Bot commented Jul 20, 2026

Copy link
Copy Markdown

Going to push as commit 49b2867.
Since your change was applied there has been 1 commit pushed to the crac branch:

  • 834e730: 8388144: [CRaC] CRIU fails to restore jdk/crac/SecureRandom/InterlockTest

Your commit was automatically rebased without conflicts.

@openjdk openjdk Bot added the integrated Pull request has been integrated label Jul 20, 2026
@openjdk openjdk Bot closed this Jul 20, 2026
@openjdk openjdk Bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jul 20, 2026
@openjdk

openjdk Bot commented Jul 20, 2026

Copy link
Copy Markdown

@jankratochvil Pushed as commit 49b2867.

💡 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

Development

Successfully merging this pull request may close these issues.

3 participants