[Bug]: A Platform API container stops mid-run in the integration suite
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- backend-api-design, testing
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 85
- Fork
- 142
- Merge medio
- 1g 7h
- PR unite (30g)
- 255
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di wso2/api-platform
-
Area/Policies Aspect/API Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
wso2/api-platform#4468 ·
I maintainer di solito rispondono entro 1 giorno
-
Area/Policies Aspect/API Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
wso2/api-platform#4465 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Invalid [api_portal.http_client.tls] value reports an error naming server.httpsForse già presa @Maheesh09 l’ha presa 1 giorno fa. ApertaArea/DeveloperPortal Aspect/Configuration Severity/Minor Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wso2/api-platform#4437 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
wso2/api-platform#4369 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: host-rewrite policy documentation lists fewer allowed host characters than the policy acceptsApertaArea/Policies Aspect/Other Severity/Trivial Type/Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
wso2/api-platform#4355 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di wso2/api-platform
Issue simili
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentForse già presa @cvas22 l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
influxdata/telegraf#20264 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] Standalone migration breaks existing Ingress routes using the envoy-http Service port nameApertaaccepted bug wg/enterprise-environment
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
vllm-project/semantic-router#7483 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
stacklok/toolhive-catalog#2076 ·
I maintainer di solito rispondono entro 1 giorno
-
vulncheck or vulndb
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
golang/go#83428 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
gke-labs/kube-agents#7441 ·
I maintainer di solito rispondono entro 1 giorno