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

Travis CI tests for cordova-lib 8.0.1-dev has been failing

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Master
    • Master
    • cordova-lib
    • None
    • Travis c.i. test for Node 6, 8 and 10.

    Description

      Travis CI tests for cordova-lib 8.0.1-dev has been failing for the following three reasons.

      1. Test#022 on pkgJson.spec.js, is still using an old iOS platform version (4.3.0).

      2. The pkgJson.spec.js timeout parameters are not enough. Due to network conditions, sometimes tests and NPM randomly fails.

      3. Test#006 on platform.spec.js sometimes randomly fails because of missing write access. Error below can be seen when running the test.

      { CordovaError: Error: npm: Command failed with exit code 254 Error output:
      npm WARN checkPermissions Missing write access to /tmp/e2e-test/plugin_rm_test/hello/node_modules/cordova-android/node_modules/abbrev
      npm WARN checkPermissions Missing write access to /tmp/e2e-test/plugin_rm_test/hello/node_modules/cordova-android/node_modules/android-versions
      npm WARN checkPermissions Missing write access to /tmp/e2e-test/plugin_rm_test/hello/node_modules/cordova-android/node_modules/ansi
      npm WARN checkPermissions Missing write access to /tmp/e2e-test/plugin_rm_test/hello/node_modules/cordova-android/node_modules/b

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              knaito Ken
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: