Skip to content

feat(it-tests): test schematics with yarn 1

Sign in for the full log view
GitHub Actions / IT Tests report-ubuntu-latest-yarn1 failed Mar 1, 2024 in 1s

1 passed, 14 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
@ama-sdk/create/dist-test/it-report.xml 3❌ 18s
@ama-sdk/schematics/dist-test/it-report.xml 4ms
@o3r/analytics/dist-test/it-report.xml 1❌ 33s
@o3r/apis-manager/dist-test/it-report.xml 1❌ 29s
@o3r/components/dist-test/it-report.xml 1❌ 34s
@o3r/configuration/dist-test/it-report.xml 1❌ 31s
@o3r/core/dist-test/it-report.xml 1❌ 325s
@o3r/create/dist-test/it-report.xml 1❌ 10s
@o3r/design/dist-test/it-report.xml 1❌ 32s
@o3r/extractors/dist-test/it-report.xml 1❌ 161s
@o3r/localization/dist-test/it-report.xml 1❌ 161s
@o3r/rules-engine/dist-test/it-report.xml 1❌ 35s
@o3r/styling/dist-test/it-report.xml 1❌ 31s
@o3r/testing/dist-test/it-report.xml 1✅ 48s

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

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

Test suite Passed Failed Skipped Time
Create new sdk command 3❌ 17s

❌ Create new sdk command

Create new sdk command should generate a full SDK when the specification is provided
  ❌ Create new sdk command should generate a full SDK when the specification is provided
	Error: Command failed: yarn set version 4.1.0
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: Command failed: yarn install
Create new sdk command should fail when there is an error
  ❌ Create new sdk command should fail when there is an error
	Error: Command failed: yarn install

✅ @ama-sdk/schematics/dist-test/it-report.xml

No tests found

❌ @o3r/analytics/dist-test/it-report.xml

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

Test suite Passed Failed Skipped Time
new otter application with analytics 1❌ 32s

❌ new otter application with analytics

new otter application with analytics should add analytics to existing application
  ❌ new otter application with analytics should add analytics to existing application
	Error: Command failed: yarn ng add @o3r/[email protected] --project-name test-app --skip-confirmation

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

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

Test suite Passed Failed Skipped Time
new otter application with apis-manager 1❌ 28s

❌ 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
	Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app

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

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

Test suite Passed Failed Skipped Time
new otter application with components 1❌ 32s

❌ new otter application with components

new otter application with components should add components to existing application
  ❌ new otter application with components should add components to existing application
	Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --enable-metadata-extract --project-name test-app

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

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

Test suite Passed Failed Skipped Time
new otter application with configuration 1❌ 30s

❌ new otter application with configuration

new otter application with configuration should add configuration to existing application
  ❌ new otter application with configuration should add configuration to existing application
	Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app

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

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

Test suite Passed Failed Skipped Time
new otter application 1❌ 324s

❌ new otter application

new otter application should build empty app
  ❌ new otter application should build empty app
	Error: Command failed: yarn ng g @o3r/core:add-context --path apps/test-app/src/components/test-add-context-component/test-add-context-component.component.ts

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

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

Test suite Passed Failed Skipped Time
Create new otter project command 1❌ 9s

❌ Create new otter project command

Create new otter project command should generate a project with an application
  ❌ Create new otter project command should generate a project with an application
	Error: Command failed: yarn set version 1.22.19

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

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

Test suite Passed Failed Skipped Time
new otter application with Design 1❌ 31s

❌ 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
	Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app

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

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

Test suite Passed Failed Skipped Time
new otter application with extractors 1❌ 159s

❌ new otter application with extractors

new otter application with extractors should add extractors to existing application
  ❌ new otter application with extractors should add extractors to existing application
	Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app

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

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

Test suite Passed Failed Skipped Time
new otter application with localization 1❌ 159s

❌ new otter application with localization

new otter application with localization should add localization to existing application
  ❌ new otter application with localization should add localization to existing application
	Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app

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

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

Test suite Passed Failed Skipped Time
new otter application with rules-engine 1❌ 34s

❌ new otter application with rules-engine

new otter application with rules-engine should add rules engine to existing application
  ❌ new otter application with rules-engine should add rules engine to existing application
	Error: Command failed: yarn ng add @o3r/[email protected] --enable-metadata-extract --project-name test-app --skip-confirmation

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

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

Test suite Passed Failed Skipped Time
new otter application with styling 1❌ 30s

❌ new otter application with styling

new otter application with styling should add styling to existing application
  ❌ new otter application with styling should add styling to existing application
	Error: Command failed: yarn ng add @o3r/[email protected] --enable-metadata-extract --skip-confirmation --project-name test-app

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

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

Test suite Passed Failed Skipped Time
new otter application with testing 1✅ 47s

✅ new otter application with testing

new otter application with testing should add testing to existing application
  ✅ new otter application with testing should add testing to existing application

Annotations

Check failure on line 267 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-yarn1

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: Command failed: yarn set version 4.1.0
Raw output
Error: Command failed: yarn set version 4.1.0
    at checkExecSyncError (node:child_process:890:11)
    at execFileSync (node:child_process:926:15)
    at setPackagerManagerConfig (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:267:21)
    at /home/runner/work/otter/otter/packages/@o3r/test-helpers/src/test-environments/create-test-environment-blank.ts:54:29
    at createWithLock (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/create-with-lock.ts:80:5)
    at createTestEnvironmentBlank (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/test-environments/create-test-environment-blank.ts:37:3)
    at prepareTestEnv (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/prepare-test-env.ts:113:7)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:28:22)

Check failure on line 114 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-yarn1

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: Command failed: yarn install
Raw output
Error: Command failed: yarn install
STDERR:

OUTPUT:
,➤ YN0000: Yarn detected that the current workflow is executed from a public pull request. For safety the hardened mode has been enabled.
➤ YN0000: It will prevent malicious lockfile manipulations, in exchange for a slower install time. You can opt-out if necessary; check our documentation for more details.

➤ YN0000: · Yarn 4.1.0
➤ YN0028: · The lockfile would have been created by this install, which is explicitly forbidden.
➤ YN0000: · Failed with errors in 0s 27ms
,
    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:114:11)
    at packageManagerInstall (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:176:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:34:28)

Check failure on line 114 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-yarn1

Create new sdk command ► Create new sdk command should fail when there is an error ► Create new sdk command should fail when there is an error

Failed test found in:
  @ama-sdk/create/dist-test/it-report.xml
Error:
  Error: Command failed: yarn install
Raw output
Error: Command failed: yarn install
STDERR:

OUTPUT:
,➤ YN0000: Yarn detected that the current workflow is executed from a public pull request. For safety the hardened mode has been enabled.
➤ YN0000: It will prevent malicious lockfile manipulations, in exchange for a slower install time. You can opt-out if necessary; check our documentation for more details.

➤ YN0000: · Yarn 4.1.0
➤ YN0028: · The lockfile would have been created by this install, which is explicitly forbidden.
➤ YN0000: · Failed with errors in 0s 28ms
,
    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:114:11)
    at packageManagerInstall (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:176:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@ama-sdk/create/src/index.it.spec.ts:34:28)

Check failure on line 114 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-yarn1

new otter application with analytics ► new otter application with analytics should add analytics to existing application ► new otter application with analytics should add analytics to existing application

Failed test found in:
  @o3r/analytics/dist-test/it-report.xml
Error:
  Error: Command failed: yarn ng add @o3r/[email protected] --project-name test-app --skip-confirmation
Raw output
Error: Command failed: yarn ng add @o3r/[email protected] --project-name test-app --skip-confirmation
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --project-name test-app --skip-confirmation
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:114:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:146:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/analytics/schematics/index.it.spec.ts:33: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 114 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-yarn1

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

Failed test found in:
  @o3r/apis-manager/dist-test/it-report.xml
Error:
  Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:114:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:146:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/apis-manager/schematics/index.it.spec.ts:30: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 114 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-yarn1

new otter application with components ► new otter application with components should add components to existing application ► new otter application with components should add components to existing application

Failed test found in:
  @o3r/components/dist-test/it-report.xml
Error:
  Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --enable-metadata-extract --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --enable-metadata-extract --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
⚠ Package has unmet peer dependencies. Adding the package may not succeed.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --enable-metadata-extract --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
⚠ Package has unmet peer dependencies. Adding the package may not succeed.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:114:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:146:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/components/schematics/index.it.spec.ts:30: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 114 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-yarn1

new otter application with configuration ► new otter application with configuration should add configuration to existing application ► new otter application with configuration should add configuration to existing application

Failed test found in:
  @o3r/configuration/dist-test/it-report.xml
Error:
  Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:114:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:146:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/configuration/schematics/index.it.spec.ts:33: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 114 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-yarn1

new otter application ► new otter application should build empty app ► new otter application should build empty app

Failed test found in:
  @o3r/core/dist-test/it-report.xml
Error:
  Error: Command failed: yarn ng g @o3r/core:add-context --path apps/test-app/src/components/test-add-context-component/test-add-context-component.component.ts
Raw output
Error: Command failed: yarn ng g @o3r/core:add-context --path apps/test-app/src/components/test-add-context-component/test-add-context-component.component.ts
STDERR:

OUTPUT:
,Internal Error: o3r-project-with-app-yarn1@workspace:.: This package doesn't seem to be present in your lockfile; run "yarn install" to update the lockfile
    at Xx.getCandidates (/home/runner/.cache/node/corepack/yarn/4.1.0/yarn.js:205:8149)
    at Dd.getCandidates (/home/runner/.cache/node/corepack/yarn/4.1.0/yarn.js:141:1311)
    at /home/runner/.cache/node/corepack/yarn/4.1.0/yarn.js:210:8409
    at Ky (/home/runner/.cache/node/corepack/yarn/4.1.0/yarn.js:140:53916)
    at Fe (/home/runner/.cache/node/corepack/yarn/4.1.0/yarn.js:210:8389)
    at async Promise.allSettled (index 0)
    at async Uc (/home/runner/.cache/node/corepack/yarn/4.1.0/yarn.js:140:53244)
    at async /home/runner/.cache/node/corepack/yarn/4.1.0/yarn.js:210:9140
    at async Qi.startProgressPromise (/home/runner/.cache/node/corepack/yarn/4.1.0/yarn.js:140:137284)
    at async Pt.resolveEverything (/home/runner/.cache/node/corepack/yarn/4.1.0/yarn.js:210:7138)
,
    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:114:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:146:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/core/schematics/index.it.spec.ts:98:23)

Check failure on line 267 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-yarn1

Create new otter project command ► Create new otter project command should generate a project with an application ► Create new otter project command should generate a project with an application

Failed test found in:
  @o3r/create/dist-test/it-report.xml
Error:
  Error: Command failed: yarn set version 1.22.19
Raw output
Error: Command failed: yarn set version 1.22.19
node:internal/modules/cjs/loader:1147
  throw err;
  ^

Error: Cannot find module '/home/runner/work/otter/it-tests/.yarn/releases/yarn-1.22.19.cjs'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.11.1

    at checkExecSyncError (node:child_process:890:11)
    at execFileSync (node:child_process:926:15)
    at setPackagerManagerConfig (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:267:21)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/create/src/index.it.spec.ts:41:29)

Check failure on line 114 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-yarn1

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

Failed test found in:
  @o3r/design/dist-test/it-report.xml
Error:
  Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

    at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:114:11)
    at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:146:10)
    at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/design/schematics/index.it.spec.ts:30: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 114 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-yarn1

new otter application with extractors ► new otter application with extractors should add extractors to existing application ► new otter application with extractors should add extractors to existing application

Failed test found in:
  @o3r/extractors/dist-test/it-report.xml
Error:
  Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/[email protected] --skip-confirmation --project-name test-app
STDERR:
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

OUTPUT:
,yarn run v1.22.19
$ ng add @o3r/[email protected] --skip-confirmation --project-name test-app
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
- Determining package manager...
ℹ Using package manager: yarn
- Loading package information from registry...
✔ Package information loaded.
- Installing packages...
warning package.json: "dependencies" has dependency "@o3r/testing" with range "^999.0.0" that collides with a dependency in "devDependencies" of the same name with version "~999.0.0"
error Running this command will add the dependency to the workspace root rather than the workspace itself, which might not be what you want - if you really meant it, make it explicit by running this command again with the -W flag (or --ignore-workspace-root-check).
✖ Packages installation failed, see above.
error Command failed with exit code 1.

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