cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-10671) Gathering Logs fails in android-win CI because of ghost emulators
Date Thu, 25 Feb 2016 19:33:18 GMT


ASF GitHub Bot commented on CB-10671:

GitHub user riknoll opened a pull request:

    CB-10671 and CB-10699: Android Windows CI fixes for logging and run

    This addresses two JIRAs: [CB-10671]( and
[CB-10699]( I am submitting this as one PR
rather than two because CB-10699 was somewhat blocked on CB-10671.
    The CB-10671 fix adds the command `adb kill-server` to medic-kill for Android so as to
clear out all of the mysterious "host" emulators that have been cropping up and causing medic-log
to fail. Not sure what is causing those entries to appear (and only on Windows), but this
seems to get rid of them
    The CB-10699 fix tries to uninstall mobilespec before using `cordova run` because the
command that `cordova run` uses to install the app sometimes fails if the app will not uninstall.
That causes the run step to fail (and every run step thereafter until someone uninstalls the
    @sarangan12 @dblotsky please review.

You can merge this pull request into a Git repository by running:

    $ git pull CB-10699

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #83
commit e583d860204fe02f633fcbfde6e5be2f29cc2e55
Author: riknoll <>
Date:   2016-02-25T19:17:52Z

    CB-10671: Killing adb server as part of Android medic-kill step

commit cea6c852e39766aa54032e75879b50912f1541ba
Author: riknoll <>
Date:   2016-02-25T19:18:43Z

    CB-10699: Attempt to uninstall mobilespec on Android emulator before run


> Gathering Logs fails in android-win CI because of ghost emulators
> -----------------------------------------------------------------
>                 Key: CB-10671
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: Medic
>         Environment: Windows 8.1
>            Reporter: Richard B Knoll
>            Assignee: Richard B Knoll
>              Labels: found-by-ci, triaged
> Gathering logs fails for Android when there is more than one device connected. That's
fine, but for some reason a number of "ghost" emulators are hanging around and causing {{adb
devices}} to come up with more than one connected emulator. The emulators are labelled as
"host" rather than "device" in the output and I have no idea what that is referring to (adb
docs make no mention of that as a possible value). Task manager confirms that no emulators
are actually running. This is either related to appium, CB-10510, or was always an issue and
is just now showing up because we stopped killing adb in medic-kill. Running {{adb kill-server}}
and {{adb start-server}} clears the host entries, so that might be the quick fix.
> Log Output for reference:
> {code}
> [MEDIC LOG Mon, 22 Feb 2016 07:30:05 GMT] running:
> [MEDIC LOG Mon, 22 Feb 2016 07:30:05 GMT]     adb devices
> List of devices attached
> emulator-5554	device
> emulator-5572	host
> emulator-5666	host
> emulator-5668	host
> emulator-5562	host
> emulator-5656	host
> [MEDIC LOG Mon, 22 Feb 2016 07:30:05 GMT] FATAL: there must be exactly one emulator/device
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message