You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "davidzollo (via GitHub)" <gi...@apache.org> on 2026/09/05 11:32:14 UTC

[PR] [Test][E2E] Extend Gravitino readiness timeout in MetalakeIT [seatunnel]

davidzollo opened a new pull request, #12108:
URL: https://github.com/apache/seatunnel/pull/12108

   ## What does this PR do?
   
   `MetalakeIT#startUp()` downloads and starts a Gravitino server (tarball fetch from `dlcdn.apache.org`, extract, then `bin/gravitino.sh start`) before polling `curl http://127.0.0.1:8090/api/metalakes` with a 180-second awaitility budget. On a loaded or slower CI runner, the download+start sequence can occasionally exceed that budget, and `curl` fails with exit code 7 (connection refused) — indistinguishable, from the assertion's point of view, from Gravitino simply not being ready yet.
   
   Observed on CI as:
   ```
   org.awaitility.core.ConditionTimeoutException: ... expected: <0> but was: <7> within 3 minutes.
   	at org.apache.seatunnel.connectors.seatunnel.jdbc.MetalakeIT.startUp(MetalakeIT.java:158)
   ```
   
   ## Why is this needed?
   
   This flake has independently cost multiple unrelated PRs (e.g. #11458) a CI cycle on `jdbc-connectors-it-part-7`, none of which touch this test or Gravitino at all.
   
   ## How was this patch tested?
   
   Bumped the wait budget from 180s to 300s, matching the more generous 360s wait already used later in the same method for the JDBC connection (which anticipates similar startup variance). Test-only change — no production code touched, no assertion weakened, just more runway for a slow-starting external process.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Test][E2E] Extend Gravitino readiness timeout in MetalakeIT [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12108:
URL: https://github.com/apache/seatunnel/pull/12108#issuecomment-5552504893

   Build run `33963574054` on `a025042dd` completed green (every job success/skipped — the lone `Build` status still showing in-progress is the lagging cross-posted check, not the workflow). Test-only change, ready for a committer's look.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Test][E2E] Extend Gravitino readiness timeout in MetalakeIT [seatunnel]

Posted by "davidzollo (via GitHub) via commits" <co...@seatunnel.apache.org>.
davidzollo merged PR #12108:
URL: https://github.com/apache/seatunnel/pull/12108


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Test][E2E] Extend Gravitino readiness timeout in MetalakeIT [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #12108:
URL: https://github.com/apache/seatunnel/pull/12108#issuecomment-5627580515

   Thanks @nzw921rx for the second look! Nothing has changed on the code or CI side since my last comment — head is still `a025042dd`, the real coverage job (`updated-modules-integration-test-part-8`, which executes `MetalakeIT`) is still green on both JDKs, and the lone `Build` status still shown as in-progress remains the lagging cross-posted check, not the actual workflow.
   
   With two approvals now on record, this should just be waiting on a committer to merge.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Test][E2E] Extend Gravitino readiness timeout in MetalakeIT [seatunnel]

Posted by "fatmanverse (via GitHub) via commits" <co...@seatunnel.apache.org>.
fatmanverse commented on PR #12108:
URL: https://github.com/apache/seatunnel/pull/12108#issuecomment-7381975920

   @davidzollo I found a new Metalake bootstrap failure while following up #12920 and #13430; the tested trees already include this PR's 300-second readiness timeout.
   
   Both JDK 11/17 lanes stop in `MetalakeIT.startUp` waiting for port 8090, before either test's business assertions. Examples: [DECIMAL JDK17](https://github.com/fatmanverse/seatunnel/actions/runs/47042237070/job/144034492721), [Kafka JDK11](https://github.com/fatmanverse/seatunnel/actions/runs/47043115127/job/144043507011).
   
   On December 3 I reproduced the original download/extract/start chain in an isolated Linux container using `eclipse-temurin:11-jdk` (digest `sha256:3b0c126d3698b45fca37965868abc26e5dcb8b67c0a12f477e16358776d951b5`). The fixed `https://dlcdn.apache.org/gravitino/0.9.1/gravitino-0.9.1-bin.tar.gz` URL returned HTTP 404 with a 196-byte HTML body. `tar` failed with `gzip: stdin: not in gzip format`, and the bootstrap chain exited 2 before Gravitino started. The fixture currently discards that ExecResult, so it then waits on a service that was never launched. The same-version Apache archive URL returns HTTP 200.
   
   This was a bootstrap-only reproduction, not a full MetalakeIT run. The historical CI discarded the startup output, so I cannot establish that every past readiness failure has this exact cause. The source is unchanged at dev `58d0640d381f512fde42eec33450daab797105eb`.
   
   Would a separate fixture fix using the pinned Apache archive and checking download/startup exit results be the preferred follow-up? I have not found an existing PR for the expired URL and want to keep this separate from the feature PRs and from increasing the readiness timeout again.


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Test][E2E] Extend Gravitino readiness timeout in MetalakeIT [seatunnel]

Posted by "davidzollo (via GitHub) via commits" <co...@seatunnel.apache.org>.
davidzollo commented on PR #12108:
URL: https://github.com/apache/seatunnel/pull/12108#issuecomment-6886270010

   ### Implementation Notes and Trade-offs
   
   Head: `55b3469fd199a0b81e7ed83cddef8a25d45349c6`
   
   The previous [Build](https://github.com/apache/seatunnel/actions/runs/35737065515/job/106776931401) stopped before running `MetalakeIT`: Maven Central returned HTTP 403 while the job tried to download the Maven wrapper. That run is outside GitHub's retry window. Rebasing onto current `dev` picks up the merged wrapper retry backoff (#12468); the original test change still raises only Gravitino's readiness timeout from 180 to 300 seconds, with its poll interval and success assertion unchanged.
   
   I rebased the single test change rather than adding a workaround to the test or replaying the obsolete Build. The rebased patch is byte-for-byte identical to the original. The old head is preserved locally, and the GitHub update is leased against that exact prior head.
   
   Scoped Spotless apply/check and `git diff --check` passed. Spotless used the checkout's formatting configuration and targeted `MetalakeIT.java` directly, because the regular Maven module model requires an unavailable local JDBC SNAPSHOT BOM.
   
   GitHub confirmed the updated head, the same one-file PR scope, and no merge conflict. The new [Build](https://github.com/apache/seatunnel/actions/runs/43655962840) was running at readback; the readiness test result is still pending.
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org