From owner-freebsd-testing@freebsd.org Mon Aug 29 16:39:15 2016 Return-Path: Delivered-To: freebsd-testing@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 7F4ADBC716B for ; Mon, 29 Aug 2016 16:39:15 +0000 (UTC) (envelope-from lwhsu@FreeBSD.cs.nctu.edu.tw) Received: from FreeBSD.cs.nctu.edu.tw (freebsd2.cs.nctu.edu.tw [140.113.17.206]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CD0C17A; Mon, 29 Aug 2016 16:39:14 +0000 (UTC) (envelope-from lwhsu@FreeBSD.cs.nctu.edu.tw) Received: by FreeBSD.cs.nctu.edu.tw (Postfix, from userid 1058) id AC1862B73; Tue, 30 Aug 2016 00:39:11 +0800 (CST) Date: Tue, 30 Aug 2016 00:39:11 +0800 From: Li-Wen Hsu To: Dimitry Andric Cc: Craig Rodrigues , "jenkins-admin@freebsd.org" , "freebsd-testing@freebsd.org" Subject: Re: Jenkins build is still unstable: FreeBSD_HEAD #564 Message-ID: <20160829163911.GA51650@FreeBSD.cs.nctu.edu.tw> References: <1491374121.44.1472440150670.JavaMail.jenkins@jenkins-9.freebsd.org> <166099893.51.1472451061454.JavaMail.jenkins@jenkins-9.freebsd.org> <6E443BB8-0269-4812-A2F4-40AA303E69C6@FreeBSD.org> <8058052E-A09A-403E-828A-74B51ED4BBF4@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gBBFr7Ir9EOA20Yy" Content-Disposition: inline In-Reply-To: <8058052E-A09A-403E-828A-74B51ED4BBF4@FreeBSD.org> User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2016 16:39:15 -0000 --gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dimitry, are you talking about case lib.atf.libatf-c++.atf_c++_test.include= ? I happen to have a r304986 VM here: https://people.freebsd.org/~lwhsu/tmp/disk-test.img.xz (it starts kyua test in /etc/rc.local, just use ctrl-c to interrupt it) And there is a /usr/include/c++/v1 directory with sstream in it. BTW, I am not sure removing -I/usr/include is the right solution, I think this case is checking for "normal" compiling would work, not during buildworld. When this case was passing, it uses following command: c++ -O2 -pipe -DHAVE_CONFIG_H -I/usr/include -Wall -Werror -o test.o -c tes= t.cpp and now it uses: c++ -target x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/usr/src/tmp -B/= usr/obj/usr/src/tmp/usr/bin -O2 -pipe -DHAVE_CONFIG_H -I/usr/include -Wall = -Werror -o test.o -c test.cpp This changed between r304555 and r304698. Also, does anyone know where is "-I/usr/include" coming from? Is this one? https://svnweb.freebsd.org/base/head/contrib/atf/atf-c%2B%2B/detail/test_he= lpers.cpp?view=3Dmarkup#l56 Li-Wen On Mon, Aug 29, 2016 at 16:02:42 +0200, Dimitry Andric wrote: > Do you have an /usr/include/c++/v1 directory? And is there a file called= "sstream" in it? >=20 > If it is there, I think the problem is due to the -I/usr/include option i= n the command line for the test program. If you remove that, I think the c= ompilation will work correctly. >=20 > -Dimitry >=20 > > On 29 Aug 2016, at 14:55, Craig Rodrigues wrote: > >=20 > > Dimitry, > >=20 > > During the Jenkins job, I use installworld/installkernel to build a ful= ly bootable bhyve virtual machine. > > After the virtual machine boots, ssh into it, and do: > >=20 > > cd /usr/tests > > kyua test > > kyua report --verbose > >=20 > >=20 > > So I am suspecting that maybe something didn't get installed properly? > > -- > > Craig > >=20 > >=20 > > On Mon, Aug 29, 2016 at 4:13 AM, Dimitry Andric wrote: > > I just found the separate "test results" link in Jenkins. As far as I = can see, one of those failing tests is run as: > >=20 > > c++ -target x86_64-unknown-freebsd12.0 --sysroot=3D/builds/workspace/Fr= eeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp -B/builds/workspace/Fr= eeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp/usr/bin -O2 -pipe -DHA= VE_CONFIG_H -I/usr/include -Wall -Werror -o test.o -c test.cpp > >=20 > > So are the libc++ headers installed in the /builds/workspace/FreeBSD_HE= AD/obj/builds/workspace/FreeBSD_HEAD/src/tmp sysroot? The compiler error m= essage appears to indicate it is getting its headers from /usr/include inst= ead. > >=20 > > I can't look on the actual test system, but my guess would be that eith= er the --sysroot flag is incorrect, or the libc++ headers are not correctly= installed on the target system. > >=20 > > -Dimitry > >=20 > > > On 29 Aug 2016, at 12:56, Dimitry Andric wrote: > > > > > > Hi Craig, > > > > > > I find it very hard to parse these extremely verbose logs. Can you p= oint out the location and contents of the exact error you are seeing? > > > > > > -Dimitry > > > > > >> On 29 Aug 2016, at 08:59, Craig Rodrigues wrot= e: > > >> > > >> Dimitry, > > >> > > >> Can you take a look at this? > > >> I'm not sure why, but after recent changes, one of the tests is > > >> complaining that the C++ header is missing. > > >> > > >> -- > > >> Craig > > >> > > >> > > >> On Sun, Aug 28, 2016 at 11:11 PM, wrote: > > >> See > > >> > > >> > > > > >=20 > >=20 >=20 --=20 Li-Wen Hsu https://lwhsu.org --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJXxGUuXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxMDdENTNGNjUyMTUzMzVCNzA5NDNGODQ2 NzI3RTc3Qzg4NjJCNjU2AAoJEGcn53yIYrZWMpUQAJ4XxAGtsRn1JsTLiYc3S+F+ LyukBj4/mX8jiTuIyOBx/q477xaL7R1Ef857anOt73VpSDNdZOYAH2zuNUcvHFGh t53ye1rv3A6emrW45ULkqgeZw2YR0Ekfosl1obZbw/5AftZ50h2STAXzRztexr/t pgUKiYt3b2pG6J5z+VQkJS3nMwFsmm066Hzn6Yf/Ky5h8HYOrS4hjGZjnLhfGJvd uEXG8OpKY1x2GzN8jICqrZroOEFnA3XmusiXgHoVeHEpCINrSXhKEx/TrtfjRr2L ctHvbDvIabV8LeFzE0YIQwvHnhxxNzbeztchOCg2tVUNHdKrnIbcVxZx8EV0sGUd E3dzJaqOulukvwFyn7B/uTEvl4tj6KHN7Tk+ivF8Ckw3wHsmLJAgHkkOc0zeEHKB itO8qEz/JApRU7RCMkfvNm3djwlhYvtadjcPV79C25FvHdmCNEC7TV2nqIwsPUeH BZtKD4ol0B0mWs8uGwg93SL9ZR/thWsYJQfHm9NMNUW3TGU7UjIokTPLgpjMOgkm ZZcYDbdsQbg2CD8+ZjPsQBwxtF6sH4WtDwYqjFn/IcAJCAulpYQhdxnT0KzVKY5E 6eYiQLLT53tNHJ5SWdu56Lv7VwS+KvOAkJnNb0b8ohv8jGbyTvGLjUPLbDVTPzKP OBlvwxN4VurUmU7dB/SW =ZlYJ -----END PGP SIGNATURE----- --gBBFr7Ir9EOA20Yy--