From nobody Mon Feb 9 17:37:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1632763599; cv=none; d=zohomail.com; s=zohoarc; b=bpMLougwiVnjGz1hzl07OyXcnJFN0DMXPy9+tm/LhSRZpLceL9/No9slio6l8lGWc2lO3SwsjhMYOERrxXRu2205mN06j5/r3hy/s9nnejDT3P36hXwu/59fcT3R4KAIuag0NUfrM3J+T5Pwu59hOqYrtcIouiFHtruXbIOoZrE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632763599; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject; bh=PHBSjBy2Udn0J9NJbjnkI2cwk+chfijVKaYIeQcCmJ4=; b=n5dBquH43xDfeY2ERg6AvH2bRFBBYs2QrX49h66NWLoJtOtv3A+8KbRJ35LvICS47P4eXMt6o5XZft00CCldVqNKxTGGVkKe0wdRRre1cE8BbIZ42KsobNXe3undSCoioHVwgl5jxXhHrTMYtUwtD6/9kc89Jo//xv/6yz5MopM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1632763599992725.5089142147466; Mon, 27 Sep 2021 10:26:39 -0700 (PDT) Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-460-RmiFveUmPt22e9p6fC86OA-1; Mon, 27 Sep 2021 13:26:37 -0400 Received: by mail-wr1-f70.google.com with SMTP id r7-20020a5d6947000000b0015e0f68a63bso14331542wrw.22 for ; Mon, 27 Sep 2021 10:26:37 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (118.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.118]) by smtp.gmail.com with ESMTPSA id h18sm17162794wrb.33.2021.09.27.10.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 10:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1632763599; 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: in-reply-to:in-reply-to:references:references; bh=PHBSjBy2Udn0J9NJbjnkI2cwk+chfijVKaYIeQcCmJ4=; b=SPSe+7O3RPE0FiThWYnQAIj6S3qyz/CIUamE4/4qZNUhx7ALJYfXEdeasA9j2ciMlhKFs9 bLvxRwKs6YLFZQAidaBtAuOtL0Oqol6KJXzm8qOd+sJwgEzCqsMvgCUFPa1CrfJn2yw91D ck0NBEhXu8PhXta/frkSHnTTGcpMHrA= X-MC-Unique: RmiFveUmPt22e9p6fC86OA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PHBSjBy2Udn0J9NJbjnkI2cwk+chfijVKaYIeQcCmJ4=; b=O3rBW6i1pSPenc0oK8DYIfwYv7dPIH6otA+/ad+0KjLbPI9cYZiJ4Ij0R1HVw9C4C8 Ld0RHC9vbxt+tq4/yi2Od5kIzp6wSTjIxz591/HmJZRUde68+Y6YOLvqbw0fJswu/rNV Ij9O+L4sBsEMssAZydK5RgPSI4JueSeGkAm/nDrEe9CZbYVjlQFOsa56xhI+z5GqK/0k MhVBQfDtTluhXa3V0I1Dj+B57gMisqGzI7aW46G48VOqjuvnIv0pgxXe2BeTzy/qr2fl XlPe4+bNOsOaUoEwgHqJKmuTH0XILUG0kcSHp8miDRmfwj7sOadBuf2Mmu45ouOxXM+l S4Hw== X-Gm-Message-State: AOAM5300ycPAXbPILLApyijKbTG9Uziiw3Zt5ZsNeaGxL9OxCMu7Zzm+ oPnoH0fRPr1Fg/5p4t7cm2PqRE73DKjaSL9FEmWohM43OwylBpHDHm+q0gxVtnQtllZ0G/QWpCU wuLsAoV1Ab6Moiw== X-Received: by 2002:a05:600c:4ec6:: with SMTP id g6mr220612wmq.95.1632763596164; Mon, 27 Sep 2021 10:26:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxu5cwzInMFuRRN3V4PgsCsszal0Xrje//gQW3AOs955FXzZoXAVYwYCdfkGl5ykYaVywzxIQ== X-Received: by 2002:a05:600c:4ec6:: with SMTP id g6mr220599wmq.95.1632763596033; Mon, 27 Sep 2021 10:26:36 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: Cc: qemu-devel@nongnu.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Cleber Rosa , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Thomas Huth Subject: [PULL v2 22/22] tests/acceptance: Test powernv machines Date: Mon, 27 Sep 2021 19:26:26 +0200 Message-Id: <20210927172626.2026308-2-philmd@redhat.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210927172626.2026308-1-philmd@redhat.com> References: <20210927172626.2026308-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1632763600338100001 From: C=C3=A9dric Le Goater Fetch the OpenPOWER images to boot the powernv8 and powernv9 machines with a simple PCI layout. Cc: Cleber Rosa Cc: Philippe Mathieu-Daud=C3=A9 Cc: Wainer dos Santos Moschetta Signed-off-by: C=C3=A9dric Le Goater Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20210817093036.1288791-1-clg@kaod.org> --- tests/acceptance/boot_linux_console.py | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index 0a49c0e2760..06fc967f6c4 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -1176,6 +1176,41 @@ def test_ppc64_e500(self): tar_hash =3D '6951d86d644b302898da2fd701739c9406527fe1' self.do_test_advcal_2018('19', tar_hash, 'uImage') =20 + def do_test_ppc64_powernv(self, proc): + images_url =3D ('https://github.com/open-power/op-build/releases/d= ownload/v2.7/') + + kernel_url =3D images_url + 'zImage.epapr' + kernel_hash =3D '0ab237df661727e5392cee97460e8674057a883c5f74381a1= 28fa772588d45cd' + kernel_path =3D self.fetch_asset(kernel_url, asset_hash=3Dkernel_h= ash, + algorithm=3D'sha256') + self.vm.set_console() + self.vm.add_args('-kernel', kernel_path, + '-append', 'console=3Dtty0 console=3Dhvc0', + '-device', 'pcie-pci-bridge,id=3Dbridge1,bus=3Dpc= ie.1,addr=3D0x0', + '-device', 'nvme,bus=3Dpcie.2,addr=3D0x0,serial= =3D1234', + '-device', 'e1000e,bus=3Dbridge1,addr=3D0x3', + '-device', 'nec-usb-xhci,bus=3Dbridge1,addr=3D0x2= ') + self.vm.launch() + + self.wait_for_console_pattern("CPU: " + proc + " generation proces= sor") + self.wait_for_console_pattern("zImage starting: loaded") + self.wait_for_console_pattern("Run /init as init process") + self.wait_for_console_pattern("Creating 1 MTD partitions") + + def test_ppc_powernv8(self): + """ + :avocado: tags=3Darch:ppc64 + :avocado: tags=3Dmachine:powernv8 + """ + self.do_test_ppc64_powernv('P8') + + def test_ppc_powernv9(self): + """ + :avocado: tags=3Darch:ppc64 + :avocado: tags=3Dmachine:powernv9 + """ + self.do_test_ppc64_powernv('P9') + def test_ppc_g3beige(self): """ :avocado: tags=3Darch:ppc --=20 2.31.1