Page MenuHomePhabricator
Paste P93890

hemlfile test output for rest-gateway
ActivePublic

Authored by daniel on Jun 5 2026, 11:13 AM.
Project Tags
None
Referenced Files
F86737966: hemlfile test output for rest-gateway
Jun 5 2026, 11:13 AM
Subscribers
None
11:10 daniel@deploy1003 [(254a66f54...) *] ~/code/deployment-charts/helmfile.d/services/rest-gateway> helmfile -e staging test Testing main
NAME: main
LAST DEPLOYED: Fri Jun 5 10:55:38 2026
NAMESPACE: rest-gateway
STATUS: deployed
REVISION: 172
TEST SUITE: api-gateway-main-smokepy
Last Started: Fri Jun 5 11:12:45 2026
Last Completed: Fri Jun 5 11:12:46 2026
Phase: Failed
NOTES:
Thank you for installing api-gateway.
Your release is named api-gateway-main.
This release is configured in REST gateway mode (main_app.rest_gateway_routes).
To learn more about the release, try:
$ helm status api-gateway-main
$ helm get api-gateway-main
You can now make requests to Envoy at https://staging.svc.eqiad.wmnet:4113.
To run the smoke tests, change to the `tests` directory, then run:
make check
See the README file in the `tests` directory for more information.
in ./helmfile.yaml: release "main" failed: command "/usr/bin/helm3.17" exited with non-zero status:
PATH:
/usr/bin/helm3.17
ARGS:
0: helm3.17 (8 bytes)
1: test (4 bytes)
2: main (4 bytes)
3: --namespace (11 bytes)
4: rest-gateway (12 bytes)
5: --timeout (9 bytes)
6: 600s (4 bytes)
7: --kubeconfig (12 bytes)
8: /etc/kubernetes/rest-gateway-deploy-staging.config (50 bytes)
ERROR:
exit status 1
EXIT STATUS
1
STDERR:
Error: warning: Hook test api-gateway/templates/tests/test-smokepy.yaml failed: 1 error occurred:
* pods "api-gateway-main-smokepy" is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false (container "smokepy" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "smokepy" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "smokepy" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "smokepy" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
COMBINED OUTPUT:
NAME: main
LAST DEPLOYED: Fri Jun 5 10:55:38 2026
NAMESPACE: rest-gateway
STATUS: deployed
REVISION: 172
TEST SUITE: api-gateway-main-smokepy
Last Started: Fri Jun 5 11:12:45 2026
Last Completed: Fri Jun 5 11:12:46 2026
Phase: Failed
NOTES:
Thank you for installing api-gateway.
Your release is named api-gateway-main.
This release is configured in REST gateway mode (main_app.rest_gateway_routes).
To learn more about the release, try:
$ helm status api-gateway-main
$ helm get api-gateway-main
You can now make requests to Envoy at https://staging.svc.eqiad.wmnet:4113.
To run the smoke tests, change to the `tests` directory, then run:
make check
See the README file in the `tests` directory for more information.
Error: warning: Hook test api-gateway/templates/tests/test-smokepy.yaml failed: 1 error occurred:
* pods "api-gateway-main-smokepy" is forbidden: violates PodSecurity "restricted:latest": allowPrivilegeEscalation != false (container "smokepy" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "smokepy" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "smokepy" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "smokepy" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")