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
This commit is contained in:
Jacek Galowicz 2023-07-30 13:20:44 +02:00 committed by GitHub
commit b1b263e5f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)