DanielLeens commented on PR #11198:
URL: https://github.com/apache/seatunnel/pull/11198#issuecomment-5150590978

   Thanks for checking this. I looked at the fork-side Build run for the latest 
head `fbf38c13`, and the failing lane is `Run / unit-test (8, ubuntu-latest)`:
   
   
https://github.com/srijan-singh/seatunnel/actions/runs/30686518877/job/91333572273
   
   The failure is in `seatunnel-ci-tools` during Surefire test execution:
   
   ```text
   There was an error in the forked process
   GC overhead limit exceeded
   ...
   Failed to execute goal ... maven-surefire-plugin ... on project 
seatunnel-ci-tools
   ```
   
   So this is not a Couchbase connector compile error. It is the test JVM fork 
running out of heap while executing the CI tools unit tests.
   
   A small CI-only fix would be reasonable here. Please try adding an explicit 
Surefire JVM heap for this job, because the current `MAVEN_OPTS=-Xmx4096m` 
mainly configures the Maven process, while this error happens in the forked 
Surefire process. For example, in `.github/workflows/backend.yml`, update the 
`unit-test` command to pass an explicit argLine:
   
   ```bash
   ./mvnw -B -T 1 clean verify \
     -DskipUT=false \
     -DskipIT=true \
     -D"license.skipAddThirdParty"=true \
     -D"skip.ui"=true \
     -DargLine="-Xmx2048m -Dfile.encoding=UTF-8" \
     --no-snapshot-updates
   ```
   
   Please keep this as a CI-only change. Do not change the Couchbase connector 
code for this OOM. After pushing the workflow update, the fork Build should 
rerun and we can check whether the `unit-test (8, ubuntu-latest)` lane passes.


-- 
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]

Reply via email to