From nobody Tue Nov 18 07:46:14 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1608561171; cv=none; d=zohomail.com; s=zohoarc; b=L1SXbkYT6UywJ7Jx9RweGWV6mxTNoLvurGNWyBcqHWg56EfJLRDevegMCp1b0Mw/UV/B2Dyuzex6YLGumM20v5yqwjB7iKPd2+iti3KK1/9rMNH92A75PBawRtpfAy9ULf9j/G/JItt5yPXISvIQ6vdzyjforCUHbb/gXfJhtz4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608561171; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=G82qgwCpQt/kqZyPE+ExwIhpZPrxCfodPJCygbB634c=; b=R9fVh8LaYbuQDAVC8DgT4K2a23c6Wkik7NZwYMOw6BN5V8rK/jGyyU9iQDEAe6aUpHc5R9SlqUyOudP0rdzPlhniB8lFdhPmjjhRz6iW6i9t28jg1sLA2NnPk1dU/IMi4iV167kxILzcVKYwCjKcTh+TmUsNIUQb7A1T4Fy1jWo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1608561171905663.4828703971685; Mon, 21 Dec 2020 06:32:51 -0800 (PST) Received: from localhost ([::1]:54308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krLYj-0000yO-VK for importer@patchew.org; Mon, 21 Dec 2020 08:49:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krLV7-0005QJ-A2 for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:25 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:21523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1krLV3-0003XU-Kv for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:25 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-136-Kc_vZdC8MhivI-SuTdWELQ-1; Mon, 21 Dec 2020 08:45:14 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 68DDE107ACE6; Mon, 21 Dec 2020 13:45:13 +0000 (UTC) Received: from thuth.com (ovpn-113-232.ams2.redhat.com [10.36.113.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id B94345D9CA; Mon, 21 Dec 2020 13:45:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608558320; 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=G82qgwCpQt/kqZyPE+ExwIhpZPrxCfodPJCygbB634c=; b=ewkgYM19GgGXQEK86pxjRBWTMrfM4Tv6NhVPJTBUCjK/E7VBAHWeABWCGI/aLiUlgZSdfB XspunwHKjJ19WujE2++J3IMBzpZUray7wQ+MBoELPmG6/88qqVvh84/FunBnvUs9CqLH4R auYW2UQ/5gQ2WRBUy+RAfxmTm5kaN1M= X-MC-Unique: Kc_vZdC8MhivI-SuTdWELQ-1 From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Subject: [PULL 1/5] fuzz: Add more i386 configurations for fuzzing Date: Mon, 21 Dec 2020 14:45:00 +0100 Message-Id: <20201221134504.764-2-thuth@redhat.com> In-Reply-To: <20201221134504.764-1-thuth@redhat.com> References: <20201221134504.764-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=63.128.21.124; envelope-from=thuth@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_H4=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Bulekov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) From: Alexander Bulekov This adds configurations for fuzzing the following devices on oss-fuzz: * vmxnet3 CC: Dmitry Fleytman * ne2k * pcnet * rtl8139 CC: Jason Wang * eepro100 CC: Stefan Weil * sdhci CC: Philippe Mathieu-Daud=C3=A9 * ehci * ohci * ac97 * cs4231a * es1370 * sb16 CC: Gerd Hoffmann * megasas CC: Hannes Reinecke * parallel CC: Michael S. Tsirkin CC: Paolo Bonzini Signed-off-by: Alexander Bulekov Message-Id: <20201123184352.242907-1-alxndr@bu.edu> Signed-off-by: Thomas Huth --- tests/qtest/fuzz/generic_fuzz_configs.h | 80 +++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/tests/qtest/fuzz/generic_fuzz_configs.h b/tests/qtest/fuzz/gen= eric_fuzz_configs.h index b4c5fefeca..fbc9779f7f 100644 --- a/tests/qtest/fuzz/generic_fuzz_configs.h +++ b/tests/qtest/fuzz/generic_fuzz_configs.h @@ -114,6 +114,86 @@ const generic_fuzz_config predefined_configs[] =3D { .name =3D "pc-q35", .args =3D "-machine q35", .objects =3D "*", + },{ + .name =3D "vmxnet3", + .args =3D "-machine q35 -nodefaults " + "-device vmxnet3,netdev=3Dnet0 -netdev user,id=3Dnet0", + .objects =3D "vmxnet3" + },{ + .name =3D "ne2k_pci", + .args =3D "-machine q35 -nodefaults " + "-device ne2k_pci,netdev=3Dnet0 -netdev user,id=3Dnet0", + .objects =3D "ne2k*" + },{ + .name =3D "pcnet", + .args =3D "-machine q35 -nodefaults " + "-device pcnet,netdev=3Dnet0 -netdev user,id=3Dnet0", + .objects =3D "pcnet" + },{ + .name =3D "rtl8139", + .args =3D "-machine q35 -nodefaults " + "-device rtl8139,netdev=3Dnet0 -netdev user,id=3Dnet0", + .objects =3D "rtl8139" + },{ + .name =3D "i82550", + .args =3D "-machine q35 -nodefaults " + "-device i82550,netdev=3Dnet0 -netdev user,id=3Dnet0", + .objects =3D "eepro*" + },{ + .name =3D "sdhci-v3", + .args =3D "-nodefaults -device sdhci-pci,sd-spec-version=3D3 " + "-device sd-card,drive=3Dmydrive " + "-drive if=3Dsd,index=3D0,file=3Dnull-co://,format=3Draw,id=3Dmydr= ive -nographic", + .objects =3D "sd*" + },{ + .name =3D "ehci", + .args =3D "-machine q35 -nodefaults " + "-device ich9-usb-ehci1,bus=3Dpcie.0,addr=3D1d.7," + "multifunction=3Don,id=3Dich9-ehci-1 " + "-device ich9-usb-uhci1,bus=3Dpcie.0,addr=3D1d.0," + "multifunction=3Don,masterbus=3Dich9-ehci-1.0,firstport=3D0 " + "-device ich9-usb-uhci2,bus=3Dpcie.0,addr=3D1d.1," + "multifunction=3Don,masterbus=3Dich9-ehci-1.0,firstport=3D2 " + "-device ich9-usb-uhci3,bus=3Dpcie.0,addr=3D1d.2," + "multifunction=3Don,masterbus=3Dich9-ehci-1.0,firstport=3D4 " + "-drive if=3Dnone,id=3Dusbcdrom,media=3Dcdrom " + "-device usb-tablet,bus=3Dich9-ehci-1.0,port=3D1,usb_version=3D1 " + "-device usb-storage,bus=3Dich9-ehci-1.0,port=3D2,drive=3Dusbcdrom= ", + .objects =3D "*usb* *hci*", + },{ + .name =3D "ohci", + .args =3D "-machine q35 -nodefaults -device pci-ohci -device usb-= kbd", + .objects =3D "*usb* *ohci*", + },{ + .name =3D "megaraid", + .args =3D "-machine q35 -nodefaults -device megasas -device scsi-c= d,drive=3Dnull0 " + "-blockdev driver=3Dnull-co,read-zeroes=3Don,node-name=3Dnull0", + .objects =3D "megasas*", + },{ + .name =3D "ac97", + .args =3D "-machine q35 -nodefaults " + "-device ac97,audiodev=3Dsnd0 -audiodev none,id=3Dsnd0 -nodefaults= ", + .objects =3D "ac97*", + },{ + .name =3D "cs4231a", + .args =3D "-machine q35 -nodefaults " + "-device cs4231a,audiodev=3Dsnd0 -audiodev none,id=3Dsnd0 -nodefau= lts", + .objects =3D "cs4231a* i8257*", + },{ + .name =3D "es1370", + .args =3D "-machine q35 -nodefaults " + "-device es1370,audiodev=3Dsnd0 -audiodev none,id=3Dsnd0 -nodefaul= ts", + .objects =3D "es1370*", + },{ + .name =3D "sb16", + .args =3D "-machine q35 -nodefaults " + "-device sb16,audiodev=3Dsnd0 -audiodev none,id=3Dsnd0 -nodefaults= ", + .objects =3D "sb16* i8257*", + },{ + .name =3D "parallel", + .args =3D "-machine q35 -nodefaults " + "-parallel file:/dev/null", + .objects =3D "parallel*", } }; =20 --=20 2.27.0 From nobody Tue Nov 18 07:46:14 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1608569923; cv=none; d=zohomail.com; s=zohoarc; b=DYOXPhUHjGsZY/EFLTjB+Xvqzn40d9SBiUNV2CbUxCtRuVKjA8EKtBmTseFeheLbUj8tcyFopsxztIC4lNl+7UQS1ZEgxDLJ5itMtW6nBg51IA4vOk0+jquqGOasFh7RAeWirVHLbc0JffECi6SSq1okcd5BneoQavRiSeJeKrQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608569923; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=XtQzKNXjYD4lFF08F+TTwiC5ZxxU5jwPrRyrZnivy38=; b=Ar2iM+EKBwHP/OChJkeWB0fZPL7y0egTBcvTO0aaREl/SFAtCnoCZMYMPTvtfTLfI1caFfCc06QeDYClRYVDnBnUEMUBEeusTC4soYYPpnnz4W6DLUJmceSCaBV8/2Lj9tR1r2nOUI2apLJFBZ1yMDRRjvReahplolvy3mld6vA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1608569923572117.65169879733207; Mon, 21 Dec 2020 08:58:43 -0800 (PST) Received: from localhost ([::1]:48104 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krLX4-0006p3-QL for importer@patchew.org; Mon, 21 Dec 2020 08:47:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58328) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krLV6-0005PZ-DA for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:24 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:27434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1krLV1-0003WS-SV for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:24 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-343-ePtAD-PHOFKiiU2UWhBU0g-1; Mon, 21 Dec 2020 08:45:16 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 10D7B800D55; Mon, 21 Dec 2020 13:45:15 +0000 (UTC) Received: from thuth.com (ovpn-113-232.ams2.redhat.com [10.36.113.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id C6F7D5D9CA; Mon, 21 Dec 2020 13:45:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608558318; 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=XtQzKNXjYD4lFF08F+TTwiC5ZxxU5jwPrRyrZnivy38=; b=XI0Kd/Y/kaSJ8yUe0IBpDpvJVoDHozDnTEkNRCLnxnMstrs776dN+thNVORwW4GP4NWd42 t2RL7CiFQoe3OgyucAP22br9Svf6GGoSP7NvqrncbIWtDAuOUW7DiipJTrxl2AsCNXW70L LhyOIhLv6NWXVuvhykW8YW0BGXGYI9I= X-MC-Unique: ePtAD-PHOFKiiU2UWhBU0g-1 From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Subject: [PULL 2/5] fuzz: fix the generic-fuzz-floppy config Date: Mon, 21 Dec 2020 14:45:01 +0100 Message-Id: <20201221134504.764-3-thuth@redhat.com> In-Reply-To: <20201221134504.764-1-thuth@redhat.com> References: <20201221134504.764-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable 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=216.205.24.124; envelope-from=thuth@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_H3=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Bulekov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Alexander Bulekov On the pc-i440fx machine, the floppy drive relies on the i8257 DMA controller. Add this device to the floppy fuzzer config, and silence the warning about a missing format specifier for the null-co:// drive. Signed-off-by: Alexander Bulekov Message-Id: <20201216203328.41112-1-alxndr@bu.edu> Signed-off-by: Thomas Huth --- tests/qtest/fuzz/generic_fuzz_configs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qtest/fuzz/generic_fuzz_configs.h b/tests/qtest/fuzz/gen= eric_fuzz_configs.h index fbc9779f7f..7fed035345 100644 --- a/tests/qtest/fuzz/generic_fuzz_configs.h +++ b/tests/qtest/fuzz/generic_fuzz_configs.h @@ -92,9 +92,9 @@ const generic_fuzz_config predefined_configs[] =3D { },{ .name =3D "floppy", .args =3D "-machine pc -nodefaults -device floppy,id=3Dfloppy0 " - "-drive id=3Ddisk0,file=3Dnull-co://,file.read-zeroes=3Don,if=3Dno= ne " + "-drive id=3Ddisk0,file=3Dnull-co://,file.read-zeroes=3Don,if=3Dno= ne,format=3Draw " "-device floppy,drive=3Ddisk0,drive-type=3D288", - .objects =3D "fd* floppy*", + .objects =3D "fd* floppy* i8257", },{ .name =3D "xhci", .args =3D "-machine q35 -nodefaults " --=20 2.27.0 From nobody Tue Nov 18 07:46:14 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1608561154; cv=none; d=zohomail.com; s=zohoarc; b=buMNpk+MHXs3MmeBUxslBFEM8xii0VuBjwg2jZFS62bns/adr+F8V2DNjrCKqcRcytm+hSkm9rgQvDthDgT5YSvw0ENrQJWjLM+rdV+MjBakBWB4p7Nt/U51QGysAeT7W8VJRMorPn8vsdgoQKsUVsWDbX7pW+4a/VE1ur81TnQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608561154; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=SKlsNlyOM6qaQv+2YX/2kBlIJ+0Ub6VFngW+2JKEpJQ=; b=lBJdeHLlhDZW1TPtrEJvSoEPA5NvXrVXfq12dMeHxmhOcwJZwS0XEmeDPEm7cHn53dQbDVFXGmrJ2IJCFa0DJr23cZJz0mr0I1US8aBBBdL++LbcqkUoFLkkD5peT3KhsU/g3dBFlg+lmb4uwSJHiihLLhW0bWuDcX973KI5yCQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1608561154049987.5725350141498; Mon, 21 Dec 2020 06:32:34 -0800 (PST) Received: from localhost ([::1]:53772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krLYb-0000lI-PE for importer@patchew.org; Mon, 21 Dec 2020 08:49:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krLV9-0005Rf-Fv for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:29 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:23583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1krLV4-0003Yp-8b for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:27 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-337-5fYaNaSfOXa1YhEEE4dTfA-1; Mon, 21 Dec 2020 08:45:18 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DC83D801B15; Mon, 21 Dec 2020 13:45:16 +0000 (UTC) Received: from thuth.com (ovpn-113-232.ams2.redhat.com [10.36.113.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6F05C5D9CA; Mon, 21 Dec 2020 13:45:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608558321; 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=SKlsNlyOM6qaQv+2YX/2kBlIJ+0Ub6VFngW+2JKEpJQ=; b=f9cOsGoiVLttUhU4kq6q3Sl9AOlHT42+aXkmkZLXgKAUS3Sr1+P9XGZe4OJEhUAfn18dJh MfpBenbKqh6YpjZkrJZ5tXeRSv2fH2LXf1OQccTTXb12XVElTMaNTxkSSd5m3I4138gT7B mBbz5b5WtmirMAjTwyG0fjdwaR19ZJ0= X-MC-Unique: 5fYaNaSfOXa1YhEEE4dTfA-1 From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Subject: [PULL 3/5] tests/acceptance: Bump avocado requirements to 83.0 Date: Mon, 21 Dec 2020 14:45:02 +0100 Message-Id: <20201221134504.764-4-thuth@redhat.com> In-Reply-To: <20201221134504.764-1-thuth@redhat.com> References: <20201221134504.764-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable 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=216.205.24.124; envelope-from=thuth@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_H3=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Bulekov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Wainer dos Santos Moschetta To use Avocado's testlogs plug-in on CI it is required to use its 83.0 or greater version. Signed-off-by: Wainer dos Santos Moschetta Reviewed-by: Willian Rampazzo Message-Id: <20201211183827.915232-2-wainersm@redhat.com> Signed-off-by: Thomas Huth --- tests/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index a1c631fa59..62e8ffd28c 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1,5 +1,5 @@ # Add Python module requirements, one per line, to be installed # in the tests/venv Python virtual environment. For more info, # refer to: https://pip.pypa.io/en/stable/user_guide/#id1 -avocado-framework=3D=3D81.0 +avocado-framework=3D=3D83.0 pycdlib=3D=3D1.11.0 --=20 2.27.0 From nobody Tue Nov 18 07:46:14 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1608561059; cv=none; d=zohomail.com; s=zohoarc; b=fHzqGf0be59H0FzIAXf7oAbhB8UuolGrT9UOKusfrYy/hIYoGKJbU9DePZ1LoDBhgBvtd8AXn8yRZUxokaLK6hdnC0nTC3jvPQXVDC+l5xTAQyvfS1uktnuhw4eCePTznEjIm3je5/dE1JaMfr0YAV+R5YUVXPxwY4PZ2mi/QH8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608561059; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Kufwf94xc6vDX+gHxkJwEZLnEooNKtt1bQUcMxkYl8Y=; b=GGcK5Y6rUKewzLY4CcnikL3fUeARpPDFFuRzjAcVRDhK7oKVkzAsNfKx8+LtRmV1yc5AY8Lw/wv6fzLCDhAJodJwM1HNmPkSWwcpLlIKgRkV68w8vFPO6R9geAW8ry/T2zEU+37yBxsZW3elr1rMhfkDKgSoffRY0lo2BLyYN1s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1608561059806382.64655407409487; Mon, 21 Dec 2020 06:30:59 -0800 (PST) Received: from localhost ([::1]:33592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krLbH-00048e-Pi for importer@patchew.org; Mon, 21 Dec 2020 08:51:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krLV8-0005Qr-R9 for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:27 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:57452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1krLV6-0003aS-5H for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:26 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-100-4WEaNvE9N5-q2vrwY3HJ-w-1; Mon, 21 Dec 2020 08:45:21 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4194F190A7A4; Mon, 21 Dec 2020 13:45:20 +0000 (UTC) Received: from thuth.com (ovpn-113-232.ams2.redhat.com [10.36.113.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 528315D9CA; Mon, 21 Dec 2020 13:45:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608558323; 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=Kufwf94xc6vDX+gHxkJwEZLnEooNKtt1bQUcMxkYl8Y=; b=eaksten+2rsgpfKWHQZHol2i25q5nx0Qiaf/jGbwIIb/yvPfjeIZLUUA6keyFEQqLE/Ks4 rCmsTcAF7wG6ywHrC9KhvEHsZRlPnsoxuzJ2dUSi20M0HtIVN7AggEocpOX7FKdBDP+y+E s7Qq/K7yLuEe+YH2JbZdKGpl6d7xg84= X-MC-Unique: 4WEaNvE9N5-q2vrwY3HJ-w-1 From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Subject: [PULL 4/5] gitlab-ci: Refactor code that show logs of failed acceptances Date: Mon, 21 Dec 2020 14:45:03 +0100 Message-Id: <20201221134504.764-5-thuth@redhat.com> In-Reply-To: <20201221134504.764-1-thuth@redhat.com> References: <20201221134504.764-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable 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=63.128.21.124; envelope-from=thuth@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_H4=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Bulekov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Wainer dos Santos Moschetta Replace the code (python) on after_script of the acceptance jobs that is currently used to show the logs of failed tests. Instead it is used the Avocado's testlogs plug-in which works likewise. Signed-off-by: Wainer dos Santos Moschetta Reviewed-by: Willian Rampazzo Message-Id: <20201211183827.915232-3-wainersm@redhat.com> Signed-off-by: Thomas Huth --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 98bff03b47..85aa20ffde 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -58,13 +58,14 @@ include: - echo "[datadir.paths]" > ~/.config/avocado/avocado.conf - echo "cache_dirs =3D ['${CI_PROJECT_DIR}/avocado-cache']" >> ~/.config/avocado/avocado.conf + - echo -e '[job.output.testlogs]\nstatuses =3D ["FAIL"]' + >> ~/.config/avocado/avocado.conf - if [ -d ${CI_PROJECT_DIR}/avocado-cache ]; then du -chs ${CI_PROJECT_DIR}/avocado-cache ; fi - export AVOCADO_ALLOW_UNTRUSTED_CODE=3D1 after_script: - cd build - - python3 -c 'import json; r =3D json.load(open("tests/results/latest/= results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] no= t in ("PASS", "SKIP", "CANCEL")]' | xargs cat - du -chs ${CI_PROJECT_DIR}/avocado-cache =20 build-system-ubuntu: --=20 2.27.0 From nobody Tue Nov 18 07:46:14 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1608569387; cv=none; d=zohomail.com; s=zohoarc; b=ni26KgPD8FXXzVA74Nt9bEUDALqK+B8WHaOfZBdElfr4WOoIo7u6Sj6zp+t0jEaEkWla97vx+d30gbyUFzu5AVK4RriQQH4/l598tX4QFlc0YKORZNXm78rH78CK9wW47T0z7fW1FNYPk/v6kPphlpJWHh7l6FVDhm7uqYgSU28= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608569387; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Ky9ZI/Be6v8cyM1N11xoljc7y1E89nK8L1fh6C4xK3Y=; b=E4z3g0vpMkmcpQbkb77KW91K7extxVFl3Nb65OU6CGEq8NWWJ43uFAekTk4WvR1SqLCC/hVtsLRzcg1mMuFP4+tPTLMFABF8qX9+ehmKur0ExjFXIkV1E6g2qOuIc6ukIkq0fdUH7Q1dMUVZWh5yXuGsfE2EkHiTYhSZJQfssY4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; 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=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1608569387466536.6707825247204; Mon, 21 Dec 2020 08:49:47 -0800 (PST) Received: from localhost ([::1]:41714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krLd5-0007QR-Ex for importer@patchew.org; Mon, 21 Dec 2020 08:53:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krLVC-0005Uc-Nb for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:30 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:34883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1krLVB-0003bq-25 for qemu-devel@nongnu.org; Mon, 21 Dec 2020 08:45:30 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-575-a0nKbkx0MgGAZqTp69IKsg-1; Mon, 21 Dec 2020 08:45:24 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0CF8910054FF; Mon, 21 Dec 2020 13:45:23 +0000 (UTC) Received: from thuth.com (ovpn-113-232.ams2.redhat.com [10.36.113.232]) by smtp.corp.redhat.com (Postfix) with ESMTP id 962435D9CA; Mon, 21 Dec 2020 13:45:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608558328; 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=Ky9ZI/Be6v8cyM1N11xoljc7y1E89nK8L1fh6C4xK3Y=; b=D7xqn6AY/OE2SQELm9INjj49e4fkcsVphz8iHkG6vNKgJRkg1C31ySy/FPZ6yksCxHGAUW 0mtD9N59mlBZ7E4HZ23gBlDFouyd/I9jFv0SDaoXyu7MI6QZs3LzuvGM7UiG76tPV7qayt 3xJfyvb5zveNUxU6EM6pVFrU55a0Rf8= X-MC-Unique: a0nKbkx0MgGAZqTp69IKsg-1 From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Subject: [PULL 5/5] gitlab-ci: Archive logs of acceptance tests Date: Mon, 21 Dec 2020 14:45:04 +0100 Message-Id: <20201221134504.764-6-thuth@redhat.com> In-Reply-To: <20201221134504.764-1-thuth@redhat.com> References: <20201221134504.764-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=thuth@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable 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=216.205.24.124; envelope-from=thuth@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_H3=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Bulekov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Wainer dos Santos Moschetta Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Wainer dos Santos Moschetta Keep the logs of acceptance tests for two days on GitLab. If you want to make it available for more time, click on the 'Keep' button on the Job page at web UI. By default GitLab will archive artifacts only if the job succeed. Instead let's keep it on both success and failure, so it gives the opportunity to the developer/maintainer to check the error logs as well as to the logs of CANCEL tests (not shown on the job logs). Signed-off-by: Wainer dos Santos Moschetta Reviewed-by: Willian Rampazzo Reviewed-by: Thomas Huth Message-Id: <20201211183827.915232-4-wainersm@redhat.com> Signed-off-by: Thomas Huth --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85aa20ffde..bf3df843e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,8 +49,12 @@ include: - ${CI_PROJECT_DIR}/avocado-cache policy: pull-push artifacts: + name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" + when: always + expire_in: 2 days paths: - build/tests/results/latest/results.xml + - build/tests/results/latest/test-results reports: junit: build/tests/results/latest/results.xml before_script: --=20 2.27.0