Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TECH-1808 Refactor Load Average #135

Merged
merged 16 commits into from
Jun 11, 2024

TECH-1808 Revert parent version to 8.2.0.0

f5a6667
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

TECH-1808 Refactor Load Average #135

TECH-1808 Revert parent version to 8.2.0.0
f5a6667
Select commit
Loading
Failed to load commit list.
GitHub Actions / Tests Report (Standalone) succeeded Jun 11, 2024 in 1s

43 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/artifacts/results/xml_reports/cypress/e2e/api/apiDescription.spec.ts.xml 1✅ 5s
tests/artifacts/results/xml_reports/cypress/e2e/api/checkProbes.spec.ts.xml 8✅ 4s
tests/artifacts/results/xml_reports/cypress/e2e/api/createTask.spec.ts.xml 3✅ 835ms
tests/artifacts/results/xml_reports/cypress/e2e/api/deleteTask.spec.ts.xml 3✅ 533ms
tests/artifacts/results/xml_reports/cypress/e2e/api/healthCheckServlet.spec.ts.xml 1✅ 595ms
tests/artifacts/results/xml_reports/cypress/e2e/api/jahiaErrors.spec.begin.ts.xml 4✅ 3s
tests/artifacts/results/xml_reports/cypress/e2e/api/listTasks.spec.ts.xml 2✅ 779ms
tests/artifacts/results/xml_reports/cypress/e2e/api/load.spec.ts.xml 1✅ 439ms
tests/artifacts/results/xml_reports/cypress/e2e/api/moduleDefinitions.spec.ts.xml 2✅ 8s
tests/artifacts/results/xml_reports/cypress/e2e/api/moduleState.spec.ts.xml 7✅ 6s
tests/artifacts/results/xml_reports/cypress/e2e/api/patcher.spec.ts.xml 2✅ 1s
tests/artifacts/results/xml_reports/cypress/e2e/api/serverLoad.spec.ts.xml 3✅ 778ms
tests/artifacts/results/xml_reports/cypress/e2e/api/shutdown.spec.final.ts.xml 1✅ 346ms
tests/artifacts/results/xml_reports/cypress/e2e/api/shutdown.spec.ts.xml 5✅ 28s

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/apiDescription.spec.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Test for GraphQL schema description 1✅ 5s

✅ Test for GraphQL schema description

Description for all nodes under JahiaAdminQuery
  ✅ Test for GraphQL schema description Description for all nodes under JahiaAdminQuery

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/checkProbes.spec.ts.xml

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

Test suite Passed Failed Skipped Time
Health check 8✅ 4s
Root Suite 0ms

✅ Health check

Check healthcheck when everything is fine
  ✅ Health check Check healthcheck when everything is fine
Filters with "includes" parameter
  ✅ Health check Filters with "includes" parameter
Check healthcheck with one HIGH probe RED, asking low
  ✅ Health check Check healthcheck with one HIGH probe RED, asking low
Check healthcheck with one HIGH probe RED, asking critical
  ✅ Health check Check healthcheck with one HIGH probe RED, asking critical
Check healthcheck servlet when everything is fine
  ✅ Health check Check healthcheck servlet when everything is fine
Check healthcheck servlet with one HIGH probe RED, default severity, should return 503
  ✅ Health check Check healthcheck servlet with one HIGH probe RED, default severity, should return 503
Check healthcheck servlet with one HIGH probe RED, asking critical
  ✅ Health check Check healthcheck servlet with one HIGH probe RED, asking critical
Check Probe coming from another bundle is accessible
  ✅ Health check Check Probe coming from another bundle is accessible

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/createTask.spec.ts.xml

3 tests were completed in 835ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Root Suite 0ms
Task creation via API - mutation.admin.jahia.createTask 3✅ 826ms

✅ Task creation via API - mutation.admin.jahia.createTask

Create task by providing service, name
  ✅ Task creation via API - mutation.admin.jahia.createTask Create task by providing service, name
Should fail creating task with big service name
  ✅ Task creation via API - mutation.admin.jahia.createTask Should fail creating task with big service name
Should fail creating task with guest user
  ✅ Task creation via API - mutation.admin.jahia.createTask Should fail creating task with guest user

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/deleteTask.spec.ts.xml

3 tests were completed in 533ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Root Suite 0ms
Task deletion Task via API - mutation.admin.jahia.createTask 3✅ 520ms

✅ Task deletion Task via API - mutation.admin.jahia.createTask

Delete task success path
  ✅ Task deletion Task via API - mutation.admin.jahia.createTask Delete task success path
Should fail deleting non existent task
  ✅ Task deletion Task via API - mutation.admin.jahia.createTask Should fail deleting non existent task
Should fail deleting task with guest user
  ✅ Task deletion Task via API - mutation.admin.jahia.createTask Should fail deleting task with guest user

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/healthCheckServlet.spec.ts.xml

1 tests were completed in 595ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
healthcheck REST API test 1✅ 575ms
Root Suite 0ms

✅ healthcheck REST API test

should return using "includes" parameter
  ✅ healthcheck REST API test should return using "includes" parameter

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/jahiaErrors.spec.begin.ts.xml

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

Test suite Passed Failed Skipped Time
Jahia errors probe test 4✅ 3s
Root Suite 0ms

✅ Jahia errors probe test

Check the description of the probe
  ✅ Jahia errors probe test Check the description of the probe
Check that Jahia errors probe is present with GREEN status
  ✅ Jahia errors probe test Check that Jahia errors probe is present with GREEN status
Check that Jahia errors probe is YELLOW when there is an error log
  ✅ Jahia errors probe test Check that Jahia errors probe is YELLOW when there is an error log
Check that Jahia errors probe is not present when severity equals to MEDIUM
  ✅ Jahia errors probe test Check that Jahia errors probe is not present when severity equals to MEDIUM

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/listTasks.spec.ts.xml

2 tests were completed in 779ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
List Tasks via API - mutation.admin.jahia.listTasks 2✅ 769ms
Root Suite 0ms

✅ List Tasks via API - mutation.admin.jahia.listTasks

Get List of tasks
  ✅ List Tasks via API - mutation.admin.jahia.listTasks Get List of tasks
Get List of tasks empty list
  ✅ List Tasks via API - mutation.admin.jahia.listTasks Get List of tasks empty list

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/load.spec.ts.xml

1 tests were completed in 439ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Load average 1✅ 416ms
Root Suite 0ms

✅ Load average

Returns a load value
  ✅ Load average Returns a load value

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/moduleDefinitions.spec.ts.xml

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

Test suite Passed Failed Skipped Time
Module definitions probe test 2✅ 8s
Root Suite 0ms

✅ Module definitions probe test

should fail when installing incompatible definitions
  ✅ Module definitions probe test should fail when installing incompatible definitions
show an error if running version has incompatible definitions
  ✅ Module definitions probe test show an error if running version has incompatible definitions

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/moduleState.spec.ts.xml

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

Test suite Passed Failed Skipped Time
Module state probe test 5✅ 0ms
Root Suite 0ms
tests with 2 version of modules installed 2✅ 2s

✅ Module state probe test

Check that module state probe is all green with no whitelists or blacklists
  ✅ Module state probe test Check that module state probe is all green with no whitelists or blacklists
Checks that module state probe is in RED after stopping the module
  ✅ Module state probe test Checks that module state probe is in RED after stopping the module
Check that module state probe is green after we blacklist the module
  ✅ Module state probe test Check that module state probe is green after we blacklist the module
Checks that module state probe is GREEN even after we whitelisted the PAT module
  ✅ Module state probe test Checks that module state probe is GREEN even after we whitelisted the PAT module
Checks the module state probe is GREEN when we stopped SEO module, which is not inside whitelist
  ✅ Module state probe test Checks the module state probe is GREEN when we stopped SEO module, which is not inside whitelist

✅ tests with 2 version of modules installed

Checks the module state probe is YELLOW
  ✅ Module state probe test tests with 2 version of modules installed Checks the module state probe is YELLOW
Checks the module state probe is GREEN when module is not in whitelist
  ✅ Module state probe test tests with 2 version of modules installed Checks the module state probe is GREEN when module is not in whitelist

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/patcher.spec.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Server Load probe test 2✅ 1s

✅ Server Load probe test

Check that patcher  probe is all green after startup
  ✅ Server Load probe test Check that patcher  probe is all green after startup
Check that patcher  probe is red after failing a patch
  ✅ Server Load probe test Check that patcher  probe is red after failing a patch

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/serverLoad.spec.ts.xml

3 tests were completed in 778ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Root Suite 0ms
Server Load probe test 3✅ 765ms

✅ Server Load probe test

Check that server load probe is all green with default threshold parameters
  ✅ Server Load probe test Check that server load probe is all green with default threshold parameters
Checks that server load probe is in YELLOW after changing the threshold to 0
  ✅ Server Load probe test Checks that server load probe is in YELLOW after changing the threshold to 0
Checks that server load probe is in RED after changing the threshold to -1
  ✅ Server Load probe test Checks that server load probe is in RED after changing the threshold to -1

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/shutdown.spec.final.ts.xml

1 tests were completed in 346ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Root Suite 0ms
Shutdown via API - mutation.admin.jahia.shutdown 1✅ 326ms

✅ Shutdown via API - mutation.admin.jahia.shutdown

Shutdown success
  ✅ Shutdown via API - mutation.admin.jahia.shutdown Shutdown success

✅ tests/artifacts/results/xml_reports/cypress/e2e/api/shutdown.spec.ts.xml

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

Test suite Passed Failed Skipped Time
Root Suite 0ms
Shutdown via API - mutation.admin.jahia.shutdown 5✅ 28s

✅ Shutdown via API - mutation.admin.jahia.shutdown

Shutdown with no tasks running (dryRun)
  ✅ Shutdown via API - mutation.admin.jahia.shutdown Shutdown with no tasks running (dryRun)
Shutdown impossible with tasks running (dryRun) - should exhaust default timeout (25s)
  ✅ Shutdown via API - mutation.admin.jahia.shutdown Shutdown impossible with tasks running (dryRun) - should exhaust default timeout (25s)
Shutdown impossible with tasks running (dryRun) - shorter timeout (2s)
  ✅ Shutdown via API - mutation.admin.jahia.shutdown Shutdown impossible with tasks running (dryRun) - shorter timeout (2s)
Force shutdown without tasks running (dryRun)
  ✅ Shutdown via API - mutation.admin.jahia.shutdown Force shutdown without tasks running (dryRun)
Force shutdown with tasks running (dryRun)
  ✅ Shutdown via API - mutation.admin.jahia.shutdown Force shutdown with tasks running (dryRun)