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

cordova-lib CI failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cordova-lib
    • None

    Description

      node 6.4.0

      Failures:
      
        1) platform add plugin rm end-to-end should remove dependency when removing parent plugin
         Message:
           timeout: timed out after 20000 msec waiting for spec to complete
         Stacktrace:
           undefined
      
        2) platform add and remove --fetch should add and remove platform from node_modules directory
         Message:
           Expected { errno : -2, code : 'ENOENT', syscall : 'open', path : '/private/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/e2e-test/plugin_rm_test/hello/platforms/ios/HelloCordova/HelloCordova-Info.plist' } to be undefined.
         Stacktrace:
           Error: Expected { errno : -2, code : 'ENOENT', syscall : 'open', path : '/private/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/e2e-test/plugin_rm_test/hello/platforms/ios/HelloCordova/HelloCordova-Info.plist' } to be undefined.
          at /Users/shaz/Documents/git/apache/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:246:25
          at _rejected (/Users/shaz/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
          at /Users/shaz/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
          at Promise.when (/Users/shaz/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
          at Promise.promise.promiseDispatch (/Users/shaz/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
          at /Users/shaz/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
          at flush (/Users/shaz/Documents/git/apache/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
          at _combinedTickCallback (internal/process/next_tick.js:67:7)
          at process._tickCallback (internal/process/next_tick.js:98:9)
      
      Subproject Path: CordovaLib
      ANDROID_HOME=/Applications/adt-bundle/sdk
      JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home
      Subproject Path: CordovaLib
      Starting a new Gradle Daemon for this build (subsequent builds will be faster).
      Observed package id 'add-ons;addon-google_apis_x86-google-19' in inconsistent location '/Applications/adt-bundle/sdk/add-ons/addon-google_apis_x86-google-19-1' (Expected '/Applications/adt-bundle/sdk/add-ons/addon-google_apis_x86-google-19')
      Observed package id 'build-tools;17.0.0' in inconsistent location '/Applications/adt-bundle/sdk/build-tools/android-4.2.2' (Expected '/Applications/adt-bundle/sdk/build-tools/17.0.0')
      Observed package id 'add-ons;addon-google_apis_x86-google-19' in inconsistent location '/Applications/adt-bundle/sdk/add-ons/addon-google_apis_x86-google-19-1' (Expected '/Applications/adt-bundle/sdk/add-ons/addon-google_apis_x86-google-19')
      Observed package id 'build-tools;17.0.0' in inconsistent location '/Applications/adt-bundle/sdk/build-tools/android-4.2.2' (Expected '/Applications/adt-bundle/sdk/build-tools/17.0.0')
      
      >FAILURE: Build failed with an exception.
      
      * What went wrong:
      A problem occurred configuring root project 'android'.
      > A problem occurred configuring project ':CordovaLib'.
         > Cannot read packageName from /private/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/e2e-test/plugin_rm_test/hello/platforms/android/CordovaLib/AndroidManifest.xml
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      
      Total time: 6.83 secs
      { Error: /private/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/e2e-test/plugin_rm_test/hello/platforms/android/gradlew: Command failed with exit code 1
          at ChildProcess.whenDone (/private/var/folders/gp/qnjhl3ps51z2vvww_th7ldsh0000gn/T/e2e-test/plugin_rm_test/hello/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
          at emitTwo (events.js:106:13)
          at ChildProcess.emit (events.js:191:7)
          at maybeClose (internal/child_process.js:852:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5) code: 1 }
      

      Attachments

        Activity

          People

            raphinesse Raphael von der GrĂ¼n
            shazron Shazron Abdullah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: