From 6e4e330c661fc4fde56a2d012353c8b0f2bcc5f1 Mon Sep 17 00:00:00 2001 From: w3cj Date: Fri, 6 Nov 2026 06:09:06 -0700 Subject: [PATCH] test(golden): limactl list --json of a running VM, captured on a Linux host Captured with mise run e2e -- --golden --only images,project on the Debian 13 x86_64 host (Lima v2.2.1, QEMU). TestGoldenLimactlList reads it with the other systems' fixtures. Co-Authored-By: Claude Opus 5.5 --- testdata/golden/linux/limactl-list-running.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 testdata/golden/linux/limactl-list-running.json diff --git a/testdata/golden/linux/limactl-list-running.json b/testdata/golden/linux/limactl-list-running.json new file mode 100644 index 00000000..df9c0d53 --- /dev/null +++ b/testdata/golden/linux/limactl-list-running.json @@ -0,0 +1 @@ +{"name":"devvm-web-ba5fe7f4a4ba64","hostname":"lima-devvm-web-ba5fe7f4a4ba64","status":"Running","dir":"/home/me/.lt-e2e-go/devvm-web-ba5fe7f4a4ba64","vmType":"qemu","arch":"x86_64","cpus":2,"memory":3221225472,"disk":128849018880,"sshLocalPort":21178,"sshConfigFile":"/home/me/.lt-e2e-go/devvm-web-ba5fe7f4a4ba64/ssh.config","hostAgentPID":3493138,"driverPID":3493161,"config":{"vmType":"qemu","os":"Linux","arch":"x86_64","images":[{"location":"https://cloud-images.ubuntu.com/releases/resolute/release-20261016/ubuntu-26.04-server-cloudimg-amd64.img","arch":"x86_64","digest":"sha256:5645d0318ad21f643ebb1ac4567514620e9893380b07b0201fda163baa5b7eb5"}],"cpus":2,"memory":"3GiB","disk":"120GiB","mounts":[{"location":"/tmp/devvm-go-e2e/p/web","mountPoint":"/tmp/devvm-go-e2e/p/web","writable":true,"sshfs":{"cache":true,"followSymlinks":false,"sftpDriver":""},"9p":{"securityModel":"none","protocolVersion":"9p2000.L","msize":"128KiB","cache":"mmap"}},{"location":"/tmp/devvm-go-e2e/data/devvm/tools","mountPoint":"/mnt/devvm-tools","writable":false,"sshfs":{"cache":true,"followSymlinks":false,"sftpDriver":""},"9p":{"securityModel":"none","protocolVersion":"9p2000.L","msize":"128KiB","cache":"fscache"}}],"mountInotify":false,"ssh":{"localPort":21178,"loadDotSSHPubKeys":false,"forwardAgent":false,"forwardX11":false,"forwardX11Trusted":false},"firmware":{"legacyBIOS":false},"audio":{"device":"","interface":""},"video":{"display":"none"},"upgradePackages":false,"containerd":{"system":false,"user":false,"archives":[{"location":"https://github.com/containerd/nerdctl/releases/download/v2.4.1/nerdctl-full-2.4.1-linux-amd64.tar.gz","arch":"x86_64","digest":"sha256:ff018f11ac2f1354bf7b3aaaca6e0b52d81139c746a89134744d0b7be3a0e62f"},{"location":"https://github.com/containerd/nerdctl/releases/download/v2.4.1/nerdctl-full-2.4.1-linux-arm64.tar.gz","arch":"aarch64","digest":"sha256:2deffe14625f93866f90a8f265d0f59d6fa476c7dc54b98adb327b1b4613efd4"}]},"guestInstallPrefix":"/usr/local","portForwards":[{"guestIPMustBeZero":false,"guestIP":"127.0.0.1","guestPortRange":[1,65535],"hostIP":"127.0.0.1","hostPortRange":[1,65535],"proto":"any","ignore":true},{"guestIPMustBeZero":true,"guestIP":"0.0.0.0","guestPortRange":[1,65535],"hostIP":"127.0.0.1","hostPortRange":[1,65535],"proto":"any","ignore":true},{"guestIPMustBeZero":false,"guestIP":"::","guestPortRange":[1,65535],"hostIP":"127.0.0.1","hostPortRange":[1,65535],"proto":"any","ignore":true}],"env":{"NAME":"value"},"param":{"internal_netplanOptional":"true"},"hostResolver":{"enabled":true,"ipv6":false},"propagateProxyEnv":false,"caCerts":{"removeDefaults":false},"plain":false,"timezone":"UTC","nestedVirtualization":false,"user":{"name":"me","comment":"me","home":"/home/me.guest","shell":"/bin/bash","uid":1000,"passwordlessSudo":true},"tpm":false},"sshAddress":"127.0.0.1","protected":false,"limaVersion":"v2.2.1","param":{"internal_netplanOptional":"true"},"autoStartedIdentifier":"session-2795.scope","HostOS":"linux","HostArch":"x86_64","LimaHome":"/home/me/.lt-e2e-go","IdentityFile":"/home/me/.lt-e2e-go/_config/user"}