summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src/vm
AgeCommit message (Collapse)AuthorFilesLines
2025-11-03Add extra logging when test-manager connects to test-runnerMarkus Pettersson1-1/+5
2025-11-03Fix invocation of `sysctl`, `nft` & `dnsmasq` in test-managerMarkus Pettersson1-20/+15
Run them by absolute path instead. Non-root users does not have `sbin` in path on Debian.
2025-09-15Update ipnetwork and convert LazyLock to constJoakim Hulthe1-6/+8
2025-09-15Add IPv6 to test-manager linux networkJoakim Hulthe1-20/+62
2025-08-19Signal wireguard-go to exit gracefully when test-manager exitsJoakim Hulthe1-30/+55
`Command::kill_on_drop` would send a SIGKILL to the `sudo`-process, which does not propagate to the wireguard-go child process. This is resolved by sending a SIGTERM instead.
2025-08-05Retry SSH provisioning in test frameworkDavid Lönnhager1-8/+20
2025-07-10Run `cargo fmt` in test-repoSebastian Holmin4-5/+5
2025-07-09Inline format argumentsLinus Färnstrand1-1/+1
2025-03-18Replace to_owned with clone where that's implicitly what was going onLinus Färnstrand1-1/+1
2025-02-04Add CPU and memory config options to test frameworkDavid Lönnhager2-2/+40
2025-01-08Rewrite in functional styleSebastian Holmin1-23/+21
2025-01-08Update docstringSebastian Holmin1-3/+2
2025-01-08Fix bridge interface IP on macOSSebastian Holmin3-28/+32
The IP of the bridge interface was incorrectly assumed to be constant, but has at some point changed. This broke the algorithm for finding the bridge interface. Replace the algorithm with one based on the guest IP, which is given by `tart`. As the bridge IP is no longer constant, we also expose it through the `TEST_CONFIG`.
2024-12-17Add better APIs for making shh:ed files executableMarkus Pettersson1-12/+41
2024-12-17Fix remote temp Windows path being UNIX-likeMarkus Pettersson1-39/+55
2024-12-17Use SFTP instead of SCP to copy fileMarkus Pettersson1-13/+4
Fix SCP not working on well with Windows guests. Switch over to SFTP instead
2024-08-27Use std LazyLock instead of once_cell LazyDavid Lönnhager1-3/+3
2024-08-22Spawn test processes as an unprivileged user by defaultDavid Lönnhager1-1/+2
Fixes an issue where the connection-checker is allowed to leak traffic on macOS
2024-08-16Improve logs and reduce verbositySebastian Holmin2-15/+16
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-08-14Add `--test-runner-dir` flagSebastian Holmin2-16/+3
2024-08-12Replace OpenVPN CA certificate using CLI flagMarkus Pettersson5-58/+67
2024-08-09Improve error messagesSebastian Holmin1-1/+4
2024-08-09Make logs less spammySebastian Holmin2-2/+2
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
2024-08-09Add `--gui-package` flagSebastian Holmin1-6/+6
2024-08-07Log dnsmasq output after initial setupDavid Lönnhager1-5/+16
2024-08-07Disable debug mode for dnsmasq in test frameworkDavid Lönnhager1-1/+3
Fixes breakage after reboots
2024-07-19Rename `--previous-app` to `--app-package-to-upgrade-from`Sebastian Holmin1-5/+7
2024-07-19Rename `--current-app` to `--app-package`Sebastian Holmin1-4/+4
2024-07-19Replace implicit cache folder with `--package-folder` argSebastian Holmin1-2/+2
2024-07-19Make previous app version and gui e2e binaries optionalSebastian Holmin1-24/+30
2024-07-16Account for CARGO_TARGET_DIR in e2e test-managerJoakim Hulthe1-3/+7
2024-05-16Increase boot timeout for testing guestsDavid Lönnhager1-1/+1
2024-04-17Remove dummy interfacesDavid Lönnhager3-70/+3
2024-04-09Run `cargo +nightly fmt`Sebastian Holmin4-12/+19
2024-03-20Test leaking TCP/UDP/ICMP packets in split tunnelJoakim Hulthe1-0/+5
2024-03-20Make OVMF paths configurable per VMJoakim Hulthe1-8/+26
2024-03-08Add MTU detection integration test for Linux and WindowsSebastian Holmin1-1/+1
Add dependency `scopeguard` for cleaning up nftables ruleset.
2024-02-27Replace err_derive with thiserrorJoakim Hulthe2-36/+35
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-07Add SOCKS5 server to test-managerDavid Lönnhager1-0/+3
2024-01-09Exit immediately if ssh-setup.sh failsDavid Lönnhager1-1/+10
2024-01-04Fix code not following new linting rules in testing frameworkLinus Färnstrand1-1/+1
2024-01-02Fix clippy lintsMarkus Pettersson1-1/+1
2023-10-24Set up dummy interface on macOSDavid Lönnhager1-2/+36
2023-10-24Make WireGuard interface temporary during test runDavid Lönnhager1-18/+45
2023-10-20Add desktop end-to-end testsDavid Lönnhager11-0/+1583
Co-authored-by: Jonathan <jonathan@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>