Skip to content

feat(*): Update to remediation engine 4.2.0 #48

feat(*): Update to remediation engine 4.2.0

feat(*): Update to remediation engine 4.2.0 #48

Triggered via push January 31, 2025 04:49
Status Success
Total duration 10m 48s
Artifacts
Matrix: End-to-end test suite
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 6 warnings, and 18 notices
[chromium] › __tests__/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] › __tests__/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] › __tests__/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] › __tests__/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] › __tests__/cron.test.ts:40:7 › Cron test › can push signals by cron: __tests__/cron.test.ts#L43
1) [chromium] › __tests__/cron.test.ts:40:7 › Cron test › can push signals by cron ─────────────── Error: expect(received).toMatch(expected) Expected pattern: /Signals have been pushed/ Received string: "[2025-01-31T04:58:12.597803+00:00] crowdsec-engine.DEBUG: Instantiate client ***\"type\":\"CLIENT_INIT\",\"configs\":***\"env\":\"dev\",\"api_timeout\":120,\"scenarios\":[\"shield/markspam\",\"crowdsecurity/http-crawl-non_statics\",\"crowdsecurity/jira_cve-2021-26086\",\"crowdsecurity/http-sensitive-files\",\"crowdsecurity/http-backdoors-attempts\",\"shield/btinvalidscript\",\"shield/btxml\",\"shield/btauthorfishing\",\"crowdsecurity/http-bad-user-agent\",\"crowdsecurity/fortinet-cve-2018-13379\",\"crowdsecurity/pulse-secure-sslvpn-cve-2019-11510\",\"crowdsecurity/f5-big-ip-cve-2020-5902\",\"crowdsecurity/http-cve-2021-41773\",\"crowdsecurity/http-cve-2021-42013\",\"crowdsecurity/grafana-cve-2021-43798\",\"crowdsecurity/apache_log4j2_cve-2021-44228\",\"crowdsecurity/spring4shell_cve-2022-22965\",\"crowdsecurity/CVE-2022-26134\",\"crowdsecurity/CVE-2022-35914\",\"crowdsecurity/CVE-2022-37042\",\"crowdsecurity/CVE-2022-40684\",\"crowdsecurity/CVE-2022-41082\",\"crowdsecurity/CVE-2022-41697\",\"crowdsecurity/CVE-2022-42889\",\"crowdsecurity/CVE-2022-44877\",\"crowdsecurity/CVE-2022-46169\",\"crowdsecurity/http-generic-bf\",\"crowdsecurity/netgear_rce\",\"crowdsecurity/http-path-traversal-probing\",\"crowdsecurity/http-open-proxy\",\"crowdsecurity/http-probing\",\"crowdsecurity/http-sqli-probing\",\"crowdsecurity/CVE-2019-18935\",\"crowdsecurity/thinkphp-cve-2018-20062\",\"shield/ratelimit\",\"shield/humanspam\",\"crowdsecurity/vmware-vcenter-vmsa-2021-0027\",\"crowdsecurity/vmware-cve-2022-22954\",\"crowdsecurity/http-w00tw00t\",\"crowdsecurity/http-xss-probing\",\"drupal/core-ban\",\"drupal/auth-bruteforce\",\"drupal/4xx-scan\",\"magento2/user-enum\",\"magento2/pages-scan\",\"crowdsecurity/http-logs\"],\"user_agent_suffix\":\"magento2\",\"user_agent_version\":\"v1.1.1\",\"api_connect_timeout\":300,\"api_url\":\"https://api.dev.crowdsec.net/v3/\",\"api_key\":\"***\"*** [] [2025-01-31T04:58:12.599180+00:00] crowdsec-engine.DEBUG: Last push is too recent ***\"delay\":10,\"0\":***\"candidates\":0,\"pushed\":0,\"errors\":0*** [] " 41 | await runCronPage.pushSignals(); 42 | const logContent = await getFileContent(LOG_PATH); > 43 | expect(logContent).toMatch(new RegExp(`Signals have been pushed`)); | ^ 44 | ***); 45 | ***); 46 | at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/cron.test.ts:43:24
[chromium] › __tests__/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] › __tests__/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] › __tests__/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] › __tests__/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] › __tests__/cron.test.ts:40:7 › Cron test › can push signals by cron: __tests__/cron.test.ts#L43
1) [chromium] › __tests__/cron.test.ts:40:7 › Cron test › can push signals by cron ─────────────── Error: expect(received).toMatch(expected) Expected pattern: /Signals have been pushed/ Received string: "[2025-01-31T04:58:24.654756+00:00] crowdsec-engine.DEBUG: Instantiate client ***\"type\":\"CLIENT_INIT\",\"configs\":***\"env\":\"dev\",\"api_timeout\":120,\"scenarios\":[\"shield/markspam\",\"crowdsecurity/http-crawl-non_statics\",\"crowdsecurity/jira_cve-2021-26086\",\"crowdsecurity/http-sensitive-files\",\"crowdsecurity/http-backdoors-attempts\",\"shield/btinvalidscript\",\"shield/btxml\",\"shield/btauthorfishing\",\"crowdsecurity/http-bad-user-agent\",\"crowdsecurity/fortinet-cve-2018-13379\",\"crowdsecurity/pulse-secure-sslvpn-cve-2019-11510\",\"crowdsecurity/f5-big-ip-cve-2020-5902\",\"crowdsecurity/http-cve-2021-41773\",\"crowdsecurity/http-cve-2021-42013\",\"crowdsecurity/grafana-cve-2021-43798\",\"crowdsecurity/apache_log4j2_cve-2021-44228\",\"crowdsecurity/spring4shell_cve-2022-22965\",\"crowdsecurity/CVE-2022-26134\",\"crowdsecurity/CVE-2022-35914\",\"crowdsecurity/CVE-2022-37042\",\"crowdsecurity/CVE-2022-40684\",\"crowdsecurity/CVE-2022-41082\",\"crowdsecurity/CVE-2022-41697\",\"crowdsecurity/CVE-2022-42889\",\"crowdsecurity/CVE-2022-44877\",\"crowdsecurity/CVE-2022-46169\",\"crowdsecurity/http-generic-bf\",\"crowdsecurity/netgear_rce\",\"crowdsecurity/http-path-traversal-probing\",\"crowdsecurity/http-open-proxy\",\"crowdsecurity/http-probing\",\"crowdsecurity/http-sqli-probing\",\"crowdsecurity/CVE-2019-18935\",\"crowdsecurity/thinkphp-cve-2018-20062\",\"shield/ratelimit\",\"shield/humanspam\",\"crowdsecurity/vmware-vcenter-vmsa-2021-0027\",\"crowdsecurity/vmware-cve-2022-22954\",\"crowdsecurity/http-w00tw00t\",\"crowdsecurity/http-xss-probing\",\"drupal/core-ban\",\"drupal/auth-bruteforce\",\"drupal/4xx-scan\",\"magento2/user-enum\",\"magento2/pages-scan\",\"crowdsecurity/http-logs\"],\"user_agent_suffix\":\"magento2\",\"user_agent_version\":\"v1.1.1\",\"api_connect_timeout\":300,\"api_url\":\"https://api.dev.crowdsec.net/v3/\",\"api_key\":\"***\"*** [] [2025-01-31T04:58:24.655880+00:00] crowdsec-engine.DEBUG: Last push is too recent ***\"delay\":10,\"0\":***\"candidates\":0,\"pushed\":0,\"errors\":0*** [] " 41 | await runCronPage.pushSignals(); 42 | const logContent = await getFileContent(LOG_PATH); > 43 | expect(logContent).toMatch(new RegExp(`Signals have been pushed`)); | ^ 44 | ***); 45 | ***); 46 | at /var/www/html/my-own-modules/crowdsec-engine/Test/EndToEnd/__tests__/cron.test.ts:43:24
[chromium] › __tests__/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] › __tests__/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] › __tests__/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] › __tests__/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] › __tests__/add-alert.test.ts#L1
[chromium] › __tests__/add-alert.test.ts took 21.0s
Slow Test: [chromium] › __tests__/reports.test.ts#L1
[chromium] › __tests__/reports.test.ts took 56.7s
Slow Test: [chromium] › __tests__/reports.test.ts#L1
[chromium] › __tests__/reports.test.ts took 59.5s
Slow Test: [chromium] › __tests__/add-alert.test.ts#L1
[chromium] › __tests__/add-alert.test.ts took 20.4s
Slow Test: [chromium] › __tests__/add-alert.test.ts#L1
[chromium] › __tests__/add-alert.test.ts took 21.2s
Slow Test: [chromium] › __tests__/reports.test.ts#L1
[chromium] › __tests__/reports.test.ts took 51.0s
🎭 Playwright Run Summary
3 passed (16.5s)
🎭 Playwright Run Summary
7 passed (26.2s)
🎭 Playwright Run Summary
2 flaky [chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) [chromium] › __tests__/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.7m)
🎭 Playwright Run Summary
7 passed (1.0m)
🎭 Playwright Run Summary
5 passed (20.8s)
🎭 Playwright Run Summary
1 flaky [chromium] › __tests__/cron.test.ts:40:7 › Cron test › can push signals by cron ──────────────── 5 passed (8.3s)
🎭 Playwright Run Summary
2 flaky [chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) [chromium] › __tests__/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.7m)
🎭 Playwright Run Summary
7 passed (1.1m)
🎭 Playwright Run Summary
5 passed (19.4s)
🎭 Playwright Run Summary
3 passed (16.0s)
🎭 Playwright Run Summary
7 passed (25.5s)
🎭 Playwright Run Summary
1 flaky [chromium] › __tests__/cron.test.ts:40:7 › Cron test › can push signals by cron ──────────────── 5 passed (8.2s)
🎭 Playwright Run Summary
5 passed (20.6s)
🎭 Playwright Run Summary
6 passed (8.1s)
🎭 Playwright Run Summary
7 passed (26.7s)
🎭 Playwright Run Summary
3 passed (18.2s)
🎭 Playwright Run Summary
7 passed (56.4s)
🎭 Playwright Run Summary
2 flaky [chromium] › __tests__/detect-pages-scan.test.ts:84:7 › Detect pages scan › should NOT be banned if too many try (because disabled bounce) [chromium] › __tests__/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.7m)