From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 3/4] gnu: glib: Disable tests in build phases instead of patches. Date: Tue, 5 Apr 2016 14:48:18 +0300 Message-ID: <20160405114818.GA17275@debian-netbook> References: <1459650631-13117-1-git-send-email-iyzsong@gmail.com> <1459650631-13117-3-git-send-email-iyzsong@gmail.com> <20160403180005.GG3620@debian-netbook> <87y48unduo.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anPT7-00038T-Gj for guix-devel@gnu.org; Tue, 05 Apr 2016 07:48:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anPT4-0000je-9E for guix-devel@gnu.org; Tue, 05 Apr 2016 07:48:25 -0400 Received: from flashner.co.il ([178.62.234.194]:48977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anPT3-0000jX-Ve for guix-devel@gnu.org; Tue, 05 Apr 2016 07:48:22 -0400 Content-Disposition: inline In-Reply-To: <87y48unduo.fsf@member.fsf.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: guix-devel@gnu.org --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 04, 2016 at 01:26:55PM +0800, =E5=AE=8B=E6=96=87=E6=AD=A6 wrote: > Efraim Flashner writes: >=20 > > [...] > > > > I just applied the first three patches and glib failed to build, with > > the following errors from the test phase: > > > > ERROR: gapplication - too few tests run (expected 12, got 4) > > ERROR: gapplication - exited with status 139 (terminated by signal 11?) > > > > Unfortunately I didn't tell it to keep the output of the build so I > > can't attach the test-suite.log file. It would be best if glib built > > with this commit, just in case. >=20 > So these tests are really unreliable... =20 > I did get it build sucessful with the patch on my x86-64 machine, > and this patch doesn't enable the '/gapplication/quit' test (it pass > too on my machine). I think the gapplication tests error here means that it was told there would be 12 tests to run, but it only got responses from 4 tests. >=20 > Could you build it with '-K', show the log (not very useful, IMO), and > the run the test manually in a container environment by: > --8<---------------cut here---------------start------------->8--- > $ guix environment -C --pure glib > # cd gio/tests > # ./gapplication > --8<---------------cut here---------------end--------------->8--- /tmp/guix-build-glib-2.46.1.drv-0/glib-2.46.1/gio/tests [env]# =2E/gapplication /gapplication/no-dbus: OK /gapplication/no-appid: OK /gapplication/properties: org.freedesktop.DBus.Error.AccessDenied: Failed to set fd limit to 65536: Operation not permitted OK /gapplication/app-id: OK /gapplication/local-actions: Segmentation fault followed by: /tmp/guix-build-glib-2.46.1.drv-0/glib-2.46.1/gio/tests [env]# =2E/gapplication -s '/gapplication/local-actions' /gapplication/no-dbus: OK /gapplication/no-appid: OK /gapplication/properties: org.freedesktop.DBus.Error.AccessDenied: Failed to set fd limit to 65536: Operation not permitted OK /gapplication/app-id: OK /gapplication/local-command-line: OK /gapplication/resource-path: OK /gapplication/test-help: OK /gapplication/test-busy: org.freedesktop.DBus.Error.AccessDenied: Failed to set fd limit to 65536: Operation not permitted OK /gapplication/test-handle-local-options1: OK /gapplication/test-handle-local-options2: OK /gapplication/test-handle-local-options3: OK so /gapplication/local-actions completely failed for me, so with my understanding of the error that I got above (only 4/12 tests run) the best course would be to patch/substitute the the /gapplication/local-actions test to either pass for real or to just return true. Or to tell it that there are only 4 (or 11) tests >=20 > Also, one can skip some test cases using something like: > --8<---------------cut here---------------start------------->8--- > ./gapplication -s '/gapplication/quit' -s '/gapplication-remote-actions' > --8<---------------cut here---------------end--------------->8--- > I use this to filter out mis-disabled test cases in the origin patches. >=20 > Thanks! Actually, I attached test-suite.log and gapplication.log but deleted the build environment before sending, and when I rebuilt it it built cleanly for me. I'm now rebuilding it with the --check flag (and -K). And it built again successfully. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXA6X/AAoJEPTB05F+rO6TuKQQAIfD44B8SxWGJj46Dfi/bT/0 cotYGyuFnWAoMOSaD95mx8iYYCxFaFkRNV3L37fQ0r6PVYyABYQPDRpUcafa5lN4 zmahF7gQebA6cRrIjYP1ovM8ifxwC/FwjAJKCUtYnEWIiGuANxsQK/v/d6KTAf6r CO4/lG95gUc0eJ+KXSXj8ARdlXzOG1DNMxHq4QmwruCMbqQg8KpaO7jNJcYxw1nC l5dUT1E/ehOIDfn1HZE/DSvvAru35kRAbKGJab7JQDPylerSeiZ1xraQkD/BzQOa 7MTQthXuYT8Zs9qV2V2sQmImYjU0m1zKFJnJEtugJOAMwvQi0BsOUQ+1t4cu1P8z xEoRUhc59aQ3DNXun4u0c2p0XjQZOc6prceuZzgFFtThRguhnA6j9MBorJHGMbs/ ENcAETE7rRZHFT+lp/PabXtaxa7UZmogGQMIYd4NDkWLvOBPf3a4KMYN0v8k3JNT nh0n7xw0sXa5jrYFarNhOj5DzVvp+ZmphvNaeuzHF/wq+mVQg1FcmUY4mXob5gcH JZrfizwv1lj/4AkJ2sSujDVqp/qvVKb2fNkjk8v2sqLeTLKM8zn6cDSJoZJt3sCy pMimO7aW6jbj5InZdpCsO198Y8GH6TDznNOYsevexbJkhWAdFJlAAiIFv1hMJcDi 7P8+zF0paL6QGKPQxuz9 =BOBS -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--