-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug system tests #288
Debug system tests #288
Commits on Apr 18, 2024
-
test/includes/microcloud: allow using a dedicated storage source device
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f3fcf41 - Browse repository at this point
Copy the full SHA f3fcf41View commit details -
test/includes/microcloud: only install zfsutils-linux and htop if CLO…
…UD_INSPECT is set Also, stop trying to install snapd and curl as they are included in `ubuntu-minimal:` images. Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 460a715 - Browse repository at this point
Copy the full SHA 460a715View commit details -
test/includes/microcloud: stop adding ubuntu-minimal:
All LXD releases we care about have that remote builtin now. Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 894df61 - Browse repository at this point
Copy the full SHA 894df61View commit details -
test/includes/check: require instance_ready_state API on host LXD
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a3db46f - Browse repository at this point
Copy the full SHA a3db46fView commit details -
test/suites/basic: use ubuntu-minimal for c1/v1
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 29d4fd4 - Browse repository at this point
Copy the full SHA 29d4fd4View commit details -
test/suites/basic: poll less frequently when waiting on c1/v1
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5782411 - Browse repository at this point
Copy the full SHA 5782411View commit details -
test/suites/basic: report when c1/v1 have booted successfully
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6703cab - Browse repository at this point
Copy the full SHA 6703cabView commit details -
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84af383 - Browse repository at this point
Copy the full SHA 84af383View commit details -
github: fix check for compat with Go 1.22.0
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d9c0bb7 - Browse repository at this point
Copy the full SHA d9c0bb7View commit details -
github: align tests job with LXD's
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63aef4e - Browse repository at this point
Copy the full SHA 63aef4eView commit details -
github: add initial (snap-based) system tests
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65027ba - Browse repository at this point
Copy the full SHA 65027baView commit details -
github: require system tests to pass before triggering LP build
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e37f1cb - Browse repository at this point
Copy the full SHA e37f1cbView commit details -
test/includes/microcloud: nicer output when wiping/deleting disks
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 312586a - Browse repository at this point
Copy the full SHA 312586aView commit details -
test/suite/basic: nicer output when starting c1/v1
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1685e7d - Browse repository at this point
Copy the full SHA 1685e7dView commit details -
test/includes/microcloud: use lxd default channel (5.21/stable as of …
…today) Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a4e80b0 - Browse repository at this point
Copy the full SHA a4e80b0View commit details -
test/includes/microcloud: fix restore_system arg passing
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8a82f7b - Browse repository at this point
Copy the full SHA 8a82f7bView commit details -
test/suites/basic: create smaller c1/v1 instances
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 841546a - Browse repository at this point
Copy the full SHA 841546aView commit details -
test/suites/basic: rename test_instances to test_instances_launch
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05d2021 - Browse repository at this point
Copy the full SHA 05d2021View commit details -
test/main: rename test_instances to test_instances_launch
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6647c2f - Browse repository at this point
Copy the full SHA 6647c2fView commit details -
test/includes/microcloud: set suitable PATH in the profile
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6044ed4 - Browse repository at this point
Copy the full SHA 6044ed4View commit details -
test/includes/microcloud: call new_system() in new_systems()
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c26b1e6 - Browse repository at this point
Copy the full SHA c26b1e6View commit details -
test/includes/microcloud: use wait even if CONCURRENT_SETUP!=1
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fc2abc - Browse repository at this point
Copy the full SHA 1fc2abcView commit details -
test/suites/basic: use less subshells in test_instances_launch()
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 210ba10 - Browse repository at this point
Copy the full SHA 210ba10View commit details -
test/suites/basic: add test_instances_config() test
This test verifies storage pool and network default selection based on available ones. Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc1f5f6 - Browse repository at this point
Copy the full SHA cc1f5f6View commit details -
test/suites/preseed: use less subshells
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 28f140d - Browse repository at this point
Copy the full SHA 28f140dView commit details -
test/main: add test_instances_config
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a21f3a6 - Browse repository at this point
Copy the full SHA a21f3a6View commit details -
test/suites/basic: optionally skip launching VMs on microcloud
On GHA runners, the microcloud hosts are VMs so we are already 2 VM levels deep. If a VM is started on top of that, we get pathologically slow VM boot. In previous tests, the final VM stage didn't even get its LXD agent to dial in inside of 2 hours. Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 552cc7d - Browse repository at this point
Copy the full SHA 552cc7dView commit details -
github: skip launching VMs on top of microcloud VMs
On GHA runners, the microcloud hosts are VMs so we are already 2 VM levels deep. If a VM is started on top of that, we get pathologically slow VM boot. In previous tests, the final VM stage didn't even get its LXD agent to dial in inside of 2 hours. Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 603022d - Browse repository at this point
Copy the full SHA 603022dView commit details -
test/suites/basic: fix TEST_CONSOLE=0
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5718473 - Browse repository at this point
Copy the full SHA 5718473View commit details -
test/suites/preseed: fix TEST_CONSOLE=0
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51bb646 - Browse repository at this point
Copy the full SHA 51bb646View commit details -
test/suites/add: reduce subshell use
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5913911 - Browse repository at this point
Copy the full SHA 5913911View commit details -
test/includes/microcloud: safer grep
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bb2da36 - Browse repository at this point
Copy the full SHA bb2da36View commit details -
test/suites/add: less subshells
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b357b8d - Browse repository at this point
Copy the full SHA b357b8dView commit details -
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8bf8980 - Browse repository at this point
Copy the full SHA 8bf8980View commit details -
test/suites/basic: less subshells
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05237c6 - Browse repository at this point
Copy the full SHA 05237c6View commit details -
test/main: running single test case also require the new_systems call
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05edfae - Browse repository at this point
Copy the full SHA 05edfaeView commit details -
test/suites/basic: s/test_case/_test_case/ as it's not an actual test…
…ing function Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for acb3363 - Browse repository at this point
Copy the full SHA acb3363View commit details -
test/main: rework how individual/group test(s) are run
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ea238de - Browse repository at this point
Copy the full SHA ea238deView commit details -
github: split system tests into suites
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4bc8ba5 - Browse repository at this point
Copy the full SHA 4bc8ba5View commit details -
test/includes/microcloud: only take a snapshot if SNAPSHOT_RESTORE=1
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f488f18 - Browse repository at this point
Copy the full SHA f488f18View commit details -
test/includes/microcloud: use cohorts for micro{ceph,ovn,cloud} too
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d2333d - Browse repository at this point
Copy the full SHA 2d2333dView commit details -
test/includes/microcloud: workaround for LXD shutdown bug (debug)
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1655238 - Browse repository at this point
Copy the full SHA 1655238View commit details -
test/includes/microcloud: add some echos to set_debug_binaries()
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 867fd0a - Browse repository at this point
Copy the full SHA 867fd0aView commit details -
test/includes/microcloud: poll less aggressively in lxd_wait_vm()
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4badb3f - Browse repository at this point
Copy the full SHA 4badb3fView commit details -
test/includes/microcloud: less subshells
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for faf9cf1 - Browse repository at this point
Copy the full SHA faf9cf1View commit details -
test/includes/microcloud: use LXD latest/edge (canonical/lxd-pkg-snap…
…#426) Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6cd47a - Browse repository at this point
Copy the full SHA f6cd47aView commit details -
test/includes/microcloud: safer grep
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a4d84df - Browse repository at this point
Copy the full SHA a4d84dfView commit details -
test/includes/microcloud: safer grep for matching numeric args
We don't want to match on any digit present anywhere like that: ``` $ echo "disk2" | grep -P '\d+' 2 ``` Instead, require the searched string to be made of digits only. Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4cd4c3 - Browse repository at this point
Copy the full SHA d4cd4c3View commit details -
test/includes/microcloud: use quiet file pushes
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c72c720 - Browse repository at this point
Copy the full SHA c72c720View commit details -
github: sideload microcloud{,d} binaries for system-tests
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a74a6d9 - Browse repository at this point
Copy the full SHA a74a6d9View commit details -
test/suites/basic: add test OVN connectivity
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 78f92bc - Browse repository at this point
Copy the full SHA 78f92bcView commit details -
test/suites/basic: use smaller rootfs
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c1eef92 - Browse repository at this point
Copy the full SHA c1eef92View commit details -
test/includes/microcloud: simplify rm -rf globbing
Signed-off-by: Simon Deziel <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a827156 - Browse repository at this point
Copy the full SHA a827156View commit details -
microcloud/test: Only run mismatch
Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a565f16 - Browse repository at this point
Copy the full SHA a565f16View commit details -
microcloud/test/suites: Run interactive first
Signed-off-by: Max Asnaashari <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3067243 - Browse repository at this point
Copy the full SHA 3067243View commit details