Incase anyone follows this thread looking for an answer. The problem I encountered is with Fedora 42, testcontainers, and SELinux
Conditions that cause issue: - Fedora 42 - "getenforce" returns "Enforcing" (SELinux is set to enforcing) Workaround: sudo setenforce Permissive (run tests) sudo setenforce Enforcing On Mon, Jun 23, 2025 at 1:51 PM Claude Warren, Jr <claude.war...@aiven.io> wrote: > I have docker running (at least systemctl shows that it is active and > running) > > I am running on Fedora Linux 42 (Workstation Edition) > > Docker version 28.2.2, build 1.fc42 > > I can run docker. I can execute the docker-compose found in the test > tree. I have no idea why this would be failing. > > > > > On Mon, Jun 23, 2025 at 12:27 PM Jean-Baptiste Onofré <j...@nanthrax.net> > wrote: > >> By the way, I confirm it works for me: >> >> -- >> ./gradlew >> :iceberg-kafka-connect:iceberg-kafka-connect-runtime:integrationTest >> Configuration on demand is an incubating feature. >> [Incubating] Problems report is available at: >> >> file:///Users/jbonofre/Workspace/iceberg/build/reports/problems/problems-report.html >> Deprecated Gradle features were used in this build, making it >> incompatible with Gradle 9.0. >> You can use '--warning-mode all' to show the individual deprecation >> warnings and determine if they come from your own scripts or plugins. >> For more on this, please refer to >> >> https://docs.gradle.org/8.14.2/userguide/command_line_interface.html#sec:command_line_warnings >> in the Gradle documentation. >> BUILD SUCCESSFUL in 3m 5s >> -- >> >> So, I suggest you check your Docker daemon and the NOTE I added while >> ago if you are on MacOS >> (https://github.com/apache/iceberg/blob/main/README.md?plain=1#L84). >> >> Regards >> JB >> >> On Mon, Jun 23, 2025 at 11:12 AM Claude Warren, Jr >> <claude.war...@aiven.io.invalid> wrote: >> > >> > I tried to run the kafka-connect integration testing this morning on my >> system and it failed. >> > >> > Command used: >> > >> > ./gradlew >> :iceberg-kafka-connect:iceberg-kafka-connect-runtime:integrationTest >> > >> > Versions on which it failed: >> > >> > custom version of iceberg 1.9.0 >> > custom version of iceberg 1.9.1 >> > apache iceberg 1.9.0 >> > apache iceberg 1.9.1 >> > apache iceberg 1.9.x >> > apache iceberg main >> > >> > I do not have access to run the test action on the Iceberg git >> repository. >> > I can find no mention of the tests in issues or mail history (my >> search fu may be poor) >> > >> > Can someone run this test on github or at least verify that the problem >> is not with my system? >> > >> > the error I receive is: >> > >> > > Task >> :iceberg-kafka-connect:iceberg-kafka-connect-runtime:integrationTest >> > {noformat} >> > IntegrationDynamicTableTest > initializationError FAILED >> > org.testcontainers.containers.ContainerLaunchException at >> GenericContainer.java:351 >> > Caused by: org.rnorth.ducttape.RetryCountExceededException at >> Unreliables.java:88 >> > Caused by: >> org.testcontainers.containers.ContainerLaunchException at >> GenericContainer.java:556 >> > Caused by: java.lang.IllegalStateException at >> GenericContainer.java:487 >> > >> > IntegrationMultiTableTest > initializationError FAILED >> > org.testcontainers.containers.ContainerLaunchException at >> GenericContainer.java:351 >> > Caused by: org.rnorth.ducttape.RetryCountExceededException at >> Unreliables.java:88 >> > Caused by: >> org.testcontainers.containers.ContainerLaunchException at >> GenericContainer.java:556 >> > Caused by: java.lang.IllegalStateException at >> GenericContainer.java:487 >> > >> > IntegrationTest > initializationError FAILED >> > org.testcontainers.containers.ContainerLaunchException at >> GenericContainer.java:351 >> > Caused by: org.rnorth.ducttape.RetryCountExceededException at >> Unreliables.java:88 >> > Caused by: >> org.testcontainers.containers.ContainerLaunchException at >> GenericContainer.java:556 >> > Caused by: java.lang.IllegalStateException at >> GenericContainer.java:487 >> > >> > 3 tests completed, 3 failed >> > >> > {noformat} >> > >> > Thank you, >> > Claude >> > >> >