feat: add cli to ama-sdk core #3125
IT Tests report-ubuntu-latest-yarn ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
@ama-sdk/create/dist-test/it-report.xml | 2❌ | 152s | ||
@ama-sdk/generator-sdk/dist-test/it-report.xml | 1✅ | 186s | ||
@ama-sdk/schematics/dist-test/it-report.xml | 2ms | |||
@o3r/analytics/dist-test/it-report.xml | 2✅ | 278s | ||
@o3r/apis-manager/dist-test/it-report.xml | 1✅ | 83s | ||
@o3r/components/dist-test/it-report.xml | 1✅ | 84s | ||
@o3r/configuration/dist-test/it-report.xml | 1✅ | 96s | ||
@o3r/core/dist-test/it-report.xml | 2✅ | 948s | ||
@o3r/extractors/dist-test/it-report.xml | 1✅ | 237s | ||
@o3r/localization/dist-test/it-report.xml | 1✅ | 114s | ||
@o3r/rules-engine/dist-test/it-report.xml | 1✅ | 126s | ||
@o3r/styling/dist-test/it-report.xml | 1✅ | 106s | ||
@o3r/testing/dist-test/it-report.xml | 1✅ | 85s |
❌ @ama-sdk/create/dist-test/it-report.xml
2 tests were completed in 152s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 2❌ | 152s |
❌ Create new sdk command
Create new sdk command should generate a full SDK when the specification is provided
❌ Create new sdk command should generate a full SDK when the specification is provided
Error: expect(received).not.toThrow()
Create new sdk command should generate an empty SDK ready to be used
❌ Create new sdk command should generate an empty SDK ready to be used
Error: expect(received).not.toThrow()
✅ @ama-sdk/generator-sdk/dist-test/it-report.xml
1 tests were completed in 186s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
@ama-sdk/sdk:create | 1✅ | 186s |
✅ @ama-sdk/sdk:create
@ama-sdk/sdk:create should generate a working SDK
✅ @ama-sdk/sdk:create should generate a working SDK
✅ @ama-sdk/schematics/dist-test/it-report.xml
No tests found
✅ @o3r/analytics/dist-test/it-report.xml
2 tests were completed in 278s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with analytics | 2✅ | 278s |
✅ new otter application with analytics
new otter application with analytics standalone should add analytics to existing application
✅ new otter application with analytics standalone should add analytics to existing application
new otter application with analytics monorepo should add analytics to existing application
✅ new otter application with analytics monorepo should add analytics to existing application
✅ @o3r/apis-manager/dist-test/it-report.xml
1 tests were completed in 83s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with apis-manager | 1✅ | 83s |
✅ new otter application with apis-manager
new otter application with apis-manager should add apis-manager to existing application
✅ new otter application with apis-manager should add apis-manager to existing application
✅ @o3r/components/dist-test/it-report.xml
1 tests were completed in 84s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with components | 1✅ | 83s |
✅ new otter application with components
new otter application with components should add components to existing application
✅ new otter application with components should add components to existing application
✅ @o3r/configuration/dist-test/it-report.xml
1 tests were completed in 96s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with configuration | 1✅ | 96s |
✅ new otter application with configuration
new otter application with configuration should add configuration to existing application
✅ new otter application with configuration should add configuration to existing application
✅ @o3r/core/dist-test/it-report.xml
2 tests were completed in 948s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application | 2✅ | 948s |
✅ new otter application
new otter application standalone should build empty app
✅ new otter application standalone should build empty app
new otter application monorepo should build empty app
✅ new otter application monorepo should build empty app
✅ @o3r/extractors/dist-test/it-report.xml
1 tests were completed in 237s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with extractors | 1✅ | 237s |
✅ new otter application with extractors
new otter application with extractors should add extractors to existing application
✅ new otter application with extractors should add extractors to existing application
✅ @o3r/localization/dist-test/it-report.xml
1 tests were completed in 114s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with localization | 1✅ | 114s |
✅ new otter application with localization
new otter application with localization should add localization to existing application
✅ new otter application with localization should add localization to existing application
✅ @o3r/rules-engine/dist-test/it-report.xml
1 tests were completed in 126s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with rules-engine | 1✅ | 126s |
✅ new otter application with rules-engine
new otter application with rules-engine should add rules engine to existing application
✅ new otter application with rules-engine should add rules engine to existing application
✅ @o3r/styling/dist-test/it-report.xml
1 tests were completed in 106s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with styling | 1✅ | 106s |
✅ new otter application with styling
new otter application with styling should add styling to existing application
✅ new otter application with styling should add styling to existing application
✅ @o3r/testing/dist-test/it-report.xml
1 tests were completed in 85s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with testing | 1✅ | 85s |
✅ new otter application with testing
new otter application with testing should add testing to existing application
✅ new otter application with testing should add testing to existing application
Annotations
Check failure on line 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-yarn
Create new sdk command ► Create new sdk command should generate a full SDK when the specification is provided ► Create new sdk command should generate a full SDK when the specification is provided
Failed test found in:
@ama-sdk/create/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn run build
STDERR:
node:fs:2969
handleErrorFromBinding(ctx);
^·
Error: ENOENT: no such file or directory, copyfile '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json' -> '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
at Object.copyFileSync (node:fs:2969:3)
at NodeFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:13310:24)
at makeCallSync.subPath (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15552:28)
at ZipOpenFS.makeCallSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at makeCallSync.subPath (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15551:19)
at ZipOpenFS.makeCallSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at ZipOpenFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15550:17)
at VirtualFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at PosixFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at NodePathFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24) {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json',
dest: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
}·
Node.js v18.18.0·
OUTPUT:
,/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/package.json copied to /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/package.json
/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json copied to /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json
,node:fs:2969
handleErrorFromBinding(ctx);
^·
Error: ENOENT: no such file or directory, copyfile '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json' -> '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
at Object.copyFileSync (node:fs:2969:3)
at NodeFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:13310:24)
at makeCallSync.subPath (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15552:28)
at ZipOpenFS.makeCallSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at makeCallSync.subPath (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15551:19)
at ZipOpenFS.makeCallSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at ZipOpenFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15550:17)
at VirtualFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at PosixFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at NodePathFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24) {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json',
dest: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
}·
Node.js v18.18.0
"
66 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
67 | // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
> 68 | throw new Error(`Command failed: ${cmd} ${args}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
69 | }
70 | }
71 |
at NodeFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:13310:24)
at makeCallSync.subPath (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15552:28)
at ZipOpenFS.makeCallSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at makeCallSync.subPath (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15551:19)
at ZipOpenFS.makeCallSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at ZipOpenFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15550:17)
at VirtualFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at PosixFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at NodePathFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24) {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json',
dest: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
}
Node.js v18.18.0
OUTPUT:
,/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/package.json copied to /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/package.json
/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json copied to /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json
,node:fs:2969
handleErrorFromBinding(ctx);
^
Error: ENOENT: no such file or directory, copyfile '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json' -> '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
at Object.copyFileSync (node:fs:2969:3)
at NodeFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:13310:24)
at makeCallSync.subPath (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15552:28)
at ZipOpenFS.makeCallSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at makeCallSync.subPath (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15551:19)
at ZipOpenFS.makeCallSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at ZipOpenFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15550:17)
at VirtualFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at PosixFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at NodePathFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24) {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json',
dest: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
}
Node.js v18.18.0
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:50:35
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:50:94)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:50:94)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip/node_modules/jest-runner/build/runTest.js:444:34)
Check failure on line 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-yarn
Create new sdk command ► Create new sdk command should generate an empty SDK ready to be used ► Create new sdk command should generate an empty SDK ready to be used
Failed test found in:
@ama-sdk/create/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn run build
STDERR:
node:fs:2969
handleErrorFromBinding(ctx);
^·
Error: ENOENT: no such file or directory, copyfile '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json' -> '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
at Object.copyFileSync (node:fs:2969:3)
at NodeFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:13310:24)
at makeCallSync.subPath (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15552:28)
at ZipOpenFS.makeCallSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at makeCallSync.subPath (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15551:19)
at ZipOpenFS.makeCallSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at ZipOpenFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15550:17)
at VirtualFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at PosixFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at NodePathFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24) {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json',
dest: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
}·
Node.js v18.18.0·
OUTPUT:
,/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/package.json copied to /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/package.json
/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json copied to /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json
,node:fs:2969
handleErrorFromBinding(ctx);
^·
Error: ENOENT: no such file or directory, copyfile '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json' -> '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
at Object.copyFileSync (node:fs:2969:3)
at NodeFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:13310:24)
at makeCallSync.subPath (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15552:28)
at ZipOpenFS.makeCallSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at makeCallSync.subPath (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15551:19)
at ZipOpenFS.makeCallSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at ZipOpenFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:15550:17)
at VirtualFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at PosixFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at NodePathFS.copyFileSync (/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24) {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json',
dest: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
}·
Node.js v18.18.0
"
66 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
67 | // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
> 68 | throw new Error(`Command failed: ${cmd} ${args}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
69 | }
70 | }
71 |
at NodeFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:13310:24)
at makeCallSync.subPath (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15552:28)
at ZipOpenFS.makeCallSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at makeCallSync.subPath (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15551:19)
at ZipOpenFS.makeCallSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at ZipOpenFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15550:17)
at VirtualFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at PosixFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at NodePathFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24) {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json',
dest: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
}
Node.js v18.18.0
OUTPUT:
,/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/package.json copied to /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/package.json
/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json copied to /home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json
,node:fs:2969
handleErrorFromBinding(ctx);
^
Error: ENOENT: no such file or directory, copyfile '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json' -> '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
at Object.copyFileSync (node:fs:2969:3)
at NodeFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:13310:24)
at makeCallSync.subPath (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15552:28)
at ZipOpenFS.makeCallSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at makeCallSync.subPath (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15551:19)
at ZipOpenFS.makeCallSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15818:14)
at ZipOpenFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:15550:17)
at VirtualFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at PosixFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24)
at NodePathFS.copyFileSync (../it-tests/test-sdk/my-test/sdk/.pnp.cjs:14884:24) {
errno: -2,
syscall: 'copyfile',
code: 'ENOENT',
path: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/src/helpers/package.json',
dest: '/home/runner/work/otter/it-tests/test-sdk/my-test/sdk/dist/src/helpers/package.json'
}
Node.js v18.18.0
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:55:35
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-9257f10288.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:55:94)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:55:94)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-3494371489.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-f0405778ea.zip/node_modules/jest-runner/build/runTest.js:444:34)