<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic IMX6 Daul Android 6.0.1 CTS test in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Daul-Android-6-0-1-CTS-test/m-p/784560#M121698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I recently start teting&amp;nbsp;CTS with&amp;nbsp;&amp;nbsp;&lt;A href="https://dl.google.com/dl/android/cts/android-cts-6.0_r29-linux_x86-arm.zip" style="color: #039be5; text-decoration: none;"&gt;Android 6.0 R28 Compatibility Test Suite (CTS) - ARM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;And I've got some issues below, could you check these issues for me and give me some feedback, thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test Report for -&lt;/P&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD class="" colspan="3" style="height: 25px;"&gt;com.android.cts.appsecurity.ExternalStorageHostTest&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 50px;"&gt;&lt;TD class="" style="height: 50px;"&gt;-- testExternalStorageNone&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.externalstorageapp.ExternalStorageTest#testDownloadManagerPackage:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 50px;"&gt;&lt;TD class="" style="height: 50px;"&gt;-- testExternalStorageRead&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.readexternalstorageapp.ReadExternalStorageTest#testMountPointsNotWritable:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 50px;"&gt;&lt;TD class="" style="height: 50px;"&gt;-- testExternalStorageWrite&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.writeexternalstorageapp.WriteExternalStorageTest#testSecondaryMountPointsNotWritable:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 50px;"&gt;&lt;TD class="" style="height: 50px;"&gt;-- testMultiUserStorageIsolated&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.multiuserstorageapp.MultiUserStorageTest#testMediaProviderUserIsolation:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to ExternalStorageHostTest, I can 100 percent to confirm&amp;nbsp;&lt;SPAN&gt;testExternalStorageRead and&amp;nbsp;testExternalStorageWrite are caused by Adoptable Storage.&amp;nbsp; But I don't understand why&amp;nbsp;testExternalStorageNone nad&amp;nbsp;testMultiUserStorageIsolated are still FAIL. On the Internet, there is some one told me, remove the STORAGE_PRIMARY := internal then you might get pass. But I can't find this keywords so far.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test Report for -&lt;/P&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" colspan="3"&gt;com.android.cts.appsecurity.PermissionsHostTest&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class=""&gt;-- testInteractiveGrant&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV class=""&gt;java.lang.AssertionError: Failed to successfully run device tests for com.android.cts.usepermission: Instrumentation run failed due to 'Process crashed.' at com.android.cts.appsecurity.Utils.runDeviceTests(Utils.java:85)&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class=""&gt;-- testNoPermissionEscalation&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.escalatepermission.PermissionEscalationTest#testCannotEscalateNonRuntimePermissionsToRuntime:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to PermissionsHostTest, I have no idea what happended. Because I think this issue is caused by user mode.&amp;nbsp;How do you think on it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test Report for -&lt;/P&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" colspan="3"&gt;com.android.cts.appsecurity.PkgInstallSignatureVerificationTest&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class=""&gt;-- testInstallApkWhichDoesNotStartWithZipLocalFileHeaderMagic&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV class=""&gt;junit.framework.AssertionFailedError: Install of v1-only-starts-with-00000000-magic.apk succeeded but was expected to fail with "INSTALL_FAILED_INVALID_APK" at junit.framework.Assert.fail(Assert.java:50)&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The final issue is about PkgInstallSignatureVerificationTest, actually, I think this issue is caused by my source code. Our source is&amp;nbsp;not the lastest version. Is there any latest source code that we could combine it with our source code? And maybe the CTS issues would be reduced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2018 07:12:14 GMT</pubDate>
    <dc:creator>ruei_chang</dc:creator>
    <dc:date>2018-07-06T07:12:14Z</dc:date>
    <item>
      <title>IMX6 Daul Android 6.0.1 CTS test</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Daul-Android-6-0-1-CTS-test/m-p/784560#M121698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I recently start teting&amp;nbsp;CTS with&amp;nbsp;&amp;nbsp;&lt;A href="https://dl.google.com/dl/android/cts/android-cts-6.0_r29-linux_x86-arm.zip" style="color: #039be5; text-decoration: none;"&gt;Android 6.0 R28 Compatibility Test Suite (CTS) - ARM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;And I've got some issues below, could you check these issues for me and give me some feedback, thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test Report for -&lt;/P&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD class="" colspan="3" style="height: 25px;"&gt;com.android.cts.appsecurity.ExternalStorageHostTest&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 50px;"&gt;&lt;TD class="" style="height: 50px;"&gt;-- testExternalStorageNone&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.externalstorageapp.ExternalStorageTest#testDownloadManagerPackage:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 50px;"&gt;&lt;TD class="" style="height: 50px;"&gt;-- testExternalStorageRead&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.readexternalstorageapp.ReadExternalStorageTest#testMountPointsNotWritable:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 50px;"&gt;&lt;TD class="" style="height: 50px;"&gt;-- testExternalStorageWrite&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.writeexternalstorageapp.WriteExternalStorageTest#testSecondaryMountPointsNotWritable:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 50px;"&gt;&lt;TD class="" style="height: 50px;"&gt;-- testMultiUserStorageIsolated&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class="" style="height: 50px;"&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.multiuserstorageapp.MultiUserStorageTest#testMediaProviderUserIsolation:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to ExternalStorageHostTest, I can 100 percent to confirm&amp;nbsp;&lt;SPAN&gt;testExternalStorageRead and&amp;nbsp;testExternalStorageWrite are caused by Adoptable Storage.&amp;nbsp; But I don't understand why&amp;nbsp;testExternalStorageNone nad&amp;nbsp;testMultiUserStorageIsolated are still FAIL. On the Internet, there is some one told me, remove the STORAGE_PRIMARY := internal then you might get pass. But I can't find this keywords so far.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test Report for -&lt;/P&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" colspan="3"&gt;com.android.cts.appsecurity.PermissionsHostTest&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class=""&gt;-- testInteractiveGrant&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV class=""&gt;java.lang.AssertionError: Failed to successfully run device tests for com.android.cts.usepermission: Instrumentation run failed due to 'Process crashed.' at com.android.cts.appsecurity.Utils.runDeviceTests(Utils.java:85)&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class=""&gt;-- testNoPermissionEscalation&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV class=""&gt;java.lang.AssertionError: on-device tests failed: com.android.cts.escalatepermission.PermissionEscalationTest#testCannotEscalateNonRuntimePermissionsToRuntime:&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to PermissionsHostTest, I have no idea what happended. Because I think this issue is caused by user mode.&amp;nbsp;How do you think on it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test Report for -&lt;/P&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="" colspan="3"&gt;com.android.cts.appsecurity.PkgInstallSignatureVerificationTest&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class=""&gt;-- testInstallApkWhichDoesNotStartWithZipLocalFileHeaderMagic&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV style="margin-left: auto; margin-right: auto;"&gt;fail&lt;/DIV&gt;&lt;/TD&gt;&lt;TD class=""&gt;&lt;DIV class=""&gt;junit.framework.AssertionFailedError: Install of v1-only-starts-with-00000000-magic.apk succeeded but was expected to fail with "INSTALL_FAILED_INVALID_APK" at junit.framework.Assert.fail(Assert.java:50)&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;The final issue is about PkgInstallSignatureVerificationTest, actually, I think this issue is caused by my source code. Our source is&amp;nbsp;not the lastest version. Is there any latest source code that we could combine it with our source code? And maybe the CTS issues would be reduced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 07:12:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Daul-Android-6-0-1-CTS-test/m-p/784560#M121698</guid>
      <dc:creator>ruei_chang</dc:creator>
      <dc:date>2018-07-06T07:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Daul Android 6.0.1 CTS test</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Daul-Android-6-0-1-CTS-test/m-p/784561#M121699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Due to my BSP version is too old.&amp;nbsp; There are many test items from CTS have been updated. So I need to upgrade my source by merging&amp;nbsp;Google's patch for some testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Here are some testing items has been fixed after merging Google's patch. Please check these items if you have these issues as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- android.tests.appsecurity&amp;nbsp;&lt;BR /&gt;1. com.android.cts.appsecurity.PkgInstallSignatureVerificationTest -testInstallApkWhichDoesNotStartWithZipLocalFileHeaderMagic&lt;BR /&gt;2. com.android.cts.appsecurity.ExternalStorageHostTest - testMultiUserStorageIsolated&lt;BR /&gt;3. com.android.cts.appsecurity.PermissionsHostTest&lt;BR /&gt;- testNoPermissionEscalation&lt;/P&gt;&lt;P style="color: #303030; background-color: #ffffff; font-size: 10.8px;"&gt;android.host.multiuser&amp;nbsp;&lt;BR /&gt;1. android.host.multiuser.CreateUsersPermissionTes - testCantSetUserRestriction&lt;/P&gt;&lt;P style="color: #303030; background-color: #ffffff; font-size: 10.8px;"&gt;&lt;/P&gt;&lt;P style="color: #303030; background-color: #ffffff; font-size: 10.8px;"&gt;And one thing is&amp;nbsp; com.android.cts.appsecurity.ExternalStorageHostTest - testExternalStorageNon, regarding this one, you need to make sure your device is able to connect to the Internet. Then this testing item would be passed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 05:58:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Daul-Android-6-0-1-CTS-test/m-p/784561#M121699</guid>
      <dc:creator>ruei_chang</dc:creator>
      <dc:date>2018-07-10T05:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Daul Android 6.0.1 CTS test</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Daul-Android-6-0-1-CTS-test/m-p/784562#M121700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;About&amp;nbsp;&lt;SPAN style="color: #303030; background-color: #ffffff;"&gt;testCantSetUserRestriction test, do you have any patchs files for it? I have problem with this test.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; background-color: #ffffff;"&gt;Thanks and Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030; background-color: #ffffff;"&gt;thien&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2018 04:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Daul-Android-6-0-1-CTS-test/m-p/784562#M121700</guid>
      <dc:creator>haonc1</dc:creator>
      <dc:date>2018-07-16T04:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 Daul Android 6.0.1 CTS test</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-Daul-Android-6-0-1-CTS-test/m-p/784563#M121701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thien,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Sorry, there. I can't share these patches with you due to some business concerned.&amp;nbsp;Maybe you can clone AOSP of IMX6 again. And check-out to the latest node. Compare it with your source code to find out the patches you want. Hope this message can help you. :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 01:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-Daul-Android-6-0-1-CTS-test/m-p/784563#M121701</guid>
      <dc:creator>ruei_chang</dc:creator>
      <dc:date>2018-07-17T01:13:53Z</dc:date>
    </item>
  </channel>
</rss>

