From owner-freebsd-testing@freebsd.org Wed Aug 31 23:39:34 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 A79EEBC9A56 for ; Wed, 31 Aug 2016 23:39:34 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (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 638BE849; Wed, 31 Aug 2016 23:39:34 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pa0-x233.google.com with SMTP id hb8so23132032pac.2; Wed, 31 Aug 2016 16:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=l+G05Y13Xsi8UCYPnEqhwLSG0HTenscT4X8hdPnmbXI=; b=L1rxRjYAMtXM75nepM5kNXGz2KysAuwMxamIisD9CDDmA4zz9YWFpdo8h10FrmIPyS jhV77yVNad/qCQLlEoGkAfhrfLO49d2TIUIszLBo9ebywxJUOyKIhyRmZi4NB/vcygq2 0q7SDY9I2mTGW1die4i3f4QSm4qi2pheYXcCaHwO6m4cWsJcuVw0mLJr1UWZQmEmInGO BEOch3gwDtWtQsbCBY9lbSPlv9KPQ6WHlALyb9IuROQnP65hSe8h2jF3NDKxqcbPLwba 0kK83eeJFqzRWdpO4ZUixw7JqX+ZbDCyBZpURDUglUxQ7wPNsKsD/edm5SK7KhW+V6x4 Hbig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=l+G05Y13Xsi8UCYPnEqhwLSG0HTenscT4X8hdPnmbXI=; b=gJTAOc2KZABmaakh2X8VhUs1wlgFtO1MRrB16R/O9EcAmeRitRnOyqmYxQAqDRc0AI OEeUdkraFwRTwp6lacwVsxBdStD2kSt3+ANAM5WFO0doxEXeGpps+vu03UDsQV/hZBTm w8IeSDsNhnoumu85R1dQYiPB/vbskBRRivQmnRrTsdm6yEI/DVMGf49/LKnmJgNhiJ0+ 7AuvKQO9E9dkNSoOFGCE1N4vYjkx+s+lCxUwW/5jvejNqRdb7d+c/8fF0r9De/ew5EQB YdmBaDvC6z9ds4MBXuN6cAke8FZ/cojuCREmQ9AzDKXWGCmMcP9dxItZe1bAKjFfxexu nLHA== X-Gm-Message-State: AE9vXwPGWUWZ09Dqjw+qKXFGWliuqVsdoTiBTzP46sYK27tT8oYl8vMOo5Xn+CxGVpP5AQ== X-Received: by 10.66.100.162 with SMTP id ez2mr21442065pab.123.1472686773700; Wed, 31 Aug 2016 16:39:33 -0700 (PDT) Received: from [192.168.20.12] (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id m65sm2147327pfg.79.2016.08.31.16.39.32 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 31 Aug 2016 16:39:32 -0700 (PDT) Subject: Re: Jenkins build is still unstable: FreeBSD_HEAD #564 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_64B860D5-39DA-4D54-A65C-41F9572809A7"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: Date: Wed, 31 Aug 2016 16:39:34 -0700 Cc: Li-Wen Hsu , "jenkins-admin@freebsd.org" , "freebsd-testing@freebsd.org" , Dimitry Andric Message-Id: 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> <20160829163911.GA51650@FreeBSD.cs.nctu.edu.tw> <4b8980f0-1a90-40d7-45b3-9569b321d1c6@FreeBSD.org> <20160829175247.GA10263@FreeBSD.cs.nctu.edu.tw> <31f11ba3-ca29-0f85-f1c1-6a3cd467bb57@FreeBSD.org> <67E84707-3267-49F3-8DB6-13CBD05B1690@gmail.com> <3B60A57F-778C-4E7C-B081-098C0F6E92D2@gmail.com> <5485945b-6539-5ed0-c089-5537d6bd70a9@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3124) 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: Wed, 31 Aug 2016 23:39:34 -0000 --Apple-Mail=_64B860D5-39DA-4D54-A65C-41F9572809A7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 30, 2016, at 01:45, Ngie Cooper (yaneurabeya) = wrote: >=20 >=20 >> On Aug 29, 2016, at 11:20, Bryan Drewery = wrote: >=20 > =E2=80=A6 >=20 >> Trust me, you're wasting your time, this is not the problem. If it = were >> then _nothing_ would compile from the /usr/bin/cc compiler. It's = only a >> problem with running the ATF tests which means it is likely storing = the >> flags it is built with somewhere and reusing them. >=20 > Well, that was part of the problem, but it seems that clang is indeed = caching -sysroot when running the _everything phase of buildworld. =46rom = https://jenkins.freebsd.org/job/FreeBSD_HEAD/571/consoleText : >=20 > 50585 --- AnalysisDeclContext.o --- > 50586 c++ -O2 -pipe = -I/builds/workspace/FreeBSD_HEAD/src/lib/clang/libclanganalysis/../../../c= ontrib/llvm/include = -I/builds/workspace/FreeBSD_HEAD/src/lib/clang/libclanganalysis/../../../c= ontrib/llvm/ tools/clang/include = -I/builds/workspace/FreeBSD_HEAD/src/lib/clang/libclanganalysis/../../../c= ontrib/llvm/tools/clang/lib/Analysis -I. = -I/builds/workspace/FreeBSD_HEAD/src/lib/clang/libclanganaly = sis/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX = -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS = -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknow = n-freebsd12.0\" -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd12.0\" = -DDEFAULT_SYSROOT=3D\"/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/= FreeBSD_HEAD/src/tmp\" -MD -MF.depend.AnalysisDeclContext .o = -MTAnalysisDeclContext.o -Qunused-arguments = -I/builds/workspace/FreeBSD_HEAD/obj/builds/workspace/FreeBSD_HEAD/src/tmp= /legacy/usr/include -std=3Dc++11 -fno-exceptions -fno-rtti = -stdlib=3Dlibc++ - Wno-c++11-extensions -c = /builds/workspace/FreeBSD_HEAD/src/lib/clang/libclanganalysis/../../../con= trib/llvm/tools/clang/lib/Analysis/AnalysisDeclContext.cpp -o = AnalysisDeclContext.o >=20 > The reason why =E2=80=9Cno one=E2=80=9D has seen this probably is this = is that is: >=20 > - not default (using an inaccessible ${WORLDTMP} from an install = image; path isn=E2=80=99t standard). > - ^/stable/11 is still a fairly fresh branch and the number of people = testing on ^/head is likely smaller than the ^/stable/... branches. I just proved my theory wrong by doing the following: $ sudo chown /obj /wnw $ sudo chown ngie /obj $ env MAKEOBJDIRPREFIX=3D/obj NO_CLEAN=3D1 script /tmp/bw make = buildworld -j4 $ sudo make installworld DESTDIR=3D/wnw $ sudo chroot /wnw /bin/sh # cat < hello_world.c #include int main(void) { printf("hello world\n=E2=80=9D); return 0; } EOF # cc -o hello_world hello_world.c # ./hello_world hello world I did however prove that there=E2=80=99s a bug still in the tests by = doing what I did above: # kyua report =3D=3D=3D> Failed tests libatf-c++/atf_c++_test:include -> failed: Header check failed; = atf-c++.hpp is not self-contained [0.042s] libatf-c++/macros_test:use -> failed: Build of macros_hpp_test.cpp = failed; some macros in atf-c++/macros.hpp are broken [0.030s] =3D=3D=3D> Summary Results read from = /root/.kyua/store/results.usr_tests_lib_atf.20160831-233801-403911.db Test cases: 328 total, 0 skipped, 0 expected failures, 0 broken, 2 = failed Total time: 7.023s # kyua debug libatf-c++/atf_c++_test:include > c++ -target x86_64-unknown-freebsd12.0 --sysroot=3D/obj/mnt/tmp = -B/obj/mnt/tmp/usr/bin -O2 -O2 -DHAVE_CONFIG_H -O2 -I/usr/include -Wall = -Werror -o test.o -c test.cpp In file included from test.cpp:1: In file included from /usr/include/atf-c++.hpp:29: /usr/include/atf-c++/macros.hpp:29:10: fatal error: 'sstream' file not = found #include ^ 1 error generated. c++ failed with exit code 1 Files left in work directory after failure: test.cpp libatf-c++/atf_c++_test:include -> failed: Header check failed; = atf-c++.hpp is not self-contained Working on a fix right now. Thanks, -Ngie --Apple-Mail=_64B860D5-39DA-4D54-A65C-41F9572809A7 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJXx2q3AAoJEPWDqSZpMIYV7mwQAI1RnHtwNNcn70SBJCDJKGF9 uB8g1bbgxT/A5h9FPSEOVHMswi0NAxlyWLNc4sGugq+KA0nkpf00qVb+rnFTyK6C lqvPcn+eNVvKPp9wiJPo+JtpFk/BNA/RXNGAsZ/INvObXhbXPVNmntlNK7z3+r2U n+w95GzDZgpcC7VMUaLBaro/WGoJI4MWKgTxsriyqw3v49mAjE1SgJCfDbI0ZxuF QgtDe4w9x4UPJj7WwqUtI3MNkXOZ/Ah7l6r6Mqfl/u41AwKv0Npot2t3qHcWdM0J FzRvg8RI1TI8cWMb2ypsYO9SemXvRY1BnTQj8WVq+VEFBIkSv53mg6GHdh51BJSD zxRMSNJ6BQ0jAMhD7pXKI+nnBt20kdbTX8qKGlndpWveJ2XNG8KLBSKXCABtTUyN He+pG4rLk7eZ/8O0UzOZ/UXyejno3Uz4GXYs1w9t1BxyeYt1iKXtO7j3XPt3up4M yBrQfMnOQUBifguYpcmjR6Gd9zTUVJz5xv4U9zybjsJnN9kcTiY7JO+L1oT5HyAu q/oFScyqC+4yQf9zjHGssEiBcFyhiiy81KXXEjSqYpfnCCs/xCcTL8UyMvqk4Z6j EmxQWpaPmI4bEV3F6A/J9d5FjdctawfJ27hLSFdW81+IByzr62UIYSJiR4s/wSON /RbKSF2XEi8AhVoJXjWD =Cmpl -----END PGP SIGNATURE----- --Apple-Mail=_64B860D5-39DA-4D54-A65C-41F9572809A7--