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

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: cordova-lib
    • Labels:
      None
    • Environment:

      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

              • Assignee:
                Unassigned
                Reporter:
                knaito Ken Naito
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: