Comments (2)
Seems that only the tests needed to send configuration to Kong gateway fails. I will try to separate the Consumer part which creates many consumers to a new test case. related: #5375
from kubernetes-ingress-controller.
Observed again in https://github.com/Kong/kubernetes-ingress-controller/actions/runs/7788877111/job/21239413941?pr=5562
Also failed on the unknown backend/name check.
The test creates these resources as usual and expects the webhook to catch and reject them. When this occurs, the resources do fail at apply time even though they ostensibly validate fine:
$ grep 400 integration-tests-kic-logs | tail -2
2024-02-05T19:48:24Z error dataplane-synchronizer Could not update kong admin {"error": "performing update for http://172.18.128.2:8001 failed: 2 errors occurred:\n\twhile processing event: Create vault unsupported-backend failed: HTTP status 400 (message: \"schema violation (name: vault 'env1' is not installed)\")\n\twhile processing event: Create vault invalid-config failed: HTTP status 400 (message: \"schema violation (config.foo: unknown field)\")\n"}
2024-02-05T19:48:27Z error dataplane-synchronizer Could not update kong admin {"error": "performing update for http://172.18.128.2:8001 failed: 2 errors occurred:\n\twhile processing event: Create vault unsupported-backend failed: HTTP status 400 (message: \"schema violation (name: vault 'env1' is not installed)\")\n\twhile processing event: Create vault invalid-config failed: HTTP status 400 (message: \"schema violation (config.foo: unknown field)\")\n"}
The test used a very outdated cleanup system though, so it wasn't creating diag dumps to get proxy logs.
We could potentially be failing to actually validate at all in the webhook. Although we do ensure the Service is available and has configuration before running tests, our failure policy is Ignore. It's a bit odd that the failure tests wouldn't be affected en masse, but it's not inconceivable that the runner's slow enough to exceed the timeout on some requests.
I don't know if client-go has the ability to indicate when a webhook check was requested and failed, but was ignored. Even if it does, we'd need a larger refactor of the checks to introduce retries. Currently they use a single Create()
call and don't delete resources they create if they shouldn't have passed.
We could swap to Fail, but then we'd have problems if we encounter timeouts on the valid items, and wouldn't actually be testing what we want for the invalid ones.
from kubernetes-ingress-controller.
Related Issues (20)
- Add tests for `KongLicense` CRD controller
- Add validations for `KongLicense` CRD
- issue tracking in performance test HOT 4
- Update License guide to cover KongLicense CRD usage
- Update Kong Vaults usage guide to describe `KongVault` CRD
- Extend "Using Kubernetes Secrets in Plugins" guide to use `configPatches`
- Test Request: Kong Gateway EE version 2.8.4.7-rc1 HOT 8
- HTTPRoute with RedirectURI feature HOT 1
- Test Request: Kong Gateway EE version 3.6.0.0-rc.7 HOT 3
- Test Request: Kong Gateway EE version 3.6.0.0-rc.8 HOT 3
- Test Request: Kong Gateway EE version 3.4.3.4-rc1 HOT 3
- `helm template kong kong/ingress` does not produce the same output like `helm template kong kong/ingress --validate`
- Automated triggering of Test Request runs
- FillID breaks syncing with duplicate consumers in different namespaces/workspaces HOT 3
- Kong / kubernetes-ingress-controller : Error: parse error at (kong/templates/_helpers.tpl:1281): unclosed action HOT 5
- Listener certificates are not used when coming from managed gateways
- Configuration apply error from applying 2 Prometheus plugins against 1 `Service` fails to be parsed HOT 1
- Frequent kong ingress controller leader re-election happening HOT 3
- When configuring Kong Gateway OSS, KIC tries to apply KongLicense regardless and fails HOT 2
- Cannot apply licenses to DB backed Kong gateways HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-ingress-controller.