Skip to content

Fix null pointer in enforcer #2640

Fix null pointer in enforcer

Fix null pointer in enforcer #2640

Triggered via pull request October 7, 2024 12:14
@sgayangisgayangi
labeled #2546
Status Failure
Total duration 53m 37s
Artifacts 2

integration-test.yml

on: pull_request_target
runs_go_integration_tests_on_pull_request
21m 50s
runs_go_integration_tests_on_pull_request
runs_cucumber_integration_tests_on_pull_request
44m 3s
runs_cucumber_integration_tests_on_pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 14 warnings
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [429] but found [200] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [429] but found [200] at org.testng.Assert.fail(Assert.java:111) at org.testng.Assert.failNotEquals(Assert.java:1578) at org.testng.Assert.assertEqualsImpl(Assert.java:150) at org.testng.Assert.assertEquals(Assert.java:132) at org.testng.Assert.assertEquals(Assert.java:1419) at org.testng.Assert.assertEquals(Assert.java:1383) at org.testng.Assert.assertEquals(Assert.java:1429) at org.wso2.apk.integration.api.BaseSteps.theResponseStatusCodeShouldBe(BaseSteps.java:137) at ✽.the response status code should be 429(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/APIBackendBasedAIRatelimit.feature:144)
runs_cucumber_integration_tests_on_pull_request
APKIntegrationTestSuite.runScenario ────────────────────────────────────────────────────────────────────────────────────────── expected [200] but found [401] ────────────────────────────────────────────────────────────────────────────────────────── java.lang.AssertionError: expected [200] but found [401] at org.testng.Assert.fail(Assert.java:111) at org.testng.Assert.failNotEquals(Assert.java:1578) at org.testng.Assert.assertEqualsImpl(Assert.java:150) at org.testng.Assert.assertEquals(Assert.java:132) at org.testng.Assert.assertEquals(Assert.java:1419) at org.testng.Assert.assertEquals(Assert.java:1383) at org.testng.Assert.assertEquals(Assert.java:1429) at org.wso2.apk.integration.api.BaseSteps.eventualSuccess(BaseSteps.java:312) at ✽.I eventually receive 200 response code, not accepting(file:///home/runner/work/apk/apk/apk-repo/test/cucumber-tests/src/test/resources/tests/api/MultiEnvironment.feature:113)
runs_cucumber_integration_tests_on_pull_request
Process completed with exit code 1.
build_ratelimiter / build
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, actions/setup-go@v3, actions/checkout@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build_idpui / build
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, actions/checkout@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build_idpds / build
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, actions/setup-java@v3, actions/cache@v3, actions/checkout@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build_common_controller / build
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, actions/setup-go@v3, actions/checkout@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build_config / build
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, actions/setup-java@v3, actions/cache@v3, actions/checkout@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build_adapter / build
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, actions/setup-go@v3, actions/checkout@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build_router / build
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, actions/checkout@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build_enforcer / build
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, actions/setup-java@v3, actions/checkout@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
runs_go_integration_tests_on_pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: malinthaprasan/action-surefire-report@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
runs_go_integration_tests_on_pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, azure/CLI@v1, azure/aks-set-context@v3, actions/checkout@v3, malinthaprasan/action-surefire-report@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
runs_go_integration_tests_on_pull_request
No test results found!
runs_cucumber_integration_tests_on_pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: malinthaprasan/action-surefire-report@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
runs_cucumber_integration_tests_on_pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: azure/login@v1, azure/CLI@v1, azure/aks-set-context@v3, actions/checkout@v3, malinthaprasan/action-surefire-report@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
runs_cucumber_integration_tests_on_pull_request
186 tests run, 0 skipped, 2 failed.

Artifacts

Produced during runtime
Name Size
apk-integration-test-cucmber-logs Expired
57.8 KB
apk-integration-test-go-logs Expired
52.3 KB