big.little core-test enhancement
big.little core-test enhancement involves Bashism porting and trap handler and test_init test_cleanup implementation.
The current BL core-test is not compatible with Bashism, where it is working well with bash and not working with default Ubuntu shell dash. so this needs to be ported to dash, This will make sure all type of shells can run this BL core test suite without any issues.
BL core-test suite should have signal handler where it should handle the received signal and cleanup the test execution before exit.
BL core-test suite is not handling the killing bl-agitator process, where script is sending SIGTERM to bl-agitator, bl-agitator is able to receive this signal and handling it. scripts lacks in Terminating the bl-agitator process. to make sure this, kill mechanism has to be improved.
Blueprint information
- Status:
- Complete
- Approver:
- Alexander Sack
- Priority:
- High
- Drafter:
- Naresh Kamboju
- Direction:
- Approved
- Assignee:
- Naresh Kamboju
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
- Implemented
- Milestone target:
- 2012.09
- Started by
- Alexander Sack
- Completed by
- Naresh Kamboju
Related branches
Related bugs
Sprints
Whiteboard
[nkambo Sep 14, 2012]: All The Work items are DONE.
[nkambo Sep 14, 2012]: Testing on LAVA with ubuntu image Done. All Test PASS.
Results log: http://
[nkambo Sep 14, 2012]: Testing on LAVA with ubuntu image Done. All Test PASS.
Results log: http://
[nkambo Sep 13, 2012]: Testing on LAVA with ubuntu image needs to be done, waiting for the confirmation of ubuntu build along with latest core-test suite.
[nkambo Sep 12, 2012]: Testing on LAVA with ubuntu image has been tried, but the core-test suite is not updated with latest changes,
[nkambo Sep 11, 2012]: Testing on LAVA with Android image has been completed by pundiramit
[nkambo Sep 11, 2012]: Testing on LAVA is pending, this will start right after the latest build.
[nkambo Sep 11, 2012]: Code changes are completed and pushed in to repo.
https:/
[nkambo Sep 10, 2012]: Local test execution done and found one issue with bashism porting, currently fixing this.
[nkambo Sep 10, 2012]: patch has been sent for review, waiting for the comments.
[asac Sep 10, 2012]: please put comments and updates about progress into whiteboard like this...
Meta:
Roadmap: BIT_LITTLE_SWITCHER
Headline: Big Little Switcher test suite scripts has been freed from bashisms and use proper signal handlers to ensure that resources are freed in all error conditions
Acceptance: Big Little Switcher suite can run on android and ubuntu target in LAVA and the test are included in daily LAVA submissions as part of the big.LITTLE switcher QA services; an example URL with the results for android and ubuntu has been posted to the whiteboard.
Work Items
Work items:
Porting to dash: DONE
trap handler: DONE
test_init: DONE
test_cleanup: DONE
Kill mechanism: DONE
Test on FM Android : DONE
Test on FM Ubuntu : DONE
Code Review: DONE
Rework (if any) (Not Applicable): DONE
Push it in git: DONE
Test on LAVA FM Ubuntu [nkambo] : DONE
[pundiramit] Test on LAVA FM Android: DONE
Review results on LAVA: DONE