ERROR and Failures of connectivitymanagertest

Bug #1012983 reported by Yongqin Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Undecided
Unassigned

Bug Description

I run the following command according to the wiki description:
1. adb shell am instrument -w com.android.connectivitymanagertest/.ConnectivityManagerUnitTestRunner
2. adb shell am instrument -e stressnum 5 -w com.android.connectivitymanagertest/.ConnectivityManagerStressTestRunner
3. adb shell am instrument -e ssid auto1234 -w com.android.connectivitymanagertest/.ConnectivityManagerTestRunner

The No1 reports failures and one error.

And the No2 and No3 seem that they will not end.

Please see the details from the attachment log.

And the android image file are:
http://snapshots.linaro.org/android/~linaro-android/panda-ics-gcc47-tilt-stable-blob/34/target/product/pandaboard/boot.tar.bz2
http://snapshots.linaro.org/android/~linaro-android/panda-ics-gcc47-tilt-stable-blob/34/target/product/pandaboard/system.tar.bz2
http://snapshots.linaro.org/android/~linaro-android/panda-ics-gcc47-tilt-stable-blob/34/target/product/pandaboard/userdata.tar.bz2

Revision history for this message
Alexander Sack (asac) wrote :

hi ... i think you forgot the log :)

Revision history for this message
Yongqin Liu (liuyq0307) wrote :
Download full text (4.0 KiB)

Sorry, paste the log here。
This time there is no time for No1.

No2 executed 99 minutes and not exit.
No3 executed 82 minutes and not exit.

Following is the console log:
----------------------------------------

$ adb shell am instrument -w com.android.connectivitymanagertest/.ConnectivityManagerUnitTestRunner

com.android.connectivitymanagertest.unit.WifiClientTest:...
Failure in testSaveConfig:
junit.framework.AssertionFailedError
 at com.android.connectivitymanagertest.unit.WifiClientTest.testSaveConfig(WifiClientTest.java:234)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
 at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
 at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
..
com.android.connectivitymanagertest.unit.WifiSoftAPTest:
Failure in testApSsidWithAlphabet:
junit.framework.AssertionFailedError: wifi AP state is not enabled expected:<13> but was:<14>
 at com.android.connectivitymanagertest.unit.WifiSoftAPTest.testApSsidWithAlphabet(WifiSoftAPTest.java:83)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
 at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
 at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
.
Test results for ConnectivityManagerUnitTestRunner=....F...F.
Time: 75.201

FAILURES!!!
Tests run: 8, Failures: 2, Errors: 0

09:48:05 liuyq:lava-dispatcher$ adb shell am instrument -e stressnum 5 -w com.android.connectivitymanagertest/.ConnectivityManagerStressTestRunner

com.android.connectivitymanagertest.stress.WifiApStress:
Error in testWifiHotSpot:
java.io.FileNotFoundException: /mnt/sdcard/WifiStressTestOutput.txt: open failed: EACCES (Permission denied)
 at libcore.io.IoBridge.open(IoBridge.java:406)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
 at java.io.FileWriter.<init>(FileWriter.java:42)
 at com.android.connectivitymanagertest.stress.WifiApStress.tearDown(WifiApStress.java:72)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
 at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
 at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:545)
 at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1551)
Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
 at libcore.io.Posix.open(Native Method)
 at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
 at libcore.io.IoBridge.open(IoBridge.java:390)
 ... 13 more

com.android.connectivitymanagertest.stress.WifiStressTest:

^C
11:27:44 liuyq:lava-dispatcher$
11:27:49 liuyq:lava-dispatcher$
11:27:49 liuyq:lava-dispatcher$ adb shell am instrument -e ssid auto1234 -w com.android.connectivitymanagertest/.ConnectivityManagerTestRunner

com.andro...

Read more...

Revision history for this message
Milosz Wasilewski (mwasilew) wrote :

ICS is not supported. Closing.

Changed in linaro-android:
status: New → Won't Fix
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.