Jackie-Jiang opened a new pull request, #20281: URL: https://github.com/apache/pinot/pull/20281
The schema-registry integration test can fail before Kafka starts with `Text file busy` and exit code 126. Testcontainers waits for `/tmp/testcontainers_start.sh` to exist, but Docker can still have the file open for writing when the container executes it. This caused [the integration failure on PR #20278](https://github.com/apache/pinot/actions/runs/43964887136/job/133641751411) and matches [Testcontainers issue #11682](https://github.com/testcontainers/testcontainers-java/issues/11682). Make the fixture wait for a separate readiness marker. Publish the marker only after the superclass startup hook finishes uploading the script, then execute the completed script. This preserves the existing Confluent 7.2.0/ZooKeeper fixture. Validation: - A deterministic Linux/Docker probe held the script open for writing: the original command failed with exit 126; the new command waited for the marker and then exited successfully. Synchronization used a blocking handshake rather than timing-based assertions. - Started the actual compiled `SchemaRegistryStarter` with the cached Kafka and Schema Registry images; `GET /subjects` returned HTTP 200 with `[]`, then both containers were stopped. - `./mvnw -pl pinot-integration-tests -am -Ppinot-fastdev -DskipTests -Dmaven.compiler.showDeprecation=true -Dmaven.compiler.showWarnings=true test-compile` passed. - `./mvnw -pl pinot-integration-tests spotless:apply checkstyle:check license:format license:check` passed. The full shared Kafka realtime suite was not rerun locally. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
