[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user dblotsky commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/71#issuecomment-184882741
  
LGTM.


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-geolocation/pull/71


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-16 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-10574:
--

Commit aa69e1bf15c5a317d5790045336fd5457eaa8ec7 in cordova-plugin-geolocation's 
branch refs/heads/master from [~sarangan12]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=aa69e1b
 ]

CB-10574: MobileSpec can't get results for WP8.1 Builds

Adding 'var' to make the variable local.


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-16 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

GitHub user sarangan12 opened a pull request:

https://github.com/apache/cordova-plugin-geolocation/pull/71

CB-10574: MobileSpec can't get results for WP8.1 Builds

Adding 'var' to make the variable local.

@dblotsky @rakatyal Can you review and merge this PR?

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

$ git pull https://github.com/sarangan12/cordova-plugin-geolocation CB-10574

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

https://github.com/apache/cordova-plugin-geolocation/pull/71.patch

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

This closes #71


commit aa69e1bf15c5a317d5790045336fd5457eaa8ec7
Author: Sarangan Rajamanickam 
Date:   2016-02-16T21:24:58Z

CB-10574: MobileSpec can't get results for WP8.1 Builds

Adding 'var' to make the variable local.




> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-15 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-10574:
--

Commit a6da270a0bb8d6c83911d8d559c1bb37abe7bbcc in cordova-plugin-geolocation's 
branch refs/heads/master from [~sarangan12]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-geolocation.git;h=a6da270
 ]

CB-10574: MobileSpec can't get results for WP8.1 Builds

MobileSpec can't get results for WP8.1 Builds


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-15 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user asfgit closed the pull request at:

https://github.com/apache/cordova-plugin-geolocation/pull/70


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-15 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user daserge commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-184211059
  
@sarangan12, LGTM, thank you for updating the PR!

A few notes:

- Could you please add a fallback for 
[Number.EPSILON](https://github.com/sarangan12/cordova-plugin-geolocation/commit/a6da270a0bb8d6c83911d8d559c1bb37abe7bbcc#diff-670b1e761968f9ba2d95017f9a8a6187L169)
 as it is undefined on Windows Phone 8.1?
- 
[success](https://github.com/sarangan12/cordova-plugin-geolocation/commit/a6da270a0bb8d6c83911d8d559c1bb37abe7bbcc#diff-670b1e761968f9ba2d95017f9a8a6187L190)
 is null in clearWatch so does it make sense to verify it has a value before 
executing it? (`success && success()`)


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user sarangan12 commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183587579
  
@dblotsky Can you review and merge this PR?



> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

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


https://github.com/apache/cordova-plugin-geolocation/pull/70#discussion_r52822803
  
--- Diff: src/windows/GeolocationProxy.js ---
@@ -181,10 +178,11 @@ module.exports = {
 callbacks = ids[clientId];
--- End diff --

Changed the declarations. I am not sure about adding an assertion or 
throwing an exception. Consider a scenario in which I press the "Stop watching" 
in mobilespec before "Start Watching". This is a valid scenario. I just don't 
want an assertion or exception in such a scenario. (as the reason is simply 
there is nothing to stop)


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

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


https://github.com/apache/cordova-plugin-geolocation/pull/70#discussion_r52822810
  
--- Diff: src/windows/GeolocationProxy.js ---
@@ -14,47 +14,43 @@
  * limitations under the License.
  */
 
-var PositionError = require('./PositionError'),
-ids = {},
-loc;
+var PositionError   = require('./PositionError');
+var ids = {};
--- End diff --

Done


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user dblotsky commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183560875
  
@daserge keep in mind that a previous watch doesn't need to be cleared for 
a new one to be created; that's the whole point of `id`s on watches. Keeping 
several `loc` objects sounds like the correct design to implement the 
multiple-watch semantics of the geolocation API.


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

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


https://github.com/apache/cordova-plugin-geolocation/pull/70#discussion_r52820086
  
--- Diff: src/windows/GeolocationProxy.js ---
@@ -14,47 +14,43 @@
  * limitations under the License.
  */
 
-var PositionError = require('./PositionError'),
-ids = {},
-loc;
+var PositionError   = require('./PositionError');
+var ids = {};
--- End diff --

Nitpick: `ids` is not a very descriptive name. This object holds on to 
subscribed callbacks, so maybe rename it to something related to that?


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

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


https://github.com/apache/cordova-plugin-geolocation/pull/70#discussion_r52820033
  
--- Diff: src/windows/GeolocationProxy.js ---
@@ -181,10 +178,11 @@ module.exports = {
 callbacks = ids[clientId];
--- End diff --

Also, it might be worth it to either add an assertion or throw an exception 
here if the passed `clienId` is not in `locs` or `ids`.


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

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


https://github.com/apache/cordova-plugin-geolocation/pull/70#discussion_r5281
  
--- Diff: src/windows/GeolocationProxy.js ---
@@ -181,10 +178,11 @@ module.exports = {
 callbacks = ids[clientId];
--- End diff --

Nitpick: one declaration per line.


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user sarangan12 commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183526822
  
@dblotsky @daserge Addressed the concerns. Please take a look at this 
revised PR. 


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Bug
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user daserge commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183443464
  
@sarangan12, what happens with loc object properties being set in a call to 
`watchLocation` when `ensureLocator` is called?
watchLocation first calls getLocation method and it calls `ensureLocator` 
before it's execution - woun't the loc properties be lost in this case?


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Test
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user sarangan12 commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183441405
  
@dblotsky 'ensureLocator' need not necessarily mean than the 'loc' has to 
be singleton. It can simply mean that the "Geolocation access has been allowed 
by the user" (Refer one of the error scenarios in ensureLocator function). 

But, I do agree it would be great if we could reuse the value. 
Unfortunately, there is no clean solution in this case. You can either create a 
new object or remove the existing listeners and use the old object. I think 
removing the existing listeners is not a good option (since an application can 
start watching at two different places and want to keep both event listeners 
alive). 


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Test
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user daserge commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183411928
  
Update the PR #69 


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Test
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-12 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user daserge commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183385836
  
The geolocation plugin has several issues:

1. `geolocation.js->getCurrentPosition` and `geolocation.js->watchPosition` 
both don't immediately return `timerId`/`watchId` therefore the tests 
`watchPosition method->error callback->geolocation.spec.7`, `watchPosition 
method->error callback->geolocation.spec.10` and `success 
callback->geolocation.spec.8` get their errorWatch/successWatch(es) mixed.

2. On Windows after Geolocator had some of the event handlers attached we 
can't set any of its properties like `desiredAccuracy`, `reportInterval` or 
`movementThreshold` as this causes "0x80004004 - JavaScript runtime error: 
Operation aborted".

Related SO question: 
http://stackoverflow.com/questions/13720945/is-it-possible-to-change-desiredaccuracy-reportinterval-of-geolocator-in-posit

3. Manual test for `addWatch` doesn't clear the previous `watchId` so it's 
causing the issues on Windows.

I will update my PR soon with these issues addressed.


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Test
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

Github user dblotsky commented on the pull request:


https://github.com/apache/cordova-plugin-geolocation/pull/70#issuecomment-183142774
  
It looks like reusing the `Geolocator` object was done *by design*, as is 
suggested by the naming of `ensureLocator`. Also it is assumed to be a 
singleton, so creating a new one on every call to `getLocation` will lead to 
incorrect behaviour.

What exactly causes the crash when the `loc` object is reused? Does 
`addEventListener` not allow for more than one listener?


> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Test
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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



[jira] [Commented] (CB-10574) MobileSpec can't get results for WP8.1 Builds

2016-02-11 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10574:
-

GitHub user sarangan12 opened a pull request:

https://github.com/apache/cordova-plugin-geolocation/pull/70

CB-10574: MobileSpec can't get results for WP8.1 Builds

The MobileSpec can't get results for WP8.1 Builds. 

**Why?**
Because, one of the tests in the geolocation plugin is failing and causes 
the app to crash. This test gets the "0x80004004 - JavaScript runtime error: 
Operation aborted" error. So, the app crashes. The issue around this test must 
be fixed for the CI to finish successfully for Windows Phone 8.1. 

**What is the scenario for the crash?**
The scenario could be seen manually also. When you run the mobilespec test 
for geolocatio API, try the following steps:

1. Start Watching 
2. Stop Watching
3. Start Watching
4. Start Watching 

The app will crash in step 4. But it will not crash on step 3.  

**Why does the app crash on step 4?**

Per code, the loc object (instance of 
Windows.Devices.Geolocation.Geolocator object) is being reused in both the 
steps - which causes the crash. 

**What is the fix?**

The current fix is to create  a new instance of the object instead of 
resuing the same object. I have validated the fix by running the geolocation 
tests and all of them are passing. 


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

$ git pull https://github.com/sarangan12/cordova-plugin-geolocation CB-10574

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

https://github.com/apache/cordova-plugin-geolocation/pull/70.patch

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

This closes #70


commit fbe3bdaef60155cefe2cf789cc62cb27e5a8a3af
Author: Sarangan Rajamanickam 
Date:   2016-02-12T00:19:04Z

CB-10574: MobileSpec can't get results for WP8.1 Builds

MobileSpec can't get results for WP8.1 Builds




> MobileSpec can't get results for WP8.1 Builds
> -
>
> Key: CB-10574
> URL: https://issues.apache.org/jira/browse/CB-10574
> Project: Apache Cordova
>  Issue Type: Test
> Environment: Windows
>Reporter: Omar Mefire
>Assignee: Sarangan Rajamanickam
>Priority: Critical
>  Labels: found-by-ci, wp8.1
>
> Log 1: 
> (https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1524/steps/running-tests/logs/stdio)
> ==
>   CordovaApp.Phone -> 
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_AnyCPU_bundle_debug.appxupload
>   Your package has been successfully created.
> Deploying phone package to emulator:
> C:\Users\buildbot\slaves\apache\cordova-windows-phone8_1\mobilespec\platforms\windows\AppPackages\CordovaApp.Phone_0.0.1.0_debug_Test\CordovaApp.Phone_0.0.1.0_AnyCPU_debug.appxbundle
> Attempting to remove previously installed application...
> Deploying app package...
> didn't get test results: timed out
> program finished with exit code 1
> elapsedTime=1143.444000
> 
> Log 2:
> ---
> ERROR running one or more of the platforms: Unexpected error from 
> installation: C:\Program Files (x86)\Microsoft SDKs\Windows 
> Phone\v8.1\Tools\AppDeploy\AppDeployCmd.exe: Command failed with exit code 
> 2148734208 Error output:
> Error: Deployment failed because no Windows Phone was detected. Make sure a 
> phone is connected and powered on. You may have previously installed the app 
> with an earlier version of cordova-windows. Ensure the app is uninstalled 
> from the phone and then try to run again.
> You may not have the required environment or OS to run this project
> [MEDIC LOG Mon, 08 Feb 2016 16:39:10 GMT] no device found, so switching to 
> emulator
> ==
> Log 3: 
> https://ci.apache.org/builders/cordova-windows-phone8.1/builds/1506/steps/running-tests/logs/stdio
> ---
> Attempting to remove previously installed application...
> Deploying app package...
> 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=1142.741000



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

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