Skip to content

[fix] [broker] fix permission hole for subscription. #926

[fix] [broker] fix permission hole for subscription.

[fix] [broker] fix permission hole for subscription. #926

Triggered via pull request April 26, 2024 09:24
Status Failure
Total duration 1h 4m 12s
Artifacts 34

pulsar-ci.yaml

on: pull_request
Preconditions
9s
Preconditions
Build and License check
8m 27s
Build and License check
Matrix: unit-tests
Build Pulsar docker image
19m 19s
Build Pulsar docker image
Build Pulsar java-test-image docker image
4m 58s
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
0s
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
0s
Delete system test docker image artifact
Delete integration test docker image artifact
0s
Delete integration test docker image artifact
Pulsar CI checks completed
7s
Pulsar CI checks completed
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 44 warnings
ProxyRolesEnforcementTest.testIncorrectRoles: pulsar-proxy/src/test/java/org/apache/pulsar/proxy/server/ProxyRolesEnforcementTest.java#L241
{"errorMsg":"Client is not authorized to subscribe","reqId":2500584750444767673, "remote":"fv-az1393-442.1evhaya2a4vu1idbbq22av5vmh.bx.internal.cloudapp.net/10.1.0.7:42855", "local":"/10.1.0.7:40442"}
CI - Unit - Proxy
Process completed with exit code 1.
CI - Unit - Brokers - Client Impl
Process completed with exit code 1.
CI - Unit - Brokers - Broker Group 1
Process completed with exit code 1.
AuthenticatedTransactionProducerConsumerTest.testEndTxn: pulsar-broker/src/test/java/org/apache/pulsar/broker/transaction/AuthenticatedTransactionProducerConsumerTest.java#L195
Failed to subscribe tnx/ns1/txn-auth with 1 partitions {"errorMsg":"Client is not authorized to subscribe","reqId":1732438110685374829, "remote":"localhost/127.0.0.1:41879", "local":"/127.0.0.1:48392"}
CI - Integration - Messaging
The hosted runner encountered an error while running your job. (Error Type: Aborted).
CI - System - Pulsar Connectors - Process
The hosted runner encountered an error while running your job. (Error Type: Aborted).
Pulsar CI checks completed
Process completed with exit code 1.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.opensearch.OpenSearchClientSslTests created 18 new threads. There are now 27 threads in total.
CI - Unit - Pulsar IO - Elastic Search
Summary: Tests in class org.apache.pulsar.io.elasticsearch.v7.ElasticSearch7ClientTests created 2 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.ElasticSearch8ClientTests created 9 new threads. There are now 36 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 45 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 46 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 49 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 145 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 151 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.bookkeeper.replication.AutoRecoveryMainTest created 18 new threads. There are now 28 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.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 14 new threads. There are now 24 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 49 new threads. There are now 59 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.pulsar.metadata.LockManagerTest created 4 new threads. There are now 14 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.pulsar.metadata.coordination.impl.LeaderElectionImplTest created 2 new threads. There are now 12 threads in total.
CI - Unit - Pulsar Metadata
Summary: Tests in class org.apache.pulsar.metadata.LeaderElectionTest created 4 new threads. There are now 14 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.broker.EndToEndMetadataTest created 4 new threads. There are now 13 threads in total.
CI - Unit - Brokers - Broker Group 2
Summary: Tests in class org.apache.pulsar.broker.resourcegroup.ResourceGroupConfigListenerTest created 1 new threads. There are now 10 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.http.HttpSinkTest created 29 new threads. There are now 38 threads in total.
CI - Unit - Pulsar IO
Summary: Tests in class org.apache.pulsar.io.rabbitmq.source.RabbitMQSourceTest created 76 new threads. There are now 85 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 84 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
Summary: Tests in class org.apache.pulsar.io.hdfs3.sink.text.HdfsStringSinkTests created 1 new threads. There are now 10 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 10 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 10 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 10 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 10 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 10 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.bookkeeper.mledger.offload.filesystem.impl.FileSystemManagedLedgerOffloaderTest created 6 new threads. There are now 15 threads in total.
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.pulsar.testclient.PerfClientUtilsTest created 12 new threads. There are now 22 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.testclient.Oauth2PerformanceTransactionTest created 3 new threads. There are now 13 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.testclient.PerformanceProducerTest created 21 new threads. There are now 31 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.testclient.PerformanceTransactionTest created 11 new threads. There are now 21 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.broker.authentication.AuthenticationProviderAthenzTest created 1 new threads. There are now 11 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.broker.authentication.ProxySaslAuthenticationTest created 1 new threads. There are now 11 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.pulsar.packages.management.storage.bookkeeper.BookKeeperPackagesStorageTest created 2 new threads. There are now 12 threads in total.
CI - Unit - Other
Summary: Tests in class org.apache.bookkeeper.mledger.impl.ManagedLedgerTest created 10 new threads. There are now 20 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.BrokerServiceTest created 1 new threads. There are now 10 threads in total.
CI - Unit - Brokers - Broker Group 1
Summary: Tests in class org.apache.pulsar.broker.service.BacklogQuotaManagerTest 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_METRICS.tar.zst", "coverage_and_deps_inttest_STANDALONE.tar.zst", "coverage_and_deps_inttest_TRANSACTION.tar.zst", "coverage_and_deps_systest_FUNCTION.tar.zst", "coverage_and_deps_systest_PULSAR_CONNECTORS_THREAD.tar.zst", "coverage_and_deps_systest_PULSAR_IO.tar.zst", "coverage_and_deps_systest_SCHEMA.tar.zst", "coverage_and_deps_systest_TIERED_FILESYSTEM.tar.zst", "coverage_and_deps_systest_TIERED_JCLOUD.tar.zst", "coverage_and_deps_unittest_BROKER_CLIENT_API.tar.zst", "coverage_and_deps_unittest_BROKER_GROUP_2.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_OTHER.tar.zst", "coverage_and_deps_unittest_PULSAR_IO.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", "pulsar-test-latest-version-image.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
Unit-BROKER_CLIENT_IMPL-dumps Expired
103 MB
Unit-BROKER_CLIENT_IMPL-surefire-reports Expired
48.7 MB
Unit-BROKER_GROUP_1-dumps Expired
101 MB
Unit-BROKER_GROUP_1-surefire-reports Expired
38.4 MB
Unit-BROKER_GROUP_2-dumps Expired
8.11 KB
Unit-METADATA-dumps Expired
83.8 KB
Unit-OTHER-dumps Expired
42.5 KB
Unit-PROXY-surefire-reports Expired
2.41 MB
Unit-PULSAR_IO-dumps Expired
82.4 KB
Unit-PULSAR_IO_ELASTIC-dumps Expired
55.8 KB
coverage_and_deps_inttest_CLI.tar.zst Expired
71.1 MB
coverage_and_deps_inttest_METRICS.tar.zst Expired
298 KB
coverage_and_deps_inttest_STANDALONE.tar.zst Expired
295 KB
coverage_and_deps_inttest_TRANSACTION.tar.zst Expired
304 KB
coverage_and_deps_systest_FUNCTION.tar.zst Expired
303 KB
coverage_and_deps_systest_PULSAR_CONNECTORS_THREAD.tar.zst Expired
322 KB
coverage_and_deps_systest_PULSAR_IO.tar.zst Expired
323 KB
coverage_and_deps_systest_SCHEMA.tar.zst Expired
307 KB
coverage_and_deps_systest_TIERED_FILESYSTEM.tar.zst Expired
71.1 MB
coverage_and_deps_systest_TIERED_JCLOUD.tar.zst Expired
297 KB
coverage_and_deps_unittest_BROKER_CLIENT_API.tar.zst Expired
2.04 MB
coverage_and_deps_unittest_BROKER_GROUP_2.tar.zst Expired
2.12 MB
coverage_and_deps_unittest_BROKER_GROUP_3.tar.zst Expired
2.06 MB
coverage_and_deps_unittest_BROKER_GROUP_4.tar.zst Expired
1.96 MB
coverage_and_deps_unittest_CLIENT.tar.zst Expired
638 KB
coverage_and_deps_unittest_METADATA.tar.zst Expired
245 KB
coverage_and_deps_unittest_OTHER.tar.zst Expired
9.93 MB
coverage_and_deps_unittest_PULSAR_IO.tar.zst Expired
368 KB
coverage_and_deps_unittest_PULSAR_IO_ELASTIC.tar.zst Expired
90.6 KB
coverage_and_deps_unittest_PULSAR_IO_KAFKA_CONNECT.tar.zst Expired
202 KB
pulsar-java-test-image.zst Expired
278 MB
pulsar-maven-repository-binaries.tar.zst Expired
304 MB
pulsar-server-distribution.tar.zst Expired
215 MB
pulsar-test-latest-version-image.zst Expired
1.47 GB