switcher-tests: Fails on TC2

Bug #1084568 reported by Naresh Kamboju
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro big.LITTLE
Fix Released
Undecided
Naresh Kamboju
Linaro big.LITTLE MP
Fix Released
Undecided
Naresh Kamboju

Bug Description

I have ported core-test suited and started executed on TC2.
while testing i have noticed switcher-tests fails and hugs (no crash dump observed).
Test has performed on android.
root@android:/ # run_stress_switcher_tests.sh -t 14

Linux:
Linux version 3.7.0-rc6-00524-g56f946e (vishal@ubuntu) (gcc version 4.4.7 (Ubuntu/Linaro 4.4.7-1ubuntu2) ) #60 SMP Thu Nov 29 10:56:37 IST 2012

Log:

root@android:/ # run_stress_switcher_tests.sh -t 14

Number of CPUs successfully brought up during boot = 2

Running switcher-tests ..
===== 100_switches.sh =====
100_switches : switch 100 times between big and little
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
ERROR : $freq
===== reswitch.sh =====
reswitch : switch 5 times on the same cluster, and check if switcher behavior is consistent
Switch to little with success
Switch to little with success
Switch to little with success
Switch to little with success
Switch to little with success
Switch to big with success
Switch to big with success
Switch to big with success
Switch to big with success
Switch to big with success
SUCCESS!!
===== fastswitch.sh =====
fastswitch : switch 100 times between big and little without waiting between switches
Switch to little
Switch to big
Switch to little
Switch to big
Switch to little
Switch to big
Switch to little
Switch to big
Switch to little
Switch to big
Switch to little
Switch to big
Switch to little
Switch to big
Switch to litt

Tags: qa-services
description: updated
David Zinman (dzinman)
Changed in linaro-big-little-system:
assignee: nobody → Naresh Kamboju (naresh-kamboju)
Revision history for this message
Naresh Kamboju (naresh-kamboju) wrote :

I have investigated and found the delay needs to be added in script file.
I will add delay and test it,

Revision history for this message
Naresh Kamboju (naresh-kamboju) wrote :

I have added a delay of sleep 1. still test failed.
the kernel config noticed as "CONFIG_ARM_VEXPRESS_BL_CPUFREQ=y"

Revision history for this message
Naresh Kamboju (naresh-kamboju) wrote :

I would like to conclude this issue from QA,

100_switches.sh test case has failed on latest TC2 kernel and I was asked us to add delay 50ms, which is the expected delay to be added between writing on to scaling_setspeed and reading the same values from cpuinfo_cur_freq.

At delay 50ms test failed. so I have added delay 1 sec and still test case failed. From QA side add more delay to test case is not accepted. where as after adding 50ms delay test PASS with kernel config CONFIG_ARM_BL_CPUFREQ and FAILED with CONFIG_ARM_VEXPRESS_BL_CPUFREQ.

I request Kernel developers should take this case in to consideration and reduce the latency.

I have done experiments with delay vs kernel configs. the details can be found in below speadsheet.
https://docs.google.com/a/linaro.org/spreadsheet/ccc?key=0Ai9ggMs8bsGJdGlKZW1JTERJTFk5TDRGdnR4RHQwTHc#gid=0

Kernel Config Target cpuinfo_max_freq cpuinfo_min_freq cpuinfo_transition_latency with out sleep usleep 1000 usleep 50000 usleep 100000 usleep 1000000 usleep 1000000
CONFIG_ARM_VEXPRESS_BL_CPUFREQ TC2 2400000 350000 1000000 FAILED FAILED FAIL FAIL FAIL FAIL
CONFIG_ARM_BL_CPUFREQ TC2 1000000 100000 1 FAILED FAILED PASS PASS PASS PASS

-Naresh Kamboju

Changed in linaro-big-little-system:
assignee: Naresh Kamboju (naresh-kamboju) → David Zinman (dzinman)
David Zinman (dzinman)
Changed in linaro-big.little.mp:
assignee: nobody → Naresh Kamboju (naresh-kamboju)
Revision history for this message
Naresh Kamboju (naresh-kamboju) wrote :
Download full text (9.8 KiB)

From the latest build this test passed.

test log:
-----------
Running switcher-tests ..
===== 100_switches.sh =====
100_switches : switch 100 times between big and little
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch to little with success
Switch to big with success
Switch ...

Read more...

Changed in linaro-big-little-system:
status: New → Fix Committed
David Zinman (dzinman)
Changed in linaro-big-little-system:
assignee: David Zinman (dzinman) → nobody
assignee: nobody → Naresh Kamboju (naresh-kamboju)
status: Fix Committed → Confirmed
milestone: none → 13.01
Amit Kucheria (amitk)
tags: added: qa-services
removed: qa-serivces
Changed in linaro-big-little-system:
status: Confirmed → Fix Committed
Changed in linaro-big-little-system:
status: Fix Committed → Fix Released
Changed in linaro-big.little.mp:
status: New → 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.