From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 02B10CA0FEB for ; Tue, 26 Aug 2025 14:14:45 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uquO8-0004QX-Ez; Tue, 26 Aug 2025 10:11:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uquO4-0004JT-OG for qemu-devel@nongnu.org; Tue, 26 Aug 2025 10:11:00 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uquO1-0007u1-9B for qemu-devel@nongnu.org; Tue, 26 Aug 2025 10:11:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1756217451; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Er1NO3c65xEqCfViMYLfDJBEkyadtMe6bBh4OjzREf8=; b=WNiaUTlc5Vc7SFxrOtotL3RPvRcmb7zdngmKeDpXz5heAKcxochgfRTgxp6gJRueImkQeN 2fwxy40DkGZ5c5oHbCV3jU9Vc3cJpvu6lVODRxqZJbxkwMFo4MwPhXXINY6MSlPwJSpSSp EB1LJejIrH9D0qApgQYDwzWuFGvM8X8= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-159-oQbt15VvP6mc-PF0vYgQZQ-1; Tue, 26 Aug 2025 10:10:49 -0400 X-MC-Unique: oQbt15VvP6mc-PF0vYgQZQ-1 X-Mimecast-MFC-AGG-ID: oQbt15VvP6mc-PF0vYgQZQ_1756217448 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7699218004D4; Tue, 26 Aug 2025 14:10:48 +0000 (UTC) Received: from redhat.com (unknown [10.42.28.174]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 1AE331800446; Tue, 26 Aug 2025 14:10:45 +0000 (UTC) Date: Tue, 26 Aug 2025 15:10:42 +0100 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= To: Thomas Huth Cc: Gustavo Romero , qemu-devel@nongnu.org, alex.bennee@linaro.org, qemu-arm@nongnu.org, 1844144@gmail.com, Jan Richter Subject: Re: [PATCH 0/4] tests/functional: Adapt reverse_debugging to run w/o Avocado Message-ID: References: <20250819143916.4138035-1-gustavo.romero@linaro.org> <53b6e23f-5328-42c6-9c58-97ddbf3e5b29@redhat.com> <8326014d-114e-47df-89fc-632eb5683632@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8326014d-114e-47df-89fc-632eb5683632@redhat.com> User-Agent: Mutt/2.2.14 (2025-02-20) X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Received-SPF: pass client-ip=170.10.129.124; envelope-from=berrange@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On Tue, Aug 26, 2025 at 09:51:27AM +0200, Thomas Huth wrote: > On 25/08/2025 16.04, Gustavo Romero wrote: > > Hello, Thomas! > > > > On 8/25/25 07:29, Thomas Huth wrote: > > > On 19/08/2025 16.39, Gustavo Romero wrote: > > > > The goal of this series is to remove Avocado as a dependency for running > > > > the reverse_debugging functional test. > > > > > > > > This test, the last one I’m aware of that relies on Avocado, requires it > > > > because of the need for GDB to test reverse stepping and continue. > ... > > > I gave it a try, but this did not work for me, the test was not run > > > at all anymore. Are there any patches needed on top? > > > > hmm that's odd. I'm able to run it with 'make check-functional' and with > > 'meson test'... > > > > This is how I'm running it (let me know if I'm missing something): > ... > > gromero@gromero0:/mnt/git/qemu_$ > > gromero@gromero0:/mnt/git/qemu_/build$ ../configure > > --target-list=aarch64- softmmu --disable-docs > > gromero@gromero0:/mnt/git/qemu_/build$ make -j 32 > > gromero@gromero0:/mnt/git/qemu_/build$ time make -j 15  check-functional > > [1/2] Generating tests/functional/func-precache-aarch64- > > aarch64_reverse_debug with a custom command (wrapped by meson to set > > env) > > 2025-08-25 12:50:04,215 - qemu-test - INFO - Attempting to cache '/home/ > > gromero/.cache/qemu/ > > download/7e1430b81c26bdd0da025eeb8fbd77b5dc961da4364af26e771bd39f379cbbf7' > > 2025-08-25 12:50:04,225 - qemu-test - DEBUG - Using cached asset /home/ > > gromero/.cache/qemu/ > > download/7e1430b81c26bdd0da025eeb8fbd77b5dc961da4364af26e771bd39f379cbbf7 > > for > > https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/29/ > > Everything/aarch64/os/images/pxeboot/vmlinuz > > GDB CMD: /usr/bin/gdb-multiarch -q -n -batch -ex 'set pagination off' > > -ex 'set confirm off' -ex "py > > sys.argv=['/mnt/git/qemu_/tests/functional/ > > test_aarch64_reverse_debug.py']" -x /mnt/git/qemu_/tests/functional/ > > test_aarch64_reverse_debug.py > > [0/1] Running external command precache-functional (wrapped by meson to > > set env) > > make[1]: Entering directory '/mnt/git/qemu_/build' > > [1/6] Generating qemu-version.h with a custom command (wrapped by meson > > to capture output) > > /mnt/git/qemu_/build/pyvenv/bin/meson test  --no-rebuild -t 1 --setup > > thorough  --num-processes 10 --print-errorlogs  --suite func  --suite > > func- quick  --suite func-thorough > >  1/27 qemu:func-thorough+func-aarch64-thorough+thorough / func-aarch64- > > aarch64_virt_gpu                   SKIP              1.95s   0 subtests > > passed > > I tried a couple of times now, and finally realized that it's the > "gdb-multiarch" binary that is missing on Fedora. And as far as I can see, > there is also no package that provides this on Fedora? So if we go ahead > with your patches, this test will only run on certain distros that provide > this binary. 'gdb-multiarch' is a command name invented by Debian. On Fedora, the regular 'gdb' binary is built with support for multiple architectures for the purpose of remote debugging. With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|