Identify and implement kernel test cases to automate

Registered by Ara Pulido

Identify and implement kernel test cases to automate

Blueprint information

Status:
Started
Approver:
Marjo F. Mercado
Priority:
High
Drafter:
Leann Ogasawara
Direction:
Approved
Assignee:
Marc Tardif
Definition:
Approved
Series goal:
Accepted for lucid
Implementation:
Deployment
Milestone target:
milestone icon ubuntu-10.04-beta-1
Started by
Leann Ogasawara

Related branches

Sprints

Whiteboard

Dump of gobby notes:

Objective: integrate kernel team tests into checkbox

Leann has been working on the scripts
They should be integrate in a test suite
 * kernel smoketests (run daily, as they go quickly)
 * stress tests (run less frequently, more involved)

Problem: the kernel tests (most of them) need sudo
 * workaround: in certification labs, we know the user/password and can hard-code it
 we still need a good way to do this so the community can run these tests with proper credentials prompting

Tests in version control:
 * Create a test suite
 * Get the tree

The kernel team has around 4-5 testsuites
wakealarm tests
suspend/resume tests

Checkbox does not the concept of diverging from a previous snapshot
Checkbox does not support yet the daily v.s. monthly idea (planned for Lucid)

NB: UEC and EC2 kernels are different -- testing UEC does not necessarily help EC2

LTP
Autotest - it is available, but not enabled (it takes a long time to run)

Work items:
[cr3] Creating a blacklist of LTP tests: DONE
[cr3]Fixing the LTP build: DONE
[leannogasawara] Create a list of tests to run from autotest (ogasawara, cr3): DONE
[leannogasawara] Clean up and push branch for kernel team test scripts (ogasawara): DONE
[cr3] Review and provide feedback for https://code.edge.launchpad.net/~leannogasawara/checkbox-certification/kernel-tests: DONE
[cr3] Initial daily kernel tests running by Lucid Alpha1: DONE
[cr3] The kernel tests (most of them) need sudo: DONE
[cr3] Test results (ie failures) propagated back to the Ubuntu Kernel Team: DONE
[leannogasawara] gcov kernel testing to evaluate kernel coverage (ogasawara to build kernel, talk to fader for testing): DONE
[cr3] Merge kernel team test scripts into checkbox: DONE

(?)

Work Items