-
Notifications
You must be signed in to change notification settings - Fork 710
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
Enable DDR tests for AIX #2939
Enable DDR tests for AIX #2939
Conversation
42fc757
to
91ae76a
Compare
@@ -30,7 +30,7 @@ | |||
</variations> | |||
<command>$(MKTREE) $(REPORTDIR); \ | |||
cd $(REPORTDIR); \ | |||
perl $(JVM_TEST_ROOT)$(D)TestConfig$(D)scripts$(D)tools$(D)sysvcleanup.pl zos ; \ | |||
perl $(JVM_TEST_ROOT)$(D)TestConfig$(D)scripts$(D)tools$(D)sysvcleanup.pl all zos ; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"all zos" is inconsistent with the later calls which specify "all"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all
is passed in to the sysvcleanup.pl
script to ensure data from all users is cleaned up. AIX and ZOS have different values for user info when the test target is AIX/ZOS. sysvcleanup.pl
accepts both aix
and zos
as a second option but they are identical.
<variations> | ||
<variation>NoOptions</variation> | ||
</variations> | ||
<command>$(MKTREE) $(REPORTDIR); \ | ||
cd $(REPORTDIR); \ | ||
perl $(JVM_TEST_ROOT)$(D)TestConfig$(D)scripts$(D)tools$(D)sysvcleanup.pl zos ; \ | ||
perl $(JVM_TEST_ROOT)$(D)TestConfig$(D)scripts$(D)tools$(D)sysvcleanup.pl all zos ; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"all zos"?
<variations> | ||
<variation>NoOptions</variation> | ||
</variations> | ||
<command>$(MKTREE) $(REPORTDIR); \ | ||
cd $(REPORTDIR); \ | ||
perl $(JVM_TEST_ROOT)$(D)TestConfig$(D)scripts$(D)tools$(D)sysvcleanup.pl zos ; \ | ||
perl $(JVM_TEST_ROOT)$(D)TestConfig$(D)scripts$(D)tools$(D)sysvcleanup.pl all zos ; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"all zos"?
<command>$(MKTREE) $(REPORTDIR); \ | ||
cd $(REPORTDIR); \ | ||
perl $(JVM_TEST_ROOT)$(D)TestConfig$(D)scripts$(D)tools$(D)sysvcleanup.pl all zos ; \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"all zos"?
|
||
<test> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is a specific test required for aix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sysvcleanup.pl
sets different values for user info for AIX and ZOS.
@@ -91,15 +91,14 @@ | |||
</variations> | |||
<command>$(MKTREE) $(REPORTDIR); \ | |||
cd $(REPORTDIR); \ | |||
perl $(JVM_TEST_ROOT)$(D)TestConfig$(D)scripts$(D)tools$(D)sysvcleanup.pl zos ; \ | |||
perl $(JVM_TEST_ROOT)$(D)TestConfig$(D)scripts$(D)tools$(D)sysvcleanup.pl all ; \ | |||
$(JAVA_COMMAND) $(JVM_OPTIONS) -Xint \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the -Xint from all these tests. It's there for historical reasons when the jit was less reliable, but its no longer required. The tests will run faster.
Add LD_LIBRARY_PATH and LIBPATH env variables when running ddrgen due to its new dependency on libomrsig. On AIX, the search path is not saved in the executable when it is created since we do not have a direct equivalent to setting rpath=$ORIGIN as a compiler flag. Signed-off-by: mikezhang <mike.h.zhang@ibm.com>
@mikezhang1234567890 I expect you've already noticed, but please fix the conflicts. |
- enable callsitedbgddrext, classesdbgddrext, shrcdbgddrext, and modularityddrtests cmdlinetests for AIX - enable DDR_Test for AIX - create new AIX and zOS targets in playlist.xml for the DDR cmdline tests and use correct arguments to sysvcleanup.pl script. Pass in zos option since zos and aix options are identical in sysvcleanup.pl - limit heap size in DDR tests to 256MB, since on AIX the core file scales with heap size, which can hit filesystem limits Signed-off-by: Mike Zhang <mike.h.zhang@ibm.com>
91ae76a
to
dd2abe4
Compare
@keithc-ca or @pshipton can you review this please? |
Reverting as per #3248 |
Enables tests for DDR on AIX, closes #1769
modularityddrtests cmdlinetests for AIX
tests and use correct arguments to sysvcleanup.pl script. Pass in zos
option since zos and aix options are identical in sysvcleanup.pl
scales with heap size, which can hit filesystem limits
Signed-off-by: Mike Zhang mike.h.zhang@ibm.com
This PR depends on the following extensions repo PRs, since the DDR tests do not compile without DDR enabled on AIX:
ibmruntimes/openj9-openjdk-jdk8#116
ibmruntimes/openj9-openjdk-jdk9#178
ibmruntimes/openj9-openjdk-jdk10#59
ibmruntimes/openj9-openjdk-jdk11#23
ibmruntimes/openj9-openjdk-jdk#35
Doc issue is eclipse-openj9/openj9-docs#92