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

Occasional failure in file transfer tests causing mobilespec crash

    XMLWordPrintableJSON

Details

    Description

      Dumping logs starting from 1620000
      Running command: 
        wevtutil qe Microsoft-Windows-AppHost/ApplicationTracing /q:"*[System [TimeCreated[timediff(@SystemTime)<=1620000]]]" /e:root
      Running command: 
        wevtutil qe Microsoft-Windows-AppHost/Admin /q:"*[System [TimeCreated[timediff(@SystemTime)<=1620000]]]" /e:root
      
      Channel:           Microsoft-Windows-AppHost/Admin
      Time Created:      2016-03-03T13:34:20.496347300Z
      Process ID:        19324
      Document File:     /www/cdvtests/index.html
      Display Name:      mobilespec
      Error Description: {"exception":{"description":"Expected a spy, but got Function.","stack":"Error: Expected a spy, but got Function.\n   at compare (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:2708:11)\n   at Anonymous function (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1358:7)\n   at uploadFail (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1089:25)\n   at errorCallback (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9)\n   at cordova.callbackFromNative (ms-appx://org.apache.mobilespec/www/cordova.js:295:38)\n   at cordova.callbackError (ms-appx://org.apache.mobilespec/www/cordova.js:282:9)\n   at onError (ms-appx://org.apache.mobilespec/www/cordova.js:895:17)\n   at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:134:17)\n   at CompletePromise_then (ms-appx://microsoft.winjs.2.0/js/base.js:1950:21)\n   at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:133:13)"},"error":null,"promise":{"_value":{"description":"Expected a spy, but got Function.","stack":"Error: Expected a spy, but got Function.\n   at compare (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:2708:11)\n   at Anonymous function (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1358:7)\n   at uploadFail (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1089:25)\n   at errorCallback (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/www/FileTransfer.js:152:9)\n   at cordova.callbackFromNative (ms-appx://org.apache.mobilespec/www/cordova.js:295:38)\n   at cordova.callbackError (ms-appx://org.apache.mobilespec/www/cordova.js:282:9)\n   at onError (ms-appx://org.apache.mobilespec/www/cordova.js:895:17)\n   at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:134:17)\n   at CompletePromise_then (ms-appx://microsoft.winjs.2.0/js/base.js:1950:21)\n   at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:133:13)"},"_isException":true,"_errorId":2},"id":2}
      Stack Trace:       Error: Expected a spy, but got Function.
                         at compare (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:2708:11)
                         at Anonymous function (ms-appx://org.apache.mobilespec/www/cdvtests/jasmine-2.2.0/jasmine.js:1358:7)
                         at uploadFail (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer-tests/tests.js:1089: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)
                         at onError (ms-appx://org.apache.mobilespec/www/cordova.js:895:17)
                         at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:134:17)
                         at CompletePromise_then (ms-appx://microsoft.winjs.2.0/js/base.js:1950:21)
                         at Anonymous function (ms-appx://org.apache.mobilespec/www/plugins/cordova-plugin-file-transfer/src/windows/FileTransferProxy.js:133:13)
      

      Started showing up in the Windows Store 8.1 CI yesterday, but only happens intermittently.

      Attachments

        Issue Links

          Activity

            People

              sarangan12 Sarangan Rajamanickam
              riknoll Richard B Knoll
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: