[ 
https://issues.apache.org/jira/browse/CB-10433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15139928#comment-15139928
 ] 

ASF GitHub Bot commented on CB-10433:
-------------------------------------

Github user nikhilkh commented on a diff in the pull request:

    https://github.com/apache/cordova-medic/pull/76#discussion_r52387149
  
    --- Diff: medic/medic-run.js ---
    @@ -372,13 +372,13 @@ function main() {
             //      timeout needs to be in milliseconds, but it's
             //      given in seconds, so we multiply by 1000
             testwait.init(couchdbURI);
    -        testwait.waitTestsCompleted(buildId, timeout * 1000).then(
    +        testwait.waitTestsCompleted(buildId, timeout * 1000, false).then(
                 function onFulfilled(value) {
    -                util.medicLog("got test results");
    +                util.medicLog("Successfully found test results");
                     process.exit(0);
                 },
                 function onRejected(error) {
    -                console.error("didn't get test results: " + error);
    +                console.error("Could not find test results: " + error);
    --- End diff --
    
    It will be great to suggest that a failure indicates a crashed app. 
Checking platform specific logs for crash reason is a good idea.


> Timeout when tests don't run
> ----------------------------
>
>                 Key: CB-10433
>                 URL: https://issues.apache.org/jira/browse/CB-10433
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: mobile-spec
>            Reporter: Sarangan Rajamanickam
>            Assignee: Richard B Knoll
>              Labels: found-by-ci, ios, triaged, windows-store-8.1, wp8.1
>
> During the Apache CI Build, there are several instances where mobilespec 
> tests don't run for whatever reason and the logging message we see is 
> misleading, we should fix it.
> Some of the links are:
> 1. https://ci.apache.org/builders/cordova-ios/builds/1534
> 2. https://ci.apache.org/builders/cordova-ios/builds/1543
> 3. https://ci.apache.org/builders/cordova-ios/builds/1553
> 4. https://ci.apache.org/builders/cordova-ios/builds/1570
> 5. https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1402
> Noticed this error majority of the times in iOS. But, today (01/25) happened 
> in WP8.1 also. 
> ==
> Content for logs:
> .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' }



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to