Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79E8018E42 for ; Thu, 18 Feb 2016 01:40:18 +0000 (UTC) Received: (qmail 14405 invoked by uid 500); 18 Feb 2016 01:40:18 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 14377 invoked by uid 500); 18 Feb 2016 01:40:18 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 14361 invoked by uid 99); 18 Feb 2016 01:40:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Feb 2016 01:40:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1186E2C1F57 for ; Thu, 18 Feb 2016 01:40:18 +0000 (UTC) Date: Thu, 18 Feb 2016 01:40:18 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10510) medic-run doesn't check to make sure the emulator started MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151559#comment-15151559 ] ASF GitHub Bot commented on CB-10510: ------------------------------------- Github user dblotsky commented on the pull request: https://github.com/apache/cordova-medic/pull/80#issuecomment-185499533 :space_invader: :space_invader: :space_invader: :space_invader: :space_invader: :space_invader: :space_invader: :space_invader: :space_invader: :space_invader:       :space_invader:                           :space_invader:                           :rocket: > medic-run doesn't check to make sure the emulator started > --------------------------------------------------------- > > Key: CB-10510 > URL: https://issues.apache.org/jira/browse/CB-10510 > Project: Apache Cordova > Issue Type: Test > Components: Medic > Environment: Windows, Android emulator > Reporter: Richard B Knoll > Assignee: Richard B Knoll > Labels: android, found-by-ci > > Medic doesn't check to see if the emulator actually starts when invoking {{cordova run android}}. Instead, it starts polling cordova-vm immediately. This might also be considered a bug in cordova-android's run script, which just seems to hang if the emulator doesn't start. Example build is here: > https://ci.apache.org/builders/cordova-android-win/builds/1488/steps/running-tests/logs/stdio > And adb logs are here: > https://ci.apache.org/builders/cordova-android-win/builds/1488/steps/gathering-logs/logs/stdio > ==== > Log: > C:\Users\buildbot\slaves\apache\cordova-android-win\mobilespec>node C:\Users\buildbot\slaves\apache\cordova-android-win\cordova-cli\bin\cordova run --emulator android -- --gradle > ANDROID_HOME=C:\Android\android-sdk > JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_55 > No emulator specified, defaulting to Galaxy_Nexus > Waiting for emulator... > WARNING: init: Missing WGL extension WGL_ARB_make_current_read > emulator: warning: opening audio output failed > emulator: emulator window was out of view and was recentered > emulator: UpdateChecker: skipped version check > Booting up emulator (this may take a while)........................................query failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' } > .....................................query failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' } > ..................query failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' } > ....................................................................................................query failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' } > ...................................................................................query failed for mobilespec_results { [Error: connect ETIMEDOUT] code: 'ETIMEDOUT', errno: 'ETIMEDOUT', syscall: 'connect' } > .......................................................didn't get test results: timed out > program finished with exit code 1 > elapsedTime=1150.659000 -- 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