chore: angular 19 #9595
1 passed, 9 failed and 0 skipped
❌ @ama-sdk/create/dist-test/it-report.xml
7 tests were completed in 105s with 1 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 1✅ | 6❌ | 95s |
❌ Create new sdk command
Create new sdk command should generate a light SDK when the specification is provided
❌ Create new sdk command should generate a light SDK when the specification is provided
Error: expect(received).not.toThrow()
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 a full SDK when the specification is provided as npm dependency
❌ Create new sdk command should generate a full SDK when the specification is provided as npm dependency
Error: expect(received).not.toThrow()
Create new sdk command should generate an SDK with no package scope
❌ Create new sdk command should generate an SDK with no package scope
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()
Create new sdk command should fail when there is an error
✅ Create new sdk command should fail when there is an error
Create new sdk command should use pinned versions when --exact-o3r-version is used
❌ Create new sdk command should use pinned versions when --exact-o3r-version is used
Error: expect(received).not.toThrow()
✅ @ama-sdk/schematics/dist-test/it-report.xml
No tests found
✅ @o3r/analytics/dist-test/it-report.xml
No tests found
✅ @o3r/apis-manager/dist-test/it-report.xml
No tests found
✅ @o3r/application/dist-test/it-report.xml
No tests found
✅ @o3r/components/dist-test/it-report.xml
No tests found
✅ @o3r/configuration/dist-test/it-report.xml
No tests found
✅ @o3r/core/dist-test/it-report.xml
No tests found
❌ @o3r/create/dist-test/it-report.xml
3 tests were completed in 83s with 0 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new otter project command | 3❌ | 72s |
❌ Create new otter project command
Create new otter project command should generate a project with an application
❌ Create new otter project command should generate a project with an application
Error: expect(received).not.toThrow()
Create new otter project command should generate a project with a library
❌ Create new otter project command should generate a project with a library
Error: expect(received).not.toThrow()
Create new otter project command should generate a project with an application with --exact-o3r-version
❌ Create new otter project command should generate a project with an application with --exact-o3r-version
Error: expect(received).not.toThrow()
✅ @o3r/design/dist-test/it-report.xml
No tests found
✅ @o3r/eslint-config-otter/dist-test/it-report.xml
No tests found
✅ @o3r/eslint-config/dist-test/it-report.xml
No tests found
✅ @o3r/extractors/dist-test/it-report.xml
No tests found
✅ @o3r/localization/dist-test/it-report.xml
No tests found
✅ @o3r/new-version/dist-test/it-report.xml
No tests found
✅ @o3r/pipeline/dist-test/it-report.xml
No tests found
✅ @o3r/rules-engine/dist-test/it-report.xml
No tests found
✅ @o3r/stylelint-plugin/dist-test/it-report.xml
No tests found
✅ @o3r/styling/dist-test/it-report.xml
No tests found
✅ @o3r/testing/dist-test/it-report.xml
No tests found
✅ @o3r/third-party/dist-test/it-report.xml
No tests found
✅ @o3r/workspace/dist-test/it-report.xml
No tests found
Annotations
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm-
Create new sdk command ► Create new sdk command should generate a light SDK when the specification is provided ► Create new sdk command should generate a light 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: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk/swagger-spec.yml
STDERR:
npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected]
\"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_57_504Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_57_504Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found
npm error 404
npm error 404 'openapi-generator-cli@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_10_876Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk
npm error command failed
npm error command sh -c create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk/swagger-spec.yml
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_43_744Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk/swagger-spec.yml·
CREATE my-test/sdk/.commitlintrc.json (810 bytes)
CREATE my-test/sdk/.editorconfig (208 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (90 bytes)
CREATE my-test/sdk/.swcrc (329 bytes)
CREATE my-test/sdk/.versionrc.json (110 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (122 bytes)
CREATE my-test/sdk/jest.config.js (737 bytes)
CREATE my-test/sdk/readme.md (7214 bytes)
CREATE my-test/sdk/tsconfig.build.json (542 bytes)
CREATE my-test/sdk/tsconfig.doc.json (354 bytes)
CREATE my-test/sdk/tsconfig.json (226 bytes)
CREATE my-test/sdk/typedoc.json (289 bytes)
CREATE my-test/sdk/.vscode/settings.json (613 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (496 bytes)
CREATE my-test/sdk/src/index.ts (77 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (123 bytes)
CREATE my-test/sdk/src/api/index.ts (17 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (41 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (353 bytes)
CREATE my-test/sdk/src/helpers/index.ts (17 bytes)
CREATE my-test/sdk/src/helpers/package.json (314 bytes)
CREATE my-test/sdk/src/models/enums.ts (93 bytes)
CREATE my-test/sdk/src/models/index.ts (128 bytes)
CREATE my-test/sdk/src/models/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/base/index.ts (17 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (100 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (48 bytes)
CREATE my-test/sdk/src/models/core/index.ts (49 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (51 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (17 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (53 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (123 bytes)
CREATE my-test/sdk/src/spec/index.ts (103 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (16 bytes)
CREATE my-test/sdk/src/spec/package.json (293 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (49 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (448 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (319 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (242 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (357 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (127 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (287 bytes)
CREATE my-test/sdk/.gitattributes (289 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (839 bytes)
CREATE my-test/sdk/eslint.config.mjs (2232 bytes)
CREATE my-test/sdk/openapitools.json (391 bytes)
CREATE my-test/sdk/package.json (4433 bytes)
DELETE src/api/fixtures.jest.ts
DELETE src/api/index.ts
DELETE src/models/base/enums.ts
DELETE src/models/base/patterns.ts
DELETE src/spec/api-mock.ts
CREATE open-api.yaml (2197 bytes)
UPDATE src/spec/operation-adapter.ts (475 bytes)
UPDATE readme.md (7212 bytes)
UPDATE openapitools.json (405 bytes)
,npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected]
\"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_57_504Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_57_504Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found
npm error 404
npm error 404 'openapi-generator-cli@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_10_876Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk
npm error command failed
npm error command sh -c create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk/swagger-spec.yml
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_43_744Z-debug-0.log
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:139:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:64:27
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:68:11)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:68:11)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-9d8748a494.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-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm-
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: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk1/swagger-spec-with-date.yml
STDERR:
\"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_14_999Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_14_999Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found
npm error 404
npm error 404 'openapi-generator-cli@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_21_797Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk1
npm error command failed
npm error command sh -c create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk1/swagger-spec-with-date.yml
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_12_710Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk1/swagger-spec-with-date.yml·
CREATE my-test/sdk/.commitlintrc.json (810 bytes)
CREATE my-test/sdk/.editorconfig (208 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (90 bytes)
CREATE my-test/sdk/.swcrc (329 bytes)
CREATE my-test/sdk/.versionrc.json (110 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (122 bytes)
CREATE my-test/sdk/jest.config.js (737 bytes)
CREATE my-test/sdk/readme.md (7214 bytes)
CREATE my-test/sdk/tsconfig.build.json (542 bytes)
CREATE my-test/sdk/tsconfig.doc.json (354 bytes)
CREATE my-test/sdk/tsconfig.json (226 bytes)
CREATE my-test/sdk/typedoc.json (289 bytes)
CREATE my-test/sdk/.vscode/settings.json (613 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (496 bytes)
CREATE my-test/sdk/src/index.ts (77 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (123 bytes)
CREATE my-test/sdk/src/api/index.ts (17 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (41 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (353 bytes)
CREATE my-test/sdk/src/helpers/index.ts (17 bytes)
CREATE my-test/sdk/src/helpers/package.json (314 bytes)
CREATE my-test/sdk/src/models/enums.ts (93 bytes)
CREATE my-test/sdk/src/models/index.ts (128 bytes)
CREATE my-test/sdk/src/models/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/base/index.ts (17 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (100 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (48 bytes)
CREATE my-test/sdk/src/models/core/index.ts (49 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (51 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (17 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (53 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (123 bytes)
CREATE my-test/sdk/src/spec/index.ts (103 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (16 bytes)
CREATE my-test/sdk/src/spec/package.json (293 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (49 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (448 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (319 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (242 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (357 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (127 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (287 bytes)
CREATE my-test/sdk/.gitattributes (289 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (839 bytes)
CREATE my-test/sdk/eslint.config.mjs (2232 bytes)
CREATE my-test/sdk/openapitools.json (391 bytes)
CREATE my-test/sdk/package.json (4433 bytes)
DELETE src/api/fixtures.jest.ts
DELETE src/api/index.ts
DELETE src/models/base/enums.ts
DELETE src/models/base/patterns.ts
DELETE src/spec/api-mock.ts
CREATE open-api.yaml (2392 bytes)
UPDATE src/spec/operation-adapter.ts (475 bytes)
UPDATE readme.md (7212 bytes)
UPDATE openapitools.json (405 bytes)
, \"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_14_999Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_14_999Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found
npm error 404
npm error 404 'openapi-generator-cli@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_21_797Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk1
npm error command failed
npm error command sh -c create typescript @my-test/sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk1/swagger-spec-with-date.yml
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_12_710Z-debug-0.log
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:139:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:75:27
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:83:11)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:83:11)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-9d8748a494.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-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm-
Create new sdk command ► Create new sdk command should generate a full SDK when the specification is provided as npm dependency ► Create new sdk command should generate a full SDK when the specification is provided as npm dependency
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: npm create @ama-sdk typescript @my-test/sdk -- --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version ~999 --spec-package-registry http://127.0.0.1:4873
STDERR:
\"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_24_995Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_24_995Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/amasdk-update-spec-from-npm - Not found
npm error 404
npm error 404 'amasdk-update-spec-from-npm@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_30_726Z-debug-0.log
Error: ENOENT: no such file or directory, open './open-api.yaml'
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk2
npm error command failed
npm error command sh -c create typescript @my-test/sdk --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version '~999' --spec-package-registry http://127.0.0.1:4873
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_22_852Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version ~999 --spec-package-registry http://127.0.0.1:4873·
CREATE my-test/sdk/.commitlintrc.json (810 bytes)
CREATE my-test/sdk/.editorconfig (208 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (90 bytes)
CREATE my-test/sdk/.swcrc (329 bytes)
CREATE my-test/sdk/.versionrc.json (110 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (122 bytes)
CREATE my-test/sdk/jest.config.js (737 bytes)
CREATE my-test/sdk/readme.md (7214 bytes)
CREATE my-test/sdk/tsconfig.build.json (542 bytes)
CREATE my-test/sdk/tsconfig.doc.json (354 bytes)
CREATE my-test/sdk/tsconfig.json (226 bytes)
CREATE my-test/sdk/typedoc.json (289 bytes)
CREATE my-test/sdk/.vscode/settings.json (613 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (496 bytes)
CREATE my-test/sdk/src/index.ts (77 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (123 bytes)
CREATE my-test/sdk/src/api/index.ts (17 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (41 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (353 bytes)
CREATE my-test/sdk/src/helpers/index.ts (17 bytes)
CREATE my-test/sdk/src/helpers/package.json (314 bytes)
CREATE my-test/sdk/src/models/enums.ts (93 bytes)
CREATE my-test/sdk/src/models/index.ts (128 bytes)
CREATE my-test/sdk/src/models/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/base/index.ts (17 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (100 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (48 bytes)
CREATE my-test/sdk/src/models/core/index.ts (49 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (51 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (17 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (53 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (123 bytes)
CREATE my-test/sdk/src/spec/index.ts (103 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (16 bytes)
CREATE my-test/sdk/src/spec/package.json (293 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (49 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (448 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (319 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (242 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (357 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (127 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (287 bytes)
CREATE my-test/sdk/.gitattributes (289 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (1043 bytes)
CREATE my-test/sdk/eslint.config.mjs (2232 bytes)
CREATE my-test/sdk/openapitools.json (391 bytes)
CREATE my-test/sdk/package.json (4564 bytes)
UPDATE .npmrc (309 bytes)
UPDATE my-test/sdk/.npmrc (309 bytes)
, \"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_24_995Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_24_995Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/amasdk-update-spec-from-npm - Not found
npm error 404
npm error 404 'amasdk-update-spec-from-npm@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_30_726Z-debug-0.log
Error: ENOENT: no such file or directory, open './open-api.yaml'
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk2
npm error command failed
npm error command sh -c create typescript @my-test/sdk --package-manager npm --spec-package-name @o3r-training/showcase-sdk --spec-package-path openapi.yml --spec-package-version '~999' --spec-package-registry http://127.0.0.1:4873
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_22_852Z-debug-0.log
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:139:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:91:27
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:103:11)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:103:11)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-9d8748a494.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-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm-
Create new sdk command ► Create new sdk command should generate an SDK with no package scope ► Create new sdk command should generate an SDK with no package scope
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: npm create @ama-sdk typescript sdk -- --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk3/swagger-spec.yml
STDERR:
\"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_35_939Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_35_939Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found
npm error 404
npm error 404 'openapi-generator-cli@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_43_198Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk3
npm error command failed
npm error command sh -c create typescript sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk3/swagger-spec.yml
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_33_750Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk3/swagger-spec.yml·
CREATE sdk/.commitlintrc.json (810 bytes)
CREATE sdk/.editorconfig (208 bytes)
CREATE sdk/.openapi-generator-ignore (90 bytes)
CREATE sdk/.swcrc (329 bytes)
CREATE sdk/.versionrc.json (110 bytes)
CREATE sdk/CONTRIBUTING.md (115 bytes)
CREATE sdk/jest.config.js (710 bytes)
CREATE sdk/readme.md (7214 bytes)
CREATE sdk/tsconfig.build.json (542 bytes)
CREATE sdk/tsconfig.doc.json (354 bytes)
CREATE sdk/tsconfig.json (226 bytes)
CREATE sdk/typedoc.json (289 bytes)
CREATE sdk/.vscode/settings.json (613 bytes)
CREATE sdk/configs/tsconfig.test.json (496 bytes)
CREATE sdk/src/index.ts (77 bytes)
CREATE sdk/src/api/fixtures.jest.ts (123 bytes)
CREATE sdk/src/api/index.ts (17 bytes)
CREATE sdk/src/fixtures/jest/index.ts (41 bytes)
CREATE sdk/src/fixtures/jest/package.json (344 bytes)
CREATE sdk/src/helpers/index.ts (17 bytes)
CREATE sdk/src/helpers/package.json (305 bytes)
CREATE sdk/src/models/enums.ts (93 bytes)
CREATE sdk/src/models/index.ts (128 bytes)
CREATE sdk/src/models/patterns.ts (102 bytes)
CREATE sdk/src/models/base/enums.ts (97 bytes)
CREATE sdk/src/models/base/index.ts (17 bytes)
CREATE sdk/src/models/base/patterns.ts (100 bytes)
CREATE sdk/src/models/core/enums.ts (48 bytes)
CREATE sdk/src/models/core/index.ts (49 bytes)
CREATE sdk/src/models/core/patterns.ts (51 bytes)
CREATE sdk/src/models/custom/enums.ts (50 bytes)
CREATE sdk/src/models/custom/index.ts (17 bytes)
CREATE sdk/src/models/custom/patterns.ts (53 bytes)
CREATE sdk/src/spec/api-mock.ts (123 bytes)
CREATE sdk/src/spec/index.ts (103 bytes)
CREATE sdk/src/spec/operation-adapter.ts (16 bytes)
CREATE sdk/src/spec/package.json (284 bytes)
CREATE sdk/src/spec/mock-factory/index.ts (49 bytes)
CREATE sdk/testing/tsconfig.spec.json (448 bytes)
CREATE sdk/tsconfigs/tsconfig.jest.json (319 bytes)
CREATE sdk/tsconfigs/tsconfig.source.json (242 bytes)
CREATE sdk/tsconfigs/esm2020/tsconfig.jest.json (357 bytes)
CREATE sdk/tsconfigs/esm2020/tsconfig.json (127 bytes)
CREATE sdk/tsconfigs/esm2020/tsconfig.source.json (287 bytes)
CREATE sdk/.gitattributes (289 bytes)
CREATE sdk/.gitignore (613 bytes)
CREATE sdk/.renovaterc.json (839 bytes)
CREATE sdk/eslint.config.mjs (2232 bytes)
CREATE sdk/openapitools.json (384 bytes)
CREATE sdk/package.json (4417 bytes)
DELETE src/api/fixtures.jest.ts
DELETE src/api/index.ts
DELETE src/models/base/enums.ts
DELETE src/models/base/patterns.ts
DELETE src/spec/api-mock.ts
CREATE open-api.yaml (2197 bytes)
UPDATE src/spec/operation-adapter.ts (475 bytes)
UPDATE readme.md (7212 bytes)
UPDATE openapitools.json (398 bytes)
, \"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_35_939Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_35_939Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found
npm error 404
npm error 404 'openapi-generator-cli@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_43_198Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk3
npm error command failed
npm error command sh -c create typescript sdk --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk3/swagger-spec.yml
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_33_750Z-debug-0.log
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:139:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:115:27
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:119:11)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:119:11)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-9d8748a494.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-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm-
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: npm create @ama-sdk typescript @my-test/sdk
STDERR:
\"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_46_596Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_46_596Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk4
npm error command failed
npm error command sh -c create typescript @my-test/sdk
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_44_450Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk·
CREATE my-test/sdk/.commitlintrc.json (810 bytes)
CREATE my-test/sdk/.editorconfig (208 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (90 bytes)
CREATE my-test/sdk/.swcrc (329 bytes)
CREATE my-test/sdk/.versionrc.json (110 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (122 bytes)
CREATE my-test/sdk/jest.config.js (737 bytes)
CREATE my-test/sdk/readme.md (7214 bytes)
CREATE my-test/sdk/tsconfig.build.json (542 bytes)
CREATE my-test/sdk/tsconfig.doc.json (354 bytes)
CREATE my-test/sdk/tsconfig.json (226 bytes)
CREATE my-test/sdk/typedoc.json (289 bytes)
CREATE my-test/sdk/.vscode/settings.json (613 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (496 bytes)
CREATE my-test/sdk/src/index.ts (77 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (123 bytes)
CREATE my-test/sdk/src/api/index.ts (17 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (41 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (353 bytes)
CREATE my-test/sdk/src/helpers/index.ts (17 bytes)
CREATE my-test/sdk/src/helpers/package.json (314 bytes)
CREATE my-test/sdk/src/models/enums.ts (93 bytes)
CREATE my-test/sdk/src/models/index.ts (128 bytes)
CREATE my-test/sdk/src/models/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/base/index.ts (17 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (100 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (48 bytes)
CREATE my-test/sdk/src/models/core/index.ts (49 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (51 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (17 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (53 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (123 bytes)
CREATE my-test/sdk/src/spec/index.ts (103 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (16 bytes)
CREATE my-test/sdk/src/spec/package.json (293 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (49 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (448 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (319 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (242 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (357 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (127 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (287 bytes)
CREATE my-test/sdk/.gitattributes (289 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (839 bytes)
CREATE my-test/sdk/eslint.config.mjs (2232 bytes)
CREATE my-test/sdk/openapitools.json (391 bytes)
CREATE my-test/sdk/package.json (4433 bytes)
, \"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"~999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_46_596Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_46_596Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk4
npm error command failed
npm error command sh -c create typescript @my-test/sdk
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_44_450Z-debug-0.log
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:139:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:124:38
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:124:122)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:124:122)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-9d8748a494.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-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm-
Create new sdk command ► Create new sdk command should use pinned versions when --exact-o3r-version is used ► Create new sdk command should use pinned versions when --exact-o3r-version is 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: npm create @[email protected] typescript @my-test/sdk -- --exact-o3r-version --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk6/swagger-spec.yml
STDERR:
npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected]
\"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_56_07_656Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_56_07_656Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found
npm error 404
npm error 404 'openapi-generator-cli@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_56_11_572Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk6
npm error command failed
npm error command sh -c create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk6/swagger-spec.yml
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_57_713Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk6/swagger-spec.yml·
CREATE my-test/sdk/.commitlintrc.json (810 bytes)
CREATE my-test/sdk/.editorconfig (208 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (90 bytes)
CREATE my-test/sdk/.swcrc (329 bytes)
CREATE my-test/sdk/.versionrc.json (110 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (122 bytes)
CREATE my-test/sdk/jest.config.js (737 bytes)
CREATE my-test/sdk/readme.md (7214 bytes)
CREATE my-test/sdk/tsconfig.build.json (542 bytes)
CREATE my-test/sdk/tsconfig.doc.json (354 bytes)
CREATE my-test/sdk/tsconfig.json (226 bytes)
CREATE my-test/sdk/typedoc.json (289 bytes)
CREATE my-test/sdk/.vscode/settings.json (613 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (496 bytes)
CREATE my-test/sdk/src/index.ts (77 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (123 bytes)
CREATE my-test/sdk/src/api/index.ts (17 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (41 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (353 bytes)
CREATE my-test/sdk/src/helpers/index.ts (17 bytes)
CREATE my-test/sdk/src/helpers/package.json (314 bytes)
CREATE my-test/sdk/src/models/enums.ts (93 bytes)
CREATE my-test/sdk/src/models/index.ts (128 bytes)
CREATE my-test/sdk/src/models/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/base/index.ts (17 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (100 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (48 bytes)
CREATE my-test/sdk/src/models/core/index.ts (49 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (51 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (17 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (53 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (123 bytes)
CREATE my-test/sdk/src/spec/index.ts (103 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (16 bytes)
CREATE my-test/sdk/src/spec/package.json (293 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (49 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (448 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (319 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (242 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (357 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (127 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (287 bytes)
CREATE my-test/sdk/.gitattributes (289 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (839 bytes)
CREATE my-test/sdk/eslint.config.mjs (2232 bytes)
CREATE my-test/sdk/openapitools.json (391 bytes)
CREATE my-test/sdk/package.json (4493 bytes)
DELETE src/api/fixtures.jest.ts
DELETE src/api/index.ts
DELETE src/models/base/enums.ts
DELETE src/models/base/patterns.ts
DELETE src/spec/api-mock.ts
CREATE open-api.yaml (2197 bytes)
UPDATE src/spec/operation-adapter.ts (475 bytes)
UPDATE readme.md (7212 bytes)
UPDATE openapitools.json (405 bytes)
,npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected]
\"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @angular-devkit/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error chokidar@\"^3.5.2\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"999.0.1735318074462\" from the root project
npm error peerOptional chokidar@\"^3.5.1\" from @swc/[email protected]
npm error node_modules/@swc/cli
npm error dev @swc/cli@\"~0.5.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error @angular-devkit/core@\"~19.0.4\" from @ama-sdk/[email protected]
npm error node_modules/@ama-sdk/schematics
npm error dev @ama-sdk/schematics@\"999.0.1735318074462\" from the root project
npm error 7 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_56_07_656Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_56_07_656Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/openapi-generator-cli - Not found
npm error 404
npm error 404 'openapi-generator-cli@*' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_56_11_572Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path /home/runner/work/otter/it-tests/test-create-sdk6
npm error command failed
npm error command sh -c create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path /home/runner/work/otter/it-tests/test-create-sdk6/swagger-spec.yml
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_57_713Z-debug-0.log
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:139:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:147:27
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:151:11)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:151:11)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.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-716a8e3f40.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-716a8e3f40.zip/node_modules/jest-circus/build/run.js:316:40)
at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-716a8e3f40.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-9d8748a494.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-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm-
Create new otter project command ► Create new otter project command should generate a project with an application ► Create new otter project command should generate a project with an application
Failed test found in:
@o3r/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: npm create @o3r@~999 my-project -- --package-manager npm --skip-confirmation --yarn-version 4.5.3
STDERR:
- Installing packages (npm)...
✔ Packages installed successfully.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/schematics
npm error dev @angular-devkit/schematics@\"~18.2.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular-devkit/schematics@\"~19.0.4\" from @o3r/[email protected]
npm error node_modules/@o3r/schematics
npm error dev @o3r/schematics@\"^999.0.1734695335809\" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_43_415Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_43_415Z-debug-0.log
npm error code 6
npm error path /home/runner/work/otter/it-tests/test-create-app
npm error command failed
npm error command sh -c create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_29_189Z-debug-0.log·
OUTPUT:
,
> npx
> create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3···
&BPPPB & &BPGB&
#Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG
#!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5
BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B
G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75&
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B
P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y&
&Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?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 bytes)
CREATE my-project/.editorconfig (314 bytes)
CREATE my-project/.gitignore (587 bytes)
CREATE my-project/angular.json (183 bytes)
CREATE my-project/package.json (995 bytes)
CREATE my-project/tsconfig.json (1012 bytes)
CREATE my-project/.vscode/extensions.json (130 bytes)
CREATE my-project/.vscode/launch.json (470 bytes)
CREATE my-project/.vscode/tasks.json (938 bytes)
Directory is already under version control. Skipping initialization of git.
,- Installing packages (npm)...
✔ Packages installed successfully.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/schematics
npm error dev @angular-devkit/schematics@\"~18.2.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular-devkit/schematics@\"~19.0.4\" from @o3r/[email protected]
npm error node_modules/@o3r/schematics
npm error dev @o3r/schematics@\"^999.0.1734695335809\" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_43_415Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_43_415Z-debug-0.log
npm error code 6
npm error path /home/runner/work/otter/it-tests/test-create-app
npm error command failed
npm error command sh -c create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_29_189Z-debug-0.log
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:139:10)
at packages/@o3r/create/src/index.it.spec.ts:39:38
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/create/src/index.it.spec.ts:39:155)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/create/src/index.it.spec.ts:39:155)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm-
Create new otter project command ► Create new otter project command should generate a project with a library ► Create new otter project command should generate a project with a library
Failed test found in:
@o3r/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: npm create @o3r@~999 my-project -- --package-manager npm --skip-confirmation --yarn-version 4.5.3
STDERR:
- Installing packages (npm)...
✔ Packages installed successfully.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/schematics
npm error dev @angular-devkit/schematics@\"~18.2.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular-devkit/schematics@\"~19.0.4\" from @o3r/[email protected]
npm error node_modules/@o3r/schematics
npm error dev @o3r/schematics@\"^999.0.1734695335809\" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_58_534Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_58_534Z-debug-0.log
npm error code 6
npm error path /home/runner/work/otter/it-tests/test-create-app1
npm error command failed
npm error command sh -c create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_46_665Z-debug-0.log·
OUTPUT:
,
> npx
> create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3···
&BPPPB & &BPGB&
#Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG
#!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5
BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B
G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75&
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B
P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y&
&Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?#
&?!!!!!!!!!!!!J&J!!!!!!!!7?Y5PPPP55J7!!!!!!!!!5B?&P!!!!!!!!!!!!!7B
&?!!!!!!!!!!!!!?B##P!!!!!!!!!5 &?!!!!!!!!Y&&&P!!!!!!!!!!!!!!!B
J!!!!!!!!J7!!!!!!7!!!!!!!!!!!7YB& BY!!!!!!!!!!777!!!!!!!?7!!!!!!!7#
P!!!!!!!!YB!!!!!!!!!!!!!!!!!!!!!!7JY5YJ?!!!!!!!!!!!!!!!!!!!!!!YG!!!!!!!!J
&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!!!!!!!!!7#
&##BGPP557!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7Y5PPGBB#&
&PJ?77!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?J5#
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B
B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7777????JJJJJJJYYYYJJJJJJJ????7777!!!!!!!!!!!!!!!!!!!!!!!!!!!7G
GJ?7!!!!!!!!!777??JJY55PGGBB##&&&& &&&##BBGPP5YJ??777!!!!!!!!!!7?5#
&#BBGGGGBB##&& &&#BBGGPPPGGB#···
..|''|| . .
.|' || .||. .||. .... ... ..
|| || || || .|...|| ||' ''
'|. || || || || ||
''|...|' '|.' '|.' '|...' .||.·
CREATE my-project/README.md (1071 bytes)
CREATE my-project/.editorconfig (314 bytes)
CREATE my-project/.gitignore (587 bytes)
CREATE my-project/angular.json (183 bytes)
CREATE my-project/package.json (995 bytes)
CREATE my-project/tsconfig.json (1012 bytes)
CREATE my-project/.vscode/extensions.json (130 bytes)
CREATE my-project/.vscode/launch.json (470 bytes)
CREATE my-project/.vscode/tasks.json (938 bytes)
Directory is already under version control. Skipping initialization of git.
,- Installing packages (npm)...
✔ Packages installed successfully.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/schematics
npm error dev @angular-devkit/schematics@\"~18.2.0\" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @angular-devkit/schematics@\"~19.0.4\" from @o3r/[email protected]
npm error node_modules/@o3r/schematics
npm error dev @o3r/schematics@\"^999.0.1734695335809\" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_58_534Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_58_534Z-debug-0.log
npm error code 6
npm error path /home/runner/work/otter/it-tests/test-create-app1
npm error command failed
npm error command sh -c create my-project --package-manager npm --skip-confirmation --yarn-version 4.5.3
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_54_46_665Z-debug-0.log
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:139:10)
at packages/@o3r/create/src/index.it.spec.ts:63:38
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/create/src/index.it.spec.ts:63:155)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/create/src/index.it.spec.ts:63:155)
Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-npm-
Create new otter project command ► Create new otter project command should generate a project with an application with --exact-o3r-version ► Create new otter project command should generate a project with an application with --exact-o3r-version
Failed test found in:
@o3r/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: npm create @[email protected] my-project -- --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3
STDERR:
npm warn exec The following package was not found and will be installed: @o3r/[email protected]
- Installing packages (npm)...
✔ Packages installed successfully.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error peer @angular-devkit/core@\"~19.0.4\" from @o3r/[email protected]
npm error node_modules/@o3r/core
npm error @o3r/core@\"999.0.1735318074462\" from the root project
npm error 5 more (@angular-devkit/architect, ...)
npm error chokidar@\"^4.0.0\" from @angular/[email protected]
npm error node_modules/@angular/compiler-cli
npm error dev @angular/compiler-cli@\"~19.0.0\" from the root project
npm error peer @angular/compiler-cli@\"~19.0.4\" from @o3r/[email protected]
npm error node_modules/@o3r/core
npm error @o3r/core@\"999.0.1735318074462\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^3.5.2\" from @o3r/[email protected]
npm error node_modules/@o3r/core
npm error @o3r/core@\"999.0.1735318074462\" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_23_509Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_23_509Z-debug-0.log
✖ Installing package [FAILED: Unable to install package]
npm error code 3
npm error path /home/runner/work/otter/it-tests/test-create-app2
npm error command failed
npm error command sh -c create my-project --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_01_699Z-debug-0.log·
OUTPUT:
,
> npx
> create my-project --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3···
&BPPPB & &BPGB&
#Y7!!!!!J# &#BGP5YYJJ??????????JJYY5PG#& P7!!!!7JG
#!!!!!!!!!7Y5J?7!!!!!!!!!!!!!!!!!!!!!!!!!!!7?JPB5!!!!!!!!!G
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!~5
BJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?5
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7B
G?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!75&
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?B
P7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Y&
&Y!!!!!!!!!!!!7??!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!777!!!!!!!!!!!!!?#
&?!!!!!!!!!!!!J&J!!!!!!!!7?Y5PPPP55J7!!!!!!!!!5B?&P!!!!!!!!!!!!!7B
&?!!!!!!!!!!!!!?B##P!!!!!!!!!5 &?!!!!!!!!Y&&&P!!!!!!!!!!!!!!!B
J!!!!!!!!J7!!!!!!7!!!!!!!!!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!!!!!!!!!!!!!!!!75P5GJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?
?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7!!77!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7#
&##BGPP557!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7Y5PPGBB#&
&PJ?77!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7?J5#
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B
B!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!5
&?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!B
#J!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!7777????JJJJJJJYYYYJJJJJJJ????7777!!!!!!!!!!!!!!!!!!!!!!!!!!!7G
GJ?7!!!!!!!!!777??JJY55PGGBB##&&&& &&&##BBGPP5YJ??777!!!!!!!!!!7?5#
&#BBGGGGBB##&& &&#BBGGPPPGGB#···
..|''|| . .
.|' || .||. .||. .... ... ..
|| || || || .|...|| ||' ''
'|. || || || || ||
''|...|' '|.' '|.' '|...' .||.·
CREATE my-project/README.md (1472 bytes)
CREATE my-project/.editorconfig (314 bytes)
CREATE my-project/.gitignore (587 bytes)
CREATE my-project/angular.json (183 bytes)
CREATE my-project/package.json (993 bytes)
CREATE my-project/tsconfig.json (915 bytes)
CREATE my-project/.vscode/extensions.json (130 bytes)
CREATE my-project/.vscode/launch.json (470 bytes)
CREATE my-project/.vscode/tasks.json (938 bytes)
Directory is already under version control. Skipping initialization of git.·
added 50 packages, and changed 1 package in 3s
❯ Determining Package Manager
› Using package manager: npm
✔ Determining Package Manager
❯ Loading package information from registry
✔ Loading package information from registry
,npm warn exec The following package was not found and will be installed: @o3r/[email protected]
- Installing packages (npm)...
✔ Packages installed successfully.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error peerOptional chokidar@\"^4.0.0\" from @angular-devkit/[email protected]
npm error node_modules/@angular-devkit/core
npm error dev @angular-devkit/core@\"~19.0.4\" from the root project
npm error peer @angular-devkit/core@\"~19.0.4\" from @o3r/[email protected]
npm error node_modules/@o3r/core
npm error @o3r/core@\"999.0.1735318074462\" from the root project
npm error 5 more (@angular-devkit/architect, ...)
npm error chokidar@\"^4.0.0\" from @angular/[email protected]
npm error node_modules/@angular/compiler-cli
npm error dev @angular/compiler-cli@\"~19.0.0\" from the root project
npm error peer @angular/compiler-cli@\"~19.0.4\" from @o3r/[email protected]
npm error node_modules/@o3r/core
npm error @o3r/core@\"999.0.1735318074462\" from the root project
npm error
npm error Could not resolve dependency:
npm error peerOptional chokidar@\"^3.5.2\" from @o3r/[email protected]
npm error node_modules/@o3r/core
npm error @o3r/core@\"999.0.1735318074462\" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_23_509Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_23_509Z-debug-0.log
✖ Installing package [FAILED: Unable to install package]
npm error code 3
npm error path /home/runner/work/otter/it-tests/test-create-app2
npm error command failed
npm error command sh -c create my-project --package-manager npm --skip-confirmation --exact-o3r-version --yarn-version 4.5.3
npm error A complete log of this run can be found in: /home/runner/work/otter/otter/.cache/test-app/npm-cache/_logs/2024-12-27T16_55_01_699Z-debug-0.log
"
115 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
116 |
> 117 | throw new Error(`Command failed: ${args.join(' ')}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
118 | }
119 | }
120 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:117:11)
at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:139:10)
at packages/@o3r/create/src/index.it.spec.ts:87:38
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/create/src/index.it.spec.ts:87:160)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/create/src/index.it.spec.ts:87:160)