cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-11016) Android Emulator in WIndows has some issues in CI
Date Sat, 09 Apr 2016 02:16:25 GMT

     [ https://issues.apache.org/jira/browse/CB-11016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard B Knoll updated CB-11016:
---------------------------------
    Description: 
Two problems that result in run failures:

1. The app fails to run for some reason. We get this log, but not sure if it is the error
or not:

{noformat}
D/asset   (  371): failed to open Zip archive '/data/app/org.apache.mobilespec-1.apk'

W/PackageParser(  371): Unable to read AndroidManifest.xml of /data/app/org.apache.mobilespec-1.apk

W/PackageParser(  371): java.io.FileNotFoundException: AndroidManifest.xml

W/PackageParser(  371): 	at android.content.res.AssetManager.openXmlAssetNative(Native Method)

W/PackageParser(  371): 	at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:488)

W/PackageParser(  371): 	at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:456)

W/PackageParser(  371): 	at android.content.pm.PackageParser.parsePackage(PackageParser.java:528)

W/PackageParser(  371): 	at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:3569)

W/PackageParser(  371): 	at com.android.server.pm.PackageManagerService.scanDirLI(PackageManagerService.java:3492)

W/PackageParser(  371): 	at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1383)

W/PackageParser(  371): 	at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1042)

W/PackageParser(  371): 	at com.android.server.ServerThread.initAndLoop(SystemServer.java:241)

W/PackageParser(  371): 	at com.android.server.SystemServer.main(SystemServer.java:1179)

W/PackageParser(  371): 	at java.lang.reflect.Method.invokeNative(Native Method)

W/PackageParser(  371): 	at java.lang.reflect.Method.invoke(Method.java:515)

W/PackageParser(  371): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)

W/PackageParser(  371): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)

W/PackageParser(  371): 	at dalvik.system.NativeStart.main(Native Method)

{noformat}

2. The emulator goes offline. In this case logging also fails.

This log appears in medic-run:
{noformat}
[MEDIC LOG Wed, 06 Apr 2016 19:15:47 GMT] no device found, so switching to emulator
[MEDIC LOG Wed, 06 Apr 2016 19:15:47 GMT] Attempting to start Android emulator
Error: Failed to deploy to device, no devices found.
{noformat}

And this one appears in medic-log:
{noformat}
[MEDIC LOG Wed, 06 Apr 2016 19:40:48 GMT] running:
[MEDIC LOG Wed, 06 Apr 2016 19:40:48 GMT]     adb devices
List of devices attached
emulator-5554	offline

[MEDIC LOG Wed, 06 Apr 2016 19:40:48 GMT] running:
[MEDIC LOG Wed, 06 Apr 2016 19:40:48 GMT]     adb logcat -d
{noformat}

> Android Emulator in WIndows has some issues in CI
> -------------------------------------------------
>
>                 Key: CB-11016
>                 URL: https://issues.apache.org/jira/browse/CB-11016
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Medic
>            Reporter: Sarangan Rajamanickam
>            Assignee: Richard B Knoll
>              Labels: found-by-ci
>
> Two problems that result in run failures:
> 1. The app fails to run for some reason. We get this log, but not sure if it is the error
or not:
> {noformat}
> D/asset   (  371): failed to open Zip archive '/data/app/org.apache.mobilespec-1.apk'
> W/PackageParser(  371): Unable to read AndroidManifest.xml of /data/app/org.apache.mobilespec-1.apk
> W/PackageParser(  371): java.io.FileNotFoundException: AndroidManifest.xml
> W/PackageParser(  371): 	at android.content.res.AssetManager.openXmlAssetNative(Native
Method)
> W/PackageParser(  371): 	at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:488)
> W/PackageParser(  371): 	at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:456)
> W/PackageParser(  371): 	at android.content.pm.PackageParser.parsePackage(PackageParser.java:528)
> W/PackageParser(  371): 	at com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:3569)
> W/PackageParser(  371): 	at com.android.server.pm.PackageManagerService.scanDirLI(PackageManagerService.java:3492)
> W/PackageParser(  371): 	at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1383)
> W/PackageParser(  371): 	at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1042)
> W/PackageParser(  371): 	at com.android.server.ServerThread.initAndLoop(SystemServer.java:241)
> W/PackageParser(  371): 	at com.android.server.SystemServer.main(SystemServer.java:1179)
> W/PackageParser(  371): 	at java.lang.reflect.Method.invokeNative(Native Method)
> W/PackageParser(  371): 	at java.lang.reflect.Method.invoke(Method.java:515)
> W/PackageParser(  371): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
> W/PackageParser(  371): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
> W/PackageParser(  371): 	at dalvik.system.NativeStart.main(Native Method)
> {noformat}
> 2. The emulator goes offline. In this case logging also fails.
> This log appears in medic-run:
> {noformat}
> [MEDIC LOG Wed, 06 Apr 2016 19:15:47 GMT] no device found, so switching to emulator
> [MEDIC LOG Wed, 06 Apr 2016 19:15:47 GMT] Attempting to start Android emulator
> Error: Failed to deploy to device, no devices found.
> {noformat}
> And this one appears in medic-log:
> {noformat}
> [MEDIC LOG Wed, 06 Apr 2016 19:40:48 GMT] running:
> [MEDIC LOG Wed, 06 Apr 2016 19:40:48 GMT]     adb devices
> List of devices attached
> emulator-5554	offline
> [MEDIC LOG Wed, 06 Apr 2016 19:40:48 GMT] running:
> [MEDIC LOG Wed, 06 Apr 2016 19:40:48 GMT]     adb logcat -d
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message