~tsimonq2/autopkgtest-cloud:cache-amqp-queue

Last commit made on 2020-04-29
Get this branch:
git clone -b cache-amqp-queue https://git.launchpad.net/~tsimonq2/autopkgtest-cloud
Only Simon Quigley can upload to this branch. If you are Simon Quigley please log in for upload directions.

Branch merges

Branch information

Name:
cache-amqp-queue
Repository:
lp:~tsimonq2/autopkgtest-cloud

Recent commits

2a51459... by Simon Quigley

Choose the correct file depending on if we want to include requests.

0ff0fd3... by Simon Quigley

Cache the AMQP queue on disk.

ace77a0... by Iain Lane

Add queue_size.json

If you're just interested in the size of the queues. This avoids
draining them which can be very slow.

29a3f4d... by Iain Lane

queues.json: Restore compatibility with old format

With the previous commit, this started returning the queue size but it
should just be the requests themselves.

fe9be4b... by Iain Lane

web: Workarounds for excessive sync loading

  - Retrieve queue sizes for /running directly from amqp
  - Don't iterate queues if they are too big (> 500), it is too slow and
    can make the page time out

Ideally both of these should be moved out of the website itself to a
job, and then the website should render the output of that job.

22c1e65... by Iain Lane

*.conf: Add groovy

37959d3... by Balint Reczey

scipy is the new name of python-scipy and is still big

Thanks: Tiago Daitx for the triaging
LP: #1870215

793db7e... by Iain Lane

install: Use autodep8 from a fork on LP

In case we need to make any changes

4171e39... by Iain Lane

worker: Make systemd not loop if it causes any auxverb fail

Currently it's failing somehow (unexplained as of yet) in the package
build and this is how it manifests. We don't want these jobs to loop
really.

63b4009... by Iain Lane

worker: Open the log file with errors='surrogateescape'

We try to print it and this errors if there is some invalid UTF-8, but
let's not worry about that too much.