From owner-freebsd-current@freebsd.org Sun Apr 3 20:41:48 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50747B006A4 for ; Sun, 3 Apr 2016 20:41:48 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 170DA1F8B; Sun, 3 Apr 2016 20:41:48 +0000 (UTC) (envelope-from lwhsu.freebsd@gmail.com) Received: by mail-oi0-x234.google.com with SMTP id y204so27020529oie.3; Sun, 03 Apr 2016 13:41:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=vgU44opXFuy81q2Xzkl6yiQRmJY/wFY3Xqwf1ZoRH/I=; b=y0maJ1AMwfw1HELKkJ1UWt6yyG8mQoWfh8J3wztdNZlDibKS46MM0UX/9ru1vXwIz2 NaJBFDkj7jdrh/rGsGoWQui1D39VGe1IC0eNSf1R51H02ekDatxntD4n5mZ4hNHLx0qR 16V1ZufoJxMSAArBz+oXHPO1jzgkZGJLGy5mIoWtyjD8MbWVdGhOh30eMDNzBiPUAHXR gbq8MuFhNw8n8zoLXfUXsMIMhumkCRQNajm/XntLE8UMtbnA7tR6bQoFDB+VPhDP5vp8 BzC/uFEJRli4HC74Ca3ZobXEDizxceXNEMpYUJN5fF3rdFie3wiGCLQ1ajpDk01DmfKY 6Uuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=vgU44opXFuy81q2Xzkl6yiQRmJY/wFY3Xqwf1ZoRH/I=; b=KbvGWalHaWJd+8910LPbQj1lUvQXFyQlfBwKfVBnfLXiunNK6GXx2ccoDZ4CYxJREQ YjyM+ED0b+CRdpEy04XgM1Gfh0js+gg/LZwL65w+wXeQOW3bxOlWMnu7gw00cJzO867O uDcr9G2Oi/WUe0isdSKUr0CeeEdYF5Jf8/n2FOgpt5EBorbTGoid1bb4Oj758R+45Vlr P7GQ1CfVabDhQ5Wdy4UA+vhdlZt4Ms977ypSxCqdyFSL/y/+9KjllEKrgi6YeYH97qJW aDT+hA+FBcEsXcOqVX71ijzhmnV9VoeCf3zdS9VqACIhDneKAmCXwMhkDOwfhfzcryTg gzWA== X-Gm-Message-State: AD7BkJIuNm5Iywm1sQwlRF5gCSrElJuCwgxGBHkkVaLPkPr7AQdtWhayzgf0fHwg13O45Z0Vq7RJWDUXIZN7Tg== MIME-Version: 1.0 X-Received: by 10.157.2.65 with SMTP id 59mr7921061otb.140.1459716107321; Sun, 03 Apr 2016 13:41:47 -0700 (PDT) Sender: lwhsu.freebsd@gmail.com Received: by 10.202.218.87 with HTTP; Sun, 3 Apr 2016 13:41:47 -0700 (PDT) In-Reply-To: <19A774FF-773C-4F29-8DF1-E72BBED81DA9@FreeBSD.org> References: <2034599654.182.1459676383628.JavaMail.jenkins@jenkins-9.freebsd.org> <57015089.4010700@FreeBSD.org> <19A774FF-773C-4F29-8DF1-E72BBED81DA9@FreeBSD.org> Date: Mon, 4 Apr 2016 04:41:47 +0800 X-Google-Sender-Auth: RdQ98bb2KAdk4bLo2KdgYxYy0os Message-ID: Subject: Re: FreeBSD_HEAD_amd64_gcc - Build #1144 - Failure From: Li-Wen Hsu To: Dimitry Andric Cc: Andriy Gapon , freebsd-current@freebsd.org, Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Apr 2016 20:41:48 -0000 On Mon, Apr 4, 2016 at 1:59 AM, Dimitry Andric wrote: > On 03 Apr 2016, at 19:19, Andriy Gapon wrote: >> On 03/04/2016 12:39, jenkins-admin@FreeBSD.org wrote: >>> FreeBSD_HEAD_amd64_gcc - Build #1144 - Failure: >>> >>> Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1144/ >>> Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1144/changes >>> Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1144/console >>> >> >> I wasn't able to understand what was the failure here... > > The step to install the amd64-xtoolchain-gcc package failed, apparently because it decided to auto-upgrade pkg first, without actually installing the package that was asked for: > > + sudo pkg install -y devel/amd64-xtoolchain-gcc > Updating FreeBSD repository catalogue... > Fetching meta.txz: . done > Fetching packagesite.txz: .......... done > Processing entries: .......... done > FreeBSD repository update completed. 25093 packages processed. > New version of pkg detected; it needs to be installed first. > The following 1 package(s) will be affected (of 0 checked): > > Installed packages to be UPGRADED: > pkg: 1.6.4_1 -> 1.7.1 > > The process will require 84 KiB more space. > 2 MiB to be downloaded. > Fetching pkg-1.7.1.txz: .......... done > Checking integrity... done (0 conflicting) > [1/1] Upgrading pkg from 1.6.4_1 to 1.7.1... > [1/1] Extracting pkg-1.7.1: .......... done > Updating FreeBSD repository catalogue... > Repo "FreeBSD" upgrade schema 2012 to 2013: Add vital field > FreeBSD repository is up-to-date. > All repositories are up-to-date. > Build step 'Execute shell' marked build as failure > > I'd consider this a bug in pkg? Is it suppose to return a failure code in this case? I've checked this a little more, I found the return code of "installing a installed package" has been changed. For pkg 1.6.4_1, it returns 0, but 1.7.1 returns 70, thus jenkins consider the build script execution failure. Li-Wen -- Li-Wen Hsu https://lwhsu.org