autopkgtest-cloud:no-raspi-kernel

Last commit made on 2024-04-03
Get this branch:
git clone -b no-raspi-kernel https://git.launchpad.net/autopkgtest-cloud
Members of Ubuntu Release Team can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
no-raspi-kernel
Repository:
lp:autopkgtest-cloud

Recent commits

1faf3f8... by Brian Murray

webcontrol: prevent requests with a trigger of linux-meta-raspi

The raspi kernel can't be tested with autopkgtest and britney won't
request tests but users still can which is wrong.

Failed
[FAILED] pre_commit:0 (build)
[WAITING] unit_tests:0 (build)
[WAITING] build_charms:0 (build)
13 of 3 results
a88aa40... by Tim Andersson

Merge remote-tracking branch 'andersson123/cloud-worker-tmp-cleanup'

Failed
[FAILED] pre_commit:0 (build)
[WAITING] unit_tests:0 (build)
[WAITING] build_charms:0 (build)
13 of 3 results
ab17659... by Tim Andersson

feat: web: move ALLOWED_TEAMS to juju config instead of being hardcoded in request/submit.py

Failed
[FAILED] pre_commit:0 (build)
[WAITING] unit_tests:0 (build)
[WAITING] build_charms:0 (build)
13 of 3 results
d7cdec8... by Tim Andersson

Merge remote-tracking branch 'andersson123/lxd-metrics-update'

Failed
[FAILED] pre_commit:0 (build)
[WAITING] unit_tests:0 (build)
[WAITING] build_charms:0 (build)
13 of 3 results
a603ce6... by Tim Andersson

fix: cloud: only check intended ips for autopkgtest-lxd-worker metrics

This commit adds a fix to the lxd metrics - we don't have a metric right now
which checks the remotes specified in the service bundle if they aren't present
in lxc remote list on the autopkgtest-lxd-worker.

So this checks the list of intended remotes and makes note of any intended remotes
which aren't in lxc remote list.

We also currently report on remotes which aren't specified in the service bundle,
but I think that's fine to leave in the metrics as it's indicative of issues.

This commit also writes lxc-remotes.json to the ~ directory on the lxd
worker, as the metrics script now uses this information to more
accurately report the metrics.

86262a8... by Tim Andersson

feat: cloud: add worker tmp cleanup config

tmp doesn't get automatically cleaned up periodically, only on boot. This is
problematic as any edge case worker errors that cause the worker script to
exit before cleaning up the logfile directory leaves the entire directory
in tmp, leading to low disk space errors.

This commit introduces a config file which removes files and directories
in /tmp that haven't been modified in the last 30 days.

It adds the tmp cleanup config to the service bundle common
options for the autopkgtest-cloud-worker application.

It also adds the config option to layer.yaml.

And it also writes the cleanup config to /etc/tmpfiles.d/tmp.conf

7ee57c6... by Tim Andersson

Merge remote-tracking branch 'andersson123/pull-amqp-push-amqp'

Failed
[FAILED] pre_commit:0 (build)
[WAITING] unit_tests:0 (build)
[WAITING] build_charms:0 (build)
13 of 3 results
6cdec02... by Tim Andersson

feat: cloud: add pull-amqp and push-amqp scripts

pull-amqp is a script that pulls all message from a queue. If the script
is passed a regex, it will only pull the messages from the queue that
match said regex. If the --empty arg is passed, it'll remove said
messages.

push-amqp is a script that simply pushes a message to a specified queue.
The two scripts can be used in conjunction to easily shift specific
queue messages from one queue to another, removing the need to craft a
retry-autopkgtest-regressions command to shift tests between queues.

push-amqp can also be used to push messages to other queues, like the
sqlite-writer queue or the download-results queue.

Fixes bug LP: #2059235

9a8aaad... by Tim Andersson

refactor: web&cloud: replace configparser.read with configparser.read_file or read_string

Also refactors all duplicate usage of configparser.read and shares common
functions from helpers/utils.py, and amends unit tests in line with
these changes

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results
751887f... by Tim Andersson

Merge remote-tracking branch 'ubuntu-release/confirm-using-all'

Succeeded
[SUCCEEDED] pre_commit:0 (build)
[SUCCEEDED] unit_tests:0 (build)
[SUCCEEDED] build_charms:0 (build)
13 of 3 results