openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

Add -XX:CRaCRestoreFrom=PATH tests

Open singh264 opened this issue 1 year ago • 17 comments

Issue: https://github.com/eclipse-openj9/openj9/issues/19261 Signed-off-by: Amarpreet Singh [email protected]

singh264 avatar Jun 05 '24 18:06 singh264

@tajila @JasonFengJ9 @keithc-ca how can I request your review?

singh264 avatar Jul 12 '24 12:07 singh264

@keithc-ca Any further comments on this PR?

tajila avatar Jul 15 '24 20:07 tajila

Any further comments on this PR?

I don't even remember seeing the review request. I'll put this on my list.

keithc-ca avatar Jul 15 '24 20:07 keithc-ca

Dear @keithc-ca, I hope you are doing well, and I would like to inform you that this PR should be reviewed by you in order to complete it provided that it is on your list.

singh264 avatar May 28 '25 21:05 singh264

Please rebase and address the merge conflicts.

keithc-ca avatar May 28 '25 21:05 keithc-ca

Please know that I have rebased and addressed the merge conflicts.

singh264 avatar May 28 '25 22:05 singh264

Now the conflicts are resolved and I would like this PR to be tested before it considered to be merged.

singh264 avatar May 29 '25 21:05 singh264

You can (and should) do testing yourself without needing to wait for a review.

keithc-ca avatar Jun 02 '25 15:06 keithc-ca

Review will be re-requested for your feedback after I run the tests based on the instructions in the README file that is in the openj9/test directory.

singh264 avatar Jun 02 '25 21:06 singh264

Directory and the instructions in it were good because it led me to the build instructions for OpenJ9 V21 on a Mac and I will make progress after I obtain an update on my Apple account in order to install the latest version of Xcode and start preparing my machine.

singh264 avatar Jun 02 '25 22:06 singh264

Machine setup is blocked because of my Apple account and I would like to know if there a community machine that I can access in order to build and run the tests for the changes in this PR.

singh264 avatar Jun 03 '25 22:06 singh264

PR of this kind requires a machine that is setup to build and test OpenJ9, and @keithc-ca I would like to access a machine that has a good setup in order to build and test OpenJ9 for the code changes in this PR.

singh264 avatar Jun 06 '25 21:06 singh264

If you don't have access to a Linux system, I suggest you follow the instructions to create a docker image in which you can build and test this.

keithc-ca avatar Jun 09 '25 14:06 keithc-ca

This cannot be built on my Mac machine because it has the arm64 architecture, which is unsupported to build a docker image for OpenJ9, and therefore I would like a machine that has a good setup in order to build and test OpenJ9 for the code changes in this PR.

singh264 avatar Jun 10 '25 21:06 singh264

You can use VMWare/Virtual Box or something similar to create a linux instance on you machine.

tajila avatar Jun 11 '25 14:06 tajila

Machine of mine will attempt to utilize VirtualBox in order to build and test OpenJ9 for the code changes in this PR.

singh264 avatar Jun 12 '25 11:06 singh264

PR update is that my attempt to build OpenJ9 on my Mac machine with VirtualBox did not work, and I have regained access to my Apple acount in order to build OpenJ9 on my machine for the code changes in this PR.

singh264 avatar Jun 16 '25 22:06 singh264

PR update is that VMWare and VirtualBox cannot be utilized to build OpenJ9 on my Mac machine because they only supports arm64 virtual machines, which are not compatible with OpenJ9, and building it locally using docker x86_64 emulation is not supported because of missing system libraries associated with glibc, and therefore I would like you to reconsider my request of obtaining a community machine with good setup in order to build and test OpenJ9 for the code changes in this PR.

singh264 avatar Jun 20 '25 20:06 singh264

arm64 virtual machines, which are not compatible with OpenJ9

I expect you would be creating a Linux virtual machine (running on arm64), which definitely is supported by OpenJ9. If I misunderstand your comment, please clarify.

keithc-ca avatar Jun 20 '25 20:06 keithc-ca

Clarifying that I created an arm64 Linux virutal machine on my Mac machine with VMWare and VirtualBox, and in both cases I enountered an error regarding arm64 not being unsupported during my initial setup with docker in order to build OpenJ9 for the code changes in this PR.

singh264 avatar Jun 20 '25 20:06 singh264

If you create a Linux arm64 virtual machine, you don't need to bring docker into it. However, the docker script can be a guide as to which packages you will need to install.

keithc-ca avatar Jun 20 '25 20:06 keithc-ca

To install the dependencies of OpenJ9 properly on the arm64 Linux virtual machine, I will attempt the non-docker instructions on the virtual machine in order to build OpenJ9 for the code changes in this PR.

singh264 avatar Jun 20 '25 20:06 singh264

PR update is that I have built OpenJ9 on a VirtualBox linux virtual machine that is running on my arm64 Mac machine, and I will proceed to test OpenJ9 for the code changes in this PR.

singh264 avatar Jun 26 '25 19:06 singh264