[Bug]: A Platform API container stops mid-run in the integration suite
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- go
- Área
- backend-api-design, testing
Línea de trabajo
Start in tests/framework with go test ./suites/it -run TestIntegrationSuite -count=1 -v -args -blocks=platform-api-core -logs and inspect the Platform API output and teardown warning under IT_LOG_OUT. The issue says #4375 adds full-run log capture and exit-code/OOM reporting; use that evidence to identify why the container stops, then verify the API stays available through the block run.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Please select the area the issue is related to
Platform API
Please select the aspect the issue is related to
Aspect/Other (Anything else which does not match above categories)
Description
In the integration suite, one Platform API container intermittently stops accepting connections partway through a block's run. Every later call to it fails with:
authenticating to the control plane: logging in to the control plane:
Post "https://127.0.0.1:<port>/api/portal/v0.9/auth/login": dial tcp 127.0.0.1:<port>: connect: connection refused
In 7 of the jobs some calls first got EOF instead. The scenarios that run after it in that block leg then fail, so one occurrence turns into tens or hundreds of scenario failures.
In the 30 days from 2026-10-20 to 2026-11-19 this happened in at least 19 integration suite jobs on 18 different branches (counted from each failed run's latest attempt, so a failure whose re-run passed is not included), causing 1,684 scenario failures in total. In each job:
- exactly one Platform API instance was affected (one port). The only other refused calls were webhook events sent to that same Platform API;
- it happened on every database engine: 12 jobs in the
platform-api-coreblock, 5 in the older per-engineplatform-api-<engine>blocks, one inplatform-api-gateway-api-portal, and one inagent-proxy-recovery, where one scenario restarts Platform API on purpose.
Cause: not known. Nothing recorded why the container stopped. The integration framework's per-block log capture stopped at the end of boot, so the container-logs-* artifacts hold only boot output, and the exit code and the out-of-memory flag were never read. #4375 fixes both: block logs now cover the whole run, and teardown logs any container that had already exited, with its exit code and whether it was killed for memory. The next occurrence will show whether Platform API panicked, exited or was killed.
Expected
The Platform API keeps serving for the whole block run.
Failed jobs (19)
| Date | Branch | Block leg | Scenario failures after the outage | Job |
|---|---|---|---|---|
| 2026-10-22 | feat/aiw-api-portals-slot |
platform-api-sqlite/sqlserver |
21 | https://github.com/wso2/api-platform/actions/runs/39731278578/job/119703946342 |
| 2026-10-23 | feat/genai-tracing-main |
platform-api-postgres/sqlserver |
11 | https://github.com/wso2/api-platform/actions/runs/39923178947/job/120315494875 |
| 2026-10-26 | monetization-2-api-portal-server |
agent-proxy-recovery/sqlite |
3 | https://github.com/wso2/api-platform/actions/runs/40376201506/job/121764959658 |
| 2026-10-26 | monetization-3-api-portal-ui |
platform-api-sqlserver/sqlite |
54 | https://github.com/wso2/api-platform/actions/runs/40376204461/job/121765444425 |
| 2026-10-28 | websocket |
platform-api-gateway-api-portal |
16 | https://github.com/wso2/api-platform/actions/runs/40643719209/job/122684715194 |
| 2026-10-28 | chore/retire-gateway-it |
platform-api-sqlite/sqlserver |
153 | https://github.com/wso2/api-platform/actions/runs/40669280350/job/122755036186 |
| 2026-10-29 | mcp_ui |
platform-api-postgres/sqlserver |
88 | https://github.com/wso2/api-platform/actions/runs/40833979005/job/123315639348 |
| 2026-11-02 | fix/api-control-plane-base-path-gaps |
platform-api-core/api-postgres_gateway-sqlite |
88 | https://github.com/wso2/api-platform/actions/runs/41422387819/job/125202996069 |
| 2026-11-02 | fix/api-control-plane-base-path-gaps |
platform-api-core/api-sqlserver_gateway-postgres |
95 | https://github.com/wso2/api-platform/actions/runs/41432403706/job/125235886623 |
| 2026-11-02 | apip/per-portal-webhook-secret |
platform-api-core/api-postgres_gateway-sqlite |
80 | https://github.com/wso2/api-platform/actions/runs/41535719928/job/125589098550 |
| 2026-11-03 | aiw-llm-test-automation |
platform-api-core/api-postgres_gateway-sqlite |
5 | https://github.com/wso2/api-platform/actions/runs/41579234887/job/125731111844 |
| 2026-11-03 | docs/cli-image-build-target-arch |
platform-api-core/api-sqlite_gateway-sqlite |
164 | https://github.com/wso2/api-platform/actions/runs/41620701951/job/125872998287 |
| 2026-11-03 | scope-check |
platform-api-core/api-sqlite_gateway-postgres |
53 | https://github.com/wso2/api-platform/actions/runs/41661584530/job/126008559917 |
| 2026-11-05 | deplc-test-automation |
platform-api-core/api-postgres_gateway-sqlserver |
35 | https://github.com/wso2/api-platform/actions/runs/41992528359/job/127129926083 |
| 2026-11-05 | test/cloud-it |
platform-api-core/api-postgres_gateway-postgres |
116 | https://github.com/wso2/api-platform/actions/runs/42069045332/job/127393326178 |
| 2026-11-11 | azure-authentication-it |
platform-api-core/api-sqlite_gateway-postgres |
119 | https://github.com/wso2/api-platform/actions/runs/42984657547/job/130405822421 |
| 2026-11-13 | fix-api-version-context-update |
platform-api-core/api-postgres_gateway-sqlite |
289 | https://github.com/wso2/api-platform/actions/runs/43403035908/job/131824801273 |
| 2026-11-15 | feat/custom-policies-in-picker |
platform-api-core/api-sqlserver_gateway-postgres |
134 | https://github.com/wso2/api-platform/actions/runs/43677827936/job/132703209942 |
| 2026-11-17 | feat/pdk-identity-for-user |
platform-api-core/api-sqlite_gateway-sqlserver |
160 | https://github.com/wso2/api-platform/actions/runs/44072570349/job/134007484431 |
Steps to Reproduce
- From
tests/framework, rungo test ./suites/it -run TestIntegrationSuite -count=1 -v -args -blocks=platform-api-core -logs(every database leg). - Repeat until scenarios fail with
logging in to the control plane: … connection refused, then read the end of the Platform API lines in that leg's block log underIT_LOG_OUT, and the teardown warning for the exited container.
Severity Level of the Issue
Severity/Major (Important functionality is broken. Should be prioritized. Doesn't need immediate attention)
Environment Details (with versions)
GitHub Actions, Integration Tests and Platform Tests workflows, integration suite jobs on pull request branches based on main, 2026-10-22 to 2026-11-17. Platform API built from source.
- Lenguaje dominante
- Go
- Estrellas
- 85
- Forks
- 142
- Merge medio
- 1 d 7 h
- PR fusionados (30 d)
- 255
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wso2/api-platform
-
Area/Policies Aspect/API Severity/Major Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
wso2/api-platform#4468 ·
Los mantenedores suelen responder en 1 día
-
Area/Policies Aspect/API Severity/Major Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
wso2/api-platform#4465 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Invalid [api_portal.http_client.tls] value reports an error naming server.httpsPosiblemente ocupada @Maheesh09 la tomó hace 1 día. AbiertoArea/DeveloperPortal Aspect/Configuration Severity/Minor Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
wso2/api-platform#4437 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
wso2/api-platform#4369 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: host-rewrite policy documentation lists fewer allowed host characters than the policy acceptsAbiertoArea/Policies Aspect/Other Severity/Trivial Type/Bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
wso2/api-platform#4355 ·
Los mantenedores suelen responder en 1 día
Todos los issues de wso2/api-platform
Issues similares
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentPosiblemente ocupada @cvas22 la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
influxdata/telegraf#20264 ·
Los mantenedores suelen responder en 1 día
-
[Bug] Standalone migration breaks existing Ingress routes using the envoy-http Service port nameAbiertoaccepted bug wg/enterprise-environment
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vllm-project/semantic-router#7483 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
stacklok/toolhive-catalog#2076 ·
Los mantenedores suelen responder en 1 día
-
vulncheck or vulndb
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
golang/go#83428 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
gke-labs/kube-agents#7441 ·
Los mantenedores suelen responder en 1 día