-
Notifications
You must be signed in to change notification settings - Fork 123
$packages\lu\test\parser\lu\lu.test.js fails in case-sensitive UNIX environments #1177
Description
Versions
What CLI version are you using.
What Nodejs version are you using
What command-line interpreters are you using
What OS are you using
Describe the bug
Give a clear and concise description of what the bug is.
To Reproduce
run 'rush test' in a UNIX environment.
Expected behavior
Unit tests should not fail.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
[bug]
2021-04-04T00:35:12.6360856Z FAILURE (1)
2021-04-04T00:35:12.6361659Z ================================
2021-04-04T00:35:12.6362602Z @microsoft/bf-lu (36.69 seconds)
2021-04-04T00:35:12.6363915Z Error: Cannot find module './../../fixtures/translation/serviceresponses/intentsAndutterances.json'
2021-04-04T00:35:12.6366245Z at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
2021-04-04T00:35:12.6371107Z at Function.Module._load (internal/modules/cjs/loader.js:562:25)
2021-04-04T00:35:12.6371891Z at Module.require (internal/modules/cjs/loader.js:692:17)
2021-04-04T00:35:12.6372533Z at require (internal/modules/cjs/helpers.js:25:18)
2021-04-04T00:35:12.6373578Z at Suite. (/home/vsts/work/1/s/botframework-cli/packages/lu/test/parser/lu/lu.test.js:16:22)
2021-04-04T00:35:12.6377031Z at Object.create (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/lib/interfaces/common.js:140:19)
2021-04-04T00:35:12.6378685Z at context.describe.context.context (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/lib/interfaces/bdd.js:42:27)
2021-04-04T00:35:12.6380056Z at Object. (/home/vsts/work/1/s/botframework-cli/packages/lu/test/parser/lu/lu.test.js:15:1)
2021-04-04T00:35:12.6380804Z at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-04-04T00:35:12.6381938Z at Module.m._compile (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/ts-node/9.0.0_typescript@4.0.3/node_modules/ts-node/src/index.ts:1043:23)
2021-04-04T00:35:12.6411337Z at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2021-04-04T00:35:12.6412940Z at Object.require.extensions.(anonymous function) [as .js] (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/ts-node/9.0.0_typescript@4.0.3/node_modules/ts-node/src/index.ts:1046:12)
2021-04-04T00:35:12.6413977Z at Module.load (internal/modules/cjs/loader.js:653:32)
2021-04-04T00:35:12.6414723Z at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2021-04-04T00:35:12.6415349Z at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2021-04-04T00:35:12.6415967Z at Module.require (internal/modules/cjs/loader.js:692:17)
2021-04-04T00:35:12.6416558Z at require (internal/modules/cjs/helpers.js:25:18)
2021-04-04T00:35:12.6417596Z at /home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/lib/mocha.js:334:36
2021-04-04T00:35:12.6418489Z at Array.forEach ()
2021-04-04T00:35:12.6419556Z at Mocha.loadFiles (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/lib/mocha.js:331:14)
2021-04-04T00:35:12.6421104Z at Mocha.run (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/lib/mocha.js:809:10)
2021-04-04T00:35:12.6422498Z at Object.exports.singleRun (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/lib/cli/run-helpers.js:108:16)
2021-04-04T00:35:12.6424052Z at exports.runMocha (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/lib/cli/run-helpers.js:142:13)
2021-04-04T00:35:12.6425526Z at Object.exports.handler.argv [as handler] (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/lib/cli/run.js:292:3)
2021-04-04T00:35:12.6426911Z at Object.runCommand (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/yargs/13.3.0/node_modules/yargs/lib/command.js:242:26)
2021-04-04T00:35:12.6428603Z at Object.parseArgs [as _parseArgs] (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/yargs/13.3.0/node_modules/yargs/yargs.js:1087:28)
2021-04-04T00:35:12.6430029Z at Object.parse (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/yargs/13.3.0/node_modules/yargs/yargs.js:566:25)
2021-04-04T00:35:12.6431921Z at Object.exports.main (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/lib/cli/cli.js:68:6)
2021-04-04T00:35:12.6433300Z at Object. (/home/vsts/work/1/s/botframework-cli/common/temp/node_modules/.pnpm/registry.npmjs.org/mocha/6.2.2/node_modules/mocha/bin/mocha:164:29)
2021-04-04T00:35:12.6434169Z at Module._compile (internal/modules/cjs/loader.js:778:30)
2021-04-04T00:35:12.6434833Z at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
2021-04-04T00:35:12.6435468Z at Module.load (internal/modules/cjs/loader.js:653:32)
2021-04-04T00:35:12.6436078Z at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
2021-04-04T00:35:12.6436700Z at Function.Module._load (internal/modules/cjs/loader.js:585:3)
2021-04-04T00:35:12.6437341Z at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
2021-04-04T00:35:12.6437950Z at startup (internal/bootstrap/node.js:283:19)
2021-04-04T00:35:12.6438545Z at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
2021-04-04T00:35:12.6439101Z ================================
2021-04-04T00:35:12.6439433Z
2021-04-04T00:35:12.6440131Z [@microsoft/bf-lu] Returned error code: 1
2021-04-04T00:35:12.6440552Z
2021-04-04T00:35:12.6441033Z Error: Project(s) failed
2021-04-04T00:35:12.6441823Z rush test - Errors! (36.91 seconds)
2021-04-04T00:35:12.6523760Z ##[error]Bash exited with code '1'.
2021-04-04T00:35:12.6537151Z ##[section]Finishing: rush test