From owner-freebsd-i386@freebsd.org Thu Jun 16 17:03:33 2016 Return-Path: Delivered-To: freebsd-i386@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 AB68EA761CA for ; Thu, 16 Jun 2016 17:03:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B999142A for ; Thu, 16 Jun 2016 17:03:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5GH3X5F006807 for ; Thu, 16 Jun 2016 17:03:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-i386@FreeBSD.org Subject: [Bug 210326] Multiple errors in libxo ATF tests on i386 Date: Thu, 16 Jun 2016 17:03:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 17:03:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210326 Bug ID: 210326 Summary: Multiple errors in libxo ATF tests on i386 Product: Base System Version: 11.0-CURRENT Hardware: i386 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: asomers@FreeBSD.org CC: freebsd-i386@FreeBSD.org CC: freebsd-i386@FreeBSD.org The libxo ATF tests all pass on amd64, but they have multiple errors on i38= 6.=20 Some tests give the wrong output, and others segfault. From inspection, I believe that the errors lie in libxo itself, not in the tests. Here are two examples. The first gives wrong output and the second segfaults. $ kyua debug functional_test:test_02__E Executing command [ env LC_ALL=3Den_US.UTF-8 LIBXO_OPTIONS=3Dwarn,encoder= =3Dtest TZ=3DEST /usr/tests/lib/libxo/test_02 ] Fail: stdout does not match golden output --- /usr/tests/lib/libxo/test_02.E.out 2016-06-11 01:25:13.000000000 +0000 +++ /tmp/kyua.atf-tester.wD9FcQ/check.KQCiwT/stdout 2016-06-16 17:01:58.283775000 +0000 @@ -9,9 +9,9 @@ op content: [fd] [-1] op string: [error] [Bad fi] op string: [test] [good] -op content: [lines] [20] -op content: [words] [30] -op content: [characters] [40] +op content: [lines] [128849018900] +op content: [words] [577747258217332776] +op content: [characters] [0] op open_leaf_list: [bytes] [] op content: [bytes] [0] op content: [bytes] [1] functional_test:test_02__E -> failed: atf-check failed; see the output of= the test for details $ kyua debug functional_test:test_02__H Executing command [ env LC_ALL=3Den_US.UTF-8 LIBXO_OPTIONS=3D:WH TZ=3DEST /usr/tests/lib/libxo/test_02 ] Fail: program did not exit cleanly stdout:
We are
{emit}
{ting}
some
braces
abcdef
abcdef: Bad file des= criptor
improper use of prof= anity; ten yard penalty; first down
length
abcdef
close
-1
retu= rned
Bad file descriptor
good
close
-1
returned
Bad fi
good
improper use of profanity; ten yard penalty; first down
stderr: functional_test:test_02__H -> failed: atf-check failed; see the output of= the test for details --=20 You are receiving this mail because: You are on the CC list for the bug.=