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

OpTestKernelTest: Add support for automated boot bisection v2.0 #865

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

abdhaleegit
Copy link
Collaborator

@abdhaleegit abdhaleegit commented Sep 24, 2024

This code is modifed and develped on top of the previous code (2f103 : OpTestKernelTest: Git bisect automation..)

With version 2.0 these are the new changes added:

  1. Added support to handle nested bisection loop, which was not working with previous code
  2. Modified code to work for end to end CI server
  3. Better handle all cases of good flow and bad flow
  4. Add json store of good boot commit for good run
  5. Fix the previous code blocker to properly manage the console thread

TODO:
Add boot json generation after bisection with bad commit
Email format for boot bug report

@abdhaleegit abdhaleegit force-pushed the bootbisect-v2 branch 2 times, most recently from 32b4cbb to 75ab46b Compare September 25, 2024 18:04
@abdhaleegit
Copy link
Collaborator Author

bootbisectionlogs.txt

@abdhaleegit abdhaleegit self-assigned this Oct 1, 2024
testcases/OpTestKernelTest.py Outdated Show resolved Hide resolved
testcases/OpTestKernelTest.py Show resolved Hide resolved
testcases/OpTestKernelTest.py Show resolved Hide resolved
testcases/OpTestKernelTest.py Show resolved Hide resolved
This code is modifed and develped on top of the previous
code (2f103 : OpTestKernelTest: Git bisect automation..)

With version 2.0 these are the new changes added:

1. Added support to handle nested bisection loop, which was not
working with previous code
2. Modified code to work for end to end CI server
3. Better handle all cases of good flow and bad flow
4. Add json store of good boot commit for good run
5. Fix the previous code blocker to properly manage the console
thread

TODO:
Add boot json generation after bisection with bad commit
Email format for boot bug report

Signed-off-by: Abdul Haleem <[email protected]>
As --depth will not have git history, so for bisection
the script needs the full history so we removed depth 1

Signed-off-by: Abdul Haleem <[email protected]>
@abdhaleegit
Copy link
Collaborator Author

@PraveenPenguin all concerns adopted, Please merge this

@PraveenPenguin PraveenPenguin merged commit ccdd8af into open-power:master Nov 19, 2024
1 check passed
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.

2 participants