From patchwork Fri Mar 27 10:46:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Maximets X-Patchwork-Id: 1262722 X-Patchwork-Delegate: i.maximets@samsung.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ovn.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48pdpL6RNlz9sPR for ; Fri, 27 Mar 2020 21:47:06 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 764692634D; Fri, 27 Mar 2020 10:47:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C+S+9wpjc+9O; Fri, 27 Mar 2020 10:47:00 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id 3476A2624F; Fri, 27 Mar 2020 10:47:00 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 259A0C18DA; Fri, 27 Mar 2020 10:47:00 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0EFECC0177 for ; Fri, 27 Mar 2020 10:46:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0AD5487686 for ; Fri, 27 Mar 2020 10:46:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pjDnqPlxJ0uD for ; Fri, 27 Mar 2020 10:46:57 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 866E287665 for ; Fri, 27 Mar 2020 10:46:57 +0000 (UTC) X-Originating-IP: 90.177.210.238 Received: from im-t490s.redhat.com (238.210.broadband10.iol.cz [90.177.210.238]) (Authenticated sender: i.maximets@ovn.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 3D26440007; Fri, 27 Mar 2020 10:46:52 +0000 (UTC) From: Ilya Maximets To: ovs-dev@openvswitch.org Date: Fri, 27 Mar 2020 11:46:43 +0100 Message-Id: <20200327104643.803814-1-i.maximets@ovn.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Ilya Maximets Subject: [ovs-dev] [PATCH] cirrus: Force pkg update on FreeBSD. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Seems like FreeBSD ports/images are not well maintained and frequently causes package installation failures like this: [1/40] Fetching automake-1.16.1_2.txz: .......... done pkg: cached package automake-1.16.1_2: size mismatch, fetching from remote [2/40] Fetching automake-1.16.1_2.txz: .......... done pkg: cached package automake-1.16.1_2: size mismatch, cannot continue Consider running 'pkg update -f' Forced update doesn't increase build time significantly, but helps to solve at least this one kind of issues. Signed-off-by: Ilya Maximets Acked-by: William Tu Acked-by: Aaron Conole --- Example of a broken build: https://cirrus-ci.com/task/6639720348254208?command=prepare With force update: https://cirrus-ci.com/task/5040146315739136?command=prepare .cirrus.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cirrus.yml b/.cirrus.yml index 1b32f55d6..9428164ee 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -16,6 +16,7 @@ freebsd_build_task: prepare_script: - sysctl -w kern.coredump=0 + - pkg update -f - pkg install -y ${DEPENDENCIES} configure_script: