op-test
op-test copied to clipboard
Git Bisection Automated for build of a kernel
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.
several changes made and linux-next functionalities added
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
- All bisection boot and build libraries should go to common/OpTestUtils.py [DONE]
- Move Email.py code into OpTestUtils.py [DONE]
- All build and boot linux/os related common methods will go into common/OpTestUtils.py [DONE]
- Do not import a testcase inside a testcase, not a good practice [DONE]
- Keep build bisection code and email and bisect_flag as separate commit but single PR [DONE]
- relook at the linux-next bisection code and push updated code in same PR [DONE]
- 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
new pr merged