Automate openembedded smoke test and integrate into Lava

Registered by Soumya Basak

this blueprint is created to track the working effort of openembedded easy to automate the test cases and submit it to the LAVA server, to reduce the effort of manual testing for openembedded Daily and weekly testing.

Blueprint information

Status:
Complete
Approver:
Alexander Sack
Priority:
Medium
Drafter:
Soumya Basak
Direction:
Needs approval
Assignee:
Soumya Basak
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 2013.04
Started by
Soumya Basak
Completed by
Fathi Boudra

Related branches

Sprints

Whiteboard

Meta:
Headline: Automate all easy to automate test cases from our openembedded test wiki page.
Card: 360 http://cards.linaro.org/browse/CARD-360
Acceptance:
* create a personal branch with bzr for yaml file.
* the job definition .json file submitted to Lava successfully, correct error if any.
* personal test job should run successfully with Launchpad yaml.
* submit the test case result on lava dashboard.
wiki: Wiki: https://wiki.linaro.org/Platform/QA/TestCases/OpenEmbedded.
Lava-Dashboard image report: http://validation.linaro.org/lava-server/dashboard/image-reports/

[22 April 2013,soumya-basak]: validate the test result is on lava dashboard.
oe minimal builds: http://validation.linaro.org/lava-server/dashboard/image-reports/minimal-armv8
oe lamp+sdk image: http://validation.linaro.org/lava-server/dashboard/image-reports/lamp-armv8
[19-April-2013,soumya-basak]: job # 52299 http://validation.linaro.org/lava-server/scheduler/job/52299/log_file, seems the test cases pass except gcc, mysql test def.
[18-April-2013,soumya-basak]: job # 52195 http://validation.linaro.org/lava-server/scheduler/job/52195, test run successfully on Lava test shell.
[4-April-2013,soumya-basak]: submit job on LAVA-scheduler with job id# 50838.
http://validation.linaro.org/lava-server/scheduler/job/50838
due to the rtsm_foundation-armv8 device is in idle state on LAva, the job still in Submitted status (no running status).
[1-April-2013,soumya-basak]: submit job on Lava http://validation.linaro.org/lava-server/scheduler/job/50688
due to device idle on Lava Schedular job, the job is still in Submitted state.
[20-Mar-2013,soumya-basak]: Submitted OE job [job # http://validation.linaro.org/lava-server/scheduler/job/49981]OE lamp image build: http://snapshots.linaro.org/openembedded/pre-built/vexpress64/latest/vexpress64-openembedded_lamp-armv8_20130315-269.img.gz into LAVA test shell for test the test definition to run into Lava. busybox, kernel-version, ethernet are Pass shown on LAVA-test result.
[14-Mar-2013, soumya-basak]: Due to the work in progress for automated openembedded test-suite into Lava, we can make this BP 13.03 Milestone target.
[13-Mar-2013, soumya-basak]: lp bug : 1154930 created and link to the BP.
[13-Mar-2013,soumya-basak]: submit OE job id: 49673
http://validation.linaro.org/lava-server/scheduler/job/49673/definition
result is PASS into Lava test shell with Lava-test-runner tools. and all the test cases pass.
[06-Mar-2013,soumya-basak]: submit OE job (http://validation.linaro.org/lava-server/scheduler/job/49258/log_file), it seems from the log details, *lava-test-runner* package is not present into the build. @hrw please see the issue.
[5-Mar-2013,soumya-basak]: submit job with job id: 49258.
http://validation.linaro.org/lava-server/scheduler/job/49258
[12-Feb-2013,soumya-basak]: job submit id: 47688; something wrong inside the configuration.
[22-Jan-2013,soumya-basak]: test definition for openembedded is added to the launchpad.
url: http://bazaar.launchpad.net/~soumya-basak/sample/trunk/files
[22-Jan-2013,soumya-basak]: write a basic test-case definition in .yaml file and upload it to bzr push lp:~soumya-basak/+junk/basic_test.yaml
[22-Jan-2013,soumya-basak]: submit a job to the Lava schedular with job id# 45717

(?)

Work Items

Work items:
[soumya-basak] : Submit test job with "lava-test-runner": DONE
[soumya-basak] : lava-test-shell job .json file should run fine without any issue: DONE
[soumya-basak] : revision of .json file and submit one openembedded job into lava: DONE
[soumya-basak] : create and submit a job on lava: DONE
[soumya-basak] : create a automation file for kernel version test: DONE
[soumya-basak] : explore the test cases from our openembedded test wiki and write a smoke test experiment based on the test cases: DONE
[soumya-basak] : definition of the job has to be done in the .json file and send it to the LAVA: DONE
[soumya-basak] : create a job with your own branch and add few command and checked it and submit the job into lava: DONE

This blueprint contains Public information 
Everyone can see this information.