cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Mefire (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10933) Windows-store-8 crash while running tests
Date Tue, 22 Mar 2016 21:35:25 GMT

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

Omar Mefire updated CB-10933:
-----------------------------
    Description: 
Build results cannot be retrieved: https://ci.apache.org/builders/cordova-windows-store8.1/builds/1951/steps/running-tests/logs/stdio
===============================
Success: Your app was successfully installed.
Starting application...
ActivateApplication:  org.apache.mobilespec_h35559jr9hy9m!org.apache.mobilespec
Setting debug mode for application: org.apache.mobilespec
-2147467262
[MEDIC LOG Tue, 22 Mar 2016 12:12:40 GMT] Finished waiting for run command
[MEDIC LOG Tue, 22 Mar 2016 12:12:40 GMT] started waiting for test results
[MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Finished polling for mobilespec results.
[MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT]     Results Found:   false
[MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT]     Total attempts:  144
[MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT]     Failed attempts: 0
[MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] FATAL: Could not find test results. Check the output
of medic-log to see if the app crashed before it could upload them to couchdb.
program finished with exit code 1
elapsedTime=1473.147000


===========================================

Probably due to the following issue: https://ci.apache.org/builders/cordova-windows-store8.1/builds/1951/steps/gathering-logs/logs/stdio

Channel:           Microsoft-Windows-AppHost/Admin
Time Created:      2016-03-22T12:16:52.183701000Z
Process ID:        12100
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)
                   

Channel:           Microsoft-Windows-AppHost/ApplicationTracing
Time Created:      2016-03-22T12:16:52.198699700Z
Process ID:        12100
Source:            DOM
Document File:     ms-appx://org.apache.mobilespec/www/cdvtests/index.html
Display Name:      mobilespec
Message:           The code on this page disabled back and forward caching. For more information,
see: http://go.microsoft.com/fwlink/?LinkID=291337

Channel:           Microsoft-Windows-AppHost/ApplicationTracing
Time Created:      2016-03-22T12:16:52.231701000Z
Process ID:        12100
Source:            CONSOLE
Display Name:      mobilespec
Message:           Error in Success callbackId: FileTransfer822225661 : Error: Expected a
spy, but got Function.
program finished with exit code 0
elapsedTime=1.675000



  was:
Recent build links:

https://ci.apache.org/builders/cordova-android-win/builds/1626
https://ci.apache.org/builders/cordova-android-win/builds/1625

Build log:
Failing tests:
    cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) Round trip
Contact tests (creating + save + delete + find) contacts.spec.25 Creating, saving, finding
a contact should work
        Expected 2 to be 1.
            Error: Expected 2 to be 1.
                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 findWin (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:519:47)
                at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:57:17)
                at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
                at processMessage (file:///android_asset/www/cordova.js:1081:17)
                at processMessages (file:///android_asset/www/cordova.js:1104:9)
    cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) Round trip
Contact tests (creating + save + delete + find) contacts.spec.26 Creating, saving, finding
a contact should work, removing it should work
        Expected 2 to be 1.
            Error: Expected 2 to be 1.
                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 findWin (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:519:47)
                at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:57:17)
                at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
                at processMessage (file:///android_asset/www/cordova.js:1081:17)
    cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) Round trip
Contact tests (creating + save + delete + find) contacts.spec.27 Should not be able to delete
the same contact twice
        Expected 2 to be 1.
            Error: Expected 2 to be 1.
                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 findWin (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:519:47)
                at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:57:17)
                at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
                at processMessage (file:///android_asset/www/cordova.js:1081:17)
        Expected 1 to be 0.
            Error: Expected 1 to be 0.
                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 findWin (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:577:49)
                at win (file:///android_asset/www/plugins/cordova-plugin-contacts/www/contacts.js:57:17)
                at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
                at processMessage (file:///android_asset/www/cordova.js:1081:17)



> Windows-store-8 crash while running tests
> -----------------------------------------
>
>                 Key: CB-10933
>                 URL: https://issues.apache.org/jira/browse/CB-10933
>             Project: Apache Cordova
>          Issue Type: Test
>            Reporter: Omar Mefire
>              Labels: cordova-windows-store-8.1, found-by-ci
>
> Build results cannot be retrieved: https://ci.apache.org/builders/cordova-windows-store8.1/builds/1951/steps/running-tests/logs/stdio
> ===============================
> Success: Your app was successfully installed.
> Starting application...
> ActivateApplication:  org.apache.mobilespec_h35559jr9hy9m!org.apache.mobilespec
> Setting debug mode for application: org.apache.mobilespec
> -2147467262
> [MEDIC LOG Tue, 22 Mar 2016 12:12:40 GMT] Finished waiting for run command
> [MEDIC LOG Tue, 22 Mar 2016 12:12:40 GMT] started waiting for test results
> [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] Finished polling for mobilespec results.
> [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT]     Results Found:   false
> [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT]     Total attempts:  144
> [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT]     Failed attempts: 0
> [MEDIC LOG Tue, 22 Mar 2016 12:36:41 GMT] FATAL: Could not find test results. Check the
output of medic-log to see if the app crashed before it could upload them to couchdb.
> program finished with exit code 1
> elapsedTime=1473.147000
> ===========================================
> Probably due to the following issue: https://ci.apache.org/builders/cordova-windows-store8.1/builds/1951/steps/gathering-logs/logs/stdio
> Channel:           Microsoft-Windows-AppHost/Admin
> Time Created:      2016-03-22T12:16:52.183701000Z
> Process ID:        12100
> 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)
>                    
> Channel:           Microsoft-Windows-AppHost/ApplicationTracing
> Time Created:      2016-03-22T12:16:52.198699700Z
> Process ID:        12100
> Source:            DOM
> Document File:     ms-appx://org.apache.mobilespec/www/cdvtests/index.html
> Display Name:      mobilespec
> Message:           The code on this page disabled back and forward caching. For more
information, see: http://go.microsoft.com/fwlink/?LinkID=291337
> Channel:           Microsoft-Windows-AppHost/ApplicationTracing
> Time Created:      2016-03-22T12:16:52.231701000Z
> Process ID:        12100
> Source:            CONSOLE
> Display Name:      mobilespec
> Message:           Error in Success callbackId: FileTransfer822225661 : Error: Expected
a spy, but got Function.
> program finished with exit code 0
> elapsedTime=1.675000



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

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


Mime
View raw message