You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/03/31 18:39:37 UTC
[GitHub] [openwhisk-wskdebug] alexkli opened a new issue #34: [tests] avoid
watching node_modules as that leads to test failures
alexkli opened a new issue #34: [tests] avoid watching node_modules as that leads to test failures
URL: https://github.com/apache/openwhisk-wskdebug/issues/34
It seems that some of the source watching tests watch the entire `node_modules` folder, which can be many files and exceed the limits of the OS. This even though that should be fully excluded already: https://github.com/apache/openwhisk-wskdebug/blob/master/src/watcher.js#L43
Example: https://travis-ci.com/github/apache/openwhisk-wskdebug/jobs/310730228
```
(node:5261) UnhandledPromiseRejectionWarning: Error: ENOSPC: System limit for number of file watchers reached, watch '/home/travis/build/apache/openwhisk-wskdebug/node_modules/ramda/es/internal/_arrayFromIterator.js'
713 at FSWatcher.start (internal/fs/watchers.js:169:26)
714 at Object.watch (fs.js:1346:11)
715 at createFsWatchInstance (/home/travis/build/apache/openwhisk-wskdebug/node_modules/chokidar/lib/nodefs-handler.js:118:15)
716 at setFsWatchListener (/home/travis/build/apache/openwhisk-wskdebug/node_modules/chokidar/lib/nodefs-handler.js:165:15)
717 at NodeFsHandler._watchWithNodeFs (/home/travis/build/apache/openwhisk-wskdebug/node_modules/chokidar/lib/nodefs-handler.js:330:14)
718 at NodeFsHandler._handleFile (/home/travis/build/apache/openwhisk-wskdebug/node_modules/chokidar/lib/nodefs-handler.js:360:23)
719 at NodeFsHandler._addToNodeFs (/home/travis/build/apache/openwhisk-wskdebug/node_modules/chokidar/lib/nodefs-handler.js:620:21)
720(node:5261) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [openwhisk-wskdebug] rabbah closed issue #34: [tests] avoid
watching node_modules as that leads to test failures
Posted by GitBox <gi...@apache.org>.
rabbah closed issue #34: [tests] avoid watching node_modules as that leads to test failures
URL: https://github.com/apache/openwhisk-wskdebug/issues/34
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services