From nobody Sat Dec 13 22:56:07 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1751914287; cv=none; d=zohomail.com; s=zohoarc; b=d7O/AnG0JyfHIgZCUkHrSpkQGBbWDNs5oEj6L5Gc7GBYv0Yf2V5dfe8P8bqOLTlHZmwMeaJXXmNkqHJkB0C6K4rbk0f5nZszzfQrfqmq8QKK7xP3isXiFKDUq9qQEZ1OhcRwsgVliDxFIs0i2ozHT9PoT6UOAOSSmREuVRqkoAU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1751914287; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=ozEiUuyCK4fR5f3322lMca9jf6cA7QKPbytM8gfMs2I=; b=RQ8wvCRVTWxGWBUASx7Szk6ITblv5Wdlej72iAs8jB7C4W3hQ2x7ZbwQFsDBO68LqgqmLpLCWCFMyoEYWI0fz/pB/FbD5ymCC3Vt2qwBsLyT0WM2MnMwNtapUWzxgR7UhBS8wDtOtXTfLRQofir5ZVMLhb6sNLroB8Ow01yS5xI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 175191428788134.7272594490762; Mon, 7 Jul 2025 11:51:27 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uYqvR-0002Pf-Ih; Mon, 07 Jul 2025 14:50:49 -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 1uYqsm-0000sv-2a for qemu-devel@nongnu.org; Mon, 07 Jul 2025 14:48:05 -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 1uYqsk-0007q9-0e for qemu-devel@nongnu.org; Mon, 07 Jul 2025 14:48:03 -0400 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-203--INLPmInO_uVvGCe9-UXUA-1; Mon, 07 Jul 2025 14:47:56 -0400 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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 ED0E9188EA63; Mon, 7 Jul 2025 18:47:43 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.44.33.7]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 8A5FB195608F; Mon, 7 Jul 2025 18:47:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1751914079; h=from:from: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; bh=ozEiUuyCK4fR5f3322lMca9jf6cA7QKPbytM8gfMs2I=; b=NwQ+kA4x8MTkcOGGgL62jZcCzgBgH9xwV194VHkuh65V8LpEaT3hyjP0IDJW30Y+mTbekn MM03zorcGV+h/JZUgo/GyBRfTj/jv8xcaHwfbS7J8eXnAOFybAlrKhWNmyDo8Z5A3EAQw8 1ZcJ7Yre+hdXAtiLByRDZNJJLsmU+Oo= X-MC-Unique: -INLPmInO_uVvGCe9-UXUA-1 X-Mimecast-MFC-AGG-ID: -INLPmInO_uVvGCe9-UXUA_1751914075 From: Thomas Huth To: qemu-devel@nongnu.org, Stefan Hajnoczi , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= Cc: qemu-ppc@nongnu.org Subject: [PATCH] tests/functional/test_ppc_bamboo: Replace broken link with working assets Date: Mon, 7 Jul 2025 20:47:36 +0200 Message-ID: <20250707184736.88660-1-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.129.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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=-1, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1751914291775116600 From: Thomas Huth The old image that we used for testing the bamboo machine has disappeared from the internet. Fortunately there is another kernel + initrd provided by C=C3=A9dric that can be used for testing this machine, too. Reported-by: Stefan Hajnoczi Suggested-by: C=C3=A9dric Le Goater Signed-off-by: Thomas Huth Reviewed-by: C=C3=A9dric Le Goater --- tests/functional/test_ppc_bamboo.py | 34 ++++++++++++++++------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/tests/functional/test_ppc_bamboo.py b/tests/functional/test_pp= c_bamboo.py index fddcc24d0da..c634ae7b4a7 100755 --- a/tests/functional/test_ppc_bamboo.py +++ b/tests/functional/test_ppc_bamboo.py @@ -16,28 +16,32 @@ class BambooMachine(QemuSystemTest): =20 timeout =3D 90 =20 - ASSET_IMAGE =3D Asset( - ('http://landley.net/aboriginal/downloads/binaries/' - 'system-image-powerpc-440fp.tar.gz'), - 'c12b58f841c775a0e6df4832a55afe6b74814d1565d08ddeafc1fb949a075c5e') + ASSET_KERNEL =3D Asset( + ('https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/' + 'buildroot/qemu_ppc_bamboo-2023.11-8-gdcd9f0f6eb-20240105/vmlinux= '), + 'a2e12eb45b73491ac62fc0bbeb68dead0dc5c0f22cf83146558389209b420ad1') + ASSET_INITRD =3D Asset( + ('https://github.com/legoater/qemu-ppc-boot/raw/refs/heads/main/' + 'buildroot/qemu_ppc_bamboo-2023.11-8-gdcd9f0f6eb-20240105/rootfs.= cpio'), + 'd2a36bdb8763b389765dc8c29d4904cec2bd001c587f92e85ab9eb10d5ddda54') =20 def test_ppc_bamboo(self): self.set_machine('bamboo') self.require_accelerator("tcg") self.require_netdev('user') - self.archive_extract(self.ASSET_IMAGE) + + kernel =3D self.ASSET_KERNEL.fetch() + initrd =3D self.ASSET_INITRD.fetch() + self.vm.set_console() - self.vm.add_args('-kernel', - self.scratch_file('system-image-powerpc-440fp', - 'linux'), - '-initrd', - self.scratch_file('system-image-powerpc-440fp', - 'rootfs.cpio.gz'), - '-nic', 'user,model=3Drtl8139,restrict=3Don') + self.vm.add_args('-kernel', kernel, + '-initrd', initrd, + '-nic', 'user,model=3Dvirtio-net-pci,restrict=3Do= n') self.vm.launch() - wait_for_console_pattern(self, 'Type exit when done') - exec_command_and_wait_for_pattern(self, 'ping 10.0.2.2', - '10.0.2.2 is alive!') + wait_for_console_pattern(self, 'buildroot login:') + exec_command_and_wait_for_pattern(self, 'root', '#') + exec_command_and_wait_for_pattern(self, 'ping -c1 10.0.2.2', + '1 packets transmitted, 1 packets received, 0% packet loss= ') exec_command_and_wait_for_pattern(self, 'halt', 'System Halted') =20 if __name__ =3D=3D '__main__': --=20 2.50.0