Skip to content

chore: angular 19 #12150

chore: angular 19

chore: angular 19 #12150

GitHub Actions / IT Tests report-windows-latest-npm- failed Jan 8, 2025 in 0s

59 passed, 6 failed and 2 skipped

Tests failed

Report Passed Failed Skipped Time
@ama-sdk/create/dist-test/it-report.xml 1✅ 6❌ 131s
@ama-sdk/schematics/dist-test/it-report.xml 10ms
@o3r/analytics/dist-test/it-report.xml 2✅ 277s
@o3r/apis-manager/dist-test/it-report.xml 1✅ 95s
@o3r/application/dist-test/it-report.xml 1✅ 123s
@o3r/components/dist-test/it-report.xml 8✅ 957s
@o3r/configuration/dist-test/it-report.xml 2✅ 261s
@o3r/core/dist-test/it-report.xml 1✅ 775s
@o3r/create/dist-test/it-report.xml 3✅ 614s
@o3r/design/dist-test/it-report.xml 1✅ 128s
@o3r/eslint-config-otter/dist-test/it-report.xml 2✅ 252s
@o3r/eslint-config/dist-test/it-report.xml 3✅ 719s
@o3r/extractors/dist-test/it-report.xml 3✅ 509s
@o3r/localization/dist-test/it-report.xml 8✅ 1122s
@o3r/new-version/dist-test/it-report.xml 1✅ 111s
@o3r/pipeline/dist-test/it-report.xml 2✅ 134s
@o3r/rules-engine/dist-test/it-report.xml 2✅ 284s
@o3r/stylelint-plugin/dist-test/it-report.xml 2✅ 234s
@o3r/styling/dist-test/it-report.xml 8✅ 1013s
@o3r/testing/dist-test/it-report.xml 2✅ 2⚪ 398s
@o3r/third-party/dist-test/it-report.xml 1✅ 136s
@o3r/workspace/dist-test/it-report.xml 5✅ 934s

❌ @ama-sdk/create/dist-test/it-report.xml

7 tests were completed in 131s with 1 passed, 6 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new sdk command 1✅ 6❌ 124s

❌ 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

2 tests were completed in 277s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ng add analytics 2✅ 259s

✅ ng add analytics

ng add analytics should add analytics to an application
  ✅ ng add analytics should add analytics to an application
ng add analytics should add analytics to a library
  ✅ ng add analytics should add analytics to a library

✅ @o3r/apis-manager/dist-test/it-report.xml

1 tests were completed in 95s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with apis-manager 1✅ 82s

✅ new otter application with apis-manager

new otter application with apis-manager should add apis-manager to existing application
  ✅ new otter application with apis-manager should add apis-manager to existing application

✅ @o3r/application/dist-test/it-report.xml

1 tests were completed in 123s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new Angular application 1✅ 106s

✅ new Angular application

new Angular application should add Otter Application to existing Angular app
  ✅ new Angular application should add Otter Application to existing Angular app

✅ @o3r/components/dist-test/it-report.xml

8 tests were completed in 957s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
check metadata migration 6✅ 934s
ng add components 2✅ 328s

✅ check metadata migration

check metadata migration should not throw
  ✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
  ✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
  ✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
  ✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
  ✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
  ✅ check metadata migration should throw because of unused migration data

✅ ng add components

ng add components should add components to an application
  ✅ ng add components should add components to an application
ng add components should add components to a library
  ✅ ng add components should add components to a library

✅ @o3r/configuration/dist-test/it-report.xml

2 tests were completed in 261s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with configuration 2✅ 244s

✅ new otter application with configuration

new otter application with configuration should add configuration to an application
  ✅ new otter application with configuration should add configuration to an application
new otter application with configuration should add configuration to a library
  ✅ new otter application with configuration should add configuration to a library

✅ @o3r/core/dist-test/it-report.xml

1 tests were completed in 775s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application 1✅ 749s

✅ new otter application

new otter application should build empty app
  ✅ new otter application should build empty app

✅ @o3r/create/dist-test/it-report.xml

3 tests were completed in 614s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Create new otter project command 3✅ 602s

✅ 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
Create new otter project command should generate a project with a library
  ✅ Create new otter project command should generate a project with a library
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

✅ @o3r/design/dist-test/it-report.xml

1 tests were completed in 128s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with Design 1✅ 108s

✅ new otter application with Design

new otter application with Design should add design to existing application
  ✅ new otter application with Design should add design to existing application

✅ @o3r/eslint-config-otter/dist-test/it-report.xml

2 tests were completed in 252s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ng add eslint-config 2✅ 236s

✅ ng add eslint-config

ng add eslint-config should add eslint-config to an application
  ✅ ng add eslint-config should add eslint-config to an application
ng add eslint-config should add eslint-config to a library
  ✅ ng add eslint-config should add eslint-config to a library

✅ @o3r/eslint-config/dist-test/it-report.xml

3 tests were completed in 719s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter application with eslint config 3✅ 696s

✅ new otter application with eslint config

new otter application with eslint config should add eslint config to existing application
  ✅ new otter application with eslint config should add eslint config to existing application
new otter application with eslint config should add eslint config to existing library
  ✅ new otter application with eslint config should add eslint config to existing library
new otter application with eslint config should add eslint config to existing repository
  ✅ new otter application with eslint config should add eslint config to existing repository

✅ @o3r/extractors/dist-test/it-report.xml

3 tests were completed in 509s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
aggregate migration scripts 1✅ 382s
ng add extractors 2✅ 483s

✅ aggregate migration scripts

aggregate migration scripts should create migration scripts including lib content
  ✅ aggregate migration scripts should create migration scripts including lib content

✅ ng add extractors

ng add extractors should add extractors to an application
  ✅ ng add extractors should add extractors to an application
ng add extractors should add extractors to a library
  ✅ ng add extractors should add extractors to a library

✅ @o3r/localization/dist-test/it-report.xml

8 tests were completed in 1122s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
check metadata migration 6✅ 1100s
ng add otter localization 2✅ 368s

✅ check metadata migration

check metadata migration should not throw
  ✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
  ✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
  ✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
  ✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
  ✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
  ✅ check metadata migration should throw because of unused migration data

✅ ng add otter localization

ng add otter localization should add localization to an application
  ✅ ng add otter localization should add localization to an application
ng add otter localization should add localization to a library
  ✅ ng add otter localization should add localization to a library

✅ @o3r/new-version/dist-test/it-report.xml

1 tests were completed in 111s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
undefined 1✅ 99s

✅ undefined

 should add Otter Application to existing Angular app
  ✅ should add Otter Application to existing Angular app

✅ @o3r/pipeline/dist-test/it-report.xml

2 tests were completed in 134s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter project 2✅ 120s

✅ new otter project

new otter project should add a GitHub pipeline to existing project
  ✅ new otter project should add a GitHub pipeline to existing project
new otter project should add a GitHub pipeline to existing project with custom runner and registry
  ✅ new otter project should add a GitHub pipeline to existing project with custom runner and registry

✅ @o3r/rules-engine/dist-test/it-report.xml

2 tests were completed in 284s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ng add rules-engine 2✅ 261s

✅ ng add rules-engine

ng add rules-engine should add rules engine to an application
  ✅ ng add rules-engine should add rules engine to an application
ng add rules-engine should add rules engine to a library
  ✅ ng add rules-engine should add rules engine to a library

✅ @o3r/stylelint-plugin/dist-test/it-report.xml

2 tests were completed in 234s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ng add stylelint-plugin 2✅ 221s

✅ ng add stylelint-plugin

ng add stylelint-plugin should add stylelint-plugin to an application
  ✅ ng add stylelint-plugin should add stylelint-plugin to an application
ng add stylelint-plugin should add stylelint-plugin to a library
  ✅ ng add stylelint-plugin should add stylelint-plugin to a library

✅ @o3r/styling/dist-test/it-report.xml

8 tests were completed in 1013s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
check metadata migration 6✅ 986s
ng add styling 2✅ 370s

✅ check metadata migration

check metadata migration should not throw
  ✅ check metadata migration should not throw
check metadata migration should not throw on prerelease
  ✅ check metadata migration should not throw on prerelease
check metadata migration should throw because no migration data
  ✅ check metadata migration should throw because no migration data
check metadata migration should throw because migration data invalid
  ✅ check metadata migration should throw because migration data invalid
check metadata migration should throw because breaking changes are not allowed
  ✅ check metadata migration should throw because breaking changes are not allowed
check metadata migration should throw because of unused migration data
  ✅ check metadata migration should throw because of unused migration data

✅ ng add styling

ng add styling should add styling to an application
  ✅ ng add styling should add styling to an application
ng add styling should add styling to a library
  ✅ ng add styling should add styling to a library

✅ @o3r/testing/dist-test/it-report.xml

4 tests were completed in 398s with 2 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
ng add testing 2✅ 2⚪ 373s

✅ ng add testing

ng add testing should add testing to an application
  ✅ ng add testing should add testing to an application
ng add testing should add testing to an application and fixture to component
  ✅ ng add testing should add testing to an application and fixture to component
ng add testing should add testing to a library
  ⚪ ng add testing should add testing to a library
ng add testing should add testing to a library and fixture to component
  ⚪ ng add testing should add testing to a library and fixture to component

✅ @o3r/third-party/dist-test/it-report.xml

1 tests were completed in 136s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new Angular application 1✅ 118s

✅ new Angular application

new Angular application should add Otter Third Party to existing Angular app
  ✅ new Angular application should add Otter Third Party to existing Angular app

✅ @o3r/workspace/dist-test/it-report.xml

5 tests were completed in 934s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter workspace 5✅ 918s

✅ new otter workspace

new otter workspace should add sdk to an existing workspace
  ✅ new otter workspace should add sdk to an existing workspace
new otter workspace should add sdk to an existing workspace with local spec
  ✅ new otter workspace should add sdk to an existing workspace with local spec
new otter workspace should add sdk to an existing workspace with spec package name
  ✅ new otter workspace should add sdk to an existing workspace with spec package name
new otter workspace should add a library to an existing workspace
  ✅ new otter workspace should add a library to an existing workspace
new otter workspace should generate a monorepo setup
  ✅ new otter workspace should generate a monorepo setup

Annotations

Check failure on line 117 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-windows-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 D:\\a\\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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_46_430Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_46_430Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_57_642Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk\\swagger-spec.yml
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_23_652Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk\\swagger-spec.yml·
CREATE my-test/sdk/.commitlintrc.json (847 bytes)
CREATE my-test/sdk/.editorconfig (221 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (91 bytes)
CREATE my-test/sdk/.swcrc (345 bytes)
CREATE my-test/sdk/.versionrc.json (119 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (126 bytes)
CREATE my-test/sdk/jest.config.js (763 bytes)
CREATE my-test/sdk/readme.md (7423 bytes)
CREATE my-test/sdk/tsconfig.build.json (568 bytes)
CREATE my-test/sdk/tsconfig.doc.json (374 bytes)
CREATE my-test/sdk/tsconfig.json (240 bytes)
CREATE my-test/sdk/typedoc.json (301 bytes)
CREATE my-test/sdk/.vscode/settings.json (636 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (517 bytes)
CREATE my-test/sdk/src/index.ts (81 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (125 bytes)
CREATE my-test/sdk/src/api/index.ts (18 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (42 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (363 bytes)
CREATE my-test/sdk/src/helpers/index.ts (18 bytes)
CREATE my-test/sdk/src/helpers/package.json (324 bytes)
CREATE my-test/sdk/src/models/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/index.ts (134 bytes)
CREATE my-test/sdk/src/models/patterns.ts (106 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (99 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.gitattributes (297 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (878 bytes)
CREATE my-test/sdk/eslint.config.mjs (2328 bytes)
CREATE my-test/sdk/openapitools.json (406 bytes)
CREATE my-test/sdk/package.json (4562 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 (480 bytes)
UPDATE readme.md (7421 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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_46_430Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_46_430Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_57_642Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk\\swagger-spec.yml
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_23_652Z-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> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:68:11)
    at Promise.then.completed (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\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 (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\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 (D:\a\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

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-windows-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 D:\\a\\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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_01_086Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_01_086Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_08_370Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk1
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk1\\swagger-spec-with-date.yml
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_59_179Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk1\\swagger-spec-with-date.yml·
CREATE my-test/sdk/.commitlintrc.json (847 bytes)
CREATE my-test/sdk/.editorconfig (221 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (91 bytes)
CREATE my-test/sdk/.swcrc (345 bytes)
CREATE my-test/sdk/.versionrc.json (119 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (126 bytes)
CREATE my-test/sdk/jest.config.js (763 bytes)
CREATE my-test/sdk/readme.md (7423 bytes)
CREATE my-test/sdk/tsconfig.build.json (568 bytes)
CREATE my-test/sdk/tsconfig.doc.json (374 bytes)
CREATE my-test/sdk/tsconfig.json (240 bytes)
CREATE my-test/sdk/typedoc.json (301 bytes)
CREATE my-test/sdk/.vscode/settings.json (636 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (517 bytes)
CREATE my-test/sdk/src/index.ts (81 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (125 bytes)
CREATE my-test/sdk/src/api/index.ts (18 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (42 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (363 bytes)
CREATE my-test/sdk/src/helpers/index.ts (18 bytes)
CREATE my-test/sdk/src/helpers/package.json (324 bytes)
CREATE my-test/sdk/src/models/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/index.ts (134 bytes)
CREATE my-test/sdk/src/models/patterns.ts (106 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (99 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.gitattributes (297 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (878 bytes)
CREATE my-test/sdk/eslint.config.mjs (2328 bytes)
CREATE my-test/sdk/openapitools.json (406 bytes)
CREATE my-test/sdk/package.json (4562 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 (480 bytes)
UPDATE readme.md (7421 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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_01_086Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_01_086Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_08_370Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk1
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk1\\swagger-spec-with-date.yml
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_35_59_179Z-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> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:83:11)
    at Promise.then.completed (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\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 (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\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 (D:\a\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

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-windows-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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_12_043Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_12_043Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_18_329Z-debug-0.log
Error: ENOENT: no such file or directory, open 'D:\\a\\otter\\it-tests\\test-create-sdk2\\my-test\\sdk\\open-api.yaml'
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk2
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_10_152Z-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 (847 bytes)
CREATE my-test/sdk/.editorconfig (221 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (91 bytes)
CREATE my-test/sdk/.swcrc (345 bytes)
CREATE my-test/sdk/.versionrc.json (119 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (126 bytes)
CREATE my-test/sdk/jest.config.js (763 bytes)
CREATE my-test/sdk/readme.md (7423 bytes)
CREATE my-test/sdk/tsconfig.build.json (568 bytes)
CREATE my-test/sdk/tsconfig.doc.json (374 bytes)
CREATE my-test/sdk/tsconfig.json (240 bytes)
CREATE my-test/sdk/typedoc.json (301 bytes)
CREATE my-test/sdk/.vscode/settings.json (636 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (517 bytes)
CREATE my-test/sdk/src/index.ts (81 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (125 bytes)
CREATE my-test/sdk/src/api/index.ts (18 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (42 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (363 bytes)
CREATE my-test/sdk/src/helpers/index.ts (18 bytes)
CREATE my-test/sdk/src/helpers/package.json (324 bytes)
CREATE my-test/sdk/src/models/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/index.ts (134 bytes)
CREATE my-test/sdk/src/models/patterns.ts (106 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (99 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.gitattributes (297 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (1084 bytes)
CREATE my-test/sdk/eslint.config.mjs (2328 bytes)
CREATE my-test/sdk/openapitools.json (406 bytes)
CREATE my-test/sdk/package.json (4694 bytes)
UPDATE .npmrc (304 bytes)
UPDATE my-test/sdk/.npmrc (304 bytes)
,    \"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_12_043Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_12_043Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_18_329Z-debug-0.log
Error: ENOENT: no such file or directory, open 'D:\\a\\otter\\it-tests\\test-create-sdk2\\my-test\\sdk\\open-api.yaml'
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk2
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_10_152Z-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> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:103:11)
    at Promise.then.completed (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\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 (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\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 (D:\a\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

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-windows-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 D:\\a\\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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_23_161Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_23_161Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_30_415Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk3
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk3\\swagger-spec.yml
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_21_269Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk3\\swagger-spec.yml·
CREATE sdk/.commitlintrc.json (847 bytes)
CREATE sdk/.editorconfig (221 bytes)
CREATE sdk/.openapi-generator-ignore (91 bytes)
CREATE sdk/.swcrc (345 bytes)
CREATE sdk/.versionrc.json (119 bytes)
CREATE sdk/CONTRIBUTING.md (119 bytes)
CREATE sdk/jest.config.js (736 bytes)
CREATE sdk/readme.md (7423 bytes)
CREATE sdk/tsconfig.build.json (568 bytes)
CREATE sdk/tsconfig.doc.json (374 bytes)
CREATE sdk/tsconfig.json (240 bytes)
CREATE sdk/typedoc.json (301 bytes)
CREATE sdk/.vscode/settings.json (636 bytes)
CREATE sdk/configs/tsconfig.test.json (517 bytes)
CREATE sdk/src/index.ts (81 bytes)
CREATE sdk/src/api/fixtures.jest.ts (125 bytes)
CREATE sdk/src/api/index.ts (18 bytes)
CREATE sdk/src/fixtures/jest/index.ts (42 bytes)
CREATE sdk/src/fixtures/jest/package.json (354 bytes)
CREATE sdk/src/helpers/index.ts (18 bytes)
CREATE sdk/src/helpers/package.json (315 bytes)
CREATE sdk/src/models/enums.ts (97 bytes)
CREATE sdk/src/models/index.ts (134 bytes)
CREATE sdk/src/models/patterns.ts (106 bytes)
CREATE sdk/src/models/base/enums.ts (99 bytes)
CREATE sdk/src/models/base/index.ts (18 bytes)
CREATE sdk/src/models/base/patterns.ts (102 bytes)
CREATE sdk/src/models/core/enums.ts (50 bytes)
CREATE sdk/src/models/core/index.ts (51 bytes)
CREATE sdk/src/models/core/patterns.ts (53 bytes)
CREATE sdk/src/models/custom/enums.ts (52 bytes)
CREATE sdk/src/models/custom/index.ts (18 bytes)
CREATE sdk/src/models/custom/patterns.ts (55 bytes)
CREATE sdk/src/spec/api-mock.ts (125 bytes)
CREATE sdk/src/spec/index.ts (106 bytes)
CREATE sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE sdk/src/spec/package.json (294 bytes)
CREATE sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE sdk/testing/tsconfig.spec.json (471 bytes)
CREATE sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE sdk/.gitattributes (297 bytes)
CREATE sdk/.gitignore (658 bytes)
CREATE sdk/.renovaterc.json (878 bytes)
CREATE sdk/eslint.config.mjs (2328 bytes)
CREATE sdk/openapitools.json (399 bytes)
CREATE sdk/package.json (4546 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 (480 bytes)
UPDATE readme.md (7421 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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_23_161Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_23_161Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_30_415Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk3
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript sdk --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk3\\swagger-spec.yml
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_21_269Z-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> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:119:11)
    at Promise.then.completed (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\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 (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\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 (D:\a\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

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-windows-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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_33_791Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_33_791Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk4
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_31_884Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk·
CREATE my-test/sdk/.commitlintrc.json (847 bytes)
CREATE my-test/sdk/.editorconfig (221 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (91 bytes)
CREATE my-test/sdk/.swcrc (345 bytes)
CREATE my-test/sdk/.versionrc.json (119 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (126 bytes)
CREATE my-test/sdk/jest.config.js (763 bytes)
CREATE my-test/sdk/readme.md (7423 bytes)
CREATE my-test/sdk/tsconfig.build.json (568 bytes)
CREATE my-test/sdk/tsconfig.doc.json (374 bytes)
CREATE my-test/sdk/tsconfig.json (240 bytes)
CREATE my-test/sdk/typedoc.json (301 bytes)
CREATE my-test/sdk/.vscode/settings.json (636 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (517 bytes)
CREATE my-test/sdk/src/index.ts (81 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (125 bytes)
CREATE my-test/sdk/src/api/index.ts (18 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (42 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (363 bytes)
CREATE my-test/sdk/src/helpers/index.ts (18 bytes)
CREATE my-test/sdk/src/helpers/package.json (324 bytes)
CREATE my-test/sdk/src/models/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/index.ts (134 bytes)
CREATE my-test/sdk/src/models/patterns.ts (106 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (99 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.gitattributes (297 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (878 bytes)
CREATE my-test/sdk/eslint.config.mjs (2328 bytes)
CREATE my-test/sdk/openapitools.json (406 bytes)
CREATE my-test/sdk/package.json (4562 bytes)
,    \"7.10.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"~999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_33_791Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_33_791Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk4
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_31_884Z-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> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:124:122)
    at Promise.then.completed (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\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 (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\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 (D:\a\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

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-windows-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 D:\\a\\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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_37_06_372Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_37_06_372Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_37_13_689Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk6
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk6\\swagger-spec.yml
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_50_653Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk6\\swagger-spec.yml·
CREATE my-test/sdk/.commitlintrc.json (847 bytes)
CREATE my-test/sdk/.editorconfig (221 bytes)
CREATE my-test/sdk/.openapi-generator-ignore (91 bytes)
CREATE my-test/sdk/.swcrc (345 bytes)
CREATE my-test/sdk/.versionrc.json (119 bytes)
CREATE my-test/sdk/CONTRIBUTING.md (126 bytes)
CREATE my-test/sdk/jest.config.js (763 bytes)
CREATE my-test/sdk/readme.md (7423 bytes)
CREATE my-test/sdk/tsconfig.build.json (568 bytes)
CREATE my-test/sdk/tsconfig.doc.json (374 bytes)
CREATE my-test/sdk/tsconfig.json (240 bytes)
CREATE my-test/sdk/typedoc.json (301 bytes)
CREATE my-test/sdk/.vscode/settings.json (636 bytes)
CREATE my-test/sdk/configs/tsconfig.test.json (517 bytes)
CREATE my-test/sdk/src/index.ts (81 bytes)
CREATE my-test/sdk/src/api/fixtures.jest.ts (125 bytes)
CREATE my-test/sdk/src/api/index.ts (18 bytes)
CREATE my-test/sdk/src/fixtures/jest/index.ts (42 bytes)
CREATE my-test/sdk/src/fixtures/jest/package.json (363 bytes)
CREATE my-test/sdk/src/helpers/index.ts (18 bytes)
CREATE my-test/sdk/src/helpers/package.json (324 bytes)
CREATE my-test/sdk/src/models/enums.ts (97 bytes)
CREATE my-test/sdk/src/models/index.ts (134 bytes)
CREATE my-test/sdk/src/models/patterns.ts (106 bytes)
CREATE my-test/sdk/src/models/base/enums.ts (99 bytes)
CREATE my-test/sdk/src/models/base/index.ts (18 bytes)
CREATE my-test/sdk/src/models/base/patterns.ts (102 bytes)
CREATE my-test/sdk/src/models/core/enums.ts (50 bytes)
CREATE my-test/sdk/src/models/core/index.ts (51 bytes)
CREATE my-test/sdk/src/models/core/patterns.ts (53 bytes)
CREATE my-test/sdk/src/models/custom/enums.ts (52 bytes)
CREATE my-test/sdk/src/models/custom/index.ts (18 bytes)
CREATE my-test/sdk/src/models/custom/patterns.ts (55 bytes)
CREATE my-test/sdk/src/spec/api-mock.ts (125 bytes)
CREATE my-test/sdk/src/spec/index.ts (106 bytes)
CREATE my-test/sdk/src/spec/operation-adapter.ts (17 bytes)
CREATE my-test/sdk/src/spec/package.json (303 bytes)
CREATE my-test/sdk/src/spec/mock-factory/index.ts (51 bytes)
CREATE my-test/sdk/testing/tsconfig.spec.json (471 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.jest.json (339 bytes)
CREATE my-test/sdk/tsconfigs/tsconfig.source.json (255 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.jest.json (373 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.json (137 bytes)
CREATE my-test/sdk/tsconfigs/esm2020/tsconfig.source.json (298 bytes)
CREATE my-test/sdk/.gitattributes (297 bytes)
CREATE my-test/sdk/.gitignore (658 bytes)
CREATE my-test/sdk/.renovaterc.json (878 bytes)
CREATE my-test/sdk/eslint.config.mjs (2328 bytes)
CREATE my-test/sdk/openapitools.json (406 bytes)
CREATE my-test/sdk/package.json (4625 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 (480 bytes)
UPDATE readme.md (7421 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: @swc/[email protected]
npm error Found: [email protected]
npm error node_modules/chokidar
npm error   chokidar@\"^4.0.3\" from @ama-sdk/[email protected]
npm error   node_modules/@ama-sdk/schematics
npm error     dev @ama-sdk/schematics@\"999.0.1736328405233\" from the root project
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.1736328405233\" from the root project
npm error     8 more (@o3r/schematics, @angular-devkit/schematics, ...)
npm error
npm error Could not resolve dependency:
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 Conflicting peer dependency: [email protected]
npm error node_modules/chokidar
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 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 D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_37_06_372Z-eresolve-report.txt
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_37_06_372Z-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: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_37_13_689Z-debug-0.log
Error: OpenApiGeneratorCli failed to install [email protected]
npm error code 1
npm error path D:\\a\\otter\\it-tests\\test-create-sdk6
npm error command failed
npm error command C:\\Windows\\system32\\cmd.exe /d /s /c create typescript @my-test/sdk --exact-o3r-version --package-manager npm --spec-path D:\\a\\otter\\it-tests\\test-create-sdk6\\swagger-spec.yml
npm error A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2025-01-08T09_36_50_653Z-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> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:151:11)
    at Promise.then.completed (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
    at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
    at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
    at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
    at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
    at runAndTransformResultsToJestFormat (D:\a\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 (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
    at runTest (D:\a\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 (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)