From owner-freebsd-current@freebsd.org Mon Apr 4 12:32:40 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 08DFFB025F6 for ; Mon, 4 Apr 2016 12:32:40 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::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 984551E13; Mon, 4 Apr 2016 12:32:39 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-lf0-x234.google.com with SMTP id p188so141098534lfd.0; Mon, 04 Apr 2016 05:32:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=maT/uoMokbRkJZ2vp0p+wGhiv8en4wDN0vPcMlucjk4=; b=j47fWp7BqRqM9McMRoNQZD7B6c1+SInwxfiwU2ivAws0MInuSDyLX90n3uFNIfvP1W ge5iMYQG6mifux5pdN1CcSjfnJlFsnN1NnVSGPDpoKbhQo5TypJ5Qmipl0zOAfqCBhmR /mwuTrRVzbr0thzc5sZCo7VIue7TU6MVStI8g3fTscLWW8cj3aroM/vBVESgkcgQ/D84 cv31k+1IwGvXCcOP/iheD8D9/S5PRnnobjaoE6V6K2eHYbmqd2NihwKREJceJY8GERUZ cYdvA3zXMeFyNctvg+abpuS5Lr6esoiCbY3ttcoR+CONQaGKWGXPmAa9xhS5bBBxFAMz pzJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=maT/uoMokbRkJZ2vp0p+wGhiv8en4wDN0vPcMlucjk4=; b=dUG1oOuBmGbpc2le/ZFRkBV6lH0jFeVEv+dBI5ZQW4W3jK0k4W3QPPzlKQXmk2QQU2 dCH4ZNhpDjzDXhCHHgcWFX3TwmDTCGMddpH5EerjfCdQ/qUdSXJnSkhcotrPNSPHxQdC 0D9p4Y4tK53fKGI6rMUAlXFRobEmXL9o9jEV1ED4cUi5dXV2EmUFpTDjAK2iwGdYJjSx fCSF/hZ9m1PtchK9JMnp2aEcSTFUmnsTjdtMr/BWxpXXNG239O/m2wDI1aHvI7VpL2D8 d9dS75/5i3zTuV9PyjJY16G3u0C0nfKM7Vncw+MyDTR7lO3K9dX2PPsj9R2lSkJtlRzP ARCw== X-Gm-Message-State: AD7BkJIkzJaTFsUHSHVaoJ5UAuWCiHy2+7VokAkLGtd7yEfxvaquLDIONYlfL26Tx3ydrw== X-Received: by 10.194.116.9 with SMTP id js9mr19295784wjb.112.1459773157898; Mon, 04 Apr 2016 05:32:37 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id r8sm28893453wjz.34.2016.04.04.05.32.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Apr 2016 05:32:36 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 4 Apr 2016 14:32:35 +0200 From: Baptiste Daroussin To: Li-Wen Hsu Cc: Dimitry Andric , Andriy Gapon , freebsd-current@freebsd.org Subject: Re: FreeBSD_HEAD_amd64_gcc - Build #1144 - Failure Message-ID: <20160404123234.GC49864@ivaldir.etoilebsd.net> References: <2034599654.182.1459676383628.JavaMail.jenkins@jenkins-9.freebsd.org> <57015089.4010700@FreeBSD.org> <19A774FF-773C-4F29-8DF1-E72BBED81DA9@FreeBSD.org> <20160403225014.GH5214@ivaldir.etoilebsd.net> <20160404103859.GA27648@FreeBSD.cs.nctu.edu.tw> <20160404105316.GA49864@ivaldir.etoilebsd.net> <20160404122539.GA14905@FreeBSD.cs.nctu.edu.tw> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2/5bycvrmDh4d1IB" Content-Disposition: inline In-Reply-To: <20160404122539.GA14905@FreeBSD.cs.nctu.edu.tw> User-Agent: Mutt/1.5.24 (2015-08-30) 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: Mon, 04 Apr 2016 12:32:40 -0000 --2/5bycvrmDh4d1IB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 04, 2016 at 08:25:39PM +0800, Li-Wen Hsu wrote: > On Mon, Apr 04, 2016 at 12:53:16 +0200, Baptiste Daroussin wrote: > > On Mon, Apr 04, 2016 at 06:39:00PM +0800, Li-Wen Hsu wrote: > > > On Mon, Apr 04, 2016 at 00:50:14 +0200, Baptiste Daroussin wrote: > > > > On Mon, Apr 04, 2016 at 04:41:47AM +0800, Li-Wen Hsu wrote: > > > > > I've checked this a little more, I found the return code of > > > > > "installing a installed package" has been changed. > > > > >=20 > > > > > For pkg 1.6.4_1, it returns 0, but 1.7.1 returns 70, thus jenkins > > > > > consider the build script execution failure. > > > > >=20 > > > > >=20 > > > > It shoudl not return 70 if it returns 70 then there is a bug I can = fix, I need > > > > to know more about what is failing to be able to fix > > >=20 > > > What else information do you need? My experiment is as following: > > >=20 > > > On a machine uses quarterly branch, where pkg is 1.6.4_1, install a > > > installed package. I choose rsync here, then echo $?, it returns 0. > > >=20 > > > And I switch to latest branch, also use `pkg install -y rsync`, but t= his > > > time $? is 70. > > >=20 > > > Jenkins "Execute shell" build step checks return value of each command > > > in the shell script, if it is non-zero, it aborts the build and > > > considers if failure. > >=20 > > Return 70 means an error occured. if I look at the log I can see that > > powerpc64-gcc is not installed for sure, hence the error 70 > >=20 > > What is strange it that no "error message is shown" >=20 > Very strange, no further error message is shown, even -d provided. >=20 > root@jenkins10a:~ # pkg -d install -y devel/amd64-xtoolchain-gcc > DBG(1)[44393]> pkg initialized > Updating FreeBSD repository catalogue... > DBG(1)[44393]> PkgRepo: verifying update for FreeBSD > DBG(1)[44393]> Pkgrepo, begin update of '/var/db/pkg/repo-FreeBSD.sqlite' > DBG(1)[44393]> Fetch: fetching from: http://pkgmir.pkg.freebsd.org/FreeBS= D:10:amd64/latest/meta.txz with opts "i" > DBG(1)[44393]> Fetch: fetching from: http://pkgmir.pkg.freebsd.org/FreeBS= D:10:amd64/latest/packagesite.txz with opts "i" > FreeBSD repository is up-to-date. > All repositories are up-to-date. > DBG(1)[44393]> want to get an advisory lock on a database > DBG(1)[44393]> release an advisory lock on a database > root@jenkins10a:~ # echo $? > 70 >=20 > Is there anything I can help on debugging this? >=20 pkg info amd64-xtoolchain-gcc please Bapt --2/5bycvrmDh4d1IB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXAl7iAAoJEGOJi9zxtz5ayKoP/1Ylsv9aHHFd6M7c9mKiAvFk 69MzR0GbS0XLAzaUVtXV08THJla8FAELvP3nEPM44RI/NQQk7pshWkHzk65O06vd aRoAPt0293RFvcW4RL+F/U9W8vybosvq2YMb16ALVq7epzSuPhV8RXayBYTh2hox Kl1zz6T+LxDWZMMdC4r43Kbe88xot4bU51rNgivilxZSyxuwInKNaoVEUxlktAUX XSkfdPSxd1wBbjpAAQGAUSZ/IGGwv8UsbpUCJP++4p274x58B+pM7ELojUPpLw+4 hYDkWNw5XPB8WakoZyO5k0p7sXMiS9Q05KpHtDmLJ1ob6qvpN7JxxjBMsBkQb9MY nHCOTWIs5qmNVNk9lXTBGzgP4isf8aj6m7R3Kv6n4+rTaYpvOnw2+w/chaauZsCh NjyI5ghHU+BAdoDbDKlm5hGk12UF7QzExGcCC650gnVF1oX2+KAWhyjuu83mhs0D n65JBYr0Ar0uo1WPo9BKN3kHkM797C3RnT5djz2BN1XFtlIWwdn0H0PFG1+JDEf/ FagIXOoSYAXmKtlTToQHHU5J4NcF0roUOeh1LW1CDvrbZwQBLBfBWlLuAjFDhXUM KX0ES2lAx/NEeLYWAxLOdak03s7zCyZpse/6wGDfKGy5ucSn+rTvpTfYhmm8PDdr 6RvIJdhv4h/ZznO6XZdn =JfD8 -----END PGP SIGNATURE----- --2/5bycvrmDh4d1IB--