LTP-Notes

Here are some miscellaneous notes about LTP

See http://ltp.sourceforge.net/documentation/how-to/ltp.php

Fuego LTP execution [edit section]

Sequence of events [edit section]

Sequence of events:

defining a new spec [edit section]

Variables - the following variables can be defined for an LTP test in a test spec:

invocation lines [edit section]

Here are different invocation lines for these scripts and programs, in Fuego:

ltp_target_run.sh [edit section]

ltp_target_run.sh looks for the environment variables TESTS, PTSTESTS and RTTESTS, and executes each test in each list.

ltprun [edit section]

ltp_target_run.sh calls runltp as follows:

Note that OUTPUT_DIR is $(pwd)/result (usually $TEST_HOME/result).

This says to:

ltp-pan [edit section]

From $TEST_HOME/result/quickhit/output.log (the output from runltp), here is a sample ltp-pan invocation:

Let's break this out:

The ltp man page says the usage is:

output logs [edit section]

Output is placed in the following files, on target (for regular tests):

output key [edit section]

Certain keywords are used in test program output: (copied from here)

LTP status [edit section]

in Tim's lab on August 3, 2017 [edit section]

How long to execute:

how to find the long-running tests [edit section]

board  ^ test  ^ duration  ^ user  ^ system  ^ test date  ^
bbb creat06 30 5 21 2017-08-03
bbb gettimeofday02 30 647 2324 2017-08-03
bbb ftruncate04_64 31 5 22 2017-08-03
bbb chown04 32 6 23 2017-08-03
bbb fchown04_16 32 3 14 2017-08-03
bbb fchown04 32 2 12 2017-08-03
bbb access04 33 5 26 2017-08-03
bbb ftruncate04 33 5 23 2017-08-03
bbb fchmod06 34 5 20 2017-08-03
bbb chown04_16 35 4 25 2017-08-03
bbb chmod06 36 4 21 2017-08-03
bbb acct01 37 4 29 2017-08-03
bbb clock_nanosleep2_01 51 2 1 2017-08-03
bbb fsync02 292 1 42 2017-08-03
bbb fork13 806 946 24970 2017-08-03
Query

inotify06 oops [edit section]

inotify06 causes the kernel to oops, with the following report:

Examples of LTP analysis [edit section]

ARC LTP instructions [edit section]

See https://github.com/foss-for-synopsys-dwc-arc-processors/ltp/blob/master/README.ARC

It lists things like:

It has a section of notes indicating requirements for the tests, including:

Examples of LTP visualization [edit section]

Linaro [edit section]

Linaro has some nice color-coded tables with LTP results: http://www.lineo.co.jp/ltp/linux-3.10.10-results/result.html

Bugs or issues [edit section]

Questions [edit section]