Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2016 20:25:39 +0800
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        Dimitry Andric <dim@freebsd.org>, Andriy Gapon <avg@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: FreeBSD_HEAD_amd64_gcc - Build #1144 - Failure
Message-ID:  <20160404122539.GA14905@FreeBSD.cs.nctu.edu.tw>
In-Reply-To: <20160404105316.GA49864@ivaldir.etoilebsd.net>
References:  <2034599654.182.1459676383628.JavaMail.jenkins@jenkins-9.freebsd.org> <57015089.4010700@FreeBSD.org> <19A774FF-773C-4F29-8DF1-E72BBED81DA9@FreeBSD.org> <CAKBkRUx%2BxH1n0vDy5bmAfwRjTfz-eY=nrEcHBn12sQoPNdrCXQ@mail.gmail.com> <20160403225014.GH5214@ivaldir.etoilebsd.net> <20160404103859.GA27648@FreeBSD.cs.nctu.edu.tw> <20160404105316.GA49864@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 fi=
x, 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 this
> > 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"

Very strange, no further error message is shown, even -d provided.

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/FreeBSD:=
10:amd64/latest/meta.txz with opts "i"
DBG(1)[44393]> Fetch: fetching from: http://pkgmir.pkg.freebsd.org/FreeBSD:=
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

Is there anything I can help on debugging this?

Li-Wen


--=20
Li-Wen Hsu <lwhsu@FreeBSD.org>
https://lwhsu.org

--gKMricLos+KVdGMg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJXAl1CXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMDdENTNGNjUyMTUzMzVCNzA5NDNGODQ2
NzI3RTc3Qzg4NjJCNjU2AAoJEGcn53yIYrZWdOUP/R7Ydos+uJcR4roBFtqx1aAj
zthZOaDp9gQ0cQFrjmIkZJbCfKPAupDnJ4mPdhaI+RfS+1Mvk0o0J37QfuwbgbYi
F0NF+TxDDX2QjdgFlPFvFeakgJ5bX2C5pIh+DcHLimjwD1Tq2FpH+i1Kcvm7Q0uw
OxCR1sP2Cqw0RNq+d4exHjB0R9oJoEzzwGUKiw0DlBXwdSgnbzDrvcChw53pro+f
10HLLqxMbC2wa49vPA+kvRpaz0BojcVhN53zc06VGv1vZ5P8umluvblZbN2/NX6M
61uEKxlQ4ahFSW+rM3kTvPOWARAmm7Ju76KZ4Nd20TMihOgoHtx/SaN5tMs0M8KZ
oPtwrtw5PoKyBS6TMf1DHP6SuNHm2gZARTewchq/A5USiv/DejvjmtuAOmx5nN24
6nQ0GcRYlhmgBombpBzeYsE6p6mj2R01cNTYVa6d6MHPmWvvtc2hdzzX4zGysAgJ
rTCglSrAfiNI5kw3I4Uk/lkZihhK7Ph2Q610IQUVsH9INpGtzZUO0/qjaJcUw7wC
YKH5PyakyLcg1EFVPcaf/7hJG5NXWzDN6c6G1fHVRy/O8Zb5cDk5S8s4n9f2qGyS
x/kLtgn4aGlLxZ/680SfumNyhNn1DSviBISt5raadry/V8yg+2I6W15IVjolZeZg
0KwBogPtdDWzmrEQg6Bx
=xRAN
-----END PGP SIGNATURE-----

--gKMricLos+KVdGMg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160404122539.GA14905>