feat(metrics): question to activate telemetry + documentation #5196
13 passed, 2 failed and 0 skipped
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
@ama-sdk/create/dist-test/it-report.xml | 2❌ | 49s | ||
@ama-sdk/schematics/dist-test/it-report.xml | 6ms | |||
@o3r/analytics/dist-test/it-report.xml | 2✅ | 209s | ||
@o3r/apis-manager/dist-test/it-report.xml | 1✅ | 56s | ||
@o3r/components/dist-test/it-report.xml | 1✅ | 61s | ||
@o3r/configuration/dist-test/it-report.xml | 1✅ | 55s | ||
@o3r/core/dist-test/it-report.xml | 2✅ | 807s | ||
@o3r/create/dist-test/it-report.xml | 1✅ | 69s | ||
@o3r/extractors/dist-test/it-report.xml | 1✅ | 218s | ||
@o3r/localization/dist-test/it-report.xml | 1✅ | 75s | ||
@o3r/rules-engine/dist-test/it-report.xml | 1✅ | 63s | ||
@o3r/styling/dist-test/it-report.xml | 1✅ | 81s | ||
@o3r/testing/dist-test/it-report.xml | 1✅ | 47s |
❌ @ama-sdk/create/dist-test/it-report.xml
2 tests were completed in 49s with 0 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new sdk command | 2❌ | 48s |
❌ 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: expect(received).not.toThrow()
Create new sdk command should generate an empty SDK ready to be used
❌ Create new sdk command should generate an empty SDK ready to be used
Error: expect(received).not.toThrow()
✅ @ama-sdk/schematics/dist-test/it-report.xml
No tests found
✅ @o3r/analytics/dist-test/it-report.xml
2 tests were completed in 209s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with analytics | 2✅ | 208s |
✅ new otter application with analytics
new otter application with analytics standalone should add analytics to existing application
✅ new otter application with analytics standalone should add analytics to existing application
new otter application with analytics monorepo should add analytics to existing application
✅ new otter application with analytics monorepo should add analytics to existing application
✅ @o3r/apis-manager/dist-test/it-report.xml
1 tests were completed in 56s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with apis-manager | 1✅ | 55s |
✅ new otter application with apis-manager
new otter application with apis-manager should add apis-manager to existing application
✅ new otter application with apis-manager should add apis-manager to existing application
✅ @o3r/components/dist-test/it-report.xml
1 tests were completed in 61s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with components | 1✅ | 60s |
✅ 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
✅ @o3r/configuration/dist-test/it-report.xml
1 tests were completed in 55s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with configuration | 1✅ | 54s |
✅ 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
✅ @o3r/core/dist-test/it-report.xml
2 tests were completed in 807s with 2 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application | 2✅ | 805s |
✅ new otter application
new otter application standalone should build empty app
✅ new otter application standalone should build empty app
new otter application monorepo should build empty app
✅ new otter application monorepo should build empty app
✅ @o3r/create/dist-test/it-report.xml
1 tests were completed in 69s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Create new otter project command | 1✅ | 68s |
✅ 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
✅ @o3r/extractors/dist-test/it-report.xml
1 tests were completed in 218s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with extractors | 1✅ | 216s |
✅ 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
✅ @o3r/localization/dist-test/it-report.xml
1 tests were completed in 75s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with localization | 1✅ | 74s |
✅ 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
✅ @o3r/rules-engine/dist-test/it-report.xml
1 tests were completed in 63s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with rules-engine | 1✅ | 62s |
✅ 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
✅ @o3r/styling/dist-test/it-report.xml
1 tests were completed in 81s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with styling | 1✅ | 78s |
✅ 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
✅ @o3r/testing/dist-test/it-report.xml
1 tests were completed in 47s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
new otter application with testing | 1✅ | 45s |
✅ 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 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-npm
Create new sdk command ► Create new sdk command should generate a full SDK when the specification is provided ► Create new sdk command should generate a full SDK when the specification is provided
Failed test found in:
@ama-sdk/create/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: npm run build
STDERR:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\\a\\otter\\it-tests\\test-sdk\\my-test\\sdk\\package.json
npm ERR! errno -4058
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\\a\\otter\\it-tests\\test-sdk\\my-test\\sdk\\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent··
npm ERR! A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-02-02T10_07_38_659Z-debug-0.log·
OUTPUT:
,,npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\\a\\otter\\it-tests\\test-sdk\\my-test\\sdk\\package.json
npm ERR! errno -4058
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\\a\\otter\\it-tests\\test-sdk\\my-test\\sdk\\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent··
npm ERR! A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-02-02T10_07_38_659Z-debug-0.log
"
66 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
67 | // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
> 68 | throw new Error(`Command failed: ${cmd} ${args}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
69 | }
70 | }
71 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:55:35
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:55:94)
at Object.<anonymous> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:55:94)
at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)
Check failure on line 68 in packages/@o3r/test-helpers/src/utilities/package-manager.ts
github-actions / IT Tests report-windows-latest-npm
Create new sdk command ► Create new sdk command should generate an empty SDK ready to be used ► Create new sdk command should generate an empty SDK ready to be used
Failed test found in:
@ama-sdk/create/dist-test/it-report.xml
Error:
Error: expect(received).not.toThrow()
Raw output
Error: expect(received).not.toThrow()
Error name: "Error"
Error message: "Command failed: npm run build
STDERR:
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\\a\\otter\\it-tests\\test-sdk\\my-test\\sdk\\package.json
npm ERR! errno -4058
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\\a\\otter\\it-tests\\test-sdk\\my-test\\sdk\\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent··
npm ERR! A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-02-02T10_07_48_028Z-debug-0.log·
OUTPUT:
,,npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path D:\\a\\otter\\it-tests\\test-sdk\\my-test\\sdk\\package.json
npm ERR! errno -4058
npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open 'D:\\a\\otter\\it-tests\\test-sdk\\my-test\\sdk\\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent··
npm ERR! A complete log of this run can be found in: D:\\a\\otter\\otter\\.cache\\test-app\\npm-cache\\_logs\\2024-02-02T10_07_48_028Z-debug-0.log
"
66 | // Yarn doesn't log errors on stderr, so we need to get them from stdout to have them in the reports
67 | // eslint-disable-next-line @typescript-eslint/restrict-template-expressions
> 68 | throw new Error(`Command failed: ${cmd} ${args}\nSTDERR:\n${err.stderr?.toString() || ''}\nOUTPUT:\n${err.output?.toString() || ''}`);
| ^
69 | }
70 | }
71 |
at execCmd (packages/@o3r/test-helpers/src/utilities/package-manager.ts:68:11)
at packageManagerRun (packages/@o3r/test-helpers/src/utilities/package-manager.ts:132:10)
at packages/@ama-sdk/create/src/index.it.spec.ts:60:35
at Object.<anonymous> (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/toThrowMatchers.js:74:11)
at Object.throwingMatcher [as toThrow] (.yarn/cache/expect-npm-29.7.0-62e9f7979e-63f97bc51f.zip/node_modules/expect/build/index.js:320:21)
at Object.<anonymous> (packages/@ama-sdk/create/src/index.it.spec.ts:60:94)
at Object.<anonymous> (D:\a\otter\otter\packages\@ama-sdk\create\src\index.it.spec.ts:60:94)
at Promise.then.completed (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\utils.js:231:10)
at _callCircusTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:252:3)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:126:9)
at _runTestsForDescribeBlock (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:121:9)
at run (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\run.js:71:3)
at runAndTransformResultsToJestFormat (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapterInit.js:122:21)
at jestAdapter (D:\a\otter\otter\.yarn\cache\jest-circus-npm-29.7.0-f7679858c6-716a8e3f40.zip\node_modules\jest-circus\build\legacy-code-todo-rewrite\jestAdapter.js:79:19)
at runTestInternal (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:367:16)
at runTest (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\runTest.js:444:34)
at Object.worker (D:\a\otter\otter\.yarn\cache\jest-runner-npm-29.7.0-3bc9f82b58-9d8748a494.zip\node_modules\jest-runner\build\testWorker.js:106:12)