chore: update upload-artifact #94
10 passed, 42 failed and 2 skipped
✅ @ama-sdk/create/dist-test/it-report.xml
7 tests were completed in 271s with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 7✅ | 260s |
✅ 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
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
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
Create new sdk command should generate an SDK with no package scope
✅ Create new sdk command should generate an SDK with no package scope
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
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
✅ @ama-sdk/schematics/dist-test/it-report.xml
No tests found
❌ @o3r/analytics/dist-test/it-report.xml
2 tests were completed in 21s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add analytics | 2❌ | 7s |
❌ ng add analytics
ng add analytics should add analytics to an application
❌ ng add analytics should add analytics to an application
Error: expect(received).not.toThrow()
ng add analytics should add analytics to a library
❌ ng add analytics should add analytics to a library
Error: expect(received).not.toThrow()
❌ @o3r/apis-manager/dist-test/it-report.xml
1 tests were completed in 18s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with apis-manager | 1❌ | 7s |
❌ 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/apis-manager@~999 --skip-confirmation --project-name test-app
❌ @o3r/application/dist-test/it-report.xml
1 tests were completed in 25s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new Angular application | 1❌ | 9s |
❌ 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
Error: Command failed: yarn ng add @o3r/application@~999 --project-name test-app --skip-confirmation
❌ @o3r/components/dist-test/it-report.xml
6 tests were completed in 33s with 0 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 4❌ | 12s | ||
ng add components | 2❌ | 10s |
❌ check metadata migration
check metadata migration should not throw
❌ check metadata migration should not throw
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
check metadata migration should throw because no migration data
❌ check metadata migration should throw because no migration data
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
check metadata migration should throw because migration data invalid
❌ check metadata migration should throw because migration data invalid
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
check metadata migration should throw because breaking changes are not allowed
❌ check metadata migration should throw because breaking changes are not allowed
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
❌ ng add components
ng add components should add components to an application
❌ ng add components should add components to an application
Error: expect(received).not.toThrow()
ng add components should add components to a library
❌ ng add components should add components to a library
Error: expect(received).not.toThrow()
❌ @o3r/configuration/dist-test/it-report.xml
2 tests were completed in 21s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with configuration | 2❌ | 8s |
❌ 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
Error: Command failed: yarn ng add @o3r/configuration@~999 --skip-confirmation --project-name test-app
new otter application with configuration should add configuration to a library
❌ new otter application with configuration should add configuration to a library
Error: Command failed: yarn ng add @o3r/configuration@~999 --skip-confirmation --project-name test-lib
❌ @o3r/core/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 | 1❌ | 13s |
❌ new otter application
new otter application should build empty app
❌ new otter application should build empty app
Error: expect(received).not.toThrow()
✅ @o3r/create/dist-test/it-report.xml
3 tests were completed in 260s with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new otter project command | 3✅ | 253s |
✅ 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 22s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with Design | 1❌ | 7s |
❌ 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/design@~999 --skip-confirmation --project-name test-app
❌ @o3r/eslint-config-otter/dist-test/it-report.xml
2 tests were completed in 33s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add eslint-config | 2❌ | 16s |
❌ 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
Error: Command failed: yarn ng add @o3r/eslint-config-otter@~999 --skip-confirmation --project-name test-app
ng add eslint-config should add eslint-config to a library
❌ ng add eslint-config should add eslint-config to a library
Error: Command failed: yarn ng add @o3r/eslint-config-otter@~999 --skip-confirmation --project-name test-lib
❌ @o3r/extractors/dist-test/it-report.xml
1 tests were completed in 37s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
aggregate migration scripts | 1❌ | 19s |
❌ aggregate migration scripts
aggregate migration scripts should create migration scripts including lib content
❌ aggregate migration scripts should create migration scripts including lib content
Error: ENOENT: no such file or directory, open '/home/runner/work/otter/it-tests/test-app-extractors-aggregate-migration-scripts/angular.json'
❌ @o3r/localization/dist-test/it-report.xml
6 tests were completed in 37s with 0 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 4❌ | 14s | ||
ng add otter localization | 2❌ | 12s |
❌ check metadata migration
check metadata migration should not throw
❌ check metadata migration should not throw
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
check metadata migration should throw because no migration data
❌ check metadata migration should throw because no migration data
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
check metadata migration should throw because migration data invalid
❌ check metadata migration should throw because migration data invalid
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
check metadata migration should throw because breaking changes are not allowed
❌ check metadata migration should throw because breaking changes are not allowed
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
❌ ng add otter localization
ng add otter localization should add localization to an application
❌ ng add otter localization should add localization to an application
Error: expect(received).not.toThrow()
ng add otter localization should add localization to a library
❌ ng add otter localization should add localization to a library
Error: expect(received).not.toThrow()
❌ @o3r/new-version/dist-test/it-report.xml
1 tests were completed in 18s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
undefined | 1❌ | 6s |
❌ undefined
should add Otter Application to existing Angular app
❌ should add Otter Application to existing Angular app
Error: Command failed: yarn ng add @o3r/new-version@~999 --project-name test-app --skip-confirmation
❌ @o3r/rules-engine/dist-test/it-report.xml
2 tests were completed in 22s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add rules-engine | 2❌ | 8s |
❌ 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
Error: expect(received).not.toThrow()
ng add rules-engine should add rules engine to a library
❌ ng add rules-engine should add rules engine to a library
Error: expect(received).not.toThrow()
❌ @o3r/stylelint-plugin/dist-test/it-report.xml
2 tests were completed in 21s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add stylelint-plugin | 2❌ | 8s |
❌ 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
Error: Command failed: yarn ng add @o3r/stylelint-plugin@~999 --enable-metadata-extract --skip-confirmation --project-name test-app
ng add stylelint-plugin should add stylelint-plugin to a library
❌ ng add stylelint-plugin should add stylelint-plugin to a library
Error: Command failed: yarn ng add @o3r/stylelint-plugin@~999 --enable-metadata-extract --skip-confirmation --project-name test-lib
❌ @o3r/styling/dist-test/it-report.xml
6 tests were completed in 35s with 0 passed, 6 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
check metadata migration | 4❌ | 11s | ||
ng add styling | 2❌ | 9s |
❌ check metadata migration
check metadata migration should not throw
❌ check metadata migration should not throw
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
check metadata migration should throw because no migration data
❌ check metadata migration should throw because no migration data
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
check metadata migration should throw because migration data invalid
❌ check metadata migration should throw because migration data invalid
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
check metadata migration should throw because breaking changes are not allowed
❌ check metadata migration should throw because breaking changes are not allowed
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
❌ ng add styling
ng add styling should add styling to an application
❌ ng add styling should add styling to an application
Error: expect(received).not.toThrow()
ng add styling should add styling to a library
❌ ng add styling should add styling to a library
Error: expect(received).not.toThrow()
❌ @o3r/testing/dist-test/it-report.xml
4 tests were completed in 34s with 0 passed, 2 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
ng add testing | 2❌ | 2⚪ | 15s |
❌ ng add testing
ng add testing should add testing to an application
❌ ng add testing should add testing to an application
Error: Command failed: yarn ng add @o3r/testing@~999 --skip-confirmation --project-name test-app
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
Error: Command failed: yarn ng add @o3r/testing@~999 --skip-confirmation --project-name test-app
ng add testing should add testing to a library
⚪ ng add testing should add testing to a library
ng add testing should add testing to a library and fixture to component
⚪ ng add testing should add testing to a library and fixture to component
❌ @o3r/third-party/dist-test/it-report.xml
1 tests were completed in 20s with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new Angular application | 1❌ | 7s |
❌ new Angular application
new Angular application should add Otter Third Party to existing Angular app
❌ new Angular application should add Otter Third Party to existing Angular app
Error: Command failed: yarn ng add @o3r/third-party@~999 --project-name test-app --skip-confirmation
❌ @o3r/workspace/dist-test/it-report.xml
5 tests were completed in 28s with 0 passed, 5 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter workspace | 5❌ | 13s |
❌ new otter workspace
new otter workspace should add sdk to an existing workspace
❌ new otter workspace should add sdk to an existing workspace
Error: expect(received).not.toThrow()
new otter workspace should add sdk to an existing workspace with local spec
❌ new otter workspace should add sdk to an existing workspace with local spec
Error: expect(received).not.toThrow()
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: expect(received).not.toThrow()
new otter workspace should add a library to an existing workspace
❌ new otter workspace should add a library to an existing workspace
Error: expect(received).not.toThrow()
new otter workspace should generate a monorepo setup
❌ new otter workspace should generate a monorepo setup
Error: ENOENT: no such file or directory, open '/home/runner/work/otter/it-tests/test-app-workspace4/package.json'
Annotations
Check failure on line 105 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-yarn
ng add analytics ► ng add analytics should add analytics to an application ► ng add analytics should add analytics to an application
Failed test found in:
@o3r/analytics/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn ng add @o3r/analytics@~999 --project-name test-app --skip-confirmation
STDERR:
error Couldn't find a package.json file in \"/home/runner/work/otter/it-tests/test-app-analytics\"·
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in \"/home/runner/work/otter/it-tests/test-app-analytics\"
"
103 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
104 | // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
> 105 | throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
106 | }
107 | }
108 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at packages/@o3r/analytics/schematics/index.it.spec.ts:23:36
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/analytics/schematics/index.it.spec.ts:23:171)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/analytics/schematics/index.it.spec.ts:23:171)
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 105 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-yarn
ng add analytics ► ng add analytics should add analytics to a library ► ng add analytics should add analytics to a library
Failed test found in:
@o3r/analytics/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn ng add @o3r/analytics@~999 --project-name test-lib --skip-confirmation
STDERR:
error Couldn't find a package.json file in \"/home/runner/work/otter/it-tests/test-app-analytics1\"·
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in \"/home/runner/work/otter/it-tests/test-app-analytics1\"
"
103 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
104 | // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
> 105 | throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
106 | }
107 | }
108 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at packages/@o3r/analytics/schematics/index.it.spec.ts:53:36
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/analytics/schematics/index.it.spec.ts:53:171)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/analytics/schematics/index.it.spec.ts:53:171)
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/apis-manager/dist-test/it-report.xml
github-actions / IT Tests report-ubuntu-latest-yarn
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/apis-manager@~999 --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/apis-manager@~999 --skip-confirmation --project-name test-app
STDERR:
error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-apis-manager"
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-apis-manager"
at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/apis-manager/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/application/dist-test/it-report.xml
github-actions / IT Tests report-ubuntu-latest-yarn
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
Failed test found in:
@o3r/application/dist-test/it-report.xml
Error:
Error: Command failed: yarn ng add @o3r/application@~999 --project-name test-app --skip-confirmation
Raw output
Error: Command failed: yarn ng add @o3r/application@~999 --project-name test-app --skip-confirmation
STDERR:
error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-application"
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-application"
at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/application/schematics/index.it.spec.ts:19: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/components/dist-test/it-report.xml
github-actions / IT Tests report-ubuntu-latest-yarn
check metadata migration ► check metadata migration should not throw ► check metadata migration should not throw
Failed test found in:
@o3r/components/dist-test/it-report.xml
Error:
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
STDERR:
error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-components-metadata-check"
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-components-metadata-check"
at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at initTest (/home/runner/work/otter/otter/packages/@o3r/components/builders/metadata-check/index.it.spec.ts:202:21)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/components/builders/metadata-check/index.it.spec.ts:272:11)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 0 in @o3r/components/dist-test/it-report.xml
github-actions / IT Tests report-ubuntu-latest-yarn
check metadata migration ► check metadata migration should throw because no migration data ► check metadata migration should throw because no migration data
Failed test found in:
@o3r/components/dist-test/it-report.xml
Error:
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
STDERR:
error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-components-metadata-check1"
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-components-metadata-check1"
at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at initTest (/home/runner/work/otter/otter/packages/@o3r/components/builders/metadata-check/index.it.spec.ts:202:21)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/components/builders/metadata-check/index.it.spec.ts:285:11)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 0 in @o3r/components/dist-test/it-report.xml
github-actions / IT Tests report-ubuntu-latest-yarn
check metadata migration ► check metadata migration should throw because migration data invalid ► check metadata migration should throw because migration data invalid
Failed test found in:
@o3r/components/dist-test/it-report.xml
Error:
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
STDERR:
error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-components-metadata-check2"
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-components-metadata-check2"
at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at initTest (/home/runner/work/otter/otter/packages/@o3r/components/builders/metadata-check/index.it.spec.ts:202:21)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/components/builders/metadata-check/index.it.spec.ts:312:11)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 0 in @o3r/components/dist-test/it-report.xml
github-actions / IT Tests report-ubuntu-latest-yarn
check metadata migration ► check metadata migration should throw because breaking changes are not allowed ► check metadata migration should throw because breaking changes are not allowed
Failed test found in:
@o3r/components/dist-test/it-report.xml
Error:
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/extractors@~999 --skip-confirmation --project-name test-app
STDERR:
error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-components-metadata-check3"
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-components-metadata-check3"
at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at initTest (/home/runner/work/otter/otter/packages/@o3r/components/builders/metadata-check/index.it.spec.ts:202:21)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/components/builders/metadata-check/index.it.spec.ts:345:11)
at Promise.then.completed (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/otter/otter/.yarn/cache/jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/otter/otter/.yarn/cache/jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip/node_modules/jest-runner/build/testWorker.js:106:12)
Check failure on line 105 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-yarn
ng add components ► ng add components should add components to an application ► ng add components should add components to an application
Failed test found in:
@o3r/components/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn ng add @o3r/components@~999 --skip-confirmation --enable-metadata-extract --project-name test-app
STDERR:
error Couldn't find a package.json file in \"/home/runner/work/otter/it-tests/test-app-components\"·
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in \"/home/runner/work/otter/it-tests/test-app-components\"
"
103 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
104 | // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
> 105 | throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
106 | }
107 | }
108 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at packages/@o3r/components/schematics/index.it.spec.ts:21:36
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/components/schematics/index.it.spec.ts:22:109)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/components/schematics/index.it.spec.ts:22:109)
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 105 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-ubuntu-latest-yarn
ng add components ► ng add components should add components to a library ► ng add components should add components to a library
Failed test found in:
@o3r/components/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: yarn ng add @o3r/components@~999 --skip-confirmation --enable-metadata-extract --project-name test-lib
STDERR:
error Couldn't find a package.json file in \"/home/runner/work/otter/it-tests/test-app-components1\"·
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in \"/home/runner/work/otter/it-tests/test-app-components1\"
"
103 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
104 | // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
> 105 | throw new Error(`Command failed: ${args.join(' ') }\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
106 | }
107 | }
108 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at packages/@o3r/components/schematics/index.it.spec.ts:46:36
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@o3r/components/schematics/index.it.spec.ts:47:109)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/components/schematics/index.it.spec.ts:47:109)
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/configuration/dist-test/it-report.xml
github-actions / IT Tests report-ubuntu-latest-yarn
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
Failed test found in:
@o3r/configuration/dist-test/it-report.xml
Error:
Error: Command failed: yarn ng add @o3r/configuration@~999 --skip-confirmation --project-name test-app
Raw output
Error: Command failed: yarn ng add @o3r/configuration@~999 --skip-confirmation --project-name test-app
STDERR:
error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-configuration"
OUTPUT:
,yarn run v1.22.22
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
,error Couldn't find a package.json file in "/home/runner/work/otter/it-tests/test-app-configuration"
at execCmd (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:105:11)
at packageManagerExec (/home/runner/work/otter/otter/packages/@o3r/test-helpers/src/utilities/package-manager.ts:166:10)
at Object.<anonymous> (/home/runner/work/otter/otter/packages/@o3r/configuration/schematics/index.it.spec.ts:23: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)