Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11057

Flaky File Transfer specs

    XMLWordPrintableJSON

Details

    Description

      Below are several examples

      Windows Store 8.1:

      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)
      

      Windows Store 8.1 (again):

      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.
      

      Windows Store 8.1 (again):

      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
      
      

      Windows Store 8.1 (again):

      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)
      

      iOS:

          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
      

      iOS (again): https://ci.apache.org/builders/cordova-android-osx/builds/2314/steps/getting-test-results/logs/stdio

      Total failures: 1
      Failing tests:
          cordova-plugin-file-transfer-tests.tests >> FileTransfer methods download filetransfer.spec.10 should be stopped by abort()
              Expected 3 to be 4.
                  Error: Expected 3 to be 4.
                      at stack (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1455:17)
                      at buildExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1425:14)
                      at Spec.Env.expectationResultFactory (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:572:18)
                      at Spec.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:321:34)
                      at Expectation.addExpectationResult (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:516:21)
                      at Expectation.toBe (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
                      at downloadFail (file:///android_asset/www/plugins/cordova-plugin-file-transfer-tests/tests.js:563:44)
                      at fail (file:///android_asset/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:226:9)
                      at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:295:52)
                      at processMessage (file:///android_asset/www/cordova.js:1081:17)
                      at processMessages (file:///android_asset/www/cordova.js:1104:9)
      program finished with exit code 0
      elapsedTime=0.655193
      

      In Android:

      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
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              riknoll Richard B Knoll
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: