Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2016 17:03:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 210326] Multiple errors in libxo ATF tests on i386
Message-ID:  <bug-210326-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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:
<div class=3D"line"><div class=3D"text">We are </div><div
class=3D"text">{emit}</div><div class=3D"text">{ting}</div><div class=3D"te=
xt"> some
</div><div class=3D"data" data-tag=3D"what">braces</div></div><div
class=3D"line"><div class=3D"message">abcdef
</div></div><div class=3D"line"><div class=3D"message">abcdef: Bad file des=
criptor
</div></div><div class=3D"line"><div class=3D"message">improper use of prof=
anity;
ten yard penalty; first down
</div></div><div class=3D"line"><div class=3D"text">length </div><div class=
=3D"data"
data-tag=3D"length">abcdef</div></div><div class=3D"line"><div class=3D"tex=
t">close
</div><div class=3D"data" data-tag=3D"fd">-1</div><div class=3D"text"> retu=
rned
</div><div class=3D"data" data-tag=3D"error">Bad file descriptor</div><div
class=3D"text"> </div><div class=3D"data" data-tag=3D"test">good</div></div=
><div
class=3D"line"><div class=3D"text">close </div><div class=3D"data"
data-tag=3D"fd">-1</div><div class=3D"text"> returned </div><div class=3D"d=
ata"
data-tag=3D"error">Bad fi</div><div class=3D"text"> </div><div class=3D"dat=
a"
data-tag=3D"test">good</div></div><div class=3D"line"><div class=3D"message=
">improper
use of profanity; ten yard penalty; first down
</div></div>
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 the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210326-8>