Commit Graph
102 Commits
Author SHA1 Message Date
Darren Tucker 6185d1e6f7 Rename obsd arm64 snapshot VM for consistency. 2026-04-28 09:10:44 +10:00
Darren Tucker d87e7f0bed Add OpenBSD 7.8 test target. 2025-11-01 08:34:39 +11:00
Darren Tucker b4ceca952b Shorten workflow names to fit in a single line. 2025-09-26 22:28:13 +10:00
Darren Tucker ca9ac1109e Rerun tests if run_tests.sh changes. 2025-09-20 16:25:12 +10:00
Darren Tucker b1c4cedbee Replace fbsd64ppc VM with physical host.
Run 64bit bigendian interop test on NetBSD arm64be instead.
2025-08-01 19:43:27 +10:00
Darren Tucker 259c66aebe Remove DEBUG_ACTIONS variable.
If needed it can be set in github if needed.
2025-07-24 22:02:49 +10:00
Darren Tucker 5f761cdb23 Update obsd tests to use current images. 2025-06-17 21:48:48 +10:00
Darren Tucker ee1d31781c Move debug log output into separate workflow step.
Should reduce the need to scroll back to find out which test actually
failed.
2025-05-11 17:45:06 +10:00
Darren Tucker c21c8fc319 Lazily unmount github workspace at end of workflow.
Sometimes when a test times out the workspace is still busy when we try
to unmount it, which leaves the runner unusable until it's cleaned up
manually. We try to unmount this in the first step, but that usually
doesn't work since it fails during setup before it starts our workflow.
Move it to the end and make it a lazy unmount so it hopefully works
eventually.
2025-03-11 19:25:44 +11:00
Darren Tucker d2709c4613 Add keytype to bigendian interop test. 2024-11-09 03:26:08 +11:00
Darren Tucker 50ac0f0e06 Ignore chown failure, eg due to dangling symlinks. 2024-11-09 03:24:29 +11:00
Darren Tucker 9e528e65a0 Test bigendian interop.
Where our test target is a bigendian system, do an additional build on
the runner host (which is little endian) and test interop between the two.
Should hopefully catch obvious endianness bugs.
2024-11-08 16:27:05 +11:00
Darren Tucker a74809fe06 Add nbsd10 default test config. 2024-11-01 18:44:00 +11:00
Darren Tucker 3af1dba138 Retire the minix3 test config.
It got broken by the sshd-auth change, it's not obvious why, and the
platform lacks the debugging tools (eg gdb, strace) to figure it out.
The upstream project seems effectively dead (6 years since the last
commit, 10 since the last release).  It was useful while it lasted
(we found a real bug because of it) but its time seems to have passed.
2024-10-25 19:04:30 +11:00
Darren Tucker 0a2db61a5f Spell omnios test host correctly. 2024-09-10 21:11:14 +10:00
Darren Tucker 059ed698a4 Add omnios test target. 2024-09-10 18:52:02 +10:00
Darren Tucker ff714f001d Also test PAM on dfly64. 2024-09-10 17:58:09 +10:00
Darren Tucker 02c5ad2312 Rearrange selfhosted VM scheduling.
Instead of trying to infer the type of the self hosted tests in each of
the driver scripts (inconsistently...), set one of the following
variables to "true" in the workflow:

VM: tests run in a virtual machine.
EPHEMERAL: tests run on an ephemeral virtual machine.
PERSISTENT: tests run on a persistent virtual machine
REMOTE: tests run on a physical remote host.

EPHEMERAL VMs can have multiple instances of any given VM can exist
simultaneously and are run by a runner pool.  The other types have a
dedicated runner instance and can only run a single test at a time.

Other settings:
SSHFS: We need to sshfs mount over the repo so the workflow can collect
	build artifacts.  This also implies the tests must be run over ssh.
DEBUG_ACTIONS: enable "set -x" in scripts for debugging.
2024-03-30 16:40:07 +11:00
Darren Tucker 5fc1085128 Be more specific about when to rerun workflows. 2024-03-26 16:50:46 +11:00
Darren Tucker 5516923e8a Add short names for test jobs on github CI. 2024-03-26 16:39:50 +11:00
Darren Tucker 6886e1b1f5 Add nbsd10 test target. 2024-02-22 17:59:35 +11:00
Darren Tucker f29934066b Add an Ubuntu 22.04 test VM.
This is the same version as Github's runners so most of the testing on
it is over there, but having a local VM makes debugging much easier.
2023-11-23 19:41:27 +11:00
Darren Tucker de304c7631 Add fbsd14 VM to test pool. 2023-11-22 08:55:36 +11:00
Darren Tucker e9fc2c4812 Put long-running test targets on hipri runners.
Some of the selfhosted test targets take a long time to run for various
reasons, so label them for "libvirt-hipri" runners so that they can
start immediately.  This should reduce the time to complete all tests.
2023-11-01 13:11:31 +11:00
Darren Tucker 3cf698c6d4 Add obsd74 test VM and retire obsd69 and obsd70. 2023-10-30 21:35:03 +11:00
Darren Tucker 17fa6cd10a obsd-arm64 host is real hardware...
so put in the correct config location.
2023-08-21 19:47:58 +10:00
Darren Tucker 598ca75c85 Add OpenBSD ARM64 test host. 2023-08-21 19:17:27 +10:00
Darren Tucker fa8da52934 Add obsd72 and obsd73 test targets. 2023-08-13 15:01:27 +10:00
Darren Tucker 36cdb5dbf5 Retire dfly58 test VM. Add dfly64. 2023-07-27 10:30:12 +10:00
Darren Tucker 131fcbcaff Adjust test jobs for new log directory. 2023-03-01 23:23:02 +11:00
Darren Tucker d3b8d4198b Add CentOS 7 test targets. 2023-02-10 14:26:44 +11:00
Darren Tucker b6e01459b5 Move obsdsnap test VMs to ephemeral runners. 2022-12-13 20:48:56 +11:00
Darren Tucker 9f2747e0be Rework how selfhosted tests interact with runners.
Previously there was one runner per test target (mostly VMs).  This had
a few limitations:
 - multiple tests that ran on the same target (eg multiple build
   configs) were serialized on availability or that runner.
 - it needed manual balancing of VMs over host machines.

To address this, make VMs that use ephemeral disks (ie most of them)
all use a pool of runners with the "libvirt" label.  This requires that
we distinguish between "host" and "target" for those.  Native runners
and VMs with persistent disks (eg the constantly-updated snapshot ones)
specify the same host and target.

This should improve test throughput.
2022-11-28 22:39:08 +11:00
Darren Tucker d664ddaec8 Run vmstartup from temp dir.
This will allow us to create ephemeral disk images per-runner.
2022-11-27 12:19:37 +11:00
Darren Tucker 0fa16e952b Make "config" in matrix singular and pass in env.
This will allow the startup scripts to adapt their behaviour based on
the type and config.
2022-11-27 12:14:00 +11:00
Darren Tucker e8857043af Add "libvirt" label to dfly30. 2022-11-27 11:45:43 +11:00
Darren Tucker 9775473d84 Rename "os" in matrix to "target".
This is in preparation to distinguish this from the host that the runner
runs on in case where they are separate (eg VMs).
2022-11-27 11:20:35 +11:00
Darren Tucker 04fd00ceff Remove unused self-hosted test targets. 2022-11-27 09:23:04 +11:00
Darren Tucker c9d9fcad2a Remove explicit "default" test config argument.
Not specifying the test config implicitly selects default args.
2022-11-27 09:16:15 +11:00
Darren Tucker 8926956f22 Add dfly62 test target. 2022-11-11 11:25:37 +11:00
Darren Tucker a32c07cbb7 Run vm startup and shutdown from runner temp dir.
Should work even if the github workspace dir is on a stale sshfs mount.
2022-11-08 12:01:33 +11:00
Darren Tucker 2ea03d1f6d Update checkout and upload actions.
Update actions/checkout and actions/upload-artifact to main branch for
compatibility with node.js v16.
2022-11-08 10:29:32 +11:00
Darren Tucker 9655217231 Rerun tests on changes to Makefile.in in any dir. 2022-11-03 23:07:50 +11:00
Darren Tucker 73550a218e Increase selfhosted job timeout.
The default job timeout of 360 (6h) is not enough to complete the
regress tests for some of the slow VMs depending on the load on the host.
Increase to 600 (10h).
2022-11-03 13:41:16 +11:00
Darren Tucker ef211eee63 Test commits to all branches of portable.
Only test OpenBSD upstream on commits to master since that's what it
tracks.
2022-10-05 06:31:48 +11:00
Darren Tucker d0c4fa5859 Rerun tests if any .github config file changes. 2022-08-11 14:23:58 +10:00
Darren Tucker eb679e2959 Move vmshutdown to first step.
If a previous run on a physical runner has failed to clean up, the next
run will fail because it'll try to check out the code to a broken
directory mount.  Make cleanup the first step.
2022-07-15 21:31:48 +10:00
Darren Tucker 46b91b70ff Rename bbone test target to ARM. 2022-07-15 20:25:27 +10:00
Darren Tucker 97a6a8b8c1 Only run tests when source files change.
Also run tests on changes to V_9_0 branch.
2022-04-29 18:34:38 +10:00
Darren Tucker 7bf2eb958f Add debian-riscv64 test target. 2022-04-26 23:30:59 +10:00