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

Contact tests fail with different behaviors on android-osx

    XMLWordPrintableJSON

Details

    Description

      Plugin contact tests fail consistently with various reasons on android-osx.

      Recent build links:
      https://ci.apache.org/builders/cordova-android-osx/builds/2076
      https://ci.apache.org/builders/cordova-android-osx/builds/2075

      Build log:
      Total failures: 3
      Failing tests:
      cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) save method contacts.spec.22 update a contact
      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
      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
      cordova-plugin-contacts-tests.tests >> Contacts (navigator.contacts) Contact.remove method contacts.spec.23 calling remove on a contact that has an id of null should return ContactError.UNKNOWN_ERROR
      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
      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
      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
      Expected spy unknownErrorCallback not to have been called.
      Error: Expected spy unknownErrorCallback not to have been called.
      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.toHaveBeenCalled (file:///android_asset/www/cdvtests/jasmine-2.2.0/jasmine.js:1379:12)
      at file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:73:51
      at fail (file:///android_asset/www/plugins/cordova-plugin-contacts/www/Contact.js:111:9)
      at Contact.remove (file:///android_asset/www/plugins/cordova-plugin-contacts/www/Contact.js:114:9)
      at removeContact (file:///android_asset/www/plugins/cordova-plugin-contacts-tests/tests.js:60:21)

      Attachments

        Issue Links

          Activity

            People

              omefire Omar Mefire
              rakatyal Raghav Katyal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: