On Jul 19, 2024 / 14:07, Shin'ichiro Kawasaki wrote: > Recently, CKI project reported nbd/001 and nbd/002 failure with the > error message "Socket failed: Connection refused". It is suspected nbd- > server is not yet ready when nbd-client connects for the first time. > > To avoid the failure, wait for the nbd-server start listening to the > port at the end of _start_nbd_server(). For that purpose, use > "nbd-client -l" command, which connects to the server and asks to list > available exports. > > Reported-by: Yi Zhang <yi.zhang@xxxxxxxxxx> > Link: https://github.com/osandov/blktests/issues/142 > Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@xxxxxxx> FYI, the patch has got applied.