#1092808 /usr/bin/autopkgtest-virt-null: adt virt quit command doesn't give ok response

#1092808#5
Date:
2025-01-11 21:10:47 UTC
From:
To:
The manual says:

  Command: quit

  Response:

  ok

The implementation, however, doesn't say "ok".  It just exits.
I tested
  - trixie autopkgtest-virt-null
  - trixie autopkgtest-virt-schroot
  - bookworm autopkgtest-virt-null
and the behaviour was identical:

  $ autopkgtest-virt-schroot build
  ok
  open
  ok /tmp/autopkgtest.nLYAtd
  close
  qok
  uit
  $ autopkgtest-virt-schroot build
  ok
  quit
  $ autopkgtest-virt-schroot build
  ok
  open
  ok /tmp/autopkgtest.P4BPkr
  quit
  $

I suggest that this should possibly be dealt with by changing the
protocol spec rather than the implementation.

The spec should probably encourage the caller to wait for EOF and to
check the virt server's exit status.

#1092808#8
Date:
2026-09-21 09:31:40 UTC
From:
To:
Hello,

Bug #1092808 in autopkgtest reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ci-team/autopkgtest/-/commit/3b7927fcd75b2bf025dcd5ec484dcaf0b3bb2882
------------------------------------------------------------------------
protocol spec: on 'quit', virt-servers do not reply 'ok'

This adapts the spec to how virt-server actually behave.

Closes: #1092808
Gbp-Dch: Full
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1092808

#1092808#13
Date:
2026-09-21 13:43:01 UTC
From:
To:
Hello,

Bug #1092808 in autopkgtest reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ci-team/autopkgtest/-/commit/3b7927fcd75b2bf025dcd5ec484dcaf0b3bb2882
------------------------------------------------------------------------
protocol spec: on 'quit', virt-servers do not reply 'ok'

This adapts the spec to how virt-server actually behave.

Closes: #1092808
Gbp-Dch: Full
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1092808