Skip to content
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

Enhance TKG repeat feature #356

Merged
merged 1 commit into from
Sep 26, 2022
Merged

Enhance TKG repeat feature #356

merged 1 commit into from
Sep 26, 2022

Conversation

renfeiw
Copy link
Contributor

@renfeiw renfeiw commented Sep 13, 2022

  • add ITERATIONS and AOT_ITERATIONS options
  • add option to continue or stop after failure is detected

Signed-off-by: renfeiw renfeiw@ca.ibm.com

@renfeiw
Copy link
Contributor Author

renfeiw commented Sep 19, 2022

related: #352

@renfeiw
Copy link
Contributor Author

renfeiw commented Sep 19, 2022

test target options platform grinder
floatSanityTests ITERATIONS=5 x86-64_linux 27751
floatSanityTests ITERATIONS=5 EXIT_FAILURE=true x86-64_linux 27752
floatSanityTests ITERATIONS=5 EXIT_FAILURE=true AOT_ITERATIONS=10 x86-64_linux 27753
floatSanityTests ITERATIONS=5 EXIT_FAILURE=true AOT_ITERATIONS=10 TEST_FLAG=AOT x86-64_linux 27754
testSCCMLTests2(aot explicit test) ITERATIONS=5 EXIT_FAILURE=true AOT_ITERATIONS=10 TEST_FLAG=AOT x86-64_linux 27755
floatSanityTests ITERATIONS=10 ppc64le_linux 27778
floatSanityTests ITERATIONS=10 ppc64_aix 27779
floatSanityTests ITERATIONS=10 s390x_linux 27780
floatSanityTests ITERATIONS=10 x86-64_mac 27781
floatSanityTests ITERATIONS=10 x86-64_windows 27782
floatSanityTests ITERATIONS=10 s390x_zos 27787
floatSanityTests ITERATIONS=10 x86-32_windows 27788
sanity ppc64le_linux 27792
all (BUILD_LIST=TKG/examples/base) ITERATIONS=6 EXIT_FAILURE=true ppc64le_linux 27790
all (BUILD_LIST=TKG/examples/base) ITERATIONS=6 EXIT_FAILURE=false ppc64le_linux 27791

@llxia
Copy link
Contributor

llxia commented Sep 20, 2022

Could you update TKG_REPEAT and AOT_REPEAT to ITERATIONS and AOT_ITERATIONS in the description? Thanks

@renfeiw
Copy link
Contributor Author

renfeiw commented Sep 20, 2022

Could you update TKG_REPEAT and AOT_REPEAT to ITERATIONS and AOT_ITERATIONS in the description? Thanks

Thanks updated.

Copy link
Contributor

@llxia llxia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @renfeiw, this is nice! I ran an open Grinder to see what the console output looks like.

Note to self: We can likely revert/remove this change in Jenkinsfilebase given it is no longer needed to show iteration progress (and only works for Jenkins environment)

@smlambert
Copy link
Contributor

smlambert commented Sep 20, 2022

If I look at the console output, there is a change required in Jenkinsfilebase so that we do not multiply ITERATIONS by ITERATIONS, as I think we both run the make target ITERATIONS times, but also have a for loop in runTest() in Jenkinsfilebase, which we will need to remove or end up running ITERATIONS2.

Not sure if we want to merge this first or coordinate a PR to update Jenkinsfilebase and merge together.

@renfeiw
Copy link
Contributor Author

renfeiw commented Sep 23, 2022

Yes, it would be better to merge together with this PR: adoptium/aqa-tests#3989

@renfeiw
Copy link
Contributor Author

renfeiw commented Sep 23, 2022

@llxia
Copy link
Contributor

llxia commented Sep 23, 2022

hmm, we only have 1 TAP for the Grinder. I cannot tell we had 3 iterations in the TAP file https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/5709/tapResults/

@renfeiw
Copy link
Contributor Author

renfeiw commented Sep 23, 2022

hmm, we only have 1 TAP for the Grinder. I cannot tell we had 3 iterations in the TAP file https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/5709/tapResults/

This is the next step we need to add the iteration info into result summary.

- add TKG_ITERATIONS and AOT_ITERATIONS options
- add option to continue or stop after failure is detected

Signed-off-by: renfeiw <renfeiw@ca.ibm.com>
@renfeiw
Copy link
Contributor Author

renfeiw commented Sep 23, 2022

Just had a discussion with @llxia We think it's not the right stage to switch over completely to TKG iteration. So I will update the PR to use TKG_ITERATIONS and it will not conflict with Jenkins ITERATIONS.

@renfeiw
Copy link
Contributor Author

renfeiw commented Sep 23, 2022

grinder with TKG_ITERATIONS option: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/5712/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants