Aias00 opened a new issue, #6681:
URL: https://github.com/apache/shenyu/issues/6681
- severity: High; files:
`shenyu-e2e/shenyu-e2e-case/shenyu-e2e-case-storage/compose/script/e2e-{mysql,postgres,opengauss,h2}-compose.sh:28-29`
- description: Lines do `chmod +x "${curPath}"/healthcheck.sh` then `sh
"${curPath}"/healthcheck.sh h2 http://localhost:31095/...
http://localhost:31195/...`, where `curPath` is the script's own dir
(`.../compose/script`). But `ls` of that dir shows only `e2e-*.sh` files —
there is no `healthcheck.sh` there (it lives at
`.../k8s/script/healthcheck.sh`). Additionally the literal `h2` is passed as
the first positional arg for ALL four storage variants — `healthcheck.sh`
treats `${1}` as the URL to curl, so it would `curl h2`. Because the storage
scripts lack `set -e` (verified), the `sh` open error is swallowed and
execution continues to `sleep 60s` then `mvn test`. All four e2e-storage matrix
jobs run with NO readiness check.
- impact: e2e-storage tests are flaky/masked; health gate is a no-op.
- suggested_fix: Point at `k8s/script/healthcheck.sh` (or a compose-specific
healthcheck) and pass the two real URLs (drop the `h2` arg).
- confidence: High
---
_Identified during the 2026-08-02 deep re-scan; full list in
[`docs/scan2-2026-08-02/00-consolidated-critical-high.md`](docs/scan2-2026-08-02/00-consolidated-critical-high.md)._
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]