lp:~adam-collard/maas-ci/+git/system-tests

Owned by Adam Collard
Get this repository:
git clone https://git.launchpad.net/~adam-collard/maas-ci/+git/system-tests
Only Adam Collard can upload to this repository. If you are Adam Collard please log in for upload directions.

Branches

Name Last Modified Last Commit
ci-journal 2024-02-29 09:22:28 UTC
feat: add utils/ci-journal for inspecting system-test jobs

Author: Adam Collard
Author Date: 2024-02-29 09:22:28 UTC

feat: add utils/ci-journal for inspecting system-test jobs

lxc-file-push-permissions 2024-02-12 09:30:56 UTC
chore: add mode parameter to Instance.files[...].write()

Author: Adam Collard
Author Date: 2024-02-09 16:28:26 UTC

chore: add mode parameter to Instance.files[...].write()

Set Vault file to 0o644

write-files-permissions 2024-02-09 15:31:57 UTC
chore: tighten up permissions for config files

Author: Adam Collard
Author Date: 2024-02-09 15:31:57 UTC

chore: tighten up permissions for config files

rack-debug-early 2024-01-29 16:52:12 UTC
hack: add debug early

Author: Adam Collard
Author Date: 2024-01-29 16:52:12 UTC

hack: add debug early

no-restart-agent 2024-01-22 12:37:35 UTC
fix(env_builder) don't try and restart maas-agent manually

Author: Adam Collard
Author Date: 2024-01-22 12:37:35 UTC

fix(env_builder) don't try and restart maas-agent manually

maas-agent is an implementation detail of maas-rackd. The fact that it
needs restarting when rack config changes is modelled by systemd
already via `BindsTo`

proper-cloud-init-error-fix-take-2 2024-01-15 17:26:48 UTC
fix: Apply proper check for cloud-init errors

Author: Adam Collard
Author Date: 2024-01-15 17:26:48 UTC

fix: Apply proper check for cloud-init errors

This builds on commit dc799a8e9a7cf4436a6d9487761be02f99334830.

mypy-cleanup 2023-11-20 15:46:12 UTC
chore: remove type:ignore from conftest

Author: Adam Collard
Author Date: 2023-11-20 15:46:12 UTC

chore: remove type:ignore from conftest

download-boot-images 2023-10-25 08:12:13 UTC
[rescue] Just wait longer

Author: Adam Collard
Author Date: 2023-10-25 08:12:13 UTC

[rescue] Just wait longer

deploy-distro-series 2023-10-17 14:27:19 UTC
WiP: Lunar by default

Author: Adam Collard
Author Date: 2023-10-09 12:45:53 UTC

WiP: Lunar by default

pytest-fix-warnings 2023-09-25 12:49:12 UTC
Fix pytest warnings

Author: Adam Collard
Author Date: 2023-09-25 12:49:12 UTC

Fix pytest warnings

- move imports after the rewrite
- rename TestableMachine -> MachineUnderTest

wait-rpc-after-restart 2023-07-21 16:05:01 UTC
Extract _wait_for_rpc_response, call after region restart

Author: Adam Collard
Author Date: 2023-07-21 16:05:01 UTC

Extract _wait_for_rpc_response, call after region restart

boot-source-selection 2023-07-11 17:19:43 UTC
feat: Add bootsource url read/write

Author: Adam Collard
Author Date: 2023-07-05 15:40:33 UTC

feat: Add bootsource url read/write

Allow configuration of boot source (e.g. to run system tests with
candidate images)

tox-speed-up 2023-06-27 11:05:54 UTC
[tox/mypy] speed up mypy runs

Author: Adam Collard
Author Date: 2023-06-27 11:05:54 UTC

[tox/mypy] speed up mypy runs

pgcheck-refactor 2023-06-09 09:52:48 UTC
Refactor `check_postgres_status` to clean up smells

Author: Adam Collard
Author Date: 2023-06-09 09:52:48 UTC

Refactor `check_postgres_status` to clean up smells

robust-requests 2023-06-08 13:55:31 UTC
Improve robustness of request to probably absent PostgreSQL

Author: Adam Collard
Author Date: 2023-06-08 13:45:29 UTC

Improve robustness of request to probably absent PostgreSQL

Signed-off-by: Adam Collard <adam.collard@canonical.com>

no-proxy-for-local-lxd 2023-06-08 13:11:40 UTC
Explicitly don't use proxy for local requests to services in LXDs

Author: Adam Collard
Author Date: 2023-06-08 11:40:53 UTC

Explicitly don't use proxy for local requests to services in LXDs

fix-logging-newlines 2023-06-08 10:32:18 UTC
Don't iterate character by character

Author: Adam Collard
Author Date: 2023-06-08 10:32:18 UTC

Don't iterate character by character

is-postgres-primary-fix 2023-06-07 16:11:20 UTC
Expect AssertionError in check_postgres_status()

Author: Adam Collard
Author Date: 2023-06-07 16:11:20 UTC

Expect AssertionError in check_postgres_status()

no-double-import 2023-05-26 10:00:41 UTC
Don't try and re-import images

Author: Adam Collard
Author Date: 2023-05-26 10:00:41 UTC

Don't try and re-import images

ready_remote_maas fixture already guarantees we have the needed images

image-to-test-fixture-rework 2023-05-26 08:35:20 UTC
image_to_test: each invocation gets a single image to test

Author: Adam Collard
Author Date: 2023-05-26 08:35:20 UTC

image_to_test: each invocation gets a single image to test

albeit generated from a list

add_deploying_many_machines_tests 2023-05-24 12:51:24 UTC
Improve typing of many_machines, introduce _Machine as a TypedDict

Author: Adam Collard
Author Date: 2023-05-19 10:46:32 UTC

Improve typing of many_machines, introduce _Machine as a TypedDict

Expose lack of coroutine to plug into asyncio

Move explicit RemoteLXD.switch to a context manager

improve-ansible-performance 2023-04-17 13:54:46 UTC
Remove redundant MATCH_HEADERS

Author: Adam Collard
Author Date: 2023-04-17 13:54:46 UTC

Remove redundant MATCH_HEADERS

lxd-file-stdin-stdout 2023-02-16 11:00:21 UTC
[lxd] [subprocess] Use stdin to push files

Author: Adam Collard
Author Date: 2023-02-16 11:00:21 UTC

[lxd] [subprocess] Use stdin to push files

lxd-instance-move-methods 2023-02-15 16:40:09 UTC
[lxd] Pass Instance._run through _FilesWrapper and _FileWrapper

Author: Adam Collard
Author Date: 2023-02-15 16:40:09 UTC

[lxd] Pass Instance._run through _FilesWrapper and _FileWrapper

eatmydata 2023-02-10 17:43:15 UTC
[ansible-tests] eatmydata

Author: Adam Collard
Author Date: 2023-02-10 17:35:33 UTC

[ansible-tests] eatmydata

proxy-env-for-ansible 2023-02-10 12:25:50 UTC
[ansible-tests] Bump timeout to 10m

Author: Adam Collard
Author Date: 2023-02-10 12:25:50 UTC

[ansible-tests] Bump timeout to 10m

ansible-tests 2023-02-09 10:08:26 UTC
Always delete containers for hosts

Author: Adam Collard
Author Date: 2023-02-08 18:06:32 UTC

Always delete containers for hosts

- don't bother removing maas-test-db
- s/module/package/ for pip
- use `pip3 show <package>` instead of `pip3 list | grep <package>`

version_info_in_header 2023-01-27 12:30:41 UTC
Add systemtests meta information, add markers for section

Author: Adam Collard
Author Date: 2023-01-27 12:25:43 UTC

Add systemtests meta information, add markers for section

Signed-off-by: Adam Collard <adam.collard@canonical.com>

rewrite-assertions 2023-01-26 15:04:26 UTC
Move asserting rewriting into conftest, add fixtures

Author: Adam Collard
Author Date: 2023-01-25 09:00:59 UTC

Move asserting rewriting into conftest, add fixtures

Signed-off-by: Adam Collard <adam.collard@canonical.com>

retry-boot 2023-01-23 17:00:43 UTC
Address Thorsten's review comments

Author: Adam Collard
Author Date: 2023-01-23 17:00:43 UTC

Address Thorsten's review comments

remove-unnecessary-fixtures 2023-01-23 12:13:33 UTC
Add __future__ import annotations everywhere

Author: Adam Collard
Author Date: 2023-01-23 12:13:33 UTC

Add __future__ import annotations everywhere

Re-guard imports that are just for types

Add missing docstrings

wait-ready 2023-01-17 18:38:01 UTC
wait for region controllers to be ready

Author: Adam Collard
Author Date: 2023-01-17 18:38:01 UTC

wait for region controllers to be ready

Introduces new 'wait_for_ready_controllers' which will loop, waiting
for all region controllers to have passed commissioning.

bump-timeouts 2023-01-16 16:37:32 UTC
Bump timeouts

Author: Adam Collard
Author Date: 2023-01-16 16:37:32 UTC

Bump timeouts

Enlistment to 50min from 30min

Other status changes to 40mins from 20mins

lxd-instance-facade 2023-01-16 12:06:49 UTC
Fix Python3.9 compatibility re: TYPE_CHECKING

Author: Adam Collard
Author Date: 2023-01-16 12:06:49 UTC

Fix Python3.9 compatibility re: TYPE_CHECKING

extract_o11y 2023-01-12 18:09:59 UTC
Extract o11y configuration to o11y.py

Author: Adam Collard
Author Date: 2023-01-12 18:09:31 UTC

Extract o11y configuration to o11y.py

extract-install-deb 2023-01-12 14:57:55 UTC
Use container_name always

Author: Adam Collard
Author Date: 2023-01-12 14:24:08 UTC

Use container_name always

lxd-logger-name 2023-01-11 17:02:34 UTC
Unify name of instance_name

Author: Adam Collard
Author Date: 2023-01-10 18:39:16 UTC

Unify name of instance_name

lxd-status-specific 2023-01-10 18:08:06 UTC
Add lxd.instance_status(name) prefer over broad lxd.list_instances()

Author: Adam Collard
Author Date: 2023-01-10 17:06:47 UTC

Add lxd.instance_status(name) prefer over broad lxd.list_instances()

Signed-off-by: Adam Collard <adam.collard@canonical.com>

configured-maas-commissioned-rack 2023-01-04 10:27:06 UTC
wait for rack controllers to be commissioned in configured_maas

Author: Adam Collard
Author Date: 2023-01-04 10:27:06 UTC

wait for rack controllers to be commissioned in configured_maas

extract-setup-vault-tls 2023-01-03 14:54:51 UTC
extract setup_tls

Author: Adam Collard
Author Date: 2023-01-03 14:41:44 UTC

extract setup_tls

output-file-filter-envs 2022-12-12 18:13:56 UTC
Add --output-file option to filter_envs

Author: Adam Collard
Author Date: 2022-12-12 18:13:56 UTC

Add --output-file option to filter_envs

tox-4.0 2022-12-12 16:23:50 UTC
Add support for tox 4.0

Author: Adam Collard
Author Date: 2022-12-09 17:57:45 UTC

Add support for tox 4.0

Signed-off-by: Adam Collard <adam.collard@canonical.com>

snap-proxy-fix 2022-12-12 09:39:09 UTC
fix: snap proxy.http{,s} separated by whitespace

Author: Adam Collard
Author Date: 2022-12-12 09:39:09 UTC

fix: snap proxy.http{,s} separated by whitespace

debug-login 2022-12-12 09:29:05 UTC
Debug

Author: Adam Collard
Author Date: 2022-12-08 15:54:03 UTC

Debug

Signed-off-by: Adam Collard <adam.collard@canonical.com>

quieter-lxd-launch 2022-12-07 09:03:40 UTC
Quieten down lxc launch

Author: Adam Collard
Author Date: 2022-12-07 09:03:40 UTC

Quieten down lxc launch

vault-journal-output 2022-12-05 09:24:24 UTC
Log vault journal output on error.

Author: Adam Collard
Author Date: 2022-12-05 09:24:24 UTC

Log vault journal output on error.

launchpad-ci 2022-11-16 09:52:40 UTC
[WiP] Add initial .launchpad.yaml

Author: Adam Collard
Author Date: 2022-11-16 09:45:09 UTC

[WiP] Add initial .launchpad.yaml

Signed-off-by: Adam Collard <adam.collard@canonical.com>

lint-and-format-utils 2022-11-11 12:20:57 UTC
Fix lint issues

Author: Adam Collard
Author Date: 2022-11-11 12:20:57 UTC

Fix lint issues

basepython-everywhere 2022-10-25 06:48:31 UTC
Move basepython setting to [testenv] so it's used everywhere

Author: Adam Collard
Author Date: 2022-10-25 06:45:09 UTC

Move basepython setting to [testenv] so it's used everywhere

Signed-off-by: Adam Collard <adam.collard@canonical.com>

cog-refactor 2022-08-19 09:00:38 UTC
Minor refactor of cog sections to reuse code

Author: Adam Collard
Author Date: 2022-08-19 09:00:38 UTC

Minor refactor of cog sections to reuse code

yaml-split-config-check 2022-08-18 09:57:21 UTC
Use ruamel.yaml to parse YAML 1.2 docs that come out of gen_config

Author: Adam Collard
Author Date: 2022-08-18 09:57:21 UTC

Use ruamel.yaml to parse YAML 1.2 docs that come out of gen_config

Avoids issue with "no" -> no -> False

ruamel-switch 2022-08-15 13:19:36 UTC
Fix for missing config.yaml

Author: Adam Collard
Author Date: 2022-08-15 13:19:36 UTC

Fix for missing config.yaml

assert_ips_are_valid 2022-08-01 12:59:04 UTC
Move from netaddr to hand-rolled IPRange

Author: Adam Collard
Author Date: 2022-08-01 12:57:52 UTC

Move from netaddr to hand-rolled IPRange

Signed-off-by: Adam Collard <adam.collard@canonical.com>

lxd-vm-bug 2022-07-27 09:26:43 UTC
wait_for_machine: use machine name not hostname for error

Author: Adam Collard
Author Date: 2022-07-25 17:10:41 UTC

wait_for_machine: use machine name not hostname for error

retry-login 2022-07-18 16:54:27 UTC
Retry login

Author: Adam Collard
Author Date: 2022-07-15 15:39:38 UTC

Retry login

http-not-https-for-maas-url 2022-07-14 15:16:22 UTC
MAAS URL setting should be HTTP only, not HTTP/S

Author: Adam Collard
Author Date: 2022-07-14 11:07:18 UTC

MAAS URL setting should be HTTP only, not HTTP/S

windows-upload-permission-fixes 2022-07-14 14:47:37 UTC
Change ownership of windows ISO to ubuntu/ubuntu

Author: Adam Collard
Author Date: 2022-07-12 12:44:13 UTC

Change ownership of windows ISO to ubuntu/ubuntu

Signed-off-by: Adam Collard <adam.collard@canonical.com>

stderr-fixes 2022-07-14 13:54:17 UTC
continue not break so we have a chance of seeing stderr

Author: Adam Collard
Author Date: 2022-07-11 07:58:35 UTC

continue not break so we have a chance of seeing stderr

power-state-directly 2022-07-06 14:48:26 UTC
Query power state directly when waiting

Author: Adam Collard
Author Date: 2022-07-06 14:48:26 UTC

Query power state directly when waiting

event-limiting 2022-07-06 11:24:33 UTC
[ack's review] Extract commonality

Author: Adam Collard
Author Date: 2022-07-06 11:24:33 UTC

[ack's review] Extract commonality

less-maas-power-more-lxd 2022-07-04 14:01:53 UTC
ack's review: rename context-manager to powered_off_vm

Author: Adam Collard
Author Date: 2022-07-04 14:01:53 UTC

ack's review: rename context-manager to powered_off_vm

select-readline 2022-07-04 10:49:52 UTC
Hopefully fix hangs from subprocess runs

Author: Adam Collard
Author Date: 2022-07-04 10:22:43 UTC

Hopefully fix hangs from subprocess runs

Signed-off-by: Adam Collard <adam.collard@canonical.com>

websocket-bad-handshake 2022-06-28 07:52:24 UTC
Retry bad websocket handshake errors

Author: Adam Collard
Author Date: 2022-06-28 07:52:24 UTC

Retry bad websocket handshake errors

debug-events-waiting-for-machine 2022-06-27 13:16:30 UTC
WiP: Refactor wait_for_machines, add Event debugging

Author: Adam Collard
Author Date: 2022-06-27 09:30:48 UTC

WiP: Refactor wait_for_machines, add Event debugging

Signed-off-by: Adam Collard <adam.collard@canonical.com>

tls-region-controller-ip 2022-06-24 13:40:06 UTC
Fix quotes

Author: Adam Collard
Author Date: 2022-06-24 13:38:31 UTC

Fix quotes

Signed-off-by: Adam Collard <adam.collard@canonical.com>

assert-rewrite-helpers 2022-06-14 09:48:20 UTC
Register helper modules for assertion rewriting

Author: Adam Collard
Author Date: 2022-06-14 09:48:20 UTC

Register helper modules for assertion rewriting

ppa-for-build 2022-05-17 09:45:08 UTC
Docstrings

Author: Adam Collard
Author Date: 2022-05-17 09:45:08 UTC

Docstrings

reprfull 2022-04-28 13:29:01 UTC
Add __repr__'s

Author: Adam Collard
Author Date: 2022-04-28 13:19:03 UTC

Add __repr__'s

no-proxy-region-ip 2022-04-13 11:32:53 UTC
Set no_proxy to IP of region

Author: Adam Collard
Author Date: 2022-04-13 11:32:34 UTC

Set no_proxy to IP of region

bad-gateway-502-error 2022-04-08 12:48:17 UTC
Add handling for 502 error when waiting for RPC to start up.

Author: Adam Collard
Author Date: 2022-04-08 12:46:22 UTC

Add handling for 502 error when waiting for RPC to start up.

tox-minversion 2022-03-18 17:36:12 UTC
Add minversion to tox

Author: Adam Collard
Author Date: 2022-03-18 17:36:12 UTC

Add minversion to tox

tox-ini-change 2022-03-18 16:24:29 UTC
Consolidate pytest invocation to one place

Author: Adam Collard
Author Date: 2022-03-18 16:20:19 UTC

Consolidate pytest invocation to one place

generative-test-suites 2022-03-18 13:54:24 UTC
Use tox expansion to reduce DRY-violation

Author: Adam Collard
Author Date: 2022-03-18 13:53:36 UTC

Use tox expansion to reduce DRY-violation

dynamic-readme 2022-03-18 12:10:53 UTC
Add dynamic generation of README to avoid bitrot

Author: Adam Collard
Author Date: 2022-03-18 09:52:56 UTC

Add dynamic generation of README to avoid bitrot

subprocess-refactor 2022-02-23 11:47:56 UTC
Don't pass string around, use a callback for accumulating

Author: Adam Collard
Author Date: 2022-02-23 11:34:54 UTC

Don't pass string around, use a callback for accumulating

debug-lxd-devices 2022-02-23 11:15:10 UTC
debug lxd profile

Author: Adam Collard
Author Date: 2022-02-23 11:10:03 UTC

debug lxd profile

power-parameters-refactor 2022-02-21 15:47:00 UTC
Add sorting of parameters at instantiation time

Author: Adam Collard
Author Date: 2022-02-21 15:47:00 UTC

Add sorting of parameters at instantiation time

More typing funsies

config-pop-fix 2022-02-18 15:09:49 UTC
Remove typing: ignore

Author: Adam Collard
Author Date: 2022-02-18 15:09:49 UTC

Remove typing: ignore

remove-machine-names 2022-02-09 18:04:58 UTC
Add a cog environment that can manipulate tox.ini from config.yaml

Author: Adam Collard
Author Date: 2022-02-09 18:04:58 UTC

Add a cog environment that can manipulate tox.ini from config.yaml

stop-images-before-syncing 2022-02-04 14:54:35 UTC
Rename to waits_for_event_after()

Author: Adam Collard
Author Date: 2022-02-04 14:54:35 UTC

Rename to waits_for_event_after()

retry-refactor 2022-02-02 11:36:48 UTC
Give DHCP more time to {en,dis}able, refactor retries

Author: Adam Collard
Author Date: 2022-02-02 11:36:48 UTC

Give DHCP more time to {en,dis}able, refactor retries

typing-deeper 2021-12-13 10:52:08 UTC
Add types for API responses

Author: Adam Collard
Author Date: 2021-12-03 17:55:58 UTC

Add types for API responses

close-paramiko 2021-11-22 15:09:15 UTC
Close paramiko SSH connection

Author: Adam Collard
Author Date: 2021-11-22 15:09:15 UTC

Close paramiko SSH connection

machine-tests-use-api-client 2021-10-06 12:32:14 UTC
Use maas_api_client fixture with better logging.

Author: Adam Collard
Author Date: 2021-10-06 10:52:01 UTC

Use maas_api_client fixture with better logging.

logger-per-test 2021-10-05 13:58:10 UTC
Make maas_api_client fixture distinct from authenticated_admin

Author: Adam Collard
Author Date: 2021-10-05 13:58:10 UTC

Make maas_api_client fixture distinct from authenticated_admin

Configure logger for each test, with the test name.

crud-isolation-fixes 2021-10-04 09:22:07 UTC
Fix CRUD tests to avoid assumptions about existing state

Author: Adam Collard
Author Date: 2021-10-04 09:22:07 UTC

Fix CRUD tests to avoid assumptions about existing state

Unfortunately, {space, fabric, vlan} can all be created with
descriptions, but can't be read back from API.

dont-barf-on-binary-output 2021-10-01 11:08:58 UTC
Add 'backslashreplace' to cope with non UTF-8 bytes

Author: Adam Collard
Author Date: 2021-10-01 11:07:44 UTC

Add 'backslashreplace' to cope with non UTF-8 bytes

faster-image-import 2021-10-01 10:47:25 UTC
Remove unnecessary sleeps from image import

Author: Adam Collard
Author Date: 2021-10-01 10:47:25 UTC

Remove unnecessary sleeps from image import

optional-hardware 2021-09-28 12:48:25 UTC
Hardware is optional

Author: Adam Collard
Author Date: 2021-09-24 10:22:02 UTC

Hardware is optional

wait-for-rack-to-commission 2021-09-28 10:55:47 UTC
Don't cross the fixture scope streams

Author: Adam Collard
Author Date: 2021-09-28 10:54:14 UTC

Don't cross the fixture scope streams

ipmi-privilege 2021-09-27 08:27:41 UTC
Hardcode privilege level to ADMIN to match qa-lab-tests

Author: Adam Collard
Author Date: 2021-09-27 08:27:41 UTC

Hardcode privilege level to ADMIN to match qa-lab-tests

reserved-ip-ranges 2021-09-24 18:08:47 UTC
Fix disable_dhcp loop

Author: Adam Collard
Author Date: 2021-09-24 18:04:53 UTC

Fix disable_dhcp loop

retry-power-cycle 2021-09-24 08:05:20 UTC
Fix retry_call call

Author: Adam Collard
Author Date: 2021-09-24 08:05:20 UTC

Fix retry_call call

logging-cleanup 2021-09-22 09:53:30 UTC
Clean up logging.

Author: Adam Collard
Author Date: 2021-09-22 09:53:30 UTC

Clean up logging.

Hide lxc exec --non-interactive from logging

Name loggers after the container. Don't confuse fixtures with test
code in logger names.

handle-partial-proxy 2021-09-21 12:44:24 UTC
Proxy configuration doesn't need to be complete

Author: Adam Collard
Author Date: 2021-09-08 09:24:19 UTC

Proxy configuration doesn't need to be complete

refresh-ip-between-reboots 2021-09-21 10:46:23 UTC
Refresh machine by reading after each expected reboot (before SSH)

Author: Adam Collard
Author Date: 2021-09-21 10:46:23 UTC

Refresh machine by reading after each expected reboot (before SSH)

fix-profile-detection 2021-09-07 14:57:40 UTC
Don't leak CompletedProcess out of api

Author: Adam Collard
Author Date: 2021-09-07 14:57:40 UTC

Don't leak CompletedProcess out of api

improve-logs 2021-09-07 10:47:10 UTC
Add ASCII-art to clarify output

Author: Adam Collard
Author Date: 2021-09-07 10:47:10 UTC

Add ASCII-art to clarify output

strict-mypy 2021-09-03 10:57:17 UTC
Un-SNAFU tests

Author: Adam Collard
Author Date: 2021-09-03 10:57:17 UTC

Un-SNAFU tests

Signed-off-by: Adam Collard <adam.collard@canonical.com>

flake8 2021-08-31 16:36:25 UTC
Add flake8 linting

Author: Adam Collard
Author Date: 2021-08-31 16:36:25 UTC

Add flake8 linting

1100 of 105 results
This repository contains Public information 
Everyone can see this information.

Subscribers