-
Notifications
You must be signed in to change notification settings - Fork 712
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
OJDK MHs test excludes + Process a list of test exclude files #12779
Conversation
1845973
to
be569b9
Compare
This PR is created based upon the discussion in #11935. I created adoptium/TKG#198 to append OJDK MH test exclude file to How should I test these changes? This PR will require adoptium/TKG#198. In OpenJ9 personal builds, I didn't find a field to specify a custom TKG repo. Also, any feedback is welcome on the approach taken in this PR. Note: Use |
Would it work to temporarily add a system property when the java preprocessor tag OPENJDK_METHODHANDLES is enabled? The system properties are visible via -XshowSettings:properties |
Yes, it should work. The system property can be added in |
7cfaa98
to
47d9e49
Compare
@pshipton @llxia @smlambert This PR is required for |
It will be easier to code review after applying: |
This PR is #12779, I assume you mean adoptium/TKG#198 |
Correct. I have amended my previous comment. |
47d9e49
to
910bceb
Compare
Tested using this PR and adoptium/TKG#198 + JDK8 nightly:
|
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.
LGTM
Currently, IncludeExcludeTestAnnotationTransformer only processes a single exclude file. It has been updated to process a list of exclude files. The list can be provided via the "EXCLUDE_FILE" environment variable where the exclude files are separated by commas. The name of the environment variable is left unchanged. So, the existing scripts do not need to be updated. Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
The new system property can be checked through "-XshowSettings:properties". TODO: eclipse-openj9#12811 Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
910bceb
to
2d75afd
Compare
I have updated commit 2: "Create a test exclude file for OJDK MHs". @EricYangIBM has fixed #11528 via #12799 and #12806. So, #11528 related failures no longer need to be excluded. |
@fengxue-IS @JasonFengJ9 I have disabled the tests related to the following issues: #11924, #11927 and #12690. I have tagged you since you are either working or will work to fix these issues. Once a fix is merged, the excluded test(s) should be re-enabled. fyi @tajila |
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.
Approving this, think there is potential follow-up work as noted.
test/Utils/src/org/openj9/test/util/IncludeExcludeTestAnnotationTransformer.java
Show resolved
Hide resolved
jenkins test sanity xlinuxojdk292 jdk16 depends ibmruntimes/openj9-openjdk-jdk16#29 |
Jenkins test sanity plinux jdk16 |
The PR build I launched won't pass without adoptium/TKG#198. @babsingh has verified that the changes work with the TKG PR so I will merge this now. |
Commit 1: Process a list of test exclude files
Currently,
IncludeExcludeTestAnnotationTransformer
only processes a singleexclude file.
It has been updated to process a list of exclude files.
The list can be provided via the
EXCLUDE_FILE
environment variable where theexclude files are separated by commas.
The name of the environment variable is left unchanged. So, the existing
scripts do not need to be updated.
Commit 2: Create a test exclude file for OJDK MHs
Commit 3: Add a system property to check if OJDK MHs are enabled
The new system property can be checked through
-XshowSettings:properties
.TODO: #12811
Signed-off-by: Babneet Singh sbabneet@ca.ibm.com