Page MenuHomePhabricator

wikibase bridge test:storybook causes Error from chokidar, Error: ENOSPC: System limit for number of file watchers reached in CI
Closed, ResolvedPublic

Description

From https://libraryupgrader2.wmflabs.org/r/mediawiki/extensions/Wikibase

A small sample

Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/xmf.json'
Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/xsy.json'
Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/yi.json'
Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/yo.json'
Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/yue.json'
Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/zea.json'
Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/zgh.json'
Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/zh-hans.json'
Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/zh-hant.json'
Error from chokidar (/src/repo/client/i18n): Error: ENOSPC: System limit for number of file watchers reached, watch '/src/repo/client/i18n/zu.json'
info stats written to => /src/repo/client/data-bridge/node_modules/.cache/storybook/[name].json

Could be something that needs tweaking in the container
https://github.com/gatsbyjs/gatsby/issues/11406#issuecomment-636345245

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 12 2020, 10:32 AM
Addshore claimed this task.Fri, Jun 26, 9:41 AM

These errors came up again today in a mwgate-node10-docker job.
Ultimately these errors are SPAM and stop people from spotting the actual failures.
Patch inbound.

Restricted Application added a project: User-Addshore. · View Herald TranscriptFri, Jun 26, 9:41 AM
Addshore renamed this task from libup wikibase Error from chokidar, Error: ENOSPC: System limit for number of file watchers reached to wikibase bridge test:storybook causes Error from chokidar, Error: ENOSPC: System limit for number of file watchers reached in CI.Fri, Jun 26, 9:41 AM
Addshore added a project: ci-test-error.

Change 607984 had a related patch set uploaded (by Addshore; owner: Addshore):
[mediawiki/extensions/Wikibase@master] Set CHOKIDAR_USEPOLLING=1 for bridge test:storybook

https://gerrit.wikimedia.org/r/607984

Change 607984 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Set CHOKIDAR_USEPOLLING=1 for bridge test:storybook

https://gerrit.wikimedia.org/r/607984