Skip to content

[improve][broker] Replace ConcurrentOpenHashMap with ConcurrentHashMap in BrokerService #21141

[improve][broker] Replace ConcurrentOpenHashMap with ConcurrentHashMap in BrokerService

[improve][broker] Replace ConcurrentOpenHashMap with ConcurrentHashMap in BrokerService #21141

Triggered via pull request September 20, 2024 10:16
Status Failure
Total duration 1h 22m 37s
Artifacts 32

pulsar-ci.yaml

on: pull_request
Preconditions
8s
Preconditions
Build and License check
11m 17s
Build and License check
Matrix: unit-tests
Build Pulsar docker image
29m 58s
Build Pulsar docker image
Matrix: Build Pulsar java-test-image docker image
CI - Unit - Upload Coverage
0s
CI - Unit - Upload Coverage
Run CodeQL Analysis
0s
Run CodeQL Analysis
Matrix: system-tests
Matrix: flaky-system-tests
Matrix: integration-tests
CI - System - Upload Coverage
2m 38s
CI - System - Upload Coverage
CI - Integration - Upload Coverage
0s
CI - Integration - Upload Coverage
Build Pulsar on MacOS
0s
Build Pulsar on MacOS
OWASP dependency check
0s
OWASP dependency check
Delete system test docker image artifact
8s
Delete system test docker image artifact
Delete integration test docker image artifact
0s
Delete integration test docker image artifact
Pulsar CI checks completed
3s
Pulsar CI checks completed
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 33 warnings
CI - Unit - Other
Process completed with exit code 1.
CI - Unit - Pulsar IO
Process completed with exit code 1.
CI - Unit - Brokers - Broker Group 2
Process completed with exit code 1.
ExtensibleLoadManagerTest.startBroker: tests/integration/src/test/java/org/apache/pulsar/tests/integration/loadbalance/ExtensibleLoadManagerTest.java#L128
Condition with org.apache.pulsar.tests.integration.loadbalance.ExtensibleLoadManagerTest was not fulfilled within 2 minutes.
CI - Integration - LoadBalance
Process completed with exit code 1.
CI - Unit - Brokers - Broker Group 1
Process completed with exit code 1.
ReplicatorTest.testConcurrentReplicator: pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTest.java#L241
class java.util.concurrent.ConcurrentHashMap cannot be cast to class org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap (java.util.concurrent.ConcurrentHashMap is in module java.base of loader 'bootstrap'; org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap is in unnamed module of loader 'app')
Pulsar CI checks completed
Process completed with exit code 1.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.bookie.rackawareness.BookieRackAffinityMappingTest created 1 new threads. There are now 11 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.bookkeeper.mledger.impl.ManagedLedgerFactoryChangeLedgerPathTest created 16 new threads. There are now 26 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.bookkeeper.mledger.impl.ManagedCursorConcurrencyTest created 18 new threads. There are now 28 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.http.HttpSinkTest created 71 new threads. There are now 80 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.kinesis.KinesisSinkTest created 9 new threads. There are now 19 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8AuthTests created 11 new threads. There are now 20 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8ClientTests created 9 new threads. There are now 29 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8SinkTests created 1 new threads. There are now 30 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v8.ElasticSearch8SinkRawDataTests created 3 new threads. There are now 33 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v7.ElasticSearch7ClientTests created 1 new threads. There are now 32 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.ElasticSearchRawRecordTests created 96 new threads. There are now 127 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.ElasticSearchBWCTests created 6 new threads. There are now 133 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.opensearch.OpenSearchClientSslTests created 18 new threads. There are now 151 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.zookeeper.LocalBookkeeperEnsembleTest created 41 new threads. There are now 50 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.client.api.ConsumerBatchReceiveTest created 74 new threads. There are now 83 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.broker.resourcegroup.ResourceGroupConfigListenerTest created 54 new threads. There are now 101 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.broker.PulsarServiceTest created 53 new threads. There are now 62 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.bookkeeper.replication.AuditorCheckAllLedgersTaskTest created 1 new threads. There are now 11 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.bookkeeper.replication.TestReplicationWorker created 43 new threads. There are now 53 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.bookkeeper.replication.AuditorBookieTest created 28 new threads. There are now 38 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.bookkeeper.replication.AutoRecoveryMainTest created 19 new threads. There are now 29 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.bookkeeper.replication.AuditorRollingRestartTest created 47 new threads. There are now 57 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.bookkeeper.replication.BookieAutoRecoveryTest created 15 new threads. There are now 25 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.bookkeeper.replication.AuditorPeriodicCheckTest created 11 new threads. There are now 21 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.pulsar.metadata.MetadataStoreTest created 8 new threads. There are now 18 threads in total.
CI - Unit - Brokers - Client Impl
Summary: Tests in class org.apache.pulsar.client.impl.ClientCnxTest created 5 new threads. There are now 14 threads in total.
CI - Unit - Brokers - Client Impl
Summary: Tests in class org.apache.pulsar.client.impl.ProduceWithMessageIdTest created 67 new threads. There are now 76 threads in total.
CI - Unit - Brokers - Client Impl
Summary: Tests in class org.apache.pulsar.client.impl.ReaderTest created 8 new threads. There are now 84 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.PulsarBrokerStarterTest created 4 new threads. There are now 13 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.service.PersistentMessageFinderTest created 8 new threads. There are now 21 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.service.BatchMessageWithBatchIndexLevelTest created 68 new threads. There are now 77 threads in total.
CI - Unit - Brokers - Broker Group 3
Summary: Tests in class org.apache.pulsar.broker.admin.AdminApiTest created 1 new threads. There are now 10 threads in total.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage_and_deps_inttest_CLI.tar.zst", "coverage_and_deps_inttest_MESSAGING.tar.zst", "coverage_and_deps_inttest_METRICS.tar.zst", "coverage_and_deps_inttest_STANDALONE.tar.zst", "coverage_and_deps_inttest_TRANSACTION.tar.zst", "coverage_and_deps_unittest_BROKER_CLIENT_API.tar.zst", "coverage_and_deps_unittest_BROKER_CLIENT_IMPL.tar.zst", "coverage_and_deps_unittest_BROKER_GROUP_3.tar.zst", "coverage_and_deps_unittest_BROKER_GROUP_4.tar.zst", "coverage_and_deps_unittest_CLIENT.tar.zst", "coverage_and_deps_unittest_METADATA.tar.zst", "coverage_and_deps_unittest_PROXY.tar.zst", "coverage_and_deps_unittest_PULSAR_IO_ELASTIC.tar.zst", "coverage_and_deps_unittest_PULSAR_IO_KAFKA_CONNECT.tar.zst", "pulsar-java-test-image.zst", "pulsar-maven-repository-binaries.tar.zst", "pulsar-server-distribution.tar.zst". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Integration-LOADBALANCE-container-logs Expired
574 KB
Integration-LOADBALANCE-surefire-reports Expired
447 KB
Jacoco-coverage-report-systests Expired
25.5 MB
Unit-BROKER_CLIENT_IMPL-dumps Expired
21 KB
Unit-BROKER_GROUP_1-dumps Expired
17.6 KB
Unit-BROKER_GROUP_1-surefire-reports Expired
30.5 MB
Unit-BROKER_GROUP_2-dumps Expired
33.9 KB
Unit-BROKER_GROUP_2-surefire-reports Expired
20 MB
Unit-BROKER_GROUP_3-dumps Expired
3.65 KB
Unit-METADATA-dumps Expired
45.2 KB
Unit-OTHER-dumps Expired
14 KB
Unit-OTHER-surefire-reports Expired
1.67 MB
Unit-PULSAR_IO-dumps Expired
11.7 KB
Unit-PULSAR_IO-surefire-reports Expired
569 KB
Unit-PULSAR_IO_ELASTIC-dumps Expired
57 KB
coverage_and_deps_inttest_CLI.tar.zst Expired
93 MB
coverage_and_deps_inttest_MESSAGING.tar.zst Expired
358 KB
coverage_and_deps_inttest_METRICS.tar.zst Expired
303 KB
coverage_and_deps_inttest_STANDALONE.tar.zst Expired
298 KB
coverage_and_deps_inttest_TRANSACTION.tar.zst Expired
306 KB
coverage_and_deps_unittest_BROKER_CLIENT_API.tar.zst Expired
2.15 MB
coverage_and_deps_unittest_BROKER_CLIENT_IMPL.tar.zst Expired
2.17 MB
coverage_and_deps_unittest_BROKER_GROUP_3.tar.zst Expired
2.17 MB
coverage_and_deps_unittest_BROKER_GROUP_4.tar.zst Expired
2.06 MB
coverage_and_deps_unittest_CLIENT.tar.zst Expired
656 KB
coverage_and_deps_unittest_METADATA.tar.zst Expired
252 KB
coverage_and_deps_unittest_PROXY.tar.zst Expired
208 KB
coverage_and_deps_unittest_PULSAR_IO_ELASTIC.tar.zst Expired
91.1 KB
coverage_and_deps_unittest_PULSAR_IO_KAFKA_CONNECT.tar.zst Expired
205 KB
pulsar-java-test-image.zst Expired
276 MB
pulsar-maven-repository-binaries.tar.zst Expired
294 MB
pulsar-server-distribution.tar.zst Expired
206 MB