Hello, 

I'm a almost newbee Android Developer, who is struggling for CTS..

currently  met  FAIL at the test
com.android.cts.appsecurity.AppSecurityTests  -- testExternalStorageGifts 
 / -- testExternalStorageNone / -- testExternalStorageRead / -- 
testExternalStorageWrite / -- testUninstallRemovesData 

and I found that pacakge is installed at   
"/data/data/com.android.cts.externalstorageapp/cache"
but log cat says CTS is trying to access 
 "/storage/sdcard0/Android/data/com.android.cts.externalstorageapp/cache " 
 then FAIL..

Does anyone can please let me know why CTS is finding wrong PATH?



and data partition is like below..

130|root@xoalite:/sdcard # mount
......
/dev/block/mmcblk0p4 /system ext4 ro,relatime,data=ordered 0 0
/dev/block/mmcblk0p5 /cache ext4 
rw,nosuid,nodev,noatime,errors=panic,data=ordered 0 0
/dev/block/mmcblk0p6 /data ext4 
rw,nosuid,nodev,noatime,errors=panic,data=ordered 0 0
/dev/block/mmcblk0p7 /storage/sdcard0 vfat 
rw,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=437,iocharset=ascii,shortname=mixed,check=s,utf8,errors=remount-ro
 
0 0
......



log is below


I/ActivityManager( 1147): Force stopping com.android.cts.externalstorageapp 
appid=10606 user=0: start instr
I/ActivityManager( 1147): Start proc com.android.cts.externalstorageapp for 
added application com.android.cts.externalstorageapp: pid=22299 uid=10606 
gids={50606}
I/TestRunner(22299): started: 
testAllPackageDirsWritable(com.android.cts.externalstorageapp.CommonExternalStorageTest)
D/CommonExternalStorageTest(22299): Asserting read/write access to 
/storage/sdcard0/Android/data/com.android.cts.externalstorageapp/cache
I/TestRunner(22299): failed: 
testAllPackageDirsWritable(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): ----- begin exception -----
I/TestRunner(22299): 
I/TestRunner(22299): junit.framework.AssertionFailedError: failed to create 
probe!
I/TestRunner(22299):    at junit.framework.Assert.fail(Assert.java:50)
I/TestRunner(22299):    at 
com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirReadWriteAccess(CommonExternalStorageTest.java:199)
I/TestRunner(22299):    at 
com.android.cts.externalstorageapp.CommonExternalStorageTest.testAllPackageDirsWritable(CommonExternalStorageTest.java:93)
I/TestRunner(22299):    at java.lang.reflect.Method.invokeNative(Native 
Method)
I/TestRunner(22299):    at java.lang.reflect.Method.invoke(Method.java:515)
I/TestRunner(22299):    at 
junit.framework.TestCase.runTest(TestCase.java:168)
I/TestRunner(22299):    at 
junit.framework.TestCase.runBare(TestCase.java:134)
I/TestRunner(22299):    at 
junit.framework.TestResult$1.protect(TestResult.java:115)
I/TestRunner(22299):    at 
junit.framework.TestResult.runProtected(TestResult.java:133)
I/TestRunner(22299):    at 
junit.framework.TestResult.run(TestResult.java:118)
I/TestRunner(22299):    at junit.framework.TestCase.run(TestCase.java:124)
I/TestRunner(22299):    at 
android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191)
I/TestRunner(22299):    at 
android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176)
I/TestRunner(22299):    at 
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554)
I/TestRunner(22299):    at 
android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)
I/TestRunner(22299): ----- end exception -----
I/TestRunner(22299): finished: 
testAllPackageDirsWritable(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): started: 
testAndroidTestCaseSetupProperly(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): finished: 
testAndroidTestCaseSetupProperly(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): passed: 
testAndroidTestCaseSetupProperly(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): started: 
testExternalStorageMounted(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): finished: 
testExternalStorageMounted(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): passed: 
testExternalStorageMounted(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): started: 
testMultipleCacheDirs(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): finished: 
testMultipleCacheDirs(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): passed: 
testMultipleCacheDirs(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): started: 
testMultipleFilesDirs(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): finished: 
testMultipleFilesDirs(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): passed: 
testMultipleFilesDirs(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(22299): started: 
testMultipleObbDirs(com.android.cts.externalstorageapp.CommonExternalStorageTest)
I/TestRunner(2[16916.293772] binder: release 22289:22318 transaction 410645 
in, still active
2299): finished: 
testMultipleObbDirs(com.android.cts.externalstorageapp.CommonExternalSt[16916.301686]
 
binder: send failed reply for transaction 410645 to 1147:1159
orageTest)


-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-discuss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-discuss/ed22e368-b08e-41d3-9e5b-e08320ba51f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to