Merge pull request 'Disable some broken arm64 vm tests' (#2569) from sandbox into main

This commit is contained in:
clan-bot
2024-12-06 16:10:58 +00:00
3 changed files with 14 additions and 8 deletions

View File

@@ -135,7 +135,10 @@
perSystem =
{ pkgs, ... }:
{
checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux) {
# Needs investigation on aarch64-linux
# vm-test-run-test-backups> qemu-kvm: No machine specified, and there is no default
# vm-test-run-test-backups> Use -machine help to list supported machines
checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux && pkgs.stdenv.hostPlatform.system != "aarch64-linux") {
test-backups = (import ../lib/test-base.nix) {
name = "test-backups";
nodes.machine = {

View File

@@ -50,7 +50,16 @@
qemu-common = import "${inputs.nixpkgs}/nixos/lib/qemu-common.nix" { inherit lib pkgs; };
in
{
checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux) {
# On aarch64-linux, hangs on reboot with after installation:
# vm-test-run-test-installation> (finished: waiting for the VM to power off, in 1.97 seconds)
# vm-test-run-test-installation>
# vm-test-run-test-installation> new_machine: must succeed: cat /etc/install-successful
# vm-test-run-test-installation> new_machine: waiting for the VM to finish booting
# vm-test-run-test-installation> new_machine: starting vm
# vm-test-run-test-installation> new_machine: QEMU running (pid 80)
# vm-test-run-test-installation> new_machine: Guest root shell did not produce any data yet...
# vm-test-run-test-installation> new_machine: To debug, enter the VM and run 'systemctl status backdoor.service'.
checks = pkgs.lib.mkIf (pkgs.stdenv.isLinux && pkgs.stdenv.hostPlatform.system != "aarch64-linux") {
test-installation = (import ../lib/test-base.nix) {
name = "test-installation";
nodes.target = {

View File

@@ -61,12 +61,6 @@
json metadata about the vm
'';
};
iso = lib.mkOption {
type = lib.types.path;
description = ''
A generated iso of the machine for the flash command
'';
};
};
};
description = ''