Merge autopkgtest-cloud:amqp-traceback into autopkgtest-cloud:master
Status: | Merged |
---|---|
Merged at revision: | ecee8df2c81a397ca8905222da192d2e06f61db7 |
Proposed branch: | autopkgtest-cloud:amqp-traceback |
Merge into: | autopkgtest-cloud:master |
Diff against target: |
16 lines (+1/-1) 1 file modified
charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/tools/filter-amqp (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Andersson | Approve | ||
Review via email:
|
Description of the change
I was seeing a traceback with `filter-amqp` until I made the change in this MP. I believe its because we were creating the "channel" multiple times and using all the channel ids.
2024-02-29 20:14:13,303 - queue item: b'ymuse\
Traceback (most recent call last):
File "./filter-amqp", line 105, in <module>
main()
File "./filter-amqp", line 91, in main
num_deleted = filter_amqp(opts, args[0], args[1], args[2])
File "./filter-amqp", line 24, in filter_amqp
ch = amqp_con.channel()
File "/usr/lib/
return Channel(self, channel_id)
File "/usr/lib/
channel_id = connection.
File "/usr/lib/
raise AMQPException('No free channel ids, current=%d, channel_max=%d'
TypeError: __init__() missing 2 required positional arguments: 'reply_text' and 'method_sig'
Oh damn, I think that's my bad! Still weird that it worked for me in the past like this? Maybe because there were less items in the queue or something.
Either way, LGTM