Skip to content

[Pulsar-Broker] consistent test failure - Namespace already exists #6258

@devinbost

Description

@devinbost

I'm now getting this issue consistently when running builds from Github CI, and it's also happening consistently when I run the test locally. The test fails with one of two different exceptions. Either this one:

[ERROR] Tests run: 20, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 345.803 s <<< FAILURE! - in org.apache.pulsar.broker.service.ReplicatorTest
464[ERROR] testReplicatedCluster(org.apache.pulsar.broker.service.ReplicatorTest) Time elapsed: 0.023 s <<< FAILURE!
465org.apache.pulsar.client.admin.PulsarAdminException$ConflictException: Namespace already exists

or this one:

org.apache.pulsar.client.api.PulsarClientException$BrokerPersistenceException: org.apache.bookkeeper.mledger.ManagedLedgerException: Not enough non-faulty bookies available

	at org.apache.pulsar.client.api.PulsarClientException.unwrap(PulsarClientException.java:691)
	at org.apache.pulsar.client.impl.ProducerBuilderImpl.create(ProducerBuilderImpl.java:93)
	at org.apache.pulsar.broker.service.ReplicatorTest.testReplicatedCluster(ReplicatorTest.java:834)
	. . . 

I've actually experienced intermittent (random) issues in production that have given the message "Namespace already exists," but we never captured broker logs when this has happened.
It's not clear if those problems are related to this issue.

The logs can be seen here: https://github.com/apache/pulsar/pull/6202/checks?check_run_id=431093396

I've also attached the logs.

logs_14078.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions