Darren Tucker
12da685dfc
Upstream tests don't use the config file.
2026-03-26 18:56:14 +11:00
Darren Tucker
249476f45d
Test KERBEROS5=yes builds on OpenBSD.
2026-02-09 04:05:31 +11:00
Darren Tucker
7cb3ea4dcc
Simplify git command to avoid yaml syntax error.
2025-11-13 10:23:45 +11:00
Damien Miller
d128133144
octal-escape the colon character
...
Apparently these are YAML magic when followed by whitespace
2025-11-07 15:49:55 +11:00
Damien Miller
5a104d81a2
try single quotes instead of escaped quotes
2025-11-07 15:44:18 +11:00
Damien Miller
48d8293956
escape quotes in yaml
2025-11-07 15:42:57 +11:00
Darren Tucker
7e5d404cf7
Support using git for OpenBSD src tree tests.
2025-11-01 08:34:39 +11:00
Darren Tucker
b06a150bc9
Stop testing OpenBSD ubsan until fixed upstream.
2025-09-27 20:20:34 +10:00
Darren Tucker
b4ceca952b
Shorten workflow names to fit in a single line.
2025-09-26 22:28:13 +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
d1d5c8b9b8
Fix nc install some more.
2025-05-22 12:50:25 +10:00
Darren Tucker
49a2412ad2
Fix cvs up of nc.
2025-05-22 12:21:11 +10:00
Darren Tucker
df22801b3f
Install nc during upstream test.
...
This ensures that the installed nc matches the expectations of the
regress tests.
2025-05-22 11:34:04 +10:00
Darren Tucker
96493ebd6f
Fix workflow syntax again.
2025-03-19 17:41:28 +11:00
Darren Tucker
575c43fd4c
Differentiate logfiles better.
2025-03-18 20:54:48 +11:00
Darren Tucker
8a1294638f
Fix another typo in workflow.
2025-03-18 20:27:46 +11:00
Darren Tucker
bd9e6bbcc8
Fix syntax error in workflow.
2025-03-18 20:08:20 +11:00
Darren Tucker
ce88a1bb4a
Identify each logfile while printing them.
2025-03-18 18:13:14 +11:00
Darren Tucker
2e81100763
Fix debug log path.
2025-03-17 21:35:55 +11:00
Darren Tucker
442a449701
Also lazily unmount workspace in case of straggers.
2025-03-14 16:24:06 +11:00
Darren Tucker
20427f6735
Make sure upstream tests run on correct hardware.
2025-03-14 16:17:39 +11:00
Darren Tucker
91a2f70a56
Add OpenBSD upstream test on obsdsnap-arm64.
2025-03-14 13:47:27 +11:00
Darren Tucker
603193e32a
Rerun upstream tests on .sh file changes too.
2024-06-20 18:45:14 +10:00
Darren Tucker
7089b5f843
Move -f to the place needed to restart sshd.
2024-06-19 23:09:05 +10:00
Darren Tucker
d5f83cfd85
Need to supply "-f" to restart sshd.
2024-06-19 21:04:01 +10:00
Darren Tucker
d6218504e1
Restart sshd after installing it for testing.
...
When installing an sshd built without OpenSSL the mismatch between
the running sshd and newly installed sshd-session will cause the
remainder of the test to fail.
2024-06-19 20:36:54 +10:00
Darren Tucker
43e7c1c07c
Port changes from selfhosted to upstream tests.
...
Should get them working again.
2024-03-31 22:26:45 +11: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
edcff77f82
Fix name of OpenBSD upstream CI jobs.
2024-03-26 18:58:58 +11:00
Darren Tucker
2946ed522c
Better short name for OpenBSD upstream CI jobs too.
2024-03-26 17:19:09 +11:00
Darren Tucker
5fc1085128
Be more specific about when to rerun workflows.
2024-03-26 16:50:46 +11:00
Darren Tucker
131fcbcaff
Adjust test jobs for new log directory.
2023-03-01 23:23:02 +11:00
Darren Tucker
abb9a8aadd
Use sudo when resetting perms on directories.
2022-12-18 21:36:25 +11:00
Darren Tucker
2f5664c590
Set group perms on regress dir.
...
This ensures that the tests don't fail due to StrictMode checks.
2022-12-18 21:19:33 +11:00
Darren Tucker
137196300f
Fetch regress logs from obj dir.
2022-12-18 21:13:42 +11:00
Darren Tucker
5f93c48365
obsdsnap test VMs runs-on libvirt too.
2022-12-13 20:59:54 +11:00
Darren Tucker
8386886fb1
Run upstream obsdsnap tests on ephemeral runners.
2022-12-13 20:55:37 +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
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
419aa8a312
Shutdown any VM before trying to check out repo.
...
In the case where the previous run did not clean up, the checkout will
fail as it'll leave a stale mount.
2022-11-08 12:42:52 +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
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
f38cf74f20
Also retest OpenBSD upstream on .yml changes.
2022-05-06 14:50:18 +10:00
Darren Tucker
217b518e0f
Add ubsan minimal testcase on OpenBSD.
...
As suggested by djm@.
2022-05-06 14:39:34 +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
ea13fc830f
Stop testing OpenBSD HEAD on 6.9 and 7.0.
...
HEAD is not guaranteed to work on previous stable branches, and at the
moment is broken due to libfido API changes.
2022-02-11 13:42:36 +11:00