Comment 0 for bug 1212126

Revision history for this message
Soumya Basak (soumya-basak) wrote : "perf" test does not execute on Lava dashboard Linaro openembedded lamp image

Lava dashboard: http://validation.linaro.org/dashboard/image-reports/lamp-armv8
Linaro-openembedded Lamp builds: https://ci.linaro.org/jenkins/job/openembedded-armv8-pre-built-images-vexpress64/423

Lava validation: http://validation.linaro.org/dashboard/streams/public/team/linaro/pre-built-vexpress64/bundles/17301ddf6afb100e4cb4848772428cfbed4a9bb2/

the execution of "perf" test suites run fails.

results bundles: http://validation.linaro.org/dashboard/streams/public/team/linaro/pre-built-vexpress64/bundles/17301ddf6afb100e4cb4848772428cfbed4a9bb2/7018d4fe-ee8b-4b29-8c67-ce7cf013ebbc/

error observed from the complete log report:

<LAVA_TEST_RUNNER>: running 0_perf installer ...
 + cd /lava/tests/0_perf
 <LAVA_TEST_RUNNER>: save hardware/software context info...
 <LAVA_TEST_RUNNER>: looking for work in /lava/lava-test-runner.conf-1376009045
 <LAVA_TEST_RUNNER>: running 0_perf under lava-test-shell...
 <LAVA_SIGNAL_STARTRUN 0_perf 7018d4fe-ee8b-4b29-8c67-ce7cf013ebbc>
 echo LAVA_ACK
 + set -x
 ++ whoami
 + '[' root '!=' root ']'
 + '[' -e /usr/bin/apt-get ']'
 + echo 'Performing perf record test...'
 Performing perf record test...
 + TCID='perf record test'
 + perf record -e cycles -o perf-lava-test.data stress -c 4 -t 10
 + tee perf-record.log
 ./run-perf-test.sh: line 48: perf: command not found
 ++ cut -f 1 '-d '
 ++ grep -ao '[0-9]+[ ]+samples' perf-record.log
 + samples=
 + '[' -gt 1 ']'
 ./run-perf-test.sh: line 50: [: -gt: unary operator expected
 + echo 'perf record test : FAIL'
 perf record test : FAIL
 + rm perf-record.log
 + echo 'Performing perf report test...'
 Performing perf report test...
 + TCID='perf report test'
 + tee perf-report.log
 + perf report -i perf-lava-test.data
 ./run-perf-test.sh: line 60: perf: command not found
 ++ grep -c -e '^[ ]+[0-9]+.[0-9]+%' perf-report.log
 + pcnt_samples=0
 + '[' 0 -gt 1 ']'
 + echo 'perf report test : FAIL'
 perf report test : FAIL
 + rm perf-report.log perf-lava-test.data
 rm: cannot remove 'perf-lava-test.data': No such file or directory
 + echo 'Performing perf stat test...'
 Performing perf stat test...
 + TCID='perf stat test'
 + tee perf-stat.log
 + perf stat -e cycles stress -c 4 -t 10
 ./run-perf-test.sh: line 72: perf: command not found
 ++ sed s/,//g
 ++ grep -o '[0-9,]+[ ]+cycles' perf-stat.log
 ++ cut -f 1 '-d '
 + cycles=
 + '[' -gt 1 ']'
 ./run-perf-test.sh: line 74: [: -gt: unary operator expected
 + echo 'perf stat test : FAIL'
 perf stat test : FAIL
 + rm perf-stat.log
 + echo 'Performing '''perf test'''...'
 Performing 'perf test'...
 + TCID='perf test'
 + perf test
 + sed -e 's/FAILED!/FAIL/g' -e s/Ok/PASS/g -e 's/[ ]?[0-9]+:/perf test -/g' -e 's/:/ :/g'
 ./run-perf-test.sh : lineperf test - perf : command not found