Skip to content

feat(metrics): Implement pushUsageMetrics method #9

feat(metrics): Implement pushUsageMetrics method

feat(metrics): Implement pushUsageMetrics method #9

Triggered via push December 26, 2024 08:48
Status Cancelled
Total duration 10m 57s
Artifacts 1
Matrix: Run Bouncer lib tests / Test suite
Matrix: Run Magento 2 Engine module tests / Test suite
Matrix: Run Standalone Bouncer tests / Test suite
Fit to window
Zoom out
Zoom in

Annotations

27 errors, 1 warning, and 11 notices
Run Bouncer lib tests / Test suite (8.1)
Process completed with exit code 1.
Run Bouncer lib tests / Test suite (8.2)
Process completed with exit code 1.
Run Bouncer lib tests / Test suite (8.3)
Process completed with exit code 1.
Run Bouncer lib tests / Test suite (8.4)
Process completed with exit code 1.
Run Bouncer lib tests / Test suite (8.0)
Process completed with exit code 1.
Run Bouncer lib tests / Test suite (7.2)
Process completed with exit code 1.
Run Bouncer lib tests / Test suite (7.4)
Process completed with exit code 1.
Run Bouncer lib tests / Test suite (7.3)
Process completed with exit code 1.
Run Standalone Bouncer tests / Test suite (8.2)
Process completed with exit code 1.
Run Standalone Bouncer tests / Test suite (8.3)
Process completed with exit code 1.
Run Standalone Bouncer tests / Test suite (8.1)
Process completed with exit code 1.
Run Standalone Bouncer tests / Test suite (8.4)
Process completed with exit code 1.
Run Standalone Bouncer tests / Test suite (8.0)
Process completed with exit code 1.
Run Standalone Bouncer tests / Test suite (7.3)
Process completed with exit code 1.
Run Standalone Bouncer tests / Test suite (7.4)
Process completed with exit code 1.
Run Standalone Bouncer tests / Test suite (7.2)
Process completed with exit code 1.
[chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce): __tests__/detect-pages-scan.test.ts#L133
1) [chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) Error: Timed out 30000ms waiting for expect(locator).toContainText(expected) Locator: locator('#signals_push_result') Expected pattern: /0 errors for 1 candidates/ Received string: "0 pushed signals (0 errors for 0 candidates)." Call log: - expect.toContainText with timeout 30000ms - waiting for locator('#signals_push_result') 34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p> - unexpected value "0 pushed signals (0 errors for 0 candidates)." 131 | await adminCrowdSecSecurityConfigPage.navigateTo(); 132 | await adminCrowdSecSecurityConfigPage.pushSignals(); > 133 | await expect(page.locator("#signals_push_result")).toContainText( | ^ 134 | /0 errors for 1 candidates/, 135 | *** 136 | timeout: 30000, at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:133:56
[chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce): pageObjects/luma/admin/crowdsec-security-config.ts#L71
1) [chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 30000ms waiting for expect(locator).toContainText(expected) Locator: locator('#signals_push_result') Expected pattern: /pushed signals/ Received string: "" Call log: - expect.toContainText with timeout 30000ms - waiting for locator('#signals_push_result') 34 × locator resolved to <p class="hidden" id="signals_push_result"></p> - unexpected value "" at ../pageObjects/luma/admin/crowdsec-security-config.ts:71 69 | public async pushSignals() *** 70 | await this.page.locator("#crowdsec_engine_crons_signals_push").click(); > 71 | await expect(this.page.locator("#signals_push_result")).toContainText( | ^ 72 | /pushed signals/, 73 | *** 74 | timeout: 30000, at CrowdSecSecurityConfigPage.pushSignals (/var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/pageObjects/luma/admin/crowdsec-security-config.ts:71:61) at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:132:5
Run Magento 2 Engine module tests / Test suite (2.4.7, 8.3)
Process completed with exit code 1.
[chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce): __tests__/detect-pages-scan.test.ts#L133
1) [chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) Error: Timed out 30000ms waiting for expect(locator).toContainText(expected) Locator: locator('#signals_push_result') Expected pattern: /0 errors for 1 candidates/ Received string: "0 pushed signals (0 errors for 0 candidates)." Call log: - expect.toContainText with timeout 30000ms - waiting for locator('#signals_push_result') 34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p> - unexpected value "0 pushed signals (0 errors for 0 candidates)." 131 | await adminCrowdSecSecurityConfigPage.navigateTo(); 132 | await adminCrowdSecSecurityConfigPage.pushSignals(); > 133 | await expect(page.locator("#signals_push_result")).toContainText( | ^ 134 | /0 errors for 1 candidates/, 135 | *** 136 | timeout: 30000, at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:133:56
[chromium] › detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban): __tests__/detect-pages-scan.test.ts#L205
2) [chromium] › detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban) Error: Timed out 30000ms waiting for expect(locator).toContainText(expected) Locator: locator('#signals_push_result') Expected pattern: /0 errors for 1 candidates/ Received string: "0 pushed signals (0 errors for 0 candidates)." Call log: - expect.toContainText with timeout 30000ms - waiting for locator('#signals_push_result') 34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p> - unexpected value "0 pushed signals (0 errors for 0 candidates)." 203 | await adminCrowdSecSecurityConfigPage.navigateTo(); 204 | await adminCrowdSecSecurityConfigPage.pushSignals(); > 205 | await expect(page.locator("#signals_push_result")).toContainText( | ^ 206 | /0 errors for 1 candidates/, 207 | *** 208 | timeout: 30000, at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:205:56
Run Magento 2 Engine module tests / Test suite (2.4.6, 8.2)
The operation was canceled.
[chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce): __tests__/detect-pages-scan.test.ts#L133
1) [chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) Error: Timed out 30000ms waiting for expect(locator).toContainText(expected) Locator: locator('#signals_push_result') Expected pattern: /0 errors for 1 candidates/ Received string: "0 pushed signals (0 errors for 0 candidates)." Call log: - expect.toContainText with timeout 30000ms - waiting for locator('#signals_push_result') 34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p> - unexpected value "0 pushed signals (0 errors for 0 candidates)." 131 | await adminCrowdSecSecurityConfigPage.navigateTo(); 132 | await adminCrowdSecSecurityConfigPage.pushSignals(); > 133 | await expect(page.locator("#signals_push_result")).toContainText( | ^ 134 | /0 errors for 1 candidates/, 135 | *** 136 | timeout: 30000, at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:133:56
[chromium] › detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban): __tests__/detect-pages-scan.test.ts#L205
2) [chromium] › detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban) Error: Timed out 30000ms waiting for expect(locator).toContainText(expected) Locator: locator('#signals_push_result') Expected pattern: /0 errors for 1 candidates/ Received string: "0 pushed signals (0 errors for 0 candidates)." Call log: - expect.toContainText with timeout 30000ms - waiting for locator('#signals_push_result') 34 × locator resolved to <p class="success" id="signals_push_result">0 pushed signals (0 errors for 0 candidates).</p> - unexpected value "0 pushed signals (0 errors for 0 candidates)." 203 | await adminCrowdSecSecurityConfigPage.navigateTo(); 204 | await adminCrowdSecSecurityConfigPage.pushSignals(); > 205 | await expect(page.locator("#signals_push_result")).toContainText( | ^ 206 | /0 errors for 1 candidates/, 207 | *** 208 | timeout: 30000, at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/detect-pages-scan.test.ts:205:56
Run Magento 2 Engine module tests / Test suite (2.3.7-p4, 7.4)
The operation was canceled.
Slow Test: [chromium] › add-alert.test.ts#L1
[chromium] › add-alert.test.ts took 21.8s
🎭 Playwright Run Summary
1 failed [chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) 4 passed (1.5m)
🎭 Playwright Run Summary
5 passed (19.1s)
🎭 Playwright Run Summary
3 passed (17.7s)
🎭 Playwright Run Summary
6 passed (9.5s)
🎭 Playwright Run Summary
5 passed (21.3s)
🎭 Playwright Run Summary
2 flaky [chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) [chromium] › detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban) 3 passed (1.8m)
🎭 Playwright Run Summary
3 passed (18.2s)
🎭 Playwright Run Summary
7 passed (27.4s)
🎭 Playwright Run Summary
6 passed (9.6s)
🎭 Playwright Run Summary
2 flaky [chromium] › detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) [chromium] › detect-pages-scan.test.ts:151:7 › Detect pages scan › should NOT be banned if too many try (because disabled local ban) 3 passed (1.8m)
🎭 Playwright Run Summary
5 passed (22.7s)

Artifacts

Produced during runtime
Name Size
playwright-report-8.3-2.4.7 Expired
3.39 MB