Date: Mon, 4 Apr 2016 04:41:47 +0800 From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: Dimitry Andric <dim@freebsd.org> Cc: Andriy Gapon <avg@freebsd.org>, freebsd-current@freebsd.org, Baptiste Daroussin <bapt@freebsd.org> Subject: Re: FreeBSD_HEAD_amd64_gcc - Build #1144 - Failure Message-ID: <CAKBkRUx%2BxH1n0vDy5bmAfwRjTfz-eY=nrEcHBn12sQoPNdrCXQ@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 4, 2016 at 1:59 AM, Dimitry Andric <dim@freebsd.org> wrote: > On 03 Apr 2016, at 19:19, Andriy Gapon <avg@FreeBSD.org> 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 <lwhsu@FreeBSD.org> https://lwhsu.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKBkRUx%2BxH1n0vDy5bmAfwRjTfz-eY=nrEcHBn12sQoPNdrCXQ>