From: Frantisek Sumsal Date: Fri, 27 May 2022 09:41:55 +0000 (+0200) Subject: test: bump the post-reboot expect() timeout X-Git-Tag: v252-rc1~920^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e624bb13b18b241d00c8d375d5774acde25aa3f;p=thirdparty%2Fsystemd.git test: bump the post-reboot expect() timeout as it may take a bit longer on slower machines: ``` [ OK ] Reached target System Reboot. Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy Failed to open watchdog device /dev/watchdog0, ignoring: No such file or directory binfmt_misc is not mounted, not detaching entries. Sending SIGTERM to remaining processes... ERROR:test-shutdown:Timeout exceeded. command: /systemd-meson-build/systemd-nspawn <...snip...> buffer (last 100 chars): 'mbinfmt_misc is not mounted, not detaching entries.\x1b[0m\r\nSending SIGTERM to remaining processes...\r\n' before (last 100 chars): 'mbinfmt_misc is not mounted, not detaching entries.\x1b[0m\r\nSending SIGTERM to remaining processes...\r\n' after: match: None match_index: None exitstatus: None flag_eof: False pid: 572528 child_fd: 5 closed: False timeout: 30 delimiter: logfile: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> logfile_read: None logfile_send: None maxread: 2000 ignorecase: False searchwindowsize: None delaybeforesend: 0.05 delayafterclose: 0.1 delayafterterminate: 0.1 searcher: searcher_re: 0: re.compile('H login: ') INFO:test-shutdown:killing child pid 572528 E: nspawn failed with exit code 1 ``` --- diff --git a/test/test-shutdown.py b/test/test-shutdown.py index d34e2249422..1a91753b87a 100755 --- a/test/test-shutdown.py +++ b/test/test-shutdown.py @@ -73,7 +73,7 @@ def run(args): logger.info("waiting for reboot") - console.expect('H login: ', 10) + console.expect('H login: ', 30) console.sendline('root') console.expect('bash.*# ', 10)