From nobody Sun May 19 02:38:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.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=1574183574; cv=none; d=zoho.com; s=zohoarc; b=PIENGOyXdhAHTF87R/bovwFpF1o5VRlBYBS1+H2dHHOngVomjkZCbRzcT/re5gSkWI27itJfjs8SQeVpUOVa/Xn+QOSzOxaLW8Rgxpd4CMdAcaTV5IhdlCkkyarm6lpHmpeHqL/MPQlKKuFrM1Q8SxtRWDoeFzKXt23Q3vqRnJ4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574183574; 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=K43NMrnRB8JWadXcLr4MJSLq+KllZj7hsQaNx06RyLA=; b=YcNTGhPVo/tCjCeyhtjf+fvoGfZ1j+EYxuYkqXgHi5lAcxgKARsG7JL3nIEAsZXjJUrmyIY9kmUbyJNQUtbXJeL6JIU7cdJktTq+l6YRblJSH4c0Oejs5oIxXmOWenoHR2dpGON+EE7IA4SRRkyNVa8RHfToe7S3IHkwQ6VJ/YA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.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 1574183574580967.6082547283069; Tue, 19 Nov 2019 09:12:54 -0800 (PST) Received: from localhost ([::1]:48126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX73d-0001bU-2n for importer@patchew.org; Tue, 19 Nov 2019 12:12:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47197) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX6zX-0005Qj-R9 for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX6zV-0004Gz-N1 for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:38 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:24662 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX6zT-0004Ef-PV for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:36 -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-186-S6q729czNFKhINGM0VEhPA-1; Tue, 19 Nov 2019 12:08:31 -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 06311102C862; Tue, 19 Nov 2019 17:08:30 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-117-181.ams2.redhat.com [10.36.117.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1C7DC5E27A; Tue, 19 Nov 2019 17:08:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574183314; 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=K43NMrnRB8JWadXcLr4MJSLq+KllZj7hsQaNx06RyLA=; b=hA4bfm3262Awn896i5gRUZWCLfpD4VcnDtsq+vqaWDv4q6rMZYeQ4zHkXsrtjRZjw1OKzt QtQDi6g6+s7jrEf9FSa0a95PvTuiDJXojVjuN2SFeC3odu+8rYxjSzET7r9wmHHjgR5XM3 fCEL+S0DUVCDtDn6Arj01qZsP/0025I= From: Thomas Huth To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Kevin Wolf , Max Reitz , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 1/6] iotests: Skip test 060 if it is not possible to create large files Date: Tue, 19 Nov 2019 18:08:16 +0100 Message-Id: <20191119170822.45649-2-thuth@redhat.com> In-Reply-To: <20191119170822.45649-1-thuth@redhat.com> References: <20191119170822.45649-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: S6q729czNFKhINGM0VEhPA-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.120 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: Laurent Vivier , Christian Borntraeger , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org 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" Test 060 fails in the arm64, s390x and ppc64le LXD containers, which apparently do not allow large files to be created. The repair process in test 060 creates a file of 64 GiB, so test first whether such large files are possible and skip the test if that's not the case. Signed-off-by: Thomas Huth Reviewed-by: Alex Benn=C3=A9e --- tests/qemu-iotests/060 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/060 b/tests/qemu-iotests/060 index b91d8321bb..e7ee865c55 100755 --- a/tests/qemu-iotests/060 +++ b/tests/qemu-iotests/060 @@ -49,6 +49,12 @@ _supported_fmt qcow2 _supported_proto file _supported_os Linux =20 +# The repair process will create a large file - so check for availability = first +if ! truncate --size=3D64G "$TEST_IMG"; then + _notrun "file system on $TEST_DIR does not support large enough files" +fi +rm "$TEST_IMG" + rt_offset=3D65536 # 0x10000 (XXX: just an assumption) rb_offset=3D131072 # 0x20000 (XXX: just an assumption) l1_offset=3D196608 # 0x30000 (XXX: just an assumption) --=20 2.23.0 From nobody Sun May 19 02:38:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.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=1574183770; cv=none; d=zoho.com; s=zohoarc; b=F5a2hU2yEoyyshSM8wP0DIf2tyL9AMqxtaCGhYZO2fMMbLcIcjJGw6F344LmFriN8AvMi8m+64zKugxpqKy/HEbzIksORB9JPsBKhDY1WlxCyxwKDIPAiSH104QZK+2gosBJ7VvSufR6wpS7QyiIRvVxxEXf5qFMNpnaLXsjQ/0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574183770; 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=bYkSNofzHAaU5LvfAtRe3RcpQczT+zn51XU0EugCp9E=; b=jupO0axphy3BJd5V1Dc/BjIFmcnUCw47sjNn4HRguwB+4VL4Ac0B84jyJRO8gtCZsoGb10iM+1uwtGPJ+IpVNFrf7HajCqIIWmjUcBuB/kywWZNEe2uxabeXGgPffzhvE7SYRkHtCPA646MJo8YcDzTve1TeOghvQmM5wDN723A= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.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 1574183770288332.6016807368162; Tue, 19 Nov 2019 09:16:10 -0800 (PST) Received: from localhost ([::1]:48212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX76m-0007l1-7x for importer@patchew.org; Tue, 19 Nov 2019 12:16:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47200) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX6zX-0005Qm-RW for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX6zV-0004HR-QN for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:38 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:35635 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX6zV-0004GH-Lz for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:37 -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-240-Hqwbe_-nPxSb-bcxoOt8SA-1; Tue, 19 Nov 2019 12:08:33 -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 3D895802CD6; Tue, 19 Nov 2019 17:08:32 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-117-181.ams2.redhat.com [10.36.117.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id 52BA55E27A; Tue, 19 Nov 2019 17:08:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574183316; 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=bYkSNofzHAaU5LvfAtRe3RcpQczT+zn51XU0EugCp9E=; b=bSMGNJuAjRh15i3JBeYfboX0lxFJhtcibkkkO5/K+fcKvjGtcYAhTCgI6+nHrYkKK+KAjy RdTjsF/VE6tjzRwu9bzg60mpHSruZ04fzXcvp9lc4SRpxj6DmTZFxKjwOXWaOu6jL1NHqo nwaFlvRv67MBPZWIf/Wa3jijqxqzeZ4= From: Thomas Huth To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Kevin Wolf , Max Reitz , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 2/6] iotests: Skip test 079 if it is not possible to create large files Date: Tue, 19 Nov 2019 18:08:17 +0100 Message-Id: <20191119170822.45649-3-thuth@redhat.com> In-Reply-To: <20191119170822.45649-1-thuth@redhat.com> References: <20191119170822.45649-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: Hqwbe_-nPxSb-bcxoOt8SA-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.120 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: Laurent Vivier , Christian Borntraeger , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org 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" Test 079 fails in the arm64, s390x and ppc64le LXD containers, which apparently do not allow large files to be created. Test 079 tries to create a 4G sparse file, so check first whether we can really create such files before executing the test. Signed-off-by: Thomas Huth --- tests/qemu-iotests/079 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/qemu-iotests/079 b/tests/qemu-iotests/079 index 81f0c21f53..e9b81419b7 100755 --- a/tests/qemu-iotests/079 +++ b/tests/qemu-iotests/079 @@ -39,6 +39,12 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 _supported_fmt qcow2 _supported_proto file nfs =20 +# Some containers (e.g. non-x86 on Travis) do not allow large files +if ! truncate --size=3D4G "$TEST_IMG"; then + _notrun "file system on $TEST_DIR does not support large enough files" +fi +rm "$TEST_IMG" + echo "=3D=3D=3D Check option preallocation and cluster_size =3D=3D=3D" echo cluster_sizes=3D"16384 32768 65536 131072 262144 524288 1048576 2097152 41= 94304" --=20 2.23.0 From nobody Sun May 19 02:38:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.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=1574183945; cv=none; d=zoho.com; s=zohoarc; b=QGF63LuRQpkzdJxGUU9z5hemEuL6QhlI7i//q3vp9lZIsr8UIlAaw6wrg4AlMFjEWBtqQywFZtUFFA/F1kHXZDCLoFhvgv1IsYUDAeVnl1H+jhe0/8azZ1Xfo6/HPYs3SlWsle1O/8NwcvudN3K9noXuI2QyPkLAfPrgE5vS3LY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574183945; 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=g64psGGRmKBLb4/hri+5uIdTiIG+yWcY+l9qZO/+XtA=; b=TCmD06s9cHJeJSnxF9rBtt3/gP8LMiL/j9vG6eVgRM9vFiP539Pg7p1Eca3+3KOanuzAOCKSm7a7KetWkUTg4UXrMTqS9SNWseQEdla3DJ1HFmHidvoIYF9gxnw7smSmkqXmbdXcKV0C5f46XpFfNQOu+4LJ5PhG/f7gcI6YjKs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.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 1574183945284641.9196929275037; Tue, 19 Nov 2019 09:19:05 -0800 (PST) Received: from localhost ([::1]:48238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX79c-0001Yn-0z for importer@patchew.org; Tue, 19 Nov 2019 12:19:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47235) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX6zZ-0005R9-F7 for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX6zX-0004Iq-PC for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:40 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:56514 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX6zV-0004Gb-Q6 for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:38 -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-313-yBfZCSMtNX2Un-jBBsVRmQ-1; Tue, 19 Nov 2019 12:08:35 -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 72DF18A2129; Tue, 19 Nov 2019 17:08:34 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-117-181.ams2.redhat.com [10.36.117.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8A21C5ED2C; Tue, 19 Nov 2019 17:08:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574183317; 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=g64psGGRmKBLb4/hri+5uIdTiIG+yWcY+l9qZO/+XtA=; b=UfmmXtXs8V15g/C0TuxuJOl/HkgjZuhp/4A9sSJZuU2QG5qbRGOuFsSaRik5X43S7Jj0Nu wN7kezJxMoihkJvAGyYuHIcs+WR5/MJJdts3np+JAW/nJj3wgaI1GHUQpuGK8AAJYSQohr uVBCK/gouqzmZtrhsxT8aE7wvf8ut7I= From: Thomas Huth To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Kevin Wolf , Max Reitz , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 3/6] tests/hd-geo-test: Skip test when images can not be created Date: Tue, 19 Nov 2019 18:08:18 +0100 Message-Id: <20191119170822.45649-4-thuth@redhat.com> In-Reply-To: <20191119170822.45649-1-thuth@redhat.com> References: <20191119170822.45649-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: yBfZCSMtNX2Un-jBBsVRmQ-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.81 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: Laurent Vivier , Christian Borntraeger , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org 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" In certain environments like restricted containers, we can not create huge test images. To be able to use "make check" in such container environments, too, let's skip the hd-geo-test instead of failing when the test images could not be created. Signed-off-by: Thomas Huth Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/hd-geo-test.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/hd-geo-test.c b/tests/hd-geo-test.c index 7e86c5416c..a249800544 100644 --- a/tests/hd-geo-test.c +++ b/tests/hd-geo-test.c @@ -34,8 +34,13 @@ static char *create_test_img(int secs) fd =3D mkstemp(template); g_assert(fd >=3D 0); ret =3D ftruncate(fd, (off_t)secs * 512); - g_assert(ret =3D=3D 0); close(fd); + + if (ret) { + free(template); + template =3D NULL; + } + return template; } =20 @@ -934,6 +939,10 @@ int main(int argc, char **argv) for (i =3D 0; i < backend_last; i++) { if (img_secs[i] >=3D 0) { img_file_name[i] =3D create_test_img(img_secs[i]); + if (!img_file_name[i]) { + g_test_message("Could not create test images."); + goto test_add_done; + } } else { img_file_name[i] =3D NULL; } @@ -965,6 +974,7 @@ int main(int argc, char **argv) "skipping hd-geo/override/* tests"); } =20 +test_add_done: ret =3D g_test_run(); =20 for (i =3D 0; i < backend_last; i++) { --=20 2.23.0 From nobody Sun May 19 02:38:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.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=1574183611; cv=none; d=zoho.com; s=zohoarc; b=ByMTJp617H575pTZ+9LpRX/zUUxwBCtEocIigzxzq3NqwTSXxjxU2iSdGLvker5Kd1XkIlD6P12W34K0QlYpG8AqiRoq1+0FHvvB0TvJSZi0y59S4OUqYvYWLVafqtXrRYek/EVhcqSnvSln7AfWcUwY1K3oEDL+Spy7oM9bGTY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574183611; 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=aYii4P4+JrYKFNwRdLteVtAWIb9yFmCttIZd+wgqyNE=; b=UO/wdhhFsuUIk/UL95j89PnSZyhiozpj3Sa8dytwPXiWjjiyOb31hTC+LInkGOsH6MHMv+D6kHdkvR9VGbQXI+3f+qsioPUKlIyyEBSD0jC4cqLCgusxzJet7NsZ4EbJy63V3lukdGAu8sPMUCimVIrwlVeLvXxBjwnmgv6DGRM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.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 1574183611728531.0597313357983; Tue, 19 Nov 2019 09:13:31 -0800 (PST) Received: from localhost ([::1]:48128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX74E-0002eB-70 for importer@patchew.org; Tue, 19 Nov 2019 12:13:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47246) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX6za-0005Rf-34 for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX6zX-0004JJ-Te for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:41 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:44631 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX6zX-0004IX-Pa for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:39 -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-305-HQfPu86CPAqJhErcV0TuzA-1; Tue, 19 Nov 2019 12:08:37 -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 A76CD802CDD; Tue, 19 Nov 2019 17:08:36 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-117-181.ams2.redhat.com [10.36.117.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id C1C635E7A6; Tue, 19 Nov 2019 17:08:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574183319; 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=aYii4P4+JrYKFNwRdLteVtAWIb9yFmCttIZd+wgqyNE=; b=QO19XdTl4dlrwpSqCvHTTtTlQGdgS4V/2zt248WCC/7Luc1XsZ0mvRkaSwwi0O3DPJSUGy 75o2yfSNmAUO1A3FwYk+kTps77GiygY9wDAro9d+afg2gL1U7w44tnPNPAygstjFIGvjz0 WnhtIOd/f2H1URyQQ+aZ5NQki2ISKt0= From: Thomas Huth To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Kevin Wolf , Max Reitz , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 4/6] tests/test-util-filemonitor: Skip test on non-x86 Travis containers Date: Tue, 19 Nov 2019 18:08:19 +0100 Message-Id: <20191119170822.45649-5-thuth@redhat.com> In-Reply-To: <20191119170822.45649-1-thuth@redhat.com> References: <20191119170822.45649-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: HQfPu86CPAqJhErcV0TuzA-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 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: Laurent Vivier , Christian Borntraeger , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org 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" test-util-filemonitor fails in restricted non-x86 Travis containers since they apparently blacklisted some required system calls there. Let's simply skip the test if we detect such an environment. Signed-off-by: Thomas Huth Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/test-util-filemonitor.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/test-util-filemonitor.c b/tests/test-util-filemonitor.c index 301cd2db61..45009c69f4 100644 --- a/tests/test-util-filemonitor.c +++ b/tests/test-util-filemonitor.c @@ -406,10 +406,21 @@ test_file_monitor_events(void) char *pathdst =3D NULL; QFileMonitorTestData data; GHashTable *ids =3D g_hash_table_new(g_int64_hash, g_int64_equal); + char *travis_arch; =20 qemu_mutex_init(&data.lock); data.records =3D NULL; =20 + /* + * This test does not work on Travis LXD containers since some + * syscalls are blocked in that environment. + */ + travis_arch =3D getenv("TRAVIS_ARCH"); + if (travis_arch && !g_str_equal(travis_arch, "x86_64")) { + g_test_skip("Test does not work on non-x86 Travis containers."); + return; + } + /* * The file monitor needs the main loop running in * order to receive events from inotify. We must --=20 2.23.0 From nobody Sun May 19 02:38:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.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=1574183807; cv=none; d=zoho.com; s=zohoarc; b=XrJlEVzlS0R2yuLTL0MBoUo29HPZ3Uz4GXKHC6y7KXiD8ubC6Dgn7zZeVYsySK2m4vwteEqMHQ8dC0CmoZPyDsZrhW6VA7eVskCtG0+nUx22dsnzc+39Fbpz2Z3wZbUQujqZySeA6NCqhBSiI2Xdk3BP1Mtn6faRJ37cEhpGBVE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574183807; 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=Dobyugg5ybakk5iMGwm4Jb6ml7KmvDKYGCYl6FkJhaU=; b=eZICNs7LexInocxOyyc6piBANbGCwOXaM/roWcAMMSZYABXOgwDVMsqCkIqcj+d1vwnQbRNA+idShB4ODYUxh3F6L+iU6w9ftGvJMq3PDg53o+wFm3S/KDxqRLGRRFERUgIMPAooGVYt/Ug4jzqvRXch7XSkzFrNHC6/q8a49pE= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.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 157418380785329.253888821477403; Tue, 19 Nov 2019 09:16:47 -0800 (PST) Received: from localhost ([::1]:48216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX77N-0008RM-Tp for importer@patchew.org; Tue, 19 Nov 2019 12:16:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47322) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX6zf-0005Zs-78 for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX6ze-0004O5-6M for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:47 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:27247 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX6ze-0004Nm-2X for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:46 -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-323-k_Us7OhiN_aUuzkDt7PjMg-1; Tue, 19 Nov 2019 12:08:40 -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 E060B801E5A; Tue, 19 Nov 2019 17:08:38 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-117-181.ams2.redhat.com [10.36.117.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id 01DB95ED2C; Tue, 19 Nov 2019 17:08:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574183325; 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=Dobyugg5ybakk5iMGwm4Jb6ml7KmvDKYGCYl6FkJhaU=; b=CXV8t9RSeraRwGl8crcsX7+QrWD8H61RN0s6IydTMug2VpjamgQy88FIjLpm2pTGtYumhs +saqFGi+mQ4uC/PVw9wxaLHg5I4MQJqYfSvP56maW53nwa2kA1tFwY2JV39lUlK5aKkENH Zv+HB3mBigoEUV/E7X9BP7w1uZdc+2Q= From: Thomas Huth To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Kevin Wolf , Max Reitz , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 5/6] travis.yml: drop 32 bit systems from MAIN_SOFTMMU_TARGETS Date: Tue, 19 Nov 2019 18:08:20 +0100 Message-Id: <20191119170822.45649-6-thuth@redhat.com> In-Reply-To: <20191119170822.45649-1-thuth@redhat.com> References: <20191119170822.45649-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: k_Us7OhiN_aUuzkDt7PjMg-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 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: Laurent Vivier , Christian Borntraeger , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org 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: Alex Benn=C3=A9e The older clangs are still struggling to build and run everything withing the 50 minute timeout so lets lighten the load a bit more. We still have coverage for GCC and hopefully no obscure 32 bit guest only breakages slip through the cracks. Signed-off-by: Alex Benn=C3=A9e Signed-off-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b9a026c8ee..c09b6a0014 100644 --- a/.travis.yml +++ b/.travis.yml @@ -79,7 +79,7 @@ env: - BASE_CONFIG=3D"--disable-docs --disable-tools" - TEST_CMD=3D"make check V=3D1" # This is broadly a list of "mainline" softmmu targets which have supp= ort across the major distros - - MAIN_SOFTMMU_TARGETS=3D"aarch64-softmmu,arm-softmmu,i386-softmmu,mip= s-softmmu,mips64-softmmu,ppc64-softmmu,riscv64-softmmu,s390x-softmmu,x86_64= -softmmu" + - MAIN_SOFTMMU_TARGETS=3D"aarch64-softmmu,mips64-softmmu,ppc64-softmmu= ,riscv64-softmmu,s390x-softmmu,x86_64-softmmu" - CCACHE_SLOPPINESS=3D"include_file_ctime,include_file_mtime" - CCACHE_MAXSIZE=3D1G =20 --=20 2.23.0 From nobody Sun May 19 02:38:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.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=1574184142; cv=none; d=zoho.com; s=zohoarc; b=IHLM3GWsDA8299gjEb5EqySNNeWpxDauIC+xxXDbZwGVrQnmfCvCAZ/L8KD0CsFoILBDR67oc6qBslGDlXjCm/jN5ivFu3+Qjx1qYoiimsBdhHS/qq0vb1ap/xAdhTtjIsjZL+Cw5I1KQNe/8HiFD+eGtmZbqSagAnNvEAEHoj4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1574184142; 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=Rp05Z/k6BqB5bTYRSrt9R9ui2PL+kBdRh3ppU5tGS7k=; b=T2ChUGgJL//2wGgALGRlPBA/qP/e+YVBUQxaEC0kkQBQqAbnRRJ1rYmPC5r3R0bCtOEcZtpiQpLind1K/Jw9a+YTXZ1bA8xjctDJFuzsSdWbhljj1Fc5vw4L2p8g1W1dlaspq0LtUbLEYcO4r7SFPOvVsHweYnV0sJulQn7qxZQ= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.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 1574184142663249.06561694804282; Tue, 19 Nov 2019 09:22:22 -0800 (PST) Received: from localhost ([::1]:48264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX7Cl-0004OB-H9 for importer@patchew.org; Tue, 19 Nov 2019 12:22:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47318) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iX6ze-0005ZV-UT for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iX6zd-0004Ng-Nh for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:46 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:41989 helo=us-smtp-delivery-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iX6zd-0004NE-Jp for qemu-devel@nongnu.org; Tue, 19 Nov 2019 12:08:45 -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-248-5d9T9t3oPQydYnK972LkmA-1; Tue, 19 Nov 2019 12:08:42 -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 21B74A0F2E; Tue, 19 Nov 2019 17:08:41 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-117-181.ams2.redhat.com [10.36.117.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id 38CA95E7A6; Tue, 19 Nov 2019 17:08:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574183325; 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=Rp05Z/k6BqB5bTYRSrt9R9ui2PL+kBdRh3ppU5tGS7k=; b=DP4PAizTjs80wwdnRwFYwLdOwGKmCXmzSfP3BY/ggVLjyPyAVtVMYuM0ZDa2oDvCL0h2kD GRbp2PPGLFhV/NrOjLgCbKQ3iPfP8Jq8G5EzhIUPUahTKKepGO/KgGhT8FQkPlr7tQd/x9 PNQSkuDJ7TZd0L6LBln0e4zpIo4pUNw= From: Thomas Huth To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Kevin Wolf , Max Reitz , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Subject: [PATCH 6/6] travis.yml: Enable builds on arm64, ppc64le and s390x Date: Tue, 19 Nov 2019 18:08:21 +0100 Message-Id: <20191119170822.45649-7-thuth@redhat.com> In-Reply-To: <20191119170822.45649-1-thuth@redhat.com> References: <20191119170822.45649-1-thuth@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: 5d9T9t3oPQydYnK972LkmA-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 205.139.110.61 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: Laurent Vivier , Christian Borntraeger , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org 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" Travis recently added the possibility to test on these architectures, too, so let's enable them in our travis.yml file to extend our test coverage. Unfortunately, the libssh in this Ubuntu version (bionic) is in a pretty unusable Frankenstein state and libspice-server-dev is not available here, so we can not use the global list of packages to install, but have to provide individual package lists instead. Signed-off-by: Thomas Huth --- .travis.yml | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/.travis.yml b/.travis.yml index c09b6a0014..cf48ee452c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -360,6 +360,89 @@ matrix: - TEST_CMD=3D"make -j3 check-tcg V=3D1" - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-debug-tcg" =20 + - arch: arm64 + addons: + apt_packages: + - libaio-dev + - libattr1-dev + - libbrlapi-dev + - libcap-dev + - libcap-ng-dev + - libgcrypt20-dev + - libgnutls28-dev + - libgtk-3-dev + - libiscsi-dev + - liblttng-ust-dev + - libncurses5-dev + - libnfs-dev + - libnss3-dev + - libpixman-1-dev + - libpng-dev + - librados-dev + - libsdl2-dev + - libseccomp-dev + - liburcu-dev + - libusb-1.0-0-dev + - libvdeplug-dev + - libvte-2.91-dev + env: + - CONFIG=3D"--target-list=3D${MAIN_SOFTMMU_TARGETS},x86_64-linux-u= ser" + + - arch: ppc64le + addons: + apt_packages: + - libaio-dev + - libattr1-dev + - libbrlapi-dev + - libcap-dev + - libcap-ng-dev + - libgcrypt20-dev + - libgnutls28-dev + - libgtk-3-dev + - libiscsi-dev + - liblttng-ust-dev + - libncurses5-dev + - libnfs-dev + - libnss3-dev + - libpixman-1-dev + - libpng-dev + - librados-dev + - libsdl2-dev + - libseccomp-dev + - liburcu-dev + - libusb-1.0-0-dev + - libvdeplug-dev + - libvte-2.91-dev + env: + - CONFIG=3D"--target-list=3D${MAIN_SOFTMMU_TARGETS},x86_64-linux-u= ser" + + - arch: s390x + addons: + apt_packages: + - libaio-dev + - libattr1-dev + - libbrlapi-dev + - libcap-dev + - libcap-ng-dev + - libgcrypt20-dev + - libgnutls28-dev + - libgtk-3-dev + - libiscsi-dev + - liblttng-ust-dev + - libncurses5-dev + - libnfs-dev + - libnss3-dev + - libpixman-1-dev + - libpng-dev + - librados-dev + - libsdl2-dev + - libseccomp-dev + - liburcu-dev + - libusb-1.0-0-dev + - libvdeplug-dev + - libvte-2.91-dev + env: + - CONFIG=3D"--target-list=3D${MAIN_SOFTMMU_TARGETS},x86_64-linux-u= ser" =20 # Release builds # The make-release script expect a QEMU version, so our tag must start= with a 'v'. --=20 2.23.0