From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#21354: "make check" failure in 0.8.3 Date: Thu, 27 Aug 2015 11:09:25 +0200 Message-ID: <87mvxd3xoa.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUtC9-00040u-PS for bug-guix@gnu.org; Thu, 27 Aug 2015 05:10:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUtC7-0002sa-2r for bug-guix@gnu.org; Thu, 27 Aug 2015 05:10:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUtC6-0002sW-W2 for bug-guix@gnu.org; Thu, 27 Aug 2015 05:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZUtC6-0004xn-Fl for bug-guix@gnu.org; Thu, 27 Aug 2015 05:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Eric Hanchrow's message of "Wed, 26 Aug 2015 19:54:00 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Eric Hanchrow Cc: 21354@debbugs.gnu.org Hi, I see you were running the test suite as =E2=80=98root=E2=80=99. It=E2=80= =99s usually not considered a good idea, but here this has allowed us to find a bug, so thanks. :-) Eric Hanchrow skribis: > %%%% Starting test store (Writing full log to "store.log") > > ;;; ("/usr/local/src/guix-0.8.3/test-tmp/var/log/guix/drvs/ga/y376758c2j5= c8ia6aw1aar0j57snnn-the-thing.drv.bz2") > > ;;; ("/usr/local/src/guix-0.8.3/test-tmp/var/log/guix/drvs/4f/4iprr205w93= hihpx2cqs2bz9phaq91-the-thing.drv.bz2") > > ;;; (spi (#< path: "/usr/local/src/guix-0.8.3/test-tmp/sto= re/7fnh7srm99a45vlvask08w35hbginm0f-guile-bootstrap-2.0" deriver: "/usr/loc= al/src/guix-0.8.3/test-tmp/store/j3fnxhyy2sz7vb2qq7yq06zc1597faix-guile-boo= tstrap-2.0.drv" refs: () dl-size: 0 nar-size: 1234>)) > > ;;; (corrupt #) > tests/store.scm:595: FAIL import corrupt path This is due to a regression in 322eeb87, whereby =E2=80=98root=E2=80=99 wou= ld be allowed to import unsigned or corrupt paths (via =E2=80=98guix archive --import=E2= =80=99.) Commit ef80ca9 fixes that regression. > FAIL: tests/syscalls > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > warning: daemon is running as root, so using `--build-users-group' is hig= hly recommended > %%%% Starting test syscalls (Writing full log to "syscalls.log") > %%%% Starting test syscalls (Writing full log to "syscalls.log") > %%%% Starting test syscalls (Writing full log to "syscalls.log") > %%%% Starting test syscalls (Writing full log to "syscalls.log") > %%%% Starting test syscalls (Writing full log to "syscalls.log") > tests/syscalls.scm:200: FAIL set-network-interface-address Fixed in commit 54e515e (this test must be skipped when run as root.) > FAIL: tests/guix-gc > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [...] > In guix/store.scm: > 812: 2 [run-gc # 1 () 18446744073709551615] > In srfi/srfi-1.scm: > 534: 1 [unfold # ...] > In unknown file: > ?: 0 [utf8->string #vu8(47 117 115 114 47 108 111 99 97 108 47 115 114= 99 47 103 117 105 120 45 48 46 56 46 51 47 116 101 115 116 45 116 109 112 = 47 115 116 111 114 101 47 114 57 57 52 52 97 54 104 121 102 48 97 98 121 51= 119 49 119 98 57 99 106 98 148 106 107 99 53 52 48 115 103 45 116 101 120 = 116)] > > ERROR: In procedure utf8->string: > ERROR: Throw to key `decoding-error' with args `("scm_from_stringn" "inpu= t locale conversion error" 84 #vu8(47 117 115 114 47 108 111 99 97 108 47 1= 15 114 99 47 103 117 105 120 45 48 46 56 46 51 47 116 101 115 116 45 116 10= 9 112 47 115 116 111 114 101 47 114 57 57 52 52 97 54 104 121 102 48 97 98 = 121 51 119 49 119 98 57 99 106 98 148 106 107 99 53 52 48 115 103 45 116 10= 1 120 116))'. > unexpected Nix daemon error: reading from file: Connection reset by peer > + rm -f guix-gc-root > FAIL tests/guix-gc.sh (exit status: 1) I think this one was caused by the first bug above: We imported a corrupt item in the store, so that item has a file name that is not valid UTF-8, hence this conversion failure. Could you apply the given patches (you can take them from , and then apply them with =E2=80=98patch -p1 < patch=E2=80=99 from the top-level source director= y), and then run: rm -rf test-tmp && make check and report the result? Thank you! Ludo=E2=80=99.