Skip to content

feat(metrics): retrieve metrics for builders and schematics #5951

feat(metrics): retrieve metrics for builders and schematics

feat(metrics): retrieve metrics for builders and schematics #5951

GitHub Actions / UT Tests report-ubuntu-latest failed Jan 4, 2024 in 1s

UT Tests report-ubuntu-latest ❌

Tests failed

Report Passed Failed Skipped Time
packages/@ama-sdk/core/dist-test/ut-report.xml 173✅ 1❌ 1⚪ 16s
packages/@ama-sdk/schematics/dist-test/ut-report.xml 8❌ 11s
packages/@o3r/core/dist-test/ut-report.xml 67✅ 21❌ 1⚪ 30s
packages/@o3r/dev-tools/dist-test/ut-report.xml 3✅ 4s
packages/@o3r/dynamic-content/dist-test/ut-report.xml 62✅ 11s
packages/@o3r/eslint-plugin/dist-test/ut-report.xml 51✅ 10s
packages/@o3r/extractors/dist-test/ut-report.xml 4✅ 7s
packages/@o3r/localization/dist-test/ut-report.xml 35✅ 3❌ 28s
packages/@o3r/logger/dist-test/ut-report.xml 16✅ 10s
packages/@o3r/schematics/dist-test/ut-report.xml 8✅ 8s
packages/@o3r/test-helpers/dist-test/ut-report.xml 1✅ 3s
packages/@o3r/testing/dist-test/ut-report.xml 2❌ 17s

❌ packages/@ama-sdk/core/dist-test/ut-report.xml

175 tests were completed in 16s with 173 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
Additional Params Request Plugin 6✅ 818ms
Api Key Request Plugin 6✅ 703ms
Api Key Request Plugin 2✅ 768ms
ApiConfigurationOverride Plugin 3✅ 531ms
BotProtectionFingerprint 22✅ 4s
Client Facts request plugin 8✅ 606ms
Concurrent Fetch Plugin 3✅ 588ms
Custom info reply plugin 4✅ 669ms
DateTime 13✅ 1s
Exception Reply Plugin 5✅ 823ms
Fetch API cache Request Plugin 5✅ 772ms
Fetch API cache Request Plugin 3✅ 627ms
Fetch API credentials Request Plugin 2✅ 449ms
Gateway token plugin 5✅ 6s
getResponseReviver - revivers by status code 8✅ 3s
Imperva fetch plug-in 6✅ 676ms
JSON auth token request plugin 5✅ 929ms
Json Token 3✅ 656ms
JSON token utils 3✅ 709ms
Keepalive Request Plugin 1✅ 476ms
Mock intercept 5✅ 1⚪ 822ms
Ng add @ama-sdk/core 1❌ 6s
PerformanceMetricPlugin 3✅ 704ms
Public Facts request plugin 7✅ 563ms
Raw response info Reply plugin 4✅ 588ms
Retry Fetch Plugin 6✅ 468ms
Reviver Reply Plugin 3✅ 647ms
Revivers : 1✅ 572ms
Session ID Request Plugin 6✅ 606ms
SI Token Request Plugin 1✅ 481ms
Timeout Fetch Plugin 5✅ 453ms
Tokenizer Request Plugin 11✅ 5s
URL Rewrite Request Plugin 2✅ 591ms
Wait For Fetch Plugin 6✅ 865ms

❌ Ng add @ama-sdk/core

Ng add @ama-sdk/core should update imports
  ❌ Ng add @ama-sdk/core should update imports
	TypeError: Cannot read properties of undefined (reading 'logger')

❌ packages/@ama-sdk/schematics/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
Java Core Generator 1❌ 662ms
Typescript Core Generator 3❌ 9s
Typescript Shell Generator 4❌ 9s

❌ Java Core Generator

Java Core Generator should work correctly
  ❌ Java Core Generator should work correctly

❌ Typescript Core Generator

Typescript Core Generator should update readme
  ❌ Typescript Core Generator should update readme
Typescript Core Generator should clean previous install
  ❌ Typescript Core Generator should clean previous install
Typescript Core Generator should throw when swagger is missing
  ❌ Typescript Core Generator should throw when swagger is missing

❌ Typescript Shell Generator

Typescript Shell Generator should generate basic SDK package
  ❌ Typescript Shell Generator should generate basic SDK package
Typescript Shell Generator should generate correct package name
  ❌ Typescript Shell Generator should generate correct package name
Typescript Shell Generator should use yarn as default package manager
  ❌ Typescript Shell Generator should use yarn as default package manager
Typescript Shell Generator should use npm as package manager if specified
  ❌ Typescript Shell Generator should use npm as package manager if specified

❌ packages/@o3r/core/dist-test/ut-report.xml

89 tests were completed in 30s with 67 passed, 21 failed and 1 skipped.

Test suite Passed Failed Skipped Time
App version Builder 1✅ 4s
AsyncOperator 1✅ 2s
AsyncStoreItemAdapter tests 22✅ 1s
Convert component generator 3❌ 3s
createEntityAsyncRequestAdapter tests 16✅ 2s
debug helper 4✅ 1s
Deep fill function 18✅ 5s
Page 9❌ 10s
Pattern replacement Builder 1✅ 3s
Rendering helpers 4✅ 2s
Renovate Bot generator 1❌ 1s
Service generator 2❌ 1⚪ 2s
Store Action generator 1❌ 2s
Store entity async generator 2❌ 3s
Store entity sync generator 1❌ 2s
Store simple async generator 1❌ 3s
Store simple sync generator 1❌ 2s

❌ Convert component generator

Convert component generator should convert the component into an Otter component
  ❌ Convert component generator should convert the component into an Otter component
Convert component generator should convert the component into an Otter Block
  ❌ Convert component generator should convert the component into an Otter Block
Convert component generator should throw if we try to convert an Otter component
  ❌ Convert component generator should throw if we try to convert an Otter component

❌ Page

Page Default parameters should generate files
  ❌ Page Default parameters should generate files
Page Default parameters should insert page route in App Routing Module
  ❌ Page Default parameters should insert page route in App Routing Module
Page Default parameters should have the default selector
  ❌ Page Default parameters should have the default selector
Page Standalone page should generate files
  ❌ Page Standalone page should generate files
Page Standalone page should insert page route in App Routing Module
  ❌ Page Standalone page should insert page route in App Routing Module
Page Custom parameters should generate files with default parameters
  ❌ Page Custom parameters should generate files with default parameters
Page Custom parameters should insert page route in App Routing Module
  ❌ Page Custom parameters should insert page route in App Routing Module
Page Custom parameters should have the custom selector
  ❌ Page Custom parameters should have the custom selector
Page Wrong App Routing Module path should still generate files
  ❌ Page Wrong App Routing Module path should still generate files

❌ Renovate Bot generator

Renovate Bot generator should generate a basic renovate bot repository
  ❌ Renovate Bot generator should generate a basic renovate bot repository

❌ Service generator

Service generator should generate service in custom folder
  ❌ Service generator should generate service in custom folder
Service generator should generate service in default folder
  ❌ Service generator should generate service in default folder
Service generator should generate service with fixtures for jest if installed
  ⚪ Service generator should generate service with fixtures for jest if installed

❌ Store Action generator

Store Action generator should add a set action
  ❌ Store Action generator should add a set action

❌ Store entity async generator

Store entity async generator should generate async entity store
  ❌ Store entity async generator should generate async entity store
Store entity async generator Ensure that we dont break the training
  ❌ Store entity async generator Ensure that we dont break the training

❌ Store entity sync generator

Store entity sync generator should generate sync entity store
  ❌ Store entity sync generator should generate sync entity store

❌ Store simple async generator

Store simple async generator should generate async simple store
  ❌ Store simple async generator should generate async simple store

❌ Store simple sync generator

Store simple sync generator should generate sync simple store
  ❌ Store simple sync generator should generate sync simple store

✅ packages/@o3r/dev-tools/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
String utils 3✅ 3s

✅ packages/@o3r/dynamic-content/dist-test/ut-report.xml

62 tests were completed in 11s with 62 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
AssetPathOverride Store reducer 2✅ 989ms
DynamicContentPipe 1✅ 7s
DynamicContentService 18✅ 7s
RequestParametersService 41✅ 6s

✅ packages/@o3r/eslint-plugin/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
json-dependency-versions-harmonize 13✅ 6s
matching-configuration-name 6✅ 2s
no-folder-import-for-module 8✅ 2s
no-inner-html 3✅ 737ms
no-multiple-type-configuration-property 5✅ 6s
o3r-widget-tags 9✅ 6s
template-async-number-limitation 7✅ 2s

✅ packages/@o3r/extractors/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
config doc 4✅ 6s

❌ packages/@o3r/localization/dist-test/ut-report.xml

38 tests were completed in 28s with 35 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Localization Builder 1❌ 15s
Localization DevTools console 1✅ 3s
Localization Extractor Builder 1❌ 6s
Localization i18n Builder 1❌ 6s
LocalizationOverride Store reducer 2✅ 1s
LocalizationService 10✅ 11s
LocalizationTranslatePipe 5✅ 2s
LocalizedCurrencyPipe 2✅ 2s
LocalizedDatePipe 2✅ 2s
LocalizedDecimalPipe 2✅ 1s
TranslationsLoader - no endPointUrl 11✅ 2s

❌ Localization Builder

Localization Builder should genere the localizations
  ❌ Localization Builder should genere the localizations

❌ Localization Extractor Builder

Localization Extractor Builder should extract the localizations
  ❌ Localization Extractor Builder should extract the localizations

❌ Localization i18n Builder

Localization i18n Builder should generate the i18n
  ❌ Localization i18n Builder should generate the i18n

✅ packages/@o3r/logger/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
Logger service 16✅ 6s

✅ packages/@o3r/schematics/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
addVsCodeRecommendations 3✅ 5s
Get schematics options 5✅ 5s

✅ packages/@o3r/test-helpers/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
undefined 1✅ 1s

❌ packages/@o3r/testing/dist-test/ut-report.xml

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

Test suite Passed Failed Skipped Time
Fixture 2❌ 3s

❌ Fixture

Fixture should generate a fixture in an empty fixture
  ❌ Fixture should generate a fixture in an empty fixture
Fixture should generate a fixture in a fixture file
  ❌ Fixture should generate a fixture in a fixture file

Annotations

Check failure on line 16 in packages/@ama-sdk/core/schematics/ng-add/index.ts

See this annotation in the file changed.

@github-actions github-actions / UT Tests report-ubuntu-latest

Ng add @ama-sdk/core ► Ng add @ama-sdk/core should update imports ► Ng add @ama-sdk/core should update imports

Failed test found in:
  packages/@ama-sdk/core/dist-test/ut-report.xml
Error:
  TypeError: Cannot read properties of undefined (reading 'logger')
Raw output
TypeError: Cannot read properties of undefined (reading 'logger')
    at removeImports (/home/runner/work/otter/otter/packages/@ama-sdk/core/schematics/ng-add/index.ts:16:15)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at callRuleAsync (/home/runner/work/otter/otter/packages/angular_devkit/schematics/src/rules/call.ts:78:16)

Check failure on line 0 in packages/@ama-sdk/schematics/dist-test/ut-report.xml

See this annotation in the file changed.

@github-actions github-actions / UT Tests report-ubuntu-latest

Java Core Generator ► Java Core Generator should work correctly ► Java Core Generator should work correctly

Failed test found in:
  packages/@ama-sdk/schematics/dist-test/ut-report.xml
  packages/@ama-sdk/schematics/dist-test/ut-report.xml
  packages/@ama-sdk/schematics/dist-test/ut-report.xml
  packages/@ama-sdk/schematics/dist-test/ut-report.xml
  packages/@ama-sdk/schematics/dist-test/ut-report.xml
  packages/@ama-sdk/schematics/dist-test/ut-report.xml
  packages/@ama-sdk/schematics/dist-test/ut-report.xml
  packages/@ama-sdk/schematics/dist-test/ut-report.xml
Error:
  Test failed

Check failure on line 0 in packages/@o3r/core/dist-test/ut-report.xml

See this annotation in the file changed.

@github-actions github-actions / UT Tests report-ubuntu-latest

Convert component generator ► Convert component generator should convert the component into an Otter component ► Convert component generator should convert the component into an Otter component

Failed test found in:
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
  packages/@o3r/core/dist-test/ut-report.xml
Error:
  Test failed

Check failure on line 0 in packages/@o3r/localization/dist-test/ut-report.xml

See this annotation in the file changed.

@github-actions github-actions / UT Tests report-ubuntu-latest

Localization Builder ► Localization Builder should genere the localizations ► Localization Builder should genere the localizations

Failed test found in:
  packages/@o3r/localization/dist-test/ut-report.xml
  packages/@o3r/localization/dist-test/ut-report.xml
  packages/@o3r/localization/dist-test/ut-report.xml
Error:
  Test failed

Check failure on line 0 in packages/@o3r/testing/dist-test/ut-report.xml

See this annotation in the file changed.

@github-actions github-actions / UT Tests report-ubuntu-latest

Fixture ► Fixture should generate a fixture in an empty fixture ► Fixture should generate a fixture in an empty fixture

Failed test found in:
  packages/@o3r/testing/dist-test/ut-report.xml
  packages/@o3r/testing/dist-test/ut-report.xml
Error:
  Test failed