Skip to content

BACKLOG-22232: Fix release wf #87

BACKLOG-22232: Fix release wf

BACKLOG-22232: Fix release wf #87

Triggered via pull request March 5, 2024 13:39
Status Failure
Total duration 11m 23s
Artifacts 2

on-code-change.yml

on: pull_request
Static Analysis (linting, vulns)
31s
Static Analysis (linting, vulns)
Integration Tests
8m 9s
Integration Tests
Sonar Analysis
3m 17s
Sonar Analysis
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 7 warnings, and 2 notices
Default HTML filtering ► rejects invalid protocol links ► Default HTML filtering rejects invalid protocol links: tests/artifacts/results/xml_reports/cypress/e2e/defaultFiltering.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/defaultFiltering.cy.ts.xml Error: AssertionError: expected '<p>This is an <a href="javascript://%0aalert(document.location)">xss test</a></p>' to not include '<a'
Default HTML filtering ► rejects invalid href links ► Default HTML filtering rejects invalid href links: tests/artifacts/results/xml_reports/cypress/e2e/defaultFiltering.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/defaultFiltering.cy.ts.xml Error: AssertionError: expected '<p>This is an <a href="#javascript:alert(\'hello\')" target="_blank">xss test</a></p>' to not include 'href'
HTML rich text filtering ► applies default html filtering when enabled ► HTML rich text filtering applies default html filtering when enabled: tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml Error: AssertionError: expected '<iframe title="My iframe"></iframe><a title="My link"></a><script> var today= new Date(); </script>' to not include 'iframe'
HTML rich text filtering ► applies default filtering to html attributes when enabled ► HTML rich text filtering applies default filtering to html attributes when enabled: tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml Error: AssertionError: filtered attribute: expected '<img src="stub.jpg" loading="lazy"><a href="https://localhost:8080">' to not include 'loading'
HTML rich text filtering ► can override filtering config for specified site ► HTML rich text filtering can override filtering config for specified site: tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml Error: AssertionError: expected '<p>This text<strong>is important!</strong> but not this one</p>' to not include 'strong'
HTML rich text filtering ► can update config and filter using updated rules ► HTML rich text filtering can update config and filter using updated rules: tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/filtering.cy.ts.xml Error: AssertionError: expected '<p>This text<i>is important!</i> but not this one</p>' to not include '<i>'
HTML rich text filtering API ► filters via API and reports on removed elements/attributes ► HTML rich text filtering API filters via API and reports on removed elements/attributes: tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml Error: TypeError: Cannot read properties of undefined (reading 'htmlFilteringConfiguration')
HTML rich text filtering API ► returns a list of configured elements and attributes ► HTML rich text filtering API returns a list of configured elements and attributes: tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml#L0
Failed test found in: tests/artifacts/results/xml_reports/cypress/e2e/filteringAPI.cy.ts.xml Error: TypeError: Cannot read properties of undefined (reading 'htmlFilteringConfiguration')
Integration Tests
Run has FAILED, could not locate file /opt/actions-runner/_work/html-filtering/html-filtering/tests/artifacts/results/test_success
Static Analysis (linting, vulns): tests/cypress/e2e/filtering.cy.ts#L16
Unexpected 'todo' comment: 'TODO Need to clean up configuration...'
Static Analysis (linting, vulns)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build Module
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build Module
Unexpected input(s) 'module_id', valid inputs are ['mvn_settings_filepath', 'nexus_username', 'nexus_password', 'debug_session_timeout', 'github_artifact_retention', 'tests_module_path', 'tests_module_type', 'node_version']
Build Module
Unexpected input(s) 'module_id', valid inputs are ['mvn_settings_filepath', 'nexus_username', 'nexus_password', 'debug_session_timeout', 'github_artifact_retention', 'tests_module_path', 'tests_module_type', 'node_version']
Sonar Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-java@v3, actions/download-artifact@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Integration Tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: jahia/jahia-modules-action/helper@v2, jahia/jahia-modules-action/integration-tests@v2, phoenix-actions/test-reporting@v12. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Integration Tests
Artifacts (VPN Required) have been uploaded to: https://qa.jahia.com/artifacts-ci/delete-on-2024-04-04_Jahia_html-filtering_integration-tests-results_8157235792_1
Integration Tests
Job is running on instance: i-0e23be3d504fb899e (spec: t3a.2xlarge ) - Connect to the instance using: #> aws ssm start-session --target i-0e23be3d504fb899e

Artifacts

Produced during runtime
Name Size
build-artifacts Expired
6.65 MB
html-filtering-artifacts-87 Expired
7.52 MB