Skip to content

chore: upgrade major dependencies #85

chore: upgrade major dependencies

chore: upgrade major dependencies #85

GitHub Actions / IT Tests report-ubuntu-latest-npm failed Jun 24, 2024 in 1s

28 passed, 8 failed and 3 skipped

Tests failed

Report Passed Failed Skipped Time
@ama-sdk/create/dist-test/it-report.xml 1✅ 6❌ 94s
@ama-sdk/schematics/dist-test/it-report.xml 4ms
@o3r/analytics/dist-test/it-report.xml 2✅ 107s
@o3r/apis-manager/dist-test/it-report.xml 1✅ 52s
@o3r/application/dist-test/it-report.xml 1✅ 50s
@o3r/components/dist-test/it-report.xml 2✅ 126s
@o3r/configuration/dist-test/it-report.xml 2✅ 127s
@o3r/core/dist-test/it-report.xml 1✅ 649s
@o3r/create/dist-test/it-report.xml 3✅ 179s
@o3r/design/dist-test/it-report.xml 1✅ 62s
@o3r/eslint-config-otter/dist-test/it-report.xml 2✅ 258s
@o3r/extractors/dist-test/it-report.xml 2✅ 212s
@o3r/localization/dist-test/it-report.xml 1✅ 1⚪ 96s
@o3r/rules-engine/dist-test/it-report.xml 2✅ 116s
@o3r/stylelint-plugin/dist-test/it-report.xml 2✅ 103s
@o3r/styling/dist-test/it-report.xml 2✅ 177s
@o3r/testing/dist-test/it-report.xml 2✅ 2⚪ 148s
@o3r/workspace/dist-test/it-report.xml 1✅ 2❌ 118s

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

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

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

❌ 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 107s with 2 passed, 0 failed and 0 skipped.

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

✅ 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 52s with 1 passed, 0 failed and 0 skipped.

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

✅ 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 50s with 1 passed, 0 failed and 0 skipped.

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

✅ 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

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

Test suite Passed Failed Skipped Time
ng add components 2✅ 110s

✅ 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 127s with 2 passed, 0 failed and 0 skipped.

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

✅ 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 649s with 1 passed, 0 failed and 0 skipped.

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

✅ 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 179s with 3 passed, 0 failed and 0 skipped.

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

✅ 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 62s with 1 passed, 0 failed and 0 skipped.

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

✅ 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 258s with 2 passed, 0 failed and 0 skipped.

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

✅ 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/extractors/dist-test/it-report.xml

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

Test suite Passed Failed Skipped Time
ng add extractors 2✅ 198s

✅ 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

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

Test suite Passed Failed Skipped Time
ng add otter localization 1✅ 1⚪ 81s

✅ 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/rules-engine/dist-test/it-report.xml

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

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

✅ 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 103s with 2 passed, 0 failed and 0 skipped.

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

✅ 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

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

Test suite Passed Failed Skipped Time
ng add styling 2✅ 161s

✅ 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 148s with 2 passed, 0 failed and 2 skipped.

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

✅ 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/workspace/dist-test/it-report.xml

3 tests were completed in 118s with 1 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
new otter workspace 1✅ 2❌ 107s

❌ new otter workspace

new otter workspace should add sdk to an existing workspace
  ❌ new otter workspace should add sdk to an existing workspace
	Error: Command failed: npm exec ng g sdk @my-sdk/sdk
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
	Error: Command failed: npm exec ng g sdk @my-sdk/sdk -- --spec-package-name @ama-sdk/showcase-sdk --spec-package-path ./openapi.yml --spec-package-registry http://127.0.0.1:4873 --spec-package-version ~999
new otter workspace should add a library to an existing workspace
  ✅ new otter workspace should add a library to an existing workspace

Annotations

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

See this annotation in the file changed.

@github-actions 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.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_11_29_554Z-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-06-24T18_11_29_554Z-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-06-24T18_11_34_240Z-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-06-24T18_11_14_594Z-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 (7144 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/.eslintignore (132 bytes)
CREATE my-test/sdk/.eslintrc.js (1075 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (839 bytes)
CREATE my-test/sdk/openapitools.json (390 bytes)
CREATE my-test/sdk/package.json (4267 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 swagger-spec.yaml (2197 bytes)
UPDATE src/spec/operation-adapter.ts (475 bytes)
UPDATE readme.md (7144 bytes)
UPDATE openapitools.json (408 bytes)
,npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected]
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_11_29_554Z-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-06-24T18_11_29_554Z-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-06-24T18_11_34_240Z-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-06-24T18_11_14_594Z-debug-0.log
"

      81 |     // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
      82 |     // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
    > 83 |     throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
         |           ^
      84 |   }
      85 | }
      86 |

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:59: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:63:11)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:63: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 83 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions 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.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_11_38_084Z-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-06-24T18_11_38_084Z-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-06-24T18_11_43_264Z-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-06-24T18_11_36_011Z-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 (7144 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/.eslintignore (132 bytes)
CREATE my-test/sdk/.eslintrc.js (1075 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (839 bytes)
CREATE my-test/sdk/openapitools.json (390 bytes)
CREATE my-test/sdk/package.json (4267 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 swagger-spec.yaml (2356 bytes)
UPDATE src/spec/operation-adapter.ts (475 bytes)
UPDATE readme.md (7144 bytes)
UPDATE openapitools.json (408 bytes)
,    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_11_38_084Z-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-06-24T18_11_38_084Z-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-06-24T18_11_43_264Z-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-06-24T18_11_36_011Z-debug-0.log
"

      81 |     // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
      82 |     // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
    > 83 |     throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
         |           ^
      84 |   }
      85 | }
      86 |

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:70: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:74:11)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:74: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 83 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions 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 @ama-sdk/showcase-sdk --spec-package-path openapi.yml --spec-package-version ~999 --spec-package-registry http://127.0.0.1:4873
STDERR:
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_11_46_625Z-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-06-24T18_11_46_625Z-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-06-24T18_11_50_370Z-debug-0.log
Error: ENOENT: no such file or directory, open './swagger-spec.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 @ama-sdk/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-06-24T18_11_44_779Z-debug-0.log·
OUTPUT:
,
> npx
> create typescript @my-test/sdk --package-manager npm --spec-package-name @ama-sdk/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 (7144 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/.eslintignore (132 bytes)
CREATE my-test/sdk/.eslintrc.js (1075 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (1033 bytes)
CREATE my-test/sdk/openapitools.json (390 bytes)
CREATE my-test/sdk/package.json (4388 bytes)
UPDATE .npmrc (286 bytes)
,    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_11_46_625Z-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-06-24T18_11_46_625Z-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-06-24T18_11_50_370Z-debug-0.log
Error: ENOENT: no such file or directory, open './swagger-spec.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 @ama-sdk/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-06-24T18_11_44_779Z-debug-0.log
"

      81 |     // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
      82 |     // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
    > 83 |     throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
         |           ^
      84 |   }
      85 | }
      86 |

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:82: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:94:11)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:94: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 83 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions 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.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_11_55_580Z-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-06-24T18_11_55_580Z-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-06-24T18_12_00_278Z-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-06-24T18_11_53_335Z-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 (7144 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/.eslintignore (132 bytes)
CREATE sdk/.eslintrc.js (1075 bytes)
CREATE sdk/.gitignore (613 bytes)
CREATE sdk/.renovaterc.json (839 bytes)
CREATE sdk/openapitools.json (383 bytes)
CREATE sdk/package.json (4251 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 swagger-spec.yaml (2197 bytes)
UPDATE src/spec/operation-adapter.ts (475 bytes)
UPDATE readme.md (7144 bytes)
UPDATE openapitools.json (401 bytes)
,    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_11_55_580Z-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-06-24T18_11_55_580Z-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-06-24T18_12_00_278Z-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-06-24T18_11_53_335Z-debug-0.log
"

      81 |     // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
      82 |     // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
    > 83 |     throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
         |           ^
      84 |   }
      85 | }
      86 |

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:105: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:109:11)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:109: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 83 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions 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.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_12_03_305Z-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-06-24T18_12_03_305Z-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-06-24T18_12_01_460Z-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 (7144 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/.eslintignore (132 bytes)
CREATE my-test/sdk/.eslintrc.js (1075 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (839 bytes)
CREATE my-test/sdk/openapitools.json (390 bytes)
CREATE my-test/sdk/package.json (4267 bytes)
,    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"~999.0.1719251574439\" 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-06-24T18_12_03_305Z-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-06-24T18_12_03_305Z-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-06-24T18_12_01_460Z-debug-0.log
"

      81 |     // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
      82 |     // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
    > 83 |     throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
         |           ^
      84 |   }
      85 | }
      86 |

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:114: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:114:120)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:114:120)
    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 83 in packages/@o3r/test-helpers/src/utilities/package-manager.ts

See this annotation in the file changed.

@github-actions 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]
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"999.0.1719251574439\" 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-06-24T18_12_26_177Z-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-06-24T18_12_26_177Z-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-06-24T18_12_29_524Z-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-06-24T18_12_13_484Z-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 (7144 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/.eslintignore (132 bytes)
CREATE my-test/sdk/.eslintrc.js (1075 bytes)
CREATE my-test/sdk/.gitignore (613 bytes)
CREATE my-test/sdk/.renovaterc.json (839 bytes)
CREATE my-test/sdk/openapitools.json (390 bytes)
CREATE my-test/sdk/package.json (4329 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 swagger-spec.yaml (2197 bytes)
UPDATE src/spec/operation-adapter.ts (475 bytes)
UPDATE readme.md (7144 bytes)
UPDATE openapitools.json (408 bytes)
,npm warn exec The following package was not found and will be installed: @ama-sdk/[email protected]
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
    \"7.4.0\"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-test/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@\"~18.0.0\" from the root project
npm error     peer @angular-eslint/eslint-plugin@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"999.0.1719251574439\" from the root project
npm error   peer @typescript-eslint/utils@\"^7.11.0 || ^8.0.0-alpha.20\" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@\"~18.0.0\" from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@\"~18.0.0\" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@\"999.0.1719251574439\" from the root project
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@\"~7.13.1\" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@\"999.0.1719251574439\" 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-06-24T18_12_26_177Z-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-06-24T18_12_26_177Z-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-06-24T18_12_29_524Z-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-06-24T18_12_13_484Z-debug-0.log
"

      81 |     // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
      82 |     // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
    > 83 |     throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
         |           ^
      84 |   }
      85 | }
      86 |

      at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
      at packageManagerCreate (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:10)
      at packages/@ama-sdk/create/src/index.it.spec.ts:137: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:141:11)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:141: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 0 in @o3r/workspace/dist-test/it-report.xml

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-ubuntu-latest-npm

new otter workspace ► new otter workspace should add sdk to an existing workspace ► new otter workspace should add sdk to an existing workspace

Failed test found in:
  @o3r/workspace/dist-test/it-report.xml
Error:
  Error: Command failed: npm exec ng g sdk @my-sdk/sdk
Raw output
Error: Command failed: npm exec ng g sdk @my-sdk/sdk
STDERR:
            "7.4.0"
- Installing packages (npm)...
npm warn workspaces @my-sdk/sdk in filter set, but no workspace folder present
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-sdk/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs/my-sdk-sdk from the root project
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs/my-sdk-sdk from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error   libs/my-sdk-sdk
npm error     @my-sdk/[email protected]
npm error     node_modules/@my-sdk/sdk
npm error       workspace libs/my-sdk-sdk 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-06-24T18_09_31_146Z-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-06-24T18_09_31_146Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.

OUTPUT:
,CREATE libs/my-sdk-sdk/.openapi-generator-ignore (90 bytes)
CREATE libs/my-sdk-sdk/.swcrc (329 bytes)
CREATE libs/my-sdk-sdk/jest.config.js (375 bytes)
CREATE libs/my-sdk-sdk/readme.md (7144 bytes)
CREATE libs/my-sdk-sdk/tsconfig.build.json (542 bytes)
CREATE libs/my-sdk-sdk/tsconfig.doc.json (354 bytes)
CREATE libs/my-sdk-sdk/tsconfig.json (226 bytes)
CREATE libs/my-sdk-sdk/typedoc.json (289 bytes)
CREATE libs/my-sdk-sdk/configs/tsconfig.test.json (496 bytes)
CREATE libs/my-sdk-sdk/src/index.ts (77 bytes)
CREATE libs/my-sdk-sdk/src/api/fixtures.jest.ts (123 bytes)
CREATE libs/my-sdk-sdk/src/api/index.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/fixtures/jest/index.ts (41 bytes)
CREATE libs/my-sdk-sdk/src/fixtures/jest/package.json (352 bytes)
CREATE libs/my-sdk-sdk/src/helpers/index.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/helpers/package.json (313 bytes)
CREATE libs/my-sdk-sdk/src/models/enums.ts (93 bytes)
CREATE libs/my-sdk-sdk/src/models/index.ts (128 bytes)
CREATE libs/my-sdk-sdk/src/models/patterns.ts (102 bytes)
CREATE libs/my-sdk-sdk/src/models/base/enums.ts (97 bytes)
CREATE libs/my-sdk-sdk/src/models/base/index.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/models/base/patterns.ts (100 bytes)
CREATE libs/my-sdk-sdk/src/models/core/enums.ts (48 bytes)
CREATE libs/my-sdk-sdk/src/models/core/index.ts (49 bytes)
CREATE libs/my-sdk-sdk/src/models/core/patterns.ts (51 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/enums.ts (50 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/index.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/patterns.ts (53 bytes)
CREATE libs/my-sdk-sdk/src/spec/api-mock.ts (123 bytes)
CREATE libs/my-sdk-sdk/src/spec/index.ts (103 bytes)
CREATE libs/my-sdk-sdk/src/spec/operation-adapter.ts (16 bytes)
CREATE libs/my-sdk-sdk/src/spec/package.json (292 bytes)
CREATE libs/my-sdk-sdk/src/spec/mock-factory/index.ts (49 bytes)
CREATE libs/my-sdk-sdk/testing/tsconfig.spec.json (448 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/tsconfig.jest.json (319 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/tsconfig.source.json (242 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.jest.json (357 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.json (127 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.source.json (287 bytes)
CREATE libs/my-sdk-sdk/.eslintignore (132 bytes)
CREATE libs/my-sdk-sdk/.eslintrc.js (1075 bytes)
CREATE libs/my-sdk-sdk/.gitignore (613 bytes)
CREATE libs/my-sdk-sdk/openapitools.json (389 bytes)
CREATE libs/my-sdk-sdk/package.json (4230 bytes)
UPDATE angular.json (11692 bytes)
UPDATE tsconfig.json (1289 bytes)
,            "7.4.0"
- Installing packages (npm)...
npm warn workspaces @my-sdk/sdk in filter set, but no workspace folder present
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-sdk/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs/my-sdk-sdk from the root project
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs/my-sdk-sdk from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error   libs/my-sdk-sdk
npm error     @my-sdk/[email protected]
npm error     node_modules/@my-sdk/sdk
npm error       workspace libs/my-sdk-sdk 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-06-24T18_09_31_146Z-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-06-24T18_09_31_146Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.

    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:115:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/workspace/schematics/index.it.spec.ts:21:23)
    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 0 in @o3r/workspace/dist-test/it-report.xml

See this annotation in the file changed.

@github-actions github-actions / IT Tests report-ubuntu-latest-npm

new otter workspace ► 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

Failed test found in:
  @o3r/workspace/dist-test/it-report.xml
Error:
  Error: Command failed: npm exec ng g sdk @my-sdk/sdk -- --spec-package-name @ama-sdk/showcase-sdk --spec-package-path ./openapi.yml --spec-package-registry http://127.0.0.1:4873 --spec-package-version ~999
Raw output
Error: Command failed: npm exec ng g sdk @my-sdk/sdk -- --spec-package-name @ama-sdk/showcase-sdk --spec-package-path ./openapi.yml --spec-package-registry http://127.0.0.1:4873 --spec-package-version ~999
STDERR:
            "7.4.0"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-sdk/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs/my-sdk-sdk from the root project
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs/my-sdk-sdk from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error   libs/my-sdk-sdk
npm error     @my-sdk/[email protected]
npm error     node_modules/@my-sdk/sdk
npm error       workspace libs/my-sdk-sdk 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-06-24T18_10_01_688Z-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-06-24T18_10_01_688Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.

OUTPUT:
,CREATE libs/my-sdk-sdk/.openapi-generator-ignore (90 bytes)
CREATE libs/my-sdk-sdk/.swcrc (329 bytes)
CREATE libs/my-sdk-sdk/jest.config.js (375 bytes)
CREATE libs/my-sdk-sdk/readme.md (7144 bytes)
CREATE libs/my-sdk-sdk/tsconfig.build.json (542 bytes)
CREATE libs/my-sdk-sdk/tsconfig.doc.json (354 bytes)
CREATE libs/my-sdk-sdk/tsconfig.json (226 bytes)
CREATE libs/my-sdk-sdk/typedoc.json (289 bytes)
CREATE libs/my-sdk-sdk/configs/tsconfig.test.json (496 bytes)
CREATE libs/my-sdk-sdk/src/index.ts (77 bytes)
CREATE libs/my-sdk-sdk/src/api/fixtures.jest.ts (123 bytes)
CREATE libs/my-sdk-sdk/src/api/index.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/fixtures/jest/index.ts (41 bytes)
CREATE libs/my-sdk-sdk/src/fixtures/jest/package.json (352 bytes)
CREATE libs/my-sdk-sdk/src/helpers/index.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/helpers/package.json (313 bytes)
CREATE libs/my-sdk-sdk/src/models/enums.ts (93 bytes)
CREATE libs/my-sdk-sdk/src/models/index.ts (128 bytes)
CREATE libs/my-sdk-sdk/src/models/patterns.ts (102 bytes)
CREATE libs/my-sdk-sdk/src/models/base/enums.ts (97 bytes)
CREATE libs/my-sdk-sdk/src/models/base/index.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/models/base/patterns.ts (100 bytes)
CREATE libs/my-sdk-sdk/src/models/core/enums.ts (48 bytes)
CREATE libs/my-sdk-sdk/src/models/core/index.ts (49 bytes)
CREATE libs/my-sdk-sdk/src/models/core/patterns.ts (51 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/enums.ts (50 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/index.ts (17 bytes)
CREATE libs/my-sdk-sdk/src/models/custom/patterns.ts (53 bytes)
CREATE libs/my-sdk-sdk/src/spec/api-mock.ts (123 bytes)
CREATE libs/my-sdk-sdk/src/spec/index.ts (103 bytes)
CREATE libs/my-sdk-sdk/src/spec/operation-adapter.ts (16 bytes)
CREATE libs/my-sdk-sdk/src/spec/package.json (292 bytes)
CREATE libs/my-sdk-sdk/src/spec/mock-factory/index.ts (49 bytes)
CREATE libs/my-sdk-sdk/testing/tsconfig.spec.json (448 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/tsconfig.jest.json (319 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/tsconfig.source.json (242 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.jest.json (357 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.json (127 bytes)
CREATE libs/my-sdk-sdk/tsconfigs/esm2020/tsconfig.source.json (287 bytes)
CREATE libs/my-sdk-sdk/.eslintignore (132 bytes)
CREATE libs/my-sdk-sdk/.eslintrc.js (1075 bytes)
CREATE libs/my-sdk-sdk/.gitignore (613 bytes)
CREATE libs/my-sdk-sdk/openapitools.json (389 bytes)
CREATE libs/my-sdk-sdk/package.json (4353 bytes)
UPDATE .npmrc (286 bytes)
UPDATE angular.json (11692 bytes)
UPDATE tsconfig.json (1289 bytes)
,            "7.4.0"
- Installing packages (npm)...
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: @my-sdk/[email protected]
npm error Found: @typescript-eslint/[email protected]
npm error node_modules/@typescript-eslint/utils
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin
npm error     dev @angular-eslint/eslint-plugin@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs/my-sdk-sdk from the root project
npm error     peer @angular-eslint/eslint-plugin@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   peer @typescript-eslint/utils@"^7.11.0 || ^8.0.0-alpha.20" from @angular-eslint/[email protected]
npm error   node_modules/@angular-eslint/eslint-plugin-template
npm error     dev @angular-eslint/eslint-plugin-template@"~18.0.0" from @my-sdk/[email protected]
npm error     libs/my-sdk-sdk
npm error       @my-sdk/[email protected]
npm error       node_modules/@my-sdk/sdk
npm error         workspace libs/my-sdk-sdk from the root project
npm error     peerOptional @angular-eslint/eslint-plugin-template@"~18.0.0" from @o3r/[email protected]
npm error     node_modules/@o3r/eslint-config-otter
npm error       dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error       libs/my-sdk-sdk
npm error         @my-sdk/[email protected]
npm error         node_modules/@my-sdk/sdk
npm error   4 more (@angular-eslint/test-utils, ...)
npm error
npm error Could not resolve dependency:
npm error peer @typescript-eslint/utils@"~7.13.1" from @o3r/[email protected]
npm error node_modules/@o3r/eslint-config-otter
npm error   dev @o3r/eslint-config-otter@"~999.0.1719251574439" from @my-sdk/[email protected]
npm error   libs/my-sdk-sdk
npm error     @my-sdk/[email protected]
npm error     node_modules/@my-sdk/sdk
npm error       workspace libs/my-sdk-sdk 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-06-24T18_10_01_688Z-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-06-24T18_10_01_688Z-debug-0.log
✖ Package install failed, see above.
The Schematic workflow failed. See above.

    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:83:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:115:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/workspace/schematics/index.it.spec.ts:35:23)
    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)