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

cordova-lib tests fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Master
    • None
    • cordova-lib
    • None
    • Windows 8.1 x64
      CordovaLib a2165e2f211be2ab3642b2e83b37c82862588a24

    Description

      Running `npm test` produce following output

      > cordova-lib@4.0.1-dev test C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib
      > npm run jasmine && npm run jshint
      
      
      > cordova-lib@4.0.1-dev jasmine C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib
      > jasmine-node --captureExceptions --color spec-plugman spec-cordova
      
      ........................................................................................................................
      ........................................................................................................................
      ........................................................................................................................
      ........................................................................................................................
      ................rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/res/xml
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/res/xml
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/res
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/res/xml
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/res
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman
      
      .rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/assets/www
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/assets/www
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/assets
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/assets/www
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman/assets
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\plugman
      
      .................rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/
      src/one/two/three
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two/three
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two/three
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two/three
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two/three
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one/two
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src/one
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project/src
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\AppData\Local\Temp\test_plugman\project
      
      ...........FF.....FF..........FFF...FF...........................rm: could not remove directory (code ENOTEMPTY): C:\Use
      rs\kant\AppData\Local\Temp\plugin
      
      .......................rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordo
      va-lib\spec-plugman\projects\android_uninstall.test/assets/www
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test/assets/www
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test/assets
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test/assets/www
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test/assets
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test2/assets/www
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test2/assets/www
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test2/assets
      
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test2/assets/www
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test2/assets
      rm: could not remove directory (code ENOTEMPTY): C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\pro
      jects\android_uninstall.test2
      
      .shell.js: internal error
      Error: EPERM, operation not permitted 'C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\projects\andr
      oid_uninstall.test\assets\www\cordova.js'
          at Object.fs.lstatSync (fs.js:690:18)
          at rmdirSyncRecursive (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:20:23)
          at rmdirSyncRecursive (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:23:7)
          at rmdirSyncRecursive (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:23:7)
          at C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:141:7
          at Array.forEach (native)
          at Object._rm (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\rm.js:105:9)
          at Object.rm (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\shelljs\src\common.js:186:23)
          at null.<anonymous> (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\spec-plugman\uninstall.spec.js:55:15)
          at jasmine.Block.execute (C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib\node_modules\jasmine-node\lib\jasmi
      ne-node/jasmine-1.3.1.js:1145:17)
      
      > cordova-lib@4.0.1-dev jshint C:\Users\kant\Documents\GitHub\cordova-lib\cordova-lib
      > node node_modules/jshint/bin/jshint src
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              akurdyumov Andrey Kurdyumov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: