summary refs log tree commit diff
diff options
context:
space:
mode:
authorJacek Galowicz <jacek@galowicz.de>2023-07-30 13:20:44 +0200
committerGitHub <noreply@github.com>2023-07-30 13:20:44 +0200
commitb1b263e5f7f899704c6b592f2096bc8f719dc181 (patch)
treef1db99ed9ea41565faef0e7e99c077d466c70a1d
parent0a5e37e1770dba5c777d29f4449c792ae0c74be3 (diff)
parent84d9a1e808d9a0a10f7485b496b3cbf25430cdaf (diff)
downloadnixpkgs-b1b263e5f7f899704c6b592f2096bc8f719dc181.tar
nixpkgs-b1b263e5f7f899704c6b592f2096bc8f719dc181.tar.gz
nixpkgs-b1b263e5f7f899704c6b592f2096bc8f719dc181.tar.bz2
nixpkgs-b1b263e5f7f899704c6b592f2096bc8f719dc181.tar.lz
nixpkgs-b1b263e5f7f899704c6b592f2096bc8f719dc181.tar.xz
nixpkgs-b1b263e5f7f899704c6b592f2096bc8f719dc181.tar.zst
nixpkgs-b1b263e5f7f899704c6b592f2096bc8f719dc181.zip
Merge pull request #246093 from blaggacao/fix-nixos-tests-log-backdoor-service-failure
nixos/test-driver: log what to do if backdoor service doesn't come oneline
-rw-r--r--nixos/lib/test-driver/test_driver/machine.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/lib/test-driver/test_driver/machine.py b/nixos/lib/test-driver/test_driver/machine.py
index 789dee101f0..da27e875905 100644
--- a/nixos/lib/test-driver/test_driver/machine.py
+++ b/nixos/lib/test-driver/test_driver/machine.py
@@ -833,6 +833,7 @@ class Machine:
             # TODO: do we want to bail after a set number of attempts?
             while not shell_ready(timeout_secs=30):
                 self.log("Guest root shell did not produce any data yet...")
+                self.log("  To debug, enter the VM and run 'systemctl status backdoor.service'.")
 
             while True:
                 chunk = self.shell.recv(1024)