-
Notifications
You must be signed in to change notification settings - Fork 38
Refactor CI test scripts #263
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
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
dd0c9bf
Only do normal build once
qinsoon 1fb0c39
Minor fix
qinsoon 0e0fe7c
Use proper heap size in test scripts. test-all.yml calls
qinsoon daf98e6
Avoid using env in job name
qinsoon 2584532
Remove concurrency in called workflows
qinsoon 76d1ff7
Fix artifact download
qinsoon 0307418
Remove some duplicated scripts.
qinsoon f6e0d76
Fix dacapo-2006 test
qinsoon 64b4466
export DEBUG_LEVEL for feature builds
qinsoon fe2d79e
Run NoGC with 1G heap
qinsoon c22a144
Allow build with a different mmtk-core version. Separate build from test
qinsoon a482a90
Always export build suffix
qinsoon c0f4bb3
Seprate malloc mark sweep tests and mark-in-header tests
qinsoon 1e1e472
Run extreme-assertions tests with normal heap size (4x instead of 2x)
qinsoon f466b04
Renaming some scripts. Allow workflow_dispatch to trigger tests
qinsoon 2530d23
Trigger test-core-extended once
qinsoon f636d6f
Hard code mmtk-core repo/ref for testing
qinsoon 8df5d57
Skip some tests that may fail
qinsoon 10f93b9
Test with Kunshan's vo bit fix
qinsoon b581535
Revert trigger for extended tests
qinsoon 88978e9
Make scripts still work for mmtk-core tests
qinsoon 49535c2
Build time env vars are prefixed with MMTK_
qinsoon 016370e
Fix test script for mmtk-core
qinsoon 7c6357b
Add two workflows for mmtk-core tests (placeholder)
qinsoon fb629c3
Update mmtk-core version
qinsoon 936c09f
Update mmtk-core version
qinsoon ab4deed
Use checkout v4
qinsoon 269858f
Remove the tar file renaming before uploading. Matching both tar file
qinsoon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,57 +4,53 @@ set -xe | |
|
|
||
| unset JAVA_TOOL_OPTIONS | ||
|
|
||
| export MMTK_EXTREME_ASSERTIONS=1 | ||
| . $(dirname "$0")/ci-build.sh | ||
| run_subset() { | ||
| heap_multiplier=$1 | ||
|
|
||
| cd $OPENJDK_PATH | ||
| runbms_dacapo2006_with_heap_multiplier fop $heap_multiplier | ||
| runbms_dacapo2006_with_heap_multiplier luindex $heap_multiplier | ||
| } | ||
|
|
||
| # -- SemiSpace -- | ||
| export MMTK_PLAN=SemiSpace | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought the idea was to move away from using environment variables since OpenJDK has support for passing MMTk options |
||
|
|
||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar fop | ||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar luindex | ||
| run_subset 4 | ||
|
|
||
| # --- Immix --- | ||
| export MMTK_PLAN=Immix | ||
|
|
||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar fop | ||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar luindex | ||
| run_subset 4 | ||
|
|
||
| # --- GenImmix --- | ||
| export MMTK_PLAN=GenImmix | ||
|
|
||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar fop | ||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar luindex | ||
| run_subset 4 | ||
|
|
||
| # --- StickyImmix --- | ||
| export MMTK_PLAN=StickyImmix | ||
|
|
||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar fop | ||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar luindex | ||
| run_subset 4 | ||
|
|
||
| # -- GenCopy -- | ||
| export MMTK_PLAN=GenCopy | ||
|
|
||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar fop | ||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar luindex | ||
| run_subset 4 | ||
|
|
||
| # -- NoGC -- | ||
| export MMTK_PLAN=NoGC | ||
|
|
||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms1G -Xmx1G -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar fop | ||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms1G -Xmx1G -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar luindex | ||
| runbms_dacapo2006_with_heap_size fop 1000 1000 | ||
| runbms_dacapo2006_with_heap_size luindex 1000 1000 | ||
|
|
||
| # --- MarkSweep --- | ||
| export MMTK_PLAN=MarkSweep | ||
|
|
||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar fop | ||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms500M -Xmx500M -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar luindex | ||
| run_subset 8 | ||
|
|
||
| # -- PageProtect -- | ||
| sudo sysctl -w vm.max_map_count=655300 | ||
| export MMTK_PLAN=PageProtect | ||
|
|
||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -Xms4G -Xmx4G -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar fop | ||
| # Note: Disable compressed pointers for luindex as it does not work well with GC plans that uses virtual memory excessively. | ||
| build/linux-x86_64-normal-server-$DEBUG_LEVEL/jdk/bin/java -XX:+UseThirdPartyHeap -server -XX:MetaspaceSize=100M -XX:-UseCompressedOops -XX:-UseCompressedClassPointers -Xms4G -Xmx4G -jar $DACAPO_PATH/dacapo-2006-10-MR2.jar luindex | ||
| # Note: Disable compressed pointers as it does not work well with GC plans that uses virtual memory excessively. | ||
| runbms_dacapo2006_with_heap_size fop 4000 4000 -XX:-UseCompressedOops -XX:-UseCompressedClassPointers | ||
| runbms_dacapo2006_with_heap_size luindex 4000 4000 -XX:-UseCompressedOops -XX:-UseCompressedClassPointers | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| set -xe | ||
|
|
||
| . $(dirname "$0")/common.sh | ||
|
|
||
| unset JAVA_TOOL_OPTIONS | ||
|
|
||
| run_subset() { | ||
| heap_multiplier=$1 | ||
|
|
||
| runbms_dacapo2006_with_heap_multiplier antlr $heap_multiplier | ||
| runbms_dacapo2006_with_heap_multiplier fop $heap_multiplier | ||
| runbms_dacapo2006_with_heap_multiplier luindex $heap_multiplier | ||
| } | ||
|
|
||
| # --- Immix --- | ||
| # export MMTK_PLAN=Immix | ||
| # run_subset 4 | ||
|
|
||
| # --- GenImmix --- | ||
| # export MMTK_PLAN=GenImmix | ||
| # run_subset 4 | ||
|
|
||
| # --- StickyImmix --- | ||
| # export MMTK_PLAN=StickyImmix | ||
| # run_subset 4 | ||
|
|
||
| # --- MarkSweep --- | ||
| export MMTK_PLAN=MarkSweep | ||
|
|
||
| run_subset 8 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This variable is unused