Skip to content

[improve][ci] Detect test thread leaks in CI builds and add tooling for resource leak investigation #1158

[improve][ci] Detect test thread leaks in CI builds and add tooling for resource leak investigation

[improve][ci] Detect test thread leaks in CI builds and add tooling for resource leak investigation #1158

Triggered via pull request October 26, 2023 14:57
Status Failure
Total duration 1h 42m 40s
Artifacts 16

pulsar-ci.yaml

on: pull_request
Preconditions
11s
Preconditions
Build and License check
15m 12s
Build and License check
Matrix: unit-tests
Build Pulsar docker image
35m 37s
Build Pulsar docker image
Build Pulsar java-test-image docker image
8m 59s
Build Pulsar java-test-image docker image
CI - Unit - Upload Coverage
2m 46s
CI - Unit - Upload Coverage
Matrix: system-tests
Matrix: flaky-system-tests
Matrix: integration-tests
CI - System - Upload Coverage
4m 27s
CI - System - Upload Coverage
CI - Integration - Upload Coverage
2m 21s
CI - Integration - Upload Coverage
Build Pulsar on MacOS
11m 44s
Build Pulsar on MacOS
OWASP dependency check
10m 31s
OWASP dependency check
Delete system test docker image artifact
11s
Delete system test docker image artifact
Delete integration test docker image artifact
16s
Delete integration test docker image artifact
Pulsar CI checks completed
12s
Pulsar CI checks completed
Fit to window
Zoom out
Zoom in

Annotations

1 error and 69 warnings
OWASP dependency check
Process completed with exit code 1.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.ProxyServiceTlsStarterTest created 37 new threads. There are now 47 threads in total.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.ProxyServiceStarterTest created 37 new threads. There are now 47 threads in total.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.ProxyLookupThrottlingTest created 1 new threads. There are now 12 threads in total.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.SuperUserAuthedAdminProxyHandlerTest created 48 new threads. There are now 59 threads in total.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.ProxyParserTest created 3 new threads. There are now 14 threads in total.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.ProxyKeyStoreTlsTransportTest created 1 new threads. There are now 13 threads in total.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.AdminProxyHandlerKeystoreTLSTest created 16 new threads. There are now 30 threads in total.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.ProxyStatsTest created 11 new threads. There are now 70 threads in total.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.ProxyWithoutServiceDiscoveryTest created 1 new threads. There are now 13 threads in total.
CI - Unit - Proxy
Summary: Tests in class org.apache.pulsar.proxy.server.ProxyServiceStarterDisableZeroCopyTest created 37 new threads. There are now 65 threads in total.
CI - Unit - Pulsar IO - Kafka Connect Adaptor
Summary: Tests in class org.apache.pulsar.io.debezium.PulsarDatabaseHistoryTest created 24 new threads. There are now 35 threads in total.
CI - Unit - Brokers - Client Api
Summary: Tests in class org.apache.pulsar.client.api.MemoryLimitTest created 8 new threads. There are now 19 threads in total.
CI - Unit - Brokers - Client Api
Summary: Tests in class org.apache.pulsar.client.api.TokenOauth2AuthenticatedProducerConsumerTest created 2 new threads. There are now 13 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.ElasticSearchBWCTests created 4 new threads. There are now 14 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.opensearch.OpenSearchSinkTests created 1 new threads. There are now 11 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.opensearch.OpenSearchSinkRawDataTests created 1 new threads. There are now 11 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.opensearch.OpenSearchClientSslTests created 13 new threads. There are now 23 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.opensearch.OpenSearchClientTests created 4 new threads. There are now 14 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8SinkRawDataTests created 4 new threads. There are now 14 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8AuthTests created 12 new threads. There are now 22 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8ClientTests created 11 new threads. There are now 21 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8SinkTests created 2 new threads. There are now 12 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8ClientSslTests created 1 new threads. There are now 11 threads in total.
CI - Unit - Brokers - Client Impl
Summary: Tests in class org.apache.pulsar.client.impl.ConsumerMemoryLimitTest created 2 new threads. There are now 13 threads in total.
CI - Unit - Brokers - Client Impl
Summary: Tests in class org.apache.pulsar.client.impl.MessageChecksumTest created 6 new threads. There are now 17 threads in total.
CI - Unit - Brokers - Client Impl
Summary: Tests in class org.apache.pulsar.client.impl.HierarchyTopicAutoCreationTest created 3 new threads. There are now 16 threads in total.
CI - Unit - Brokers - Client Impl
Summary: Tests in class org.apache.pulsar.client.impl.BrokerClientIntegrationTest created 9 new threads. There are now 20 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.websocket.proxy.ProxyEncryptionPublishConsumeTest created 28 new threads. There are now 39 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.compaction.ServiceUnitStateCompactionTest created 4 new threads. There are now 15 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.websocket.proxy.ProxyPublishConsumeWithoutZKTest created 2 new threads. There are now 17 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.websocket.proxy.ProxyPublishConsumeClientSideEncryptionTest created 21 new threads. There are now 38 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.client.api.MultiRolesTokenAuthorizationProviderTest created 57 new threads. There are now 95 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.client.impl.TransactionClientConnectTest created 3 new threads. There are now 98 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.client.impl.LookupRetryTest created 2 new threads. There are now 100 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.broker.auth.InvalidBrokerConfigForAuthorizationTest created 5 new threads. There are now 44 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.broker.EndToEndMetadataTest created 3 new threads. There are now 47 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.io.PulsarFunctionE2ETest created 2 new threads. There are now 102 threads in total.
CI - Unit - Brokers - Broker Group 3
Summary: Tests in class org.apache.pulsar.broker.admin.AdminApiTest created 32 new threads. There are now 43 threads in total.
CI - Unit - Brokers - Broker Group 3
Summary: Tests in class org.apache.pulsar.broker.admin.v1.V1_AdminApiTest created 8 new threads. There are now 51 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.auth.AuthorizationTest created 9 new threads. There are now 20 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.BrokerAdditionalServletTest created 5 new threads. There are now 16 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.stats.ManagedCursorMetricsTest created 2 new threads. There are now 13 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.intercept.BrokerInterceptorTest created 1 new threads. There are now 14 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.stats.PrometheusMetricsTest created 1 new threads. There are now 13 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.loadbalance.SimpleLoadManagerImplTest created 3 new threads. There are now 15 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.loadbalance.extensions.AntiAffinityNamespaceGroupExtensionTest created 4 new threads. There are now 19 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.lookup.http.v2.TopicLookupTest created 1 new threads. There are now 15 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.service.AbstractReplicatorTest created 1 new threads. There are now 12 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.service.PersistentTopicTest created 41 new threads. There are now 55 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.http.HttpSinkTest created 39 new threads. There are now 49 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.rabbitmq.sink.RabbitMQSinkTest created 75 new threads. There are now 85 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.rabbitmq.source.RabbitMQSourceTest created 85 new threads. There are now 95 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.kinesis.KinesisSinkTest created 7 new threads. There are now 19 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.hdfs3.sink.text.HdfsStringSinkTests created 1 new threads. There are now 11 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.hdfs3.sink.seq.HdfsTextSinkTests created 1 new threads. There are now 11 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.hdfs3.sink.seq.HdfsSequentialSinkTests created 1 new threads. There are now 11 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.hdfs2.sink.text.HdfsStringSinkTests created 1 new threads. There are now 11 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.hdfs2.sink.seq.HdfsTextSinkTests created 1 new threads. There are now 11 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.hdfs2.sink.seq.HdfsSequentialSinkTests created 1 new threads. There are now 11 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.common.util.collections.ConcurrentOpenHashSetTest created 16 new threads. There are now 26 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.common.util.collections.ConcurrentLongPairSetTest created 16 new threads. There are now 26 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.common.util.collections.ConcurrentLongLongPairHashMapTest created 16 new threads. There are now 42 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.common.util.collections.ConcurrentOpenHashMapTest created 16 new threads. There are now 42 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.common.util.RateLimiterTest created 1 new threads. There are now 43 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.bookkeeper.replication.AuditorPlacementPolicyCheckTaskTest created 9 new threads. There are now 20 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.bookkeeper.replication.BookieLedgerIndexTest created 9 new threads. There are now 20 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.bookkeeper.replication.AuditorReplicasCheckTaskTest created 12 new threads. There are now 32 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.bookkeeper.replication.AuditorBookieTest created 65 new threads. There are now 76 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.bookkeeper.replication.AuditorCheckAllLedgersTaskTest created 10 new threads. There are now 86 threads in total.

Artifacts

Produced during runtime
Name Size
Jacoco-coverage-report-inttests Expired
20.9 MB
Jacoco-coverage-report-systests Expired
21.3 MB
Jacoco-coverage-report-unittests Expired
26.4 MB
Unit-BROKER_CLIENT_API-dumps Expired
39.3 KB
Unit-BROKER_CLIENT_IMPL-dumps Expired
81.2 KB
Unit-BROKER_GROUP_1-dumps Expired
1.21 MB
Unit-BROKER_GROUP_2-dumps Expired
1.21 MB
Unit-BROKER_GROUP_3-dumps Expired
125 KB
Unit-OTHER-dumps Expired
5.12 MB
Unit-PROXY-dumps Expired
4.49 MB
Unit-PULSAR_IO-dumps Expired
971 KB
Unit-PULSAR_IO_ELASTIC-dumps Expired
516 KB
Unit-PULSAR_IO_KAFKA_CONNECT-dumps Expired
38.6 KB
dependency report Expired
5.05 MB
pulsar-maven-repository-binaries.tar.zst Expired
297 MB
pulsar-server-distribution.tar.zst Expired
208 MB