[ 
https://issues.apache.org/jira/browse/CB-7721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14161409#comment-14161409
 ] 

Shazron Abdullah edited comment on CB-7721 at 10/7/14 3:23 AM:
---------------------------------------------------------------

At 8:20 pm PST, I re-tried it without any changes but this time it succeeded. 
Not sure why, but if I had to guess either: network conditions, local disk 
problems, who knows -- but it did fail before.

This is probably why travis-ci failed for my pull-request -- not sure


was (Author: shazron):
At 8:20 pm PST, I re-tried it without any changes but this time it succeeded. 
Not sure why, but if I had to guess either: network conditions, local disk 
problems, who knows -- but it did fail.

This is probably why travis-ci failed for my pull-request -- not sure

> cordova-lib tests fail
> ----------------------
>
>                 Key: CB-7721
>                 URL: https://issues.apache.org/jira/browse/CB-7721
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>         Environment: OS X 10.9, node 0.10.32, npm 1.4.28
> cordova-lib 457223806dbbdefa4af3b29300d69dd00315ed96
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>            Priority: Critical
>
> This is on a fresh vm that didn't have node or cordova.
> 1. Installed node
> 2. Cloned https://github.com/apache/cordova-lib.git
> 3. cd cordova-lib/cordova-lib
> 4. npm install
> 5. npm test
> Error Log:
> {code}
> $ npm test
> > cordova-lib@3.7.1-dev test /Users/admin/Desktop/cordova-lib/cordova-lib
> > npm run jasmine && npm run jshint
> > cordova-lib@3.7.1-dev jasmine /Users/admin/Desktop/cordova-lib/cordova-lib
> > jasmine-node --captureExceptions --color spec-plugman spec-cordova
> ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................no
>  git
> F..FF...F.Fno git
> ...no git
> FF..........................................................................................................................
> Failures:
>   1) start start
>    Message:
>      timeout: timed out after 500 msec waiting for promise never resolved
>    Stacktrace:
>      undefined
>   2) uninstallPlatform success should queue up actions as appropriate for 
> that plugin and call process on the action stack
>    Message:
>      Expected 6 to equal 5.
>    Stacktrace:
>      Error: Expected 6 to equal 5.
>     at null.<anonymous> 
> (/Users/admin/Desktop/cordova-lib/cordova-lib/spec-plugman/uninstall-browserify.spec.js:120:51)
>     at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
>   3) uninstallPlatform success with dependencies should uninstall "dangling" 
> dependencies
>    Message:
>      Expected spy emit to have been called with [ 'log', 'Uninstalling 2 
> dependent plugins.' ] but actual calls were [ 'log', 'Uninstalling A from 
> android' ], [ 'verbose', 'A uninstalled from android.' ]
>    Stacktrace:
>      Error: Expected spy emit to have been called with [ 'log', 'Uninstalling 
> 2 dependent plugins.' ] but actual calls were [ 'log', 'Uninstalling A from 
> android' ], [ 'verbose', 'A uninstalled from android.' ]
>     at null.<anonymous> 
> (/Users/admin/Desktop/cordova-lib/cordova-lib/spec-plugman/uninstall-browserify.spec.js:136:34)
>     at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
>   4) uninstallPlugin with dependencies should fail if plugin is a required 
> dependency
>    Message:
>      Expected undefined to be '"C" is required by (A) and cannot be removed 
> (hint: use -f or --force)'.
>    Stacktrace:
>      Error: Expected undefined to be '"C" is required by (A) and cannot be 
> removed (hint: use -f or --force)'.
>     at null.<anonymous> 
> (/Users/admin/Desktop/cordova-lib/cordova-lib/spec-plugman/uninstall-browserify.spec.js:198:38)
>     at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
>   5) uninstallPlugin with dependencies never remove top level plugins if they 
> are a dependency
>    Message:
>      Expected [  ] to equal [ 'Deleted "D"', 'Deleted "A"' ].
>    Stacktrace:
>      Error: Expected [  ] to equal [ 'Deleted "D"', 'Deleted "A"' ].
>     at null.<anonymous> 
> (/Users/admin/Desktop/cordova-lib/cordova-lib/spec-plugman/uninstall-browserify.spec.js:222:29)
>     at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
>   6) end end
>    Message:
>      Expected 'Could not find plugin info in 
> /Users/admin/Desktop/cordova-lib/cordova-lib/spec-plugman/projects/android_uninstall.test2/cordova/plugins/C'
>  to be 'The plugin 'C' is required by (A), skipping uninstallation.'.
>    Stacktrace:
>      Error: Expected 'Could not find plugin info in 
> /Users/admin/Desktop/cordova-lib/cordova-lib/spec-plugman/projects/android_uninstall.test2/cordova/plugins/C'
>  to be 'The plugin 'C' is required by (A), skipping uninstallation.'.
>     at promise.then.then.fail.then.uninstall.browserify 
> (/Users/admin/Desktop/cordova-lib/cordova-lib/spec-plugman/uninstall-browserify.spec.js:290:37)
>     at _rejected 
> (/Users/admin/Desktop/cordova-lib/cordova-lib/node_modules/q/q.js:808:24)
>     at /Users/admin/Desktop/cordova-lib/cordova-lib/node_modules/q/q.js:834:30
>     at Promise.when 
> (/Users/admin/Desktop/cordova-lib/cordova-lib/node_modules/q/q.js:1079:31)
>     at Promise.promise.promiseDispatch 
> (/Users/admin/Desktop/cordova-lib/cordova-lib/node_modules/q/q.js:752:41)
>     at /Users/admin/Desktop/cordova-lib/cordova-lib/node_modules/q/q.js:574:44
>     at flush 
> (/Users/admin/Desktop/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
>     at process._tickCallback (node.js:419:13)
>   7) start start
>    Message:
>      timeout: timed out after 500 msec waiting for promise never resolved
>    Stacktrace:
>      undefined
> Finished in 87.048 seconds
> 722 tests, 1024 assertions, 7 failures, 0 skipped
> npm ERR! weird error 1
> npm ERR! not ok code 0
> npm ERR! Test failed.  See above for more details.
> npm ERR! not ok code 0
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to