Source: rabbitmq-server
Version: 4.3.0-2
Severity: important
Tags: patch

Dear Maintainer,

Appears that rabbitmq-server 4.3.0-2 cannot go to testing because of
some failures in its autopkgtests. The problem is that the tests use a
deprecated feature transient_nonexcl_queues, which is now disabled by
default.

In order to fix the tests you can use the attached patch that just
adds the 'durable=True' argument to some queue_declare calls.

If you want to keep the transient_nonexcl_queues enabled to impose less
disruption to the users, you'd have to put

deprecated_features.permit.transient_nonexcl_queues = true

into the rabbitmq-server config file. Though the rabbitmq-server package
does not include any config file, so it might be not as trivial as
a one-liner patch.

Cheers!

-- System Information:
Debian Release: 13.5
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 
'proposed-updates'), (500, 'oldstable-security'), (500, 
'oldstable-proposed-updates'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental'), (1, 'unstable'), (1, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.12.90+deb13.1-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru rabbitmq-server-4.3.0/debian/tests/hello-world 
rabbitmq-server-4.3.0/debian/tests/hello-world
--- rabbitmq-server-4.3.0/debian/tests/hello-world      2026-05-19 
12:53:35.000000000 +0300
+++ rabbitmq-server-4.3.0/debian/tests/hello-world      2026-05-19 
12:53:35.000000000 +0300
@@ -12,7 +12,7 @@
 connection = pika.BlockingConnection(pika.ConnectionParameters('localhost'))
 channel = connection.channel()
 
-channel.queue_declare(queue='hello', durable=True)
+channel.queue_declare(queue='hello')
 
 channel.basic_publish(exchange='',
                       routing_key='hello',
@@ -28,7 +28,7 @@
     connection = 
pika.BlockingConnection(pika.ConnectionParameters(host='localhost'))
     channel = connection.channel()
 
-    channel.queue_declare(queue='hello', durable=True)
+    channel.queue_declare(queue='hello')
 
     def callback(ch, method, properties, body):
         print(f" [x] Received {body}")
diff -Nru rabbitmq-server-4.3.0/debian/tests/rpc 
rabbitmq-server-4.3.0/debian/tests/rpc
--- rabbitmq-server-4.3.0/debian/tests/rpc      2026-05-19 12:53:35.000000000 
+0300
+++ rabbitmq-server-4.3.0/debian/tests/rpc      2026-05-19 12:53:35.000000000 
+0300
@@ -14,7 +14,7 @@
 
 channel = connection.channel()
 
-channel.queue_declare(queue='rpc_queue', durable=True)
+channel.queue_declare(queue='rpc_queue')
 
 def fib(n):
     if n == 0:

Reply via email to