Announce the new LTTng validation test cases

Bug #888115 reported by David Zinman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Fix Released
Medium
Avik Sil

Bug Description

Announce the new LTTng, Perf and Systemtap validation test cases once they are integrated at Lava.

Broken out from https://blueprints.launchpad.net/linaro-ubuntu/+spec/lttng-validation and https://blueprints.launchpad.net/linaro-ubuntu/+spec/systemtap-validation

David Zinman (dzinman)
summary: - Announce the new LTTng validation test case
+ Announce the new LTTng, systemtap validation test cases
description: updated
description: updated
summary: - Announce the new LTTng, systemtap validation test cases
+ Announce the new LTTng, Perf, systemtap validation test cases
Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: Announce the new LTTng, Perf, systemtap validation test cases

Avik, I know you've been working on merging those branches, can you update this bug with your latest status? Thanks.

Changed in linaro-ubuntu:
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Avik Sil (aviksil) wrote :

Worked on review comments from Paul on LTTng test, and sent merge proposal for systemtap and perf tests: https://code.launchpad.net/~linaro-foundations/lava-test/new-test-definitions

Revision history for this message
David Zinman (dzinman) wrote :

Did not make it into 11.11. Re-target to 11.12

Changed in linaro-ubuntu:
milestone: 11.11 → 11.12
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Avik, please update the bug with your current status and move it to 12.01 if it's still not fixed.

Revision history for this message
Avik Sil (aviksil) wrote :

Sent the merge proposal again with modifications as suggested by Paul, but those are not merged yet. Moving it to 12.01.

Changed in linaro-ubuntu:
milestone: 11.12 → 12.01
Revision history for this message
Avik Sil (aviksil) wrote :

Perf test is merged, removing systemtap test case as it is not much practical to include as it takes very long time to install and run.

Changed in linaro-ubuntu:
milestone: 12.01 → 12.02
summary: - Announce the new LTTng, Perf, systemtap validation test cases
+ Announce the new LTTng validation test cases
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

What is still missing to push to merge the lttng test case at lava?

Revision history for this message
Avik Sil (aviksil) wrote :
Download full text (3.2 KiB)

Currently I'm running lttng-tools test suite inside this lava test, whose typical output is following:

LAVA: (stdout) ./runall.sh
LAVA: (stdout)
LAVA: (stdout) Testing Sessions:
LAVA: (stdout) -----------
LAVA: (stdout) Create 1 session test1: OK
LAVA: (stdout) Validating created session test1: OK
LAVA: (stdout) Destroy 1 session test1: OK
LAVA: (stdout) Two session with same name: (session already exists) OK
LAVA: (stdout) Fuzzing create_session arguments: OK
LAVA: (stdout) Fuzzing destroy_session argument: OK
LAVA: (stdout) Creating 10000 sessions: OK
LAVA: (stdout) Destroying 10000 sessions: OK
LAVA: (stdout)
LAVA: (stdout) Testing kernel data structures:
LAVA: (stdout) -----------
LAVA: (stdout) Create kernel session: OK
LAVA: (stdout) Validating kernel session: OK
LAVA: (stdout) Create kernel metadata: OK
LAVA: (stdout) Validating kernel session metadata: OK
LAVA: (stdout) Creating kernel channel: OK
LAVA: (stdout) Validating kernel channel: OK
LAVA: (stdout) Creating kernel event: OK
LAVA: (stdout) Validating kernel event: OK
LAVA: (stdout) Creating kernel stream: OK
LAVA: (stdout) Validating kernel stream: OK
LAVA: (stdout)
LAVA: (stdout) --------------------------------------------------
LAVA: (stdout) Kernel tracer - Testing lttng client (liblttngctl)
LAVA: (stdout) --------------------------------------------------
LAVA: (stdout) Starting session daemon... OK
LAVA: (stdout)
LAVA: (stdout) Testing tracing kernel events:
LAVA: (stdout) -----------
LAVA: (stdout) Creating tracing session (/tmp/tmp.GiJEFD07xX): OK
LAVA: (stdout) Creating session handle: OK
LAVA: (stdout) Enabling mychan kernel channel: Enabling sched_switch kernel event: OK
LAVA: (stdout) Enabling sched_process_exit kernel event: OK
LAVA: (stdout) Enabling sched_process_free kernel event: OK
LAVA: (stdout) Disabling sched_switch kernel event: OK
LAVA: (stdout) Disabling sched_process_free kernel event: OK
LAVA: (stdout) Renabling sched_switch kernel event: OK
LAVA: (stdout) Renabling sched_process_free kernel event: OK
LAVA: (stdout) Start tracing: OK
LAVA: (stdout) Stop tracing: OK
LAVA: (stdout) Destroy tracing session: OK
LAVA: (stdout)
LAVA: (stdout) Testing tracing all kernel events:
LAVA: (stdout) -----------
LAVA: (stdout) Creating tracing session (/tmp/tmp.GiJEFD07xX): OK
LAVA: (stdout) Creating session handle: OK
LAVA: (stdout) Enabling all kernel events: OK
LAVA: (stdout) Start tracing: error starting tracing: Starting kernel trace failed
LAVA: (stdout)
LAVA: (stdout) Killing session daemon... OK
LAVA: (stdout) FAIL
LAVA: (stdout)
LAVA: (stdout) make[1]: Leaving directory `/home/aviksil/.local/share/lava_test/installed-tests/lttng/lttng-tools-2.0~pre/tests'
LAVA: (stderr) make[1]: *** [check-am] Error 1
LAVA: (stderr) make: *** [check-recursive] Error 1
LAVA: Running shell command: './lava-lttng-test/lttng-test.sh '
LAVA: (stdout) No of passed test cases: 35
LAVA: (stdout) No of failed test cases: 1
LAVA: run complete, result_id is 'lttng.2012-01-31T10:09:51Z'
ERROR: Some of test steps returned non-zero exit code

But for the results I'm just parsing "No of passed test cases: xx" and "No of failed test cases: xx" i.e. not the individual test case resu...

Read more...

Revision history for this message
Avik Sil (aviksil) wrote :

It has been merged in to lava-test.

Changed in linaro-ubuntu:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.