op-test icon indicating copy to clipboard operation
op-test copied to clipboard

Git Bisection Automated for build of a kernel

Open Tejas3772 opened this issue 11 months ago • 2 comments

Description

This Pull Request includes a Test_build.py that builds the kernel while checking for build failure, if a build failure is found it directly calls Build_bisector.py that runs the bisection for build using the make.sh file from the test_binaries and finally if the bisection occurred, it returns an output.json file containing the first bad_commit, the email of the Author associated with the commit, failure directory and exit code.

Tejas3772 avatar Mar 12 '24 14:03 Tejas3772

several changes made and linux-next functionalities added

Tejas3772 avatar May 27 '24 07:05 Tejas3772

A new PR is created https://github.com/open-power/op-test/pull/849 Which inlcudes all the review comments implemented discussed above and more integrated code

some of the recent review comments

  1. All bisection boot and build libraries should go to common/OpTestUtils.py [DONE]
  2. Move Email.py code into OpTestUtils.py [DONE]
  3. All build and boot linux/os related common methods will go into common/OpTestUtils.py [DONE]
  4. Do not import a testcase inside a testcase, not a good practice [DONE]
  5. Keep build bisection code and email and bisect_flag as separate commit but single PR [DONE]
  6. relook at the linux-next bisection code and push updated code in same PR [DONE]
  7. Rerun the build bisection once with all above changes [DONE]

Once build PR merge, rebase your code and send boot bisection code with new PR

abdhaleegit avatar Jun 07 '24 06:06 abdhaleegit

new pr merged

Tejas3772 avatar Jul 30 '24 09:07 Tejas3772