Skip to content

feat(*): Add methods to build and push usage metrics #7

feat(*): Add methods to build and push usage metrics

feat(*): Add methods to build and push usage metrics #7

Triggered via push December 20, 2024 06:14
Status Success
Total duration 12m 26s
Artifacts
Matrix: Run Bouncer lib tests / Test suite
Matrix: Run Magento 2 Engine module tests / Test suite
Matrix: Run Remediation Engine tests / Unit and integration test
Matrix: Run Standalone Bouncer tests / Test suite
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 9 warnings, and 18 notices
[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
[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
[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
Slow Test: [chromium] › add-alert.test.ts#L1
[chromium] › add-alert.test.ts took 20.9s
Slow Test: [chromium] › reports.test.ts#L1
[chromium] › reports.test.ts took 1.0m
Slow Test: [chromium] › config.test.ts#L1
[chromium] › config.test.ts took 20.1s
Slow Test: [chromium] › add-alert.test.ts#L1
[chromium] › add-alert.test.ts took 22.2s
Slow Test: [chromium] › reports.test.ts#L1
[chromium] › reports.test.ts took 52.7s
Slow Test: [chromium] › config.test.ts#L1
[chromium] › config.test.ts took 20.5s
Slow Test: [chromium] › config.test.ts#L1
[chromium] › config.test.ts took 17.6s
Slow Test: [chromium] › add-alert.test.ts#L1
[chromium] › add-alert.test.ts took 22.8s
Slow Test: [chromium] › reports.test.ts#L1
[chromium] › reports.test.ts took 58.0s
🎭 Playwright Run Summary
7 passed (26.1s)
🎭 Playwright Run Summary
3 passed (16.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
7 passed (1.1m)
🎭 Playwright Run Summary
5 passed (29.4s)
🎭 Playwright Run Summary
6 passed (8.5s)
🎭 Playwright Run Summary
3 passed (18.7s)
🎭 Playwright Run Summary
7 passed (27.8s)
🎭 Playwright Run Summary
6 passed (9.5s)
🎭 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.9m)
🎭 Playwright Run Summary
7 passed (58.3s)
🎭 Playwright Run Summary
5 passed (30.3s)
🎭 Playwright Run Summary
3 passed (19.0s)
🎭 Playwright Run Summary
6 passed (9.5s)
🎭 Playwright Run Summary
5 passed (27.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
7 passed (28.1s)
🎭 Playwright Run Summary
7 passed (1.1m)