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

Richard B Knoll updated CB-11057:
---------------------------------
    Environment: Windows Store 8.1, Windows Phone 8.1, iOS, Android  (was: 
Windows Store 8.1, Windows Phone 8.1, iOS)

> Flaky File Transfer specs
> -------------------------
>
>                 Key: CB-11057
>                 URL: https://issues.apache.org/jira/browse/CB-11057
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: Plugin File Transfer
>         Environment: Windows Store 8.1, Windows Phone 8.1, iOS, Android
>            Reporter: Richard B Knoll
>              Labels: found-by-ci, windows
>
> Below are several examples
> Windows Store 8.1:
> {noformat}
> Getting test results for cordova-windows-store8.1-2084-buildbot-vm
> Results at 
> http://cordova-vm.apache.org:5984/_utils/document.html?mobilespec_results/cordova-windows-store8.1-2084-buildbot-vm__6.3.9600.16384__HP
>  Z420 Workstation
> Total failures: 2
> Failing tests:
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.17 progress should work with gzip encoding
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.30 downloaded file entries should have a toNativeURL method
>         Expected spy httpFail not to have been called.
>             Error: Expected spy httpFail not to have been called.
>                at stack 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
>                at buildExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
>                at expectationResultFactory 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
>                at Spec.prototype.addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
>                at addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:261:21)
>                at attemptSync 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1741:9)
>                at QueueRunner.prototype.run 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1729:9)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1753:11)
> {noformat}
> Windows Store 8.1 (again):
> {noformat}
> Getting test results for cordova-windows-store8.1-2083-buildbot-vm
> Results at 
> http://cordova-vm.apache.org:5984/_utils/document.html?mobilespec_results/cordova-windows-store8.1-2083-buildbot-vm__6.3.9600.16384__HP
>  Z420 Workstation
> Total failures: 2
> Failing tests:
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.8 should download a file using https://
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.12 should get http status on failure
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
> {noformat}
> Windows Store 8.1 (again):
> {noformat}
> Getting test results for cordova-windows-store8.1-2082-buildbot-vm
> Results at 
> http://cordova-vm.apache.org:5984/_utils/document.html?mobilespec_results/cordova-windows-store8.1-2082-buildbot-vm__6.3.9600.16384__HP
>  Z420 Workstation
> Total failures: 28
> Failing tests:
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.4 should download a file
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.5 should download a file using http basic auth
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.6 should get 401 status on http basic auth failure
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.8 should download a file using https://
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.11 should call the error callback on abort()
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.9 should not leave partial file due to abort
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.10 should be stopped by abort()
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.12 should get http status on failure
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.13 should get http body on failure
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.15 should handle unknown host
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.17 progress should work with gzip encoding
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.30 downloaded file entries should have a toNativeURL method
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.33 should properly handle 304
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download 
> filetransfer.spec.35 304 should not result in the deletion of a cached file
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.18 should be able to upload a file
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.19 should be able to upload a file with http basic auth
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.21 should be stopped by abort()
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.22 should get http status and body on failure
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.25 should handle unknown host
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.27 should be able to set custom headers
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.31 should be able to upload a file using PUT method
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.32 should be able to upload a file (non-multipart)
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.34 should not delete a file on upload error
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.38 should be able to upload a file using data: source uri
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.39 should be able to upload a file using data: source uri 
> (non-multipart)
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.40 should not fail to upload a file using data: source uri 
> when the data is empty
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.41 should not fail to upload a file using data: source uri 
> when the data is empty (non-multipart)
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-media-tests.tests >> Media actual playback media.spec.18 
> duration should be set properly
>         Expected null to be 403.
>             Error: Expected null to be 403.
>                at stack 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
>                at buildExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
>                at expectationResultFactory 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
>                at Spec.prototype.addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
>                at addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
>                at uploadFail 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1085:25)
>                at errorCallback 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9)
>                at cordova.callbackFromNative 
> (ms-appx://org.apache.mobilespec/www/cordova.js:295:38)
>                at cordova.callbackError 
> (ms-appx://org.apache.mobilespec/www/cordova.js:282:9)
>         Expected 3 to be 4.
>             Error: Expected 3 to be 4.
>                at stack 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
>                at buildExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
>                at expectationResultFactory 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
>                at Spec.prototype.addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
>                at addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
>                at uploadFail 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1308:25)
>                at errorCallback 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9)
>                at cordova.callbackFromNative 
> (ms-appx://org.apache.mobilespec/www/cordova.js:295:38)
>                at cordova.callbackError 
> (ms-appx://org.apache.mobilespec/www/cordova.js:282:9)
>         Expected FileError({ code: 1 }) not to be defined 1.
>             Error: Expected FileError({ code: 1 }) not to be defined 1.
>                at stack 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
>                at buildExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
>                at expectationResultFactory 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
>                at Spec.prototype.addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
>                at addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1316:29)
>                at errorCallback 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file/www/DirectoryEntry.js:113:9)
>                at cordova.callbackFromNative 
> (ms-appx://org.apache.mobilespec/www/cordova.js:295:38)
>                at cordova.callbackError 
> (ms-appx://org.apache.mobilespec/www/cordova.js:282:9)
>         Expected 0 to be greater than 1.
>             Error: Expected 0 to be greater than 1.
>                at stack 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
>                at buildExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
>                at expectationResultFactory 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
>                at Spec.prototype.addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
>                at addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
>                at defaultOnProgressHandler 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:181:17)
>                at win 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:159:17)
>                at cordova.callbackFromNative 
> (ms-appx://org.apache.mobilespec/www/cordova.js:293:41)
>                at cordova.callbackSuccess 
> (ms-appx://org.apache.mobilespec/www/cordova.js:273:9)
>         Expected 0 to be greater than 0.
>             Error: Expected 0 to be greater than 0.
>                at stack 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
>                at buildExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
>                at expectationResultFactory 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
>                at Spec.prototype.addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
>                at addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
>                at defaultOnProgressHandler 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:182:17)
>                at win 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:159:17)
>                at cordova.callbackFromNative 
> (ms-appx://org.apache.mobilespec/www/cordova.js:293:41)
>                at cordova.callbackSuccess 
> (ms-appx://org.apache.mobilespec/www/cordova.js:273:9)
> program finished with exit code 0
> elapsedTime=0.953000
> {noformat}
> Windows Store 8.1 (again):
> {noformat}
> Getting test results for cordova-windows-store8.1-2067-buildbot-vm
> Results at 
> http://cordova-vm.apache.org:5984/_utils/document.html?mobilespec_results/cordova-windows-store8.1-2067-buildbot-vm__6.3.9600.16384__HP
>  Z420 Workstation
> Total failures: 2
> Failing tests:
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.27 should be able to set custom headers
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.31 should be able to upload a file using PUT method
>         Expected spy httpFail not to have been called.
>             Error: Expected spy httpFail not to have been called.
>                at stack 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:11)
>                at buildExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1422:5)
>                at expectationResultFactory 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:572:11)
>                at Spec.prototype.addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:321:5)
>                at addExpectationResult 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:516:9)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:7)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:261:21)
>                at attemptSync 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1741:9)
>                at QueueRunner.prototype.run 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1729:9)
>                at Anonymous function 
> (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1753:11)
> {noformat}
> In iOS:
> {noformat}
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.27 should be able to set custom headers
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL. in 
> file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3/data/Containers/Bundle/Application/3573BB95-B32B-4447-A0AB-1ED4EDF42E5C/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js
>  (line 1764)
>             
> file:///Users/buildbot/Library/Developer/CoreSimulator/Devices/DA6D3C8F-39BE-486B-A6DB-362B7BA75FD3/data/Containers/Bundle/Application/3573BB95-B32B-4447-A0AB-1ED4EDF42E5C/mobilespec.app/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:32
> {noformat}
> In Android:
> {noformat}
> Failing tests:
>     cordova-plugin-file-transfer-tests.tests >> FileTransfer methods upload 
> filetransfer.spec.27 should be able to set custom headers
>         Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>             Error: Timeout - Async callback was not invoked within timeout 
> specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
>                 at 
> file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1764:23
> {noformat}



--
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

Reply via email to