From nobody Sun May 19 23:41:30 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=philmd@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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=1600360808; cv=none; d=zohomail.com; s=zohoarc; b=nGlnatEB//HXDRviclq1dUp+ZHRp/jvIi3q/8AYVf0c0GAHmKIRjvi5CUhKK6ncZoYdN1OkHPc+w19zSn8MwZ+YrhgnfDhc0accV13ZAZneQZS7H1964sMhEqsTSMM8FnJi/7ra9mdliIsQZSZWUYnV09aTwLTTIllpq9KQvqEE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600360808; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=pxU8SWd6ZAx+w8Jr7lSfeojx4hS7gfX9o5nGi6b4XaI=; b=j1u8G+UOQRiXjg7cmRk2sr+LiGl3KQ1Je6JoAbXgebxB++R/4oflDrbTcfPQ5MZ3YrvEpQsGxf8yNWbsVPZr5NOQM3PNI0H/WpDA2ariv503gASFJlLk8sEbiSaXomH+/OaajzgZf0bvSHG5UUWWPdjSB5p71C/exD3L36fCNRA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1600360808928322.8110945891; Thu, 17 Sep 2020 09:40:08 -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-241-RocQaQcWMkKd906b9KmluA-1; Thu, 17 Sep 2020 12:39:58 -0400 Received: by mail-wr1-f70.google.com with SMTP id v5so1084840wrs.17 for ; Thu, 17 Sep 2020 09:39:57 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (65.red-83-57-170.dynamicip.rima-tde.net. [83.57.170.65]) by smtp.gmail.com with ESMTPSA id i26sm100598wmb.17.2020.09.17.09.39.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 09:39:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600360807; 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=pxU8SWd6ZAx+w8Jr7lSfeojx4hS7gfX9o5nGi6b4XaI=; b=P87PaQ01CJNGEw2RFXS2+B1fs2ES9t/wHPHbLSV+Em9y0gXwr9mRTJ/6l72l3tWr9zEV80 0CfPfoQrbX7g9YYzebsm91cn8EpGzHjqPSutkKSA1Mp8o2KE1R7yytQP/5Uxjv/S8c/LAo V0ZgoC+ssJJKPpmDZ2TInUYkFh2F9RQ= X-MC-Unique: RocQaQcWMkKd906b9KmluA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pxU8SWd6ZAx+w8Jr7lSfeojx4hS7gfX9o5nGi6b4XaI=; b=tlirTn/d0oHYPmmL2jAeTBfNb1XLa9PmS2P8CNpJwffnrP7Ddq3cq7tzjTbJNk81Qd D2B7bQeZ2ahEP8rA0ZIZF4yIGOWnsidTRwdJbwCxqlFU1/+c6M9w2cn+dluNDwXiBcXm ccymCCZzmwRU6jqmfvFzvVTZinAQ6eEyN2cOWBxsn+jw9qA+PRamcGYGT0DCAj4bLwo8 hMDKsN2qz7fJY3Yux4ooKsNrroqdk0uUOKwjDYfJr+LWQ/amlcpKzg39UMOtqvz3AHHJ 7I22cUOBIhUsHN4XDQCm9RzsX/D8/h6Ss1JoF3FExUwAe5BxhzKE1My55NM7jTvZuzUd awJw== X-Gm-Message-State: AOAM532zV86X/r0VKHEKMnNudWTFT7QO6nm8RFzkaum/rXu8uWBN8g4e R1d5D7FofYuuoFW2+msXAioBKTN0Sx1PM+fa13M+IAbHutkicBH4xRJc4FOn6E/QdhVU89rEMHc 8rbC69dVzeloGbQ== X-Received: by 2002:adf:d0cb:: with SMTP id z11mr31989859wrh.192.1600360796612; Thu, 17 Sep 2020 09:39:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMF4S5Uw64O2snYIZEoMj4zTAnccDCayPRXthf8jV3o48AYWYXgd8tzikWKtquhL7QigCntQ== X-Received: by 2002:adf:d0cb:: with SMTP id z11mr31989842wrh.192.1600360796425; Thu, 17 Sep 2020 09:39:56 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Cleber Rosa , Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pavel Dovgalyuk , Paolo Bonzini , Eduardo Habkost , Gerd Hoffmann Subject: [PATCH] tests/acceptance: Disable tests dependent of unreliable apt.armbian.com Date: Thu, 17 Sep 2020 18:39:54 +0200 Message-Id: <20200917163954.50514-1-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 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"; text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Armbian servers are not very reliable and confused the GitLab CI users a few times this month (path updated, archives moved, and now the SSL: CERTIFICATE_VERIFY_FAILED "certificate has expired" error). Time to disable these tests. Users can still use the artifacts from the cache (or manually add them to the cache). Signed-off-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Gerd Hoffmann Acked-by: Thomas Huth Reviewed-by: Willian Rampazzo --- tests/acceptance/boot_linux_console.py | 10 ++++++++++ tests/acceptance/replay_kernel.py | 2 ++ 2 files changed, 12 insertions(+) diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot= _linux_console.py index 4a366ce93e4..68534693109 100644 --- a/tests/acceptance/boot_linux_console.py +++ b/tests/acceptance/boot_linux_console.py @@ -485,6 +485,8 @@ def test_arm_exynos4210_initrd(self): self.wait_for_console_pattern('Boot successful.') # TODO user command, for now the uart is stuck =20 + @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), + 'Test artifacts fetched from unreliable apt.armbian.com') def test_arm_cubieboard_initrd(self): """ :avocado: tags=3Darch:arm @@ -525,6 +527,8 @@ def test_arm_cubieboard_initrd(self): 'system-control@1c00000') # cubieboard's reboot is not functioning; omit reboot test. =20 + @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), + 'Test artifacts fetched from unreliable apt.armbian.com') def test_arm_cubieboard_sata(self): """ :avocado: tags=3Darch:arm @@ -651,6 +655,8 @@ def test_arm_quanta_gsj_initrd(self): self.wait_for_console_pattern( 'Give root password for system maintenance') =20 + @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), + 'Test artifacts fetched from unreliable apt.armbian.com') def test_arm_orangepi(self): """ :avocado: tags=3Darch:arm @@ -676,6 +682,8 @@ def test_arm_orangepi(self): console_pattern =3D 'Kernel command line: %s' % kernel_command_line self.wait_for_console_pattern(console_pattern) =20 + @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), + 'Test artifacts fetched from unreliable apt.armbian.com') def test_arm_orangepi_initrd(self): """ :avocado: tags=3Darch:arm @@ -718,6 +726,8 @@ def test_arm_orangepi_initrd(self): # Wait for VM to shut down gracefully self.vm.wait() =20 + @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), + 'Test artifacts fetched from unreliable apt.armbian.com') def test_arm_orangepi_sd(self): """ :avocado: tags=3Darch:arm diff --git a/tests/acceptance/replay_kernel.py b/tests/acceptance/replay_ke= rnel.py index b79fc8daf8e..7b4310fccf3 100644 --- a/tests/acceptance/replay_kernel.py +++ b/tests/acceptance/replay_kernel.py @@ -127,6 +127,8 @@ def test_arm_virt(self): self.run_rr(kernel_path, kernel_command_line, console_pattern, shi= ft=3D1) =20 @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + @skipUnless(os.getenv('ARMBIAN_ARTIFACTS_CACHED'), + 'Test artifacts fetched from unreliable apt.armbian.com') def test_arm_cubieboard_initrd(self): """ :avocado: tags=3Darch:arm --=20 2.26.2