ccarcaci:kafkajs$ npm run test > kafkajs@1.15.0 test /home/ccarcaci/git/kafkajs > yarn lint && JEST_JUNIT_OUTPUT_NAME=test-report.xml ./scripts/testWithKafka.sh 'yarn jest --ci --maxWorkers=4 --no-watchman --forceExit' yarn run v1.22.10 $ find . -path ./node_modules -prune -o -path ./coverage -prune -o -path ./website -prune -o -name '*.js' -print0 | xargs -0 eslint Done in 14.30s. + testCommand='yarn jest --ci --maxWorkers=4 --no-watchman --forceExit' + extraArgs= + export COMPOSE_FILE=docker-compose.2_4.yml + COMPOSE_FILE=docker-compose.2_4.yml + export KAFKAJS_DEBUG_PROTOCOL_BUFFERS=1 + KAFKAJS_DEBUG_PROTOCOL_BUFFERS=1 + '[' -z ']' + trap quit ERR ++ find_container_id +++ docker ps --filter status=running --filter label=custom.project=kafkajs --filter label=custom.service=kafka1 --no-trunc -q ++ echo + '[' -z '' ']' + echo -e 'Start kafka docker container' Start kafka docker container + NO_LOGS=1 + /home/ccarcaci/git/kafkajs/scripts/dockerComposeUp.sh Running compose file: docker-compose.2_4.yml: Creating network "kafkajs_default" with the default driver Pulling zookeeper (confluentinc/cp-zookeeper:latest)... latest: Pulling from confluentinc/cp-zookeeper 4753a4528f5f: Pull complete c0194df27eff: Pull complete 68351836f4e4: Pull complete f7097ca69e0b: Pull complete 912be93fb13c: Pull complete 7356615d586e: Pull complete 5d890b2bf0ff: Pull complete 72918a547ce8: Pull complete a712c77238b7: Pull complete 74ca197db48d: Pull complete 898146cb9632: Pull complete Digest: sha256:78bb913e38ce6cd335658b6cb424461b04f8a9be95fa90359f900c9d537f7811 Status: Downloaded newer image for confluentinc/cp-zookeeper:latest Pulling kafka1 (confluentinc/cp-kafka:5.4.2)... 5.4.2: Pulling from confluentinc/cp-kafka f4cbd3519770: Pull complete a573c62c1c77: Pull complete b591a98e5104: Pull complete e15d89f8f615: Pull complete 836248da6d1e: Pull complete bf8cb0ff6f3c: Pull complete Digest: sha256:5eeb5dfd1f2aba9b9fe3d1ecca12a78c783d73099145d88f493a0672003f0483 Status: Downloaded newer image for confluentinc/cp-kafka:5.4.2 Creating zookeeper ... done Creating kafka1 ... done Creating kafka3 ... done Creating kafka2 ... done + '[' 1 = 0 ']' + /home/ccarcaci/git/kafkajs/scripts/waitForKafka.js Finding container ids... kafka1: d9978ce6eead929c6d4d87a1e16d1f38a3a4faa0a4b385d0f4229af322c0d689 kafka2: 7d72c5027c812a5af57e3f8c97807710fe4d1686a9a8ab98236631fd6175a5ee kafka3: 69c86f4f93aa970cdf951bec1b1c60ab55cb9b087a3451d1d6e3ea4e2eeeb10a Waiting for nodes... Kafka container d9978ce6eead929c6d4d87a1e16d1f38a3a4faa0a4b385d0f4229af322c0d689 is running Kafka container 7d72c5027c812a5af57e3f8c97807710fe4d1686a9a8ab98236631fd6175a5ee is running Kafka container 69c86f4f93aa970cdf951bec1b1c60ab55cb9b087a3451d1d6e3ea4e2eeeb10a is running All nodes up: Name Command State Ports -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- kafka1 /etc/confluent/docker/run Up 0.0.0.0:29092->29092/tcp, 0.0.0.0:29093->29093/tcp, 0.0.0.0:29094->29094/tcp, 0.0.0.0:9092->9092/tcp, 0.0.0.0:9093->9093/tcp, 0.0.0.0:9094->9094/tcp kafka2 /etc/confluent/docker/run Up 0.0.0.0:29095->29095/tcp, 0.0.0.0:29096->29096/tcp, 0.0.0.0:29097->29097/tcp, 9092/tcp, 0.0.0.0:9095->9095/tcp, 0.0.0.0:9096->9096/tcp, 0.0.0.0:9097->9097/tcp kafka3 /etc/confluent/docker/run Up 0.0.0.0:29098->29098/tcp, 0.0.0.0:29099->29099/tcp, 0.0.0.0:29100->29100/tcp, 9092/tcp, 0.0.0.0:9098->9098/tcp, 0.0.0.0:9099->9099/tcp, 0.0.0.0:9100->9100/tcp zookeeper /etc/confluent/docker/run Up 0.0.0.0:2181->2181/tcp, 2888/tcp, 3888/tcp Creating default topics... Warming up Kafka... -> creating 10 random topics... -> running consumer describe + echo + echo -e 'Create SCRAM credentials' Create SCRAM credentials + /home/ccarcaci/git/kafkajs/scripts/createScramCredentials.sh Registering a user with the following credentials username: 'testscram' password_256: 'testtestscram=256' password_512: 'testtestscram=512' Completed Updating config for entity: user-principal 'testscram'. + set +x Running tests with NODE_OPTIONS= Heap size in MB: 2093.20 + eval 'yarn jest --ci --maxWorkers=4 --no-watchman --forceExit ' ++ yarn jest --ci --maxWorkers=4 --no-watchman --forceExit yarn run v1.22.10 $ export KAFKA_VERSION=${KAFKA_VERSION:='2.4'} && NODE_ENV=test echo "KAFKA_VERSION: ${KAFKA_VERSION}" && KAFKAJS_DEBUG_PROTOCOL_BUFFERS=1 jest --ci --maxWorkers=4 --no-watchman --forceExit KAFKA_VERSION: 2.4 PASS src/broker/__tests__/fetch.spec.js (7.978s) PASS src/cluster/__tests__/brokerPool.spec.js (8.045s) PASS src/broker/__tests__/produce.spec.js PASS src/admin/__tests__/deleteTopicRecords.spec.js PASS src/protocol/encoder.spec.js PASS src/network/requestQueue/index.spec.js PASS src/consumer/__tests__/consumeMessages.spec.js (17.577s) PASS src/consumer/__tests__/instrumentationEvents.spec.js (10.168s) ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. 25 | }, 26 | 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => { > 27 | const request = require('./v3/request') | ^ 28 | const response = require('./v3/response') 29 | return { 30 | request: request({ groupId, groupGenerationId, memberId, groupInstanceId }), at heartbeat (src/protocol/requests/heartbeat/index.js:27:21) at Broker.heartbeat (src/broker/index.js:354:45) at ConsumerGroup.heartbeat (src/consumer/consumerGroup.js:390:30) at Runner.fetch (src/consumer/runner.js:367:30) ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. 26 | 3: ({ groupId, groupGenerationId, memberId, groupInstanceId }) => { 27 | const request = require('./v3/request') > 28 | const response = require('./v3/response') | ^ 29 | return { 30 | request: request({ groupId, groupGenerationId, memberId, groupInstanceId }), 31 | response, at heartbeat (src/protocol/requests/heartbeat/index.js:28:22) at Broker.heartbeat (src/broker/index.js:354:45) at ConsumerGroup.heartbeat (src/consumer/consumerGroup.js:390:30) at Runner.fetch (src/consumer/runner.js:367:30) ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. 25 | }, 26 | 3: ({ groupId, memberId, groupInstanceId }) => { > 27 | const request = require('./v3/request') | ^ 28 | const response = require('./v3/response') 29 | return { 30 | request: request({ groupId, members: [{ memberId, groupInstanceId }] }), at leaveGroup (src/protocol/requests/leaveGroup/index.js:27:21) at Broker.leaveGroup (src/broker/index.js:422:45) at ConsumerGroup.leave (src/consumer/consumerGroup.js:147:30) at Runner.stop (src/consumer/runner.js:123:32) ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. 26 | 3: ({ groupId, memberId, groupInstanceId }) => { 27 | const request = require('./v3/request') > 28 | const response = require('./v3/response') | ^ 29 | return { 30 | request: request({ groupId, members: [{ memberId, groupInstanceId }] }), 31 | response, at leaveGroup (src/protocol/requests/leaveGroup/index.js:28:22) at Broker.leaveGroup (src/broker/index.js:422:45) at ConsumerGroup.leave (src/consumer/consumerGroup.js:147:30) at Runner.stop (src/consumer/runner.js:123:32) ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. 31 | }, 32 | 6: ({ topics, allowAutoTopicCreation }) => { > 33 | const request = require('./v6/request') | ^ 34 | const response = require('./v6/response') 35 | return { request: request({ topics, allowAutoTopicCreation }), response } 36 | }, at metadata (src/protocol/requests/metadata/index.js:33:21) at Broker.metadata (src/broker/index.js:192:7) at fn (src/cluster/brokerPool.js:155:38) at start (src/retry/index.js:43:5) at src/retry/index.js:61:5 ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. 32 | 6: ({ topics, allowAutoTopicCreation }) => { 33 | const request = require('./v6/request') > 34 | const response = require('./v6/response') | ^ 35 | return { request: request({ topics, allowAutoTopicCreation }), response } 36 | }, 37 | } at metadata (src/protocol/requests/metadata/index.js:34:22) at Broker.metadata (src/broker/index.js:192:7) at fn (src/cluster/brokerPool.js:155:38) at start (src/retry/index.js:43:5) at src/retry/index.js:61:5 PASS src/consumer/__tests__/runner.spec.js PASS src/producer/eosManager/index.spec.js PASS src/producer/sendMessages.spec.js PASS src/protocol/requests/fetch/v4/response.spec.js PASS src/broker/__tests__/describeConfigs.spec.js PASS src/network/connection.spec.js PASS src/admin/__tests__/alterConfigs.spec.js PASS src/admin/__tests__/createAcls.spec.js (node:18842) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 connect listeners added to [Socket]. Use emitter.setMaxListeners() to increase limit (Use `node --trace-warnings ...` to show where the warning was created) PASS src/producer/index.spec.js (22.283s) PASS src/admin/__tests__/deleteAcls.spec.js PASS src/consumer/__tests__/pause.spec.js PASS src/broker/__tests__/deleteRecords.spec.js PASS src/admin/__tests__/describeAcls.spec.js PASS src/admin/__tests__/describeConfigs.spec.js PASS src/consumer/__tests__/errorRecovery.spec.js (7.143s) PASS src/utils/long.spec.js PASS src/broker/__tests__/connect.spec.js PASS src/protocol/requests/fetch/v2/response.spec.js PASS src/broker/saslAuthenticator/scram.spec.js PASS src/consumer/__tests__/batch.spec.js PASS src/admin/index.spec.js PASS src/broker/__tests__/listOffsets.spec.js PASS src/admin/__tests__/createPartitions.spec.js PASS src/cluster/__tests__/connectionBuilder.spec.js PASS src/protocol/requests/apiVersions/v2/response.spec.js PASS src/admin/__tests__/createTopics.spec.js PASS src/protocol/requests/apiVersions/v1/response.spec.js PASS src/network/requestQueue/socketRequest.spec.js PASS src/consumer/__tests__/handlerErrorRecovery.spec.js (11.714s) PASS src/protocol/requests/produce/v7/request.spec.js PASS src/protocol/requests/produce/v6/request.spec.js ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. at metadata (src/protocol/requests/metadata/index.js:94:21) at Broker.metadata (src/broker/index.js:192:7) at src/cluster/brokerPool.js:155:38 at retry (src/retry/index.js:50:5) at src/retry/index.js:69:5 ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. at metadata (src/protocol/requests/metadata/index.js:96:22) at Broker.metadata (src/broker/index.js:192:7) at src/cluster/brokerPool.js:155:38 at retry (src/retry/index.js:50:5) at src/retry/index.js:69:5 PASS src/consumer/subscriptionState.spec.js PASS src/broker/__tests__/offsetCommit.spec.js PASS src/loggers/console.spec.js PASS src/broker/__tests__/endTxn.spec.js PASS src/index.spec.js PASS src/admin/__tests__/deleteGroups.spec.js PASS src/consumer/__tests__/assignmentForUnsubscribedTopic.spec.js PASS src/admin/__tests__/deleteTopics.spec.js PASS src/protocol/requests/fetch/v0/response.spec.js ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. 31 | }, 32 | 6: ({ topics, allowAutoTopicCreation }) => { > 33 | const request = require('./v6/request') | ^ 34 | const response = require('./v6/response') 35 | return { request: request({ topics, allowAutoTopicCreation }), response } 36 | }, at metadata (src/protocol/requests/metadata/index.js:33:21) at Broker.metadata (src/broker/index.js:192:7) at fn (src/cluster/brokerPool.js:155:38) at start (src/retry/index.js:43:5) at src/retry/index.js:61:5 ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. 32 | 6: ({ topics, allowAutoTopicCreation }) => { 33 | const request = require('./v6/request') > 34 | const response = require('./v6/response') | ^ 35 | return { request: request({ topics, allowAutoTopicCreation }), response } 36 | }, 37 | } at metadata (src/protocol/requests/metadata/index.js:34:22) at Broker.metadata (src/broker/index.js:192:7) at fn (src/cluster/brokerPool.js:155:38) at start (src/retry/index.js:43:5) at src/retry/index.js:61:5 PASS src/consumer/offsetManager/__tests__/commitOffsets.spec.js PASS src/consumer/offsetManager/__tests__/commitOffsetsIfNecessary.spec.js PASS src/protocol/requests/metadata/v6/response.spec.js PASS src/protocol/requests/metadata/v5/response.spec.js PASS src/admin/__tests__/getTopicMetadata.spec.js PASS src/admin/__tests__/fetchTopicMetadata.spec.js PASS src/admin/__tests__/fetchTopicOffsetsByTimestamp.spec.js PASS src/consumer/__tests__/seek.spec.js (16.753s) PASS src/admin/__tests__/describeGroups.spec.js PASS src/cluster/__tests__/findBroker.spec.js PASS src/broker/__tests__/txnOffsetCommit.spec.js PASS src/loggers/index.spec.js PASS src/protocol/requests/fetch/v3/response.spec.js PASS src/cluster/__tests__/findGroupCoordinator.spec.js PASS src/broker/__tests__/metadata.spec.js PASS src/protocol/requests/produce/v2/request.spec.js PASS src/broker/__tests__/offsetFetch.spec.js PASS src/consumer/__tests__/assignerProtocolIntegration.spec.js PASS src/consumer/__tests__/commitOffsets.spec.js (6.366s) PASS src/consumer/__tests__/subscribe.spec.js PASS src/protocol/requests/joinGroup/index.spec.js PASS src/cluster/__tests__/fetchTopicsOffset.spec.js PASS src/broker/__tests__/fetchPartitionAllocation.spec.js PASS src/utils/lock.spec.js PASS src/utils/concurrency.spec.js PASS src/protocol/requests/fetch/v11/response.spec.js PASS src/broker/__tests__/alterConfigs.spec.js PASS src/consumer/__tests__/emptyAssignment.spec.js PASS src/protocol/requests/fetch/v10/response.spec.js PASS src/protocol/requests/fetch/v9/response.spec.js PASS src/protocol/requests/fetch/v8/response.spec.js PASS src/broker/__tests__/addOffsetsToTxn.spec.js PASS src/protocol/requests/fetch/v7/response.spec.js PASS src/broker/__tests__/heartbeat.spec.js PASS src/broker/__tests__/deleteAcls.spec.js PASS src/utils/bufferedAsyncIterator.spec.js PASS src/protocol/requests/fetch/v5/response.spec.js PASS src/protocol/requests/fetch/v6/response.spec.js PASS src/admin/__tests__/setOffsets.spec.js (11.113s) PASS src/broker/__tests__/addPartitionsToTxn.spec.js PASS src/protocol/requests/produce/v4/request.spec.js PASS src/protocol/requests/index.spec.js PASS src/consumer/__tests__/rebalanceOnPartitionChange.spec.js PASS src/protocol/requests/produce/v5/request.spec.js PASS src/broker/__tests__/describeAcls.spec.js PASS src/consumer/__tests__/connection.spec.js PASS src/protocol/requests/fetch/v1/response.spec.js PASS src/consumer/assigners/roundRobinAssigner/index.spec.js PASS src/cluster/__tests__/findLeaderForPartitions.spec.js PASS src/protocol/requests/metadata/v2/response.spec.js PASS src/protocol/recordBatch/record/v0/decoder.spec.js PASS src/consumer/__tests__/filterAbortedMessages.spec.js PASS src/protocol/requests/metadata/v1/response.spec.js PASS src/protocol/requests/produce/v3/request.spec.js PASS src/producer/partitioners/default/index.spec.js PASS src/consumer/__tests__/controlBatches.spec.js PASS src/cluster/__tests__/committedOffsets.spec.js PASS src/protocol/message/decoder.spec.js PASS src/admin/__tests__/listGroups.spec.js PASS src/broker/__tests__/describeGroups.spec.js PASS src/protocol/requests/metadata/v0/response.spec.js PASS src/protocol/messageSet/decoder.spec.js PASS src/broker/__tests__/createTopics.spec.js PASS src/broker/__tests__/leaveGroup.spec.js PASS src/protocol/requests/produce/v1/response.spec.js PASS src/admin/__tests__/fetchOffsets.spec.js (42.098s) PASS src/consumer/offsetManager/__tests__/countResolvedOffsets.spec.js PASS src/broker/__tests__/syncGroup.spec.js PASS src/consumer/offsetManager/__tests__/initializeConsumerOffsets.spec.js PASS src/protocol/recordBatch/crc32C/index.spec.js PASS src/protocol/requests/produce/v0/response.spec.js PASS src/consumer/offsetManager/__tests__/uncommittedOffsets.spec.js PASS src/broker/__tests__/joinGroup.spec.js PASS src/broker/__tests__/initProducerId.spec.js PASS src/protocol/requests/apiVersions/v0/response.spec.js PASS src/protocol/requests/produce/v0/request.spec.js PASS src/producer/__tests__/concurrentTransaction.spec.js PASS src/broker/__tests__/createAcls.spec.js PASS src/consumer/__tests__/describeGroup.spec.js PASS src/broker/__tests__/apiVersions.spec.js PASS src/cluster/__tests__/addTargetTopic.spec.js PASS src/cluster/__tests__/addMultipleTargetTopics.spec.js PASS src/admin/__tests__/fetchTopicOffsets.spec.js PASS src/protocol/requests/offsetCommit/v4/request.spec.js PASS src/cluster/__tests__/findTopicPartitionMetadata.spec.js PASS src/consumer/__tests__/index.spec.js PASS src/protocol/requests/offsetCommit/v3/request.spec.js PASS src/broker/__tests__/deleteTopics.spec.js PASS src/protocol/error.spec.js PASS src/consumer/__tests__/assignerProtocol.spec.js PASS src/protocol/requests/offsetCommit/v5/request.spec.js PASS src/cluster/__tests__/findControllerBroker.spec.js PASS src/protocol/requests/describeConfigs/v2/response.spec.js PASS src/protocol/requests/offsetCommit/v1/request.spec.js PASS src/protocol/requests/saslAuthenticate/v1/response.spec.js PASS src/protocol/requests/describeConfigs/v1/response.spec.js PASS src/producer/compression.spec.js PASS src/protocol/requests/addPartitionsToTxn/v1/response.spec.js PASS src/admin/__tests__/resetOffsets.spec.js (26.275s) PASS src/protocol/requests/txnOffsetCommit/v1/response.spec.js PASS src/protocol/requests/offsetCommit/v2/request.spec.js PASS src/protocol/requests/txnOffsetCommit/v0/response.spec.js PASS src/protocol/requests/addPartitionsToTxn/v0/response.spec.js PASS src/producer/groupMessagesPerPartition.spec.js PASS src/protocol/requests/saslAuthenticate/v0/response.spec.js PASS src/consumer/__tests__/consumerGroup.spec.js PASS src/protocol/requests/joinGroup/v1/response.spec.js PASS src/protocol/requests/describeGroups/v2/response.spec.js PASS src/protocol/requests/metadata/v3/response.spec.js PASS src/protocol/requests/metadata/v4/response.spec.js PASS src/cluster/__tests__/metadata.spec.js PASS src/protocol/requests/describeGroups/v1/response.spec.js PASS src/producer/__tests__/producingToInvalidTopic.spec.js PASS src/protocol/requests/fetch/index.spec.js PASS src/broker/saslAuthenticator/awsIam.spec.js PASS src/protocol/requests/joinGroup/v5/response.spec.js PASS src/consumer/__tests__/misconfiguration.spec.js PASS src/utils/groupBy.spec.js PASS src/protocol/requests/joinGroup/v0/response.spec.js PASS src/consumer/offsetManager/__tests__/seek.spec.js PASS src/broker/__tests__/disconnect.spec.js PASS src/broker/__tests__/findGroupCoordinator.spec.js PASS src/protocol/requests/syncGroup/v0/response.spec.js PASS src/protocol/requests/joinGroup/v4/response.spec.js PASS src/protocol/requests/joinGroup/v3/response.spec.js PASS src/protocol/requests/describeConfigs/v0/response.spec.js PASS src/protocol/requests/deleteAcls/v1/response.spec.js PASS src/utils/waitFor.spec.js PASS src/protocol/requests/syncGroup/v3/request.spec.js PASS src/protocol/requests/produce/v2/response.spec.js PASS src/protocol/requests/joinGroup/v2/response.spec.js PASS src/admin/__tests__/describeCluster.spec.js PASS src/producer/createTopicData.spec.js PASS src/producer/partitioners/defaultJava/murmur2.spec.js PASS src/protocol/requests/deleteAcls/v0/response.spec.js PASS src/protocol/requests/offsetCommit/v0/request.spec.js PASS src/protocol/requests/describeGroups/v0/response.spec.js PASS src/admin/__tests__/listTopics.spec.js PASS src/protocol/requests/describeAcls/v1/response.spec.js PASS src/producer/partitioners/default/murmur2.spec.js PASS src/protocol/requests/syncGroup/v2/request.spec.js PASS src/protocol/requests/syncGroup/v1/request.spec.js PASS src/protocol/requests/describeAcls/v0/response.spec.js PASS src/protocol/requests/fetch/v11/request.spec.js PASS src/consumer/offsetManager/__tests__/isInvalidOffset.spec.js PASS src/protocol/requests/saslAuthenticate/v0/request.spec.js PASS src/protocol/requests/saslAuthenticate/v1/request.spec.js PASS src/protocol/requests/fetch/v10/request.spec.js PASS src/protocol/requests/fetch/v9/request.spec.js PASS src/protocol/requests/createPartitions/v1/response.spec.js PASS src/broker/saslAuthenticator/oauthBearer.spec.js PASS src/protocol/requests/createTopics/v3/response.spec.js PASS src/admin/__tests__/connection.spec.js PASS src/protocol/requests/createAcls/v1/request.spec.js PASS src/protocol/requests/findCoordinator/v2/response.spec.js PASS src/protocol/requests/initProducerId/v1/response.spec.js PASS src/protocol/requests/produce/v6/response.spec.js PASS src/protocol/requests/deleteAcls/v0/request.spec.js PASS src/protocol/requests/deleteAcls/v1/request.spec.js PASS src/protocol/requests/fetch/v5/request.spec.js PASS src/protocol/requests/produce/v7/response.spec.js PASS src/protocol/requests/fetch/v7/request.spec.js PASS src/protocol/requests/fetch/v6/request.spec.js PASS src/protocol/requests/fetch/v8/request.spec.js PASS src/protocol/requests/apiVersions/index.spec.js PASS src/protocol/requests/createPartitions/v0/response.spec.js PASS src/protocol/requests/joinGroup/v5/request.spec.js PASS src/protocol/requests/createTopics/v2/response.spec.js PASS src/protocol/requests/findCoordinator/v1/response.spec.js PASS src/utils/arrayDiff.spec.js PASS src/protocol/requests/createAcls/v0/request.spec.js PASS src/protocol/requests/initProducerId/v0/response.spec.js PASS src/protocol/requests/produce/v5/response.spec.js PASS src/protocol/recordBatch/v0/decoder.spec.js PASS src/protocol/requests/alterConfigs/v1/response.spec.js PASS src/protocol/requests/heartbeat/v3/request.spec.js PASS src/protocol/requests/addOffsetsToTxn/v1/response.spec.js PASS src/protocol/requests/fetch/v4/request.spec.js PASS src/protocol/requests/fetch/v3/request.spec.js PASS src/protocol/requests/deleteTopics/v1/response.spec.js PASS src/protocol/requests/deleteRecords/v0/response.spec.js PASS src/protocol/requests/findCoordinator/v0/response.spec.js PASS src/protocol/requests/endTxn/v1/response.spec.js PASS src/protocol/requests/joinGroup/v1/request.spec.js PASS src/protocol/requests/joinGroup/v4/request.spec.js PASS src/protocol/requests/joinGroup/v3/request.spec.js PASS src/protocol/requests/alterConfigs/v0/response.spec.js PASS src/protocol/requests/joinGroup/v2/request.spec.js PASS src/protocol/requests/addOffsetsToTxn/v0/response.spec.js PASS src/producer/partitioners/default/randomBytes.spec.js PASS src/protocol/requests/endTxn/v0/response.spec.js PASS src/protocol/requests/alterConfigs/v0/request.spec.js PASS src/protocol/requests/alterConfigs/v1/request.spec.js PASS src/protocol/requests/offsetFetch/v4/response.spec.js PASS src/protocol/requests/txnOffsetCommit/v0/request.spec.js PASS src/utils/shuffle.spec.js PASS src/protocol/requests/syncGroup/v0/request.spec.js PASS src/protocol/requests/txnOffsetCommit/v1/request.spec.js PASS src/broker/saslAuthenticator/plain.spec.js PASS src/protocol/requests/leaveGroup/v3/request.spec.js PASS src/protocol/requests/fetch/v0/request.spec.js PASS src/protocol/requests/fetch/v1/request.spec.js PASS src/protocol/requests/fetch/v2/request.spec.js PASS src/protocol/requests/listOffsets/v3/response.spec.js PASS src/protocol/requests/initProducerId/index.spec.js PASS src/protocol/requests/leaveGroup/v0/response.spec.js PASS src/protocol/requests/offsetFetch/v4/request.spec.js PASS src/protocol/requests/heartbeat/v0/response.spec.js PASS src/protocol/requests/offsetFetch/v3/request.spec.js PASS src/protocol/requests/offsetFetch/v3/response.spec.js PASS src/protocol/requests/produce/v4/response.spec.js PASS src/protocol/requests/createPartitions/v0/request.spec.js PASS src/protocol/requests/createPartitions/v1/request.spec.js PASS src/protocol/requests/deleteRecords/v0/request.spec.js PASS src/protocol/requests/offsetCommit/v5/response.spec.js PASS src/protocol/requests/offsetCommit/v4/response.spec.js PASS src/protocol/requests/produce/v1/request.spec.js PASS src/protocol/requests/listOffsets/v2/response.spec.js PASS src/protocol/requests/leaveGroup/v3/response.spec.js PASS src/protocol/requests/listOffsets/v1/response.spec.js PASS src/protocol/requests/describeAcls/v1/request.spec.js PASS src/protocol/requests/createTopics/v3/request.spec.js PASS src/protocol/requests/createTopics/v2/request.spec.js PASS src/protocol/requests/heartbeat/v1/request.spec.js PASS src/protocol/requests/heartbeat/v2/request.spec.js PASS src/protocol/requests/describeConfigs/v0/request.spec.js PASS src/protocol/requests/describeConfigs/v1/request.spec.js PASS src/protocol/requests/describeConfigs/v2/request.spec.js PASS src/protocol/requests/offsetCommit/v3/response.spec.js PASS src/protocol/sasl/scram/firstMessage/response.spec.js PASS src/protocol/requests/produce/v3/response.spec.js PASS src/protocol/requests/listOffsets/v1/request.spec.js PASS src/protocol/requests/describeAcls/v0/request.spec.js PASS src/protocol/requests/offsetFetch/v2/response.spec.js PASS src/protocol/requests/leaveGroup/v2/request.spec.js PASS src/protocol/requests/leaveGroup/v1/request.spec.js PASS src/protocol/requests/metadata/v5/request.spec.js PASS src/protocol/requests/metadata/v6/request.spec.js PASS src/protocol/requests/metadata/v4/request.spec.js PASS src/protocol/requests/deleteTopics/v1/request.spec.js PASS src/protocol/requests/addPartitionsToTxn/v0/request.spec.js PASS src/protocol/requests/offsetFetch/v1/response.spec.js PASS src/protocol/requests/addPartitionsToTxn/v1/request.spec.js PASS src/protocol/requests/heartbeat/v0/request.spec.js PASS src/protocol/requests/offsetFetch/v1/request.spec.js PASS src/protocol/requests/listOffsets/v3/request.spec.js PASS src/protocol/requests/offsetFetch/v2/request.spec.js PASS src/protocol/requests/listOffsets/v2/request.spec.js PASS src/protocol/requests/listOffsets/v0/response.spec.js PASS src/protocol/requests/listOffsets/v0/request.spec.js PASS src/protocol/requests/deleteTopics/v0/response.spec.js PASS src/protocol/requests/createTopics/v0/response.spec.js PASS src/utils/websiteUrl.spec.js PASS src/protocol/requests/syncGroup/v3/response.spec.js PASS src/protocol/requests/syncGroup/v2/response.spec.js PASS src/protocol/requests/createTopics/v1/response.spec.js PASS src/protocol/requests/createTopics/v1/request.spec.js PASS src/protocol/requests/joinGroup/v0/request.spec.js PASS src/protocol/requests/metadata/v0/request.spec.js PASS src/protocol/requests/metadata/v1/request.spec.js PASS src/protocol/requests/metadata/v3/request.spec.js PASS src/protocol/requests/metadata/v2/request.spec.js PASS src/protocol/requests/leaveGroup/v0/request.spec.js PASS src/protocol/requests/offsetCommit/v0/response.spec.js PASS src/protocol/requests/offsetCommit/v1/response.spec.js PASS src/protocol/requests/offsetCommit/v2/response.spec.js PASS src/protocol/requests/syncGroup/v1/response.spec.js PASS src/protocol/requests/createTopics/v0/request.spec.js PASS src/protocol/requests/createAcls/v1/response.spec.js PASS src/protocol/requests/initProducerId/v0/request.spec.js PASS src/protocol/requests/addOffsetsToTxn/v0/request.spec.js PASS src/protocol/requests/initProducerId/v1/request.spec.js PASS src/protocol/requests/addOffsetsToTxn/v1/request.spec.js PASS src/protocol/requests/endTxn/v1/request.spec.js PASS src/protocol/requests/endTxn/v0/request.spec.js PASS src/protocol/requests/describeGroups/v1/request.spec.js PASS src/protocol/requests/describeGroups/v2/request.spec.js PASS src/protocol/requests/createAcls/v0/response.spec.js PASS src/protocol/requests/findCoordinator/v1/request.spec.js PASS src/protocol/requests/deleteTopics/v0/request.spec.js PASS src/protocol/requests/findCoordinator/v2/request.spec.js PASS src/protocol/requests/leaveGroup/v2/response.spec.js PASS src/protocol/requests/heartbeat/v3/response.spec.js PASS src/protocol/requests/saslHandshake/v0/response.spec.js PASS src/protocol/requests/heartbeat/v2/response.spec.js PASS src/protocol/requests/describeGroups/v0/request.spec.js PASS src/consumer/__tests__/logger.spec.js PASS src/protocol/requests/produce/index.spec.js PASS src/protocol/requests/leaveGroup/v1/response.spec.js PASS src/protocol/requests/heartbeat/v1/response.spec.js PASS src/protocol/requests/findCoordinator/v0/request.spec.js PASS src/utils/swapObject.spec.js PASS src/protocol/requests/apiVersions/v0/request.spec.js PASS src/protocol/requests/apiVersions/v1/request.spec.js PASS src/protocol/requests/apiVersions/v2/request.spec.js A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --runInBand --detectOpenHandles to find leaks. Test Suites: 343 passed, 343 total Tests: 29 skipped, 1119 passed, 1148 total Snapshots: 4 passed, 4 total Time: 87.422s Ran all test suites. Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished? Done in 88.08s. + TEST_EXIT=0 + echo + '[' -z ']' + docker-compose -f docker-compose.2_4.yml down --remove-orphans Stopping kafka2 ... done Stopping kafka1 ... done Stopping kafka3 ... done Stopping zookeeper ... done Removing kafka2 ... done Removing kafka1 ... done Removing kafka3 ... done Removing zookeeper ... done Removing network kafkajs_default + exit 0 ccarcaci:kafkajs$