Testing started at 2:51 PM ... > Task :cleanTest > Task :compileJava NO-SOURCE > Task :processResources NO-SOURCE > Task :classes UP-TO-DATE > Task :compileTestJava Note: /Users/ernest.hill/Documents/kafkatest/src/test/java/Test.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :processTestResources NO-SOURCE > Task :testClasses > Task :test [Test worker] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy - Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first [Test worker] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy - Will use 'okhttp' transport [Test worker] INFO org.testcontainers.dockerclient.UnixSocketClientProviderStrategy - Accessing docker with local Unix socket [Test worker] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy - Found Docker environment with local Unix socket (unix:///var/run/docker.sock) [Test worker] INFO org.testcontainers.DockerClientFactory - Docker host IP address is localhost [Test worker] INFO org.testcontainers.DockerClientFactory - Connected to docker: Server Version: 19.03.1 API Version: 1.40 Operating System: Docker Desktop Total Memory: 1998 MB [Test worker] INFO org.testcontainers.utility.RegistryAuthLocator - Credential helper/store (docker-credential-desktop) does not have credentials for quay.io [Test worker] INFO org.testcontainers.DockerClientFactory - Ryuk started - will monitor and terminate Testcontainers containers on JVM exit â„šī¸Ž Checking the system... ✔ Docker version should be at least 1.6.0 ✔ Docker environment should have more than 2GB free disk space [Test worker] INFO đŸŗ [confluentinc/cp-kafka:5.2.1] - Creating container for image: confluentinc/cp-kafka:5.2.1 [Test worker] INFO đŸŗ [confluentinc/cp-kafka:5.2.1] - Starting container with ID: 16a9e33f1fb369379650ccfe8f3d48f8ac76e3139dcaa46666d7b43f82198a65 [Test worker] INFO đŸŗ [confluentinc/cp-kafka:5.2.1] - Container confluentinc/cp-kafka:5.2.1 is starting: 16a9e33f1fb369379650ccfe8f3d48f8ac76e3139dcaa46666d7b43f82198a65 [Test worker] INFO đŸŗ [confluentinc/cp-kafka:5.2.1] - Container confluentinc/cp-kafka:5.2.1 started [Test worker] INFO org.apache.kafka.clients.producer.ProducerConfig - ProducerConfig values: acks = 1 batch.size = 16384 bootstrap.servers = [localhost:34542] buffer.memory = 33554432 client.dns.lookup = default client.id = compression.type = none connections.max.idle.ms = 540000 delivery.timeout.ms = 120000 enable.idempotence = true interceptor.classes = [] key.serializer = class org.apache.kafka.common.serialization.StringSerializer linger.ms = 0 max.block.ms = 60000 max.in.flight.requests.per.connection = 5 max.request.size = 1048576 metadata.max.age.ms = 300000 metric.reporters = [] metrics.num.samples = 2 metrics.recording.level = INFO metrics.sample.window.ms = 30000 partitioner.class = class org.apache.kafka.clients.producer.internals.DefaultPartitioner receive.buffer.bytes = 32768 reconnect.backoff.max.ms = 1000 reconnect.backoff.ms = 50 request.timeout.ms = 30000 retries = 2147483647 retry.backoff.ms = 100 sasl.client.callback.handler.class = null sasl.jaas.config = null sasl.kerberos.kinit.cmd = /usr/bin/kinit sasl.kerberos.min.time.before.relogin = 60000 sasl.kerberos.service.name = null sasl.kerberos.ticket.renew.jitter = 0.05 sasl.kerberos.ticket.renew.window.factor = 0.8 sasl.login.callback.handler.class = null sasl.login.class = null sasl.login.refresh.buffer.seconds = 300 sasl.login.refresh.min.period.seconds = 60 sasl.login.refresh.window.factor = 0.8 sasl.login.refresh.window.jitter = 0.05 sasl.mechanism = GSSAPI security.protocol = PLAINTEXT send.buffer.bytes = 131072 ssl.cipher.suites = null ssl.enabled.protocols = [TLSv1.2, TLSv1.1, TLSv1] ssl.endpoint.identification.algorithm = https ssl.key.password = null ssl.keymanager.algorithm = SunX509 ssl.keystore.location = null ssl.keystore.password = null ssl.keystore.type = JKS ssl.protocol = TLS ssl.provider = null ssl.secure.random.implementation = null ssl.trustmanager.algorithm = PKIX ssl.truststore.location = null ssl.truststore.password = null ssl.truststore.type = JKS transaction.timeout.ms = 60000 transactional.id = prod-0 value.serializer = class org.apache.kafka.common.serialization.StringSerializer [Test worker] INFO org.apache.kafka.clients.producer.KafkaProducer - [Producer clientId=producer-1, transactionalId=prod-0] Instantiated a transactional producer. [Test worker] INFO org.apache.kafka.clients.producer.KafkaProducer - [Producer clientId=producer-1, transactionalId=prod-0] Overriding the default retries config to the recommended value of 2147483647 since the idempotent producer is enabled. [Test worker] INFO org.apache.kafka.clients.producer.KafkaProducer - [Producer clientId=producer-1, transactionalId=prod-0] Overriding the default acks to all since idempotence is enabled. [Test worker] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka version: 2.2.1 [Test worker] INFO org.apache.kafka.common.utils.AppInfoParser - Kafka commitId: 55783d3133a5a49a [Test worker] INFO org.apache.kafka.clients.producer.internals.TransactionManager - [Producer clientId=producer-1, transactionalId=prod-0] ProducerId set to -1 with epoch -1 [kafka-producer-network-thread | producer-1] INFO org.apache.kafka.clients.Metadata - Cluster ID: ouHsKMVyRaW9dGhCeNF3aA Timeout expired while initializing transactional state in 60000ms. org.apache.kafka.common.errors.TimeoutException: Timeout expired while initializing transactional state in 60000ms. [kafka-producer-network-thread | producer-1] WARN org.apache.kafka.clients.NetworkClient - [Producer clientId=producer-1, transactionalId=prod-0] Connection to node 1 (localhost/127.0.0.1:34542) could not be established. Broker may not be available. [kafka-producer-network-thread | producer-1] WARN org.apache.kafka.clients.NetworkClient - [Producer clientId=producer-1, transactionalId=prod-0] Connection to node 1 (localhost/127.0.0.1:34542) could not be established. Broker may not be available. Test > testIt FAILED org.apache.kafka.common.errors.TimeoutException 1 test completed, 1 failed > Task :test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':test'. > There were failing tests. See the report at: file:///Users/ernest.hill/Documents/kafkatest/build/reports/tests/test/index.html * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 1m 11s 3 actionable tasks: 3 executed