android.security.cts.PackageSignatureTest -- testPackageSignatures : FAILED

854 views
Skip to first unread message

shridutt kothari

unread,
Sep 27, 2013, 8:55:58 AM9/27/13
to android-...@googlegroups.com
Hi All,

I have executed the Android platform CTS test cases on Nexus 7. I have followed all the instructions of CTS manual.

Some test cases failed like-- testPackageSignatures:

Test      :android.security.cts.PackageSignatureTest -- testPackageSignatures
Result   :fail
Details  
junit.framework.AssertionFailedError: These packages should not be signed with a well known key: [com.android.soundrecorder, com.android.launcher, com.android.defcontainer, com.impetus.fotaupdater, com.android.contacts, com.android.inputmethod.latin, com.android.phone, com.android.calculator2, com.android.htmlviewer, com.android.providers.calendar, com.android.bluetooth, com.android.inputdevices, com.android.wallpaper.holospiral, com.android.calendar, com.android.browser, com.android.music, com.android.nfc, com.android.providers.downloads.ui, com.android.providers.userdictionary, com.android.sharedstoragebackup, com.android.inputmethod.pinyin, com.android.vpndialogs, com.android.providers.media, com.android.certinstaller, com.android.galaxy4, com.android.dreams.phototable, com.impetus.deviceadminapp, android, com.android.videoeditor, com.android.settings, com.android.providers.contacts, com.android.providers.applications, com.android.dreams.basic, com.android.providers.drm, com.android.gallery3d, com.android.apps.tag, com.android.systemui, com.android.musicvis, com.android.exchange, com.android.wallpaper.livepicker, com.android.keychain, com.android.smspush, com.android.packageinstaller, com.android.wallpaper, com.android.providers.telephony, com.svox.pico, jp.co.omronsoft.openwnn, com.android.noisefield, com.android.deskclock, com.android.location.fused, com.android.backupconfirm, com.android.providers.settings, com.android.magicsmoke, com.android.providers.downloads, com.android.musicfx, com.google.android.backup, com.android.phasebeam]  at android.security.cts.PackageSignatureTest.testPackageSignatures(PackageSignatureTest.java:62)  

But i have already replaced /build/target/product/security/* with my own keys etc. So i don't get the why CTS is failed ?
Anyone knows what could be possible reason??

Thanks,
Shridutt Kothari
Impetus Infotech Limited
 

shridutt kothari

unread,
Oct 1, 2013, 4:10:44 AM10/1/13
to android-...@googlegroups.com
Hi all,

Found the solution: regenerated the /build/target/product/security/* and than tried cts again worked for me.

Although there is also a Bug filed related to this, But i was lucky that it was not due to that bug.

cheers,
Reply all
Reply to author
Forward
0 new messages