public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Romain Naour <romain.naour@smile.fr>
Cc: buildroot@buildroot.org,  Thomas Huth <huth@tuxfamily.org>,
	 Cyril Bur <cyrilbur@gmail.com>
Subject: Re: [Buildroot] [PATCH 2/3] package/kvm-unit-tests: add some missing deps
Date: Fri, 11 Jul 2025 12:30:15 +0100	[thread overview]
Message-ID: <87ldovrmm0.fsf@draig.linaro.org> (raw)
In-Reply-To: <62e082ee-feb3-40d0-a88e-32ee76db7a8e@smile.fr> (Romain Naour's message of "Sat, 5 Jul 2025 21:09:15 +0200")

Romain Naour <romain.naour@smile.fr> writes:

> Hi Alex, All,
>
> Le 19/06/2025 à 16:48, Alex Bennée a écrit :
>> To run the tests we need a system QEMU, timeout, getconf and nmap-ncat
>> so update the depends for them.
>
<snip>
>
>> +	depends on BR2_PACKAGE_COREUTILS # for timeout
>
> Actually, busybox does support timeout command but this applet is not enabled in
> our default busybox defconfig.
>
> Can you try to enable the timeout applet if kvm-unit-tests package is
> enabled?

Sadly it needs the full coreutils version:

  # which timeout
  /usr/bin/timeout
  # /usr/share/kvm-unit-tests/[   11.768975] platform gpio-keys: deferred probe pending: gpio-keys: failed to get gpio
  # /usr/share/kvm-unit-tests/selftest-setup 
  BUILD_HEAD=
  timeout -k 1s --foreground 90s /usr/bin/qemu-system-aarch64 -nodefaults -machine virt,gic-version=host -accel kvm -cpu host -device virtio-serial-device -device virtconsole,chardev=ctd -chardev testdev,id=ctd -device pci-testdev -display none -serial stdio -kernel _NO_FILE_4Uhere_ -smp 2 -m 256 -append setup smp=2 mem=256 # -initrd /tmp/tmp.SWE9W4
  timeout: unrecognized option '--foreground'
  BusyBox v1.37.0 (2025-07-10 19:55:35 BST) multi-call binary.

  Usage: timeout [-s SIG] [-k KILL_SECS] SECS PROG ARGS

  Run PROG. Send SIG to it if it is not gone in SECS seconds.
  Default SIG: TERM.If it still exists in KILL_SECS seconds, send KILL.
  SKIP selftest-setup (Default SIG: TERM.If it still exists in KILL_SECS seconds, send KILL.)

<snip>

I'm fixing up the other bits now.

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-07-11 11:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-19 14:48 [Buildroot] [PATCH 0/3] kvm-unit-tests: update deps and fine tune qemu Alex Bennée
2025-06-19 14:48 ` [Buildroot] [PATCH 1/3] package/kvm-unit-tests: assume AArch64 supports KVM Alex Bennée
2025-07-05 18:14   ` Romain Naour via buildroot
2025-06-19 14:48 ` [Buildroot] [PATCH 2/3] package/kvm-unit-tests: add some missing deps Alex Bennée
2025-07-05 19:09   ` Romain Naour via buildroot
2025-07-11 11:30     ` Alex Bennée [this message]
2025-06-19 14:48 ` [Buildroot] [PATCH 3/3] package/qemu: introduce kvm and tcg system options Alex Bennée
2025-07-05 19:26   ` Romain Naour via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ldovrmm0.fsf@draig.linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=buildroot@buildroot.org \
    --cc=cyrilbur@gmail.com \
    --cc=huth@tuxfamily.org \
    --cc=romain.naour@smile.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox