Android distribution of pm-qa test assets are in a read-only filesystem folder that causes tests to fail
Bug #1156610 reported by
Basil Eljuse
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro PMWG QA |
Fix Released
|
High
|
sanjay singh rawat |
Bug Description
pm-qa test assets are by default distributed in android configuration under /system/xbin/pm-qa
Based on results we obtain by running this suite it is evident that /system/xbin/pm-qa is read-only and this causes a number of test steps to fail during execution and moreover the execution logs of the test runs are lost.
Also there are failures thrown by the scripts when it queries for user id and uses that info in the script
(./cpuidle_
on an ubuntu shell:
root@localhost:~# id -u
root@localhost:~# 0
on an android shell:
root@android:/root # id -u
uid=0(root) gid=1007(log)
Need to ensure that the scripts do handle this info appropriately
Related branches
lp:~sanjay-rawat/lava-android-test/pm-qa-change
- Yongqin Liu: Approve
- Ragesh R: Pending requested
- Linaro Validation Team: Pending requested
-
Diff: 21 lines (+2/-2)1 file modifiedlava_android_test/test_definitions/pm-qa/pm-qa.sh (+2/-2)
Changed in linaro-power-qa: | |
assignee: | nobody → Hongbo Zhang (hongbo-zhang) |
importance: | Undecided → High |
Changed in linaro-power-qa: | |
assignee: | Hongbo Zhang (hongbo-zhang) → sanjay singh rawat (sanjay-rawat) |
Changed in linaro-power-qa: | |
status: | New → In Progress |
Changed in linaro-power-qa: | |
status: | In Progress → Fix Committed |
Changed in linaro-power-qa: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
An example failure log can be seen below: 02.sh[35] : [: gid=1007(log): unexpected operator/operand
cpuidle_01.10/cpu4: checking 'time' exists...
pass
cpuidle_01.11/cpu4: checking 'usage' exists...
pass
./cpuidle_02.sh
./cpuidle_
cpuidle_02.0: checking cpuidle program runs successfully (120 secs)...
jiffies are : 10000 usecs
found 5 cpu(s)
duration: 120 secs, #sleep: 1200, delay: 100000 us
duration: 120 secs, #sleep: 1200, delay: 100000 us
duration: 120 secs, #sleep: 1200, delay: 100000 us
duration: 120 secs, #sleep: 1200, delay: 100000 us
duration: 120 secs, #sleep: 1200, delay: 100000 us
Test duration exceeded 03.sh[35] : [: gid=1007(log): unexpected operator/operand 03.sh[55] : [: gid=1007(log): unexpected operator/operand
fail
./cpuidle_03.sh
./cpuidle_
./cpuidle_
cpuidle_03.0/cpu0: skipping cpu0...
skip
[ 515.150257] [sched_delayed] process 3454 (cpuidle_killer) no longer
affine to cpu1
[ 515.157914] CPU1: shutdown
cpuidle_03.0/cpu1: checking cpuidle program runs successfully (120
secs)... jiffies are : 10000 usecs
found 5 cpu(s)
cpu1 is offline, ignoring
duration: 120 secs, #sleep: 1200, delay: 100000 us
duration: 120 secs, #sleep: 1200, delay: 100000 us
duration: 120 secs, #sleep: 1200, delay: 100000 us
duration: 120 secs, #sleep: 1200, delay: 100000 us
Test duration exceeded
fail
[ 640.264465] arm_big_little: CPU 3 initialized
[ 640.327904] CPU2: shutdown
cpuidle_03.0/cpu2: checking cpuidle program runs successfully (120
secs)... jiffies are : 10000 usecs
found 5 cpu(s)
cpu1 is offline, ignoring
cpu2 is offline, ignoring
duration: 120 secs, #sleep: 1200, delay: 100000 us
duration: 120 secs, #sleep: 1200, delay: 100000 us
duration: 120 secs, #sleep: 1200, delay: 100000 us
Test duration exceeded
fail