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=210326 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 i386. 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=en_US.UTF-8 LIBXO_OPTIONS=warn,encoder=test TZ=EST /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=en_US.UTF-8 LIBXO_OPTIONS=:WH TZ=EST /usr/tests/lib/libxo/test_02 ] Fail: program did not exit cleanly stdout: <div class="line"><div class="text">We are </div><div class="text">{emit}</div><div class="text">{ting}</div><div class="text"> some </div><div class="data" data-tag="what">braces</div></div><div class="line"><div class="message">abcdef </div></div><div class="line"><div class="message">abcdef: Bad file descriptor </div></div><div class="line"><div class="message">improper use of profanity; ten yard penalty; first down </div></div><div class="line"><div class="text">length </div><div class="data" data-tag="length">abcdef</div></div><div class="line"><div class="text">close </div><div class="data" data-tag="fd">-1</div><div class="text"> returned </div><div class="data" data-tag="error">Bad file descriptor</div><div class="text"> </div><div class="data" data-tag="test">good</div></div><div class="line"><div class="text">close </div><div class="data" data-tag="fd">-1</div><div class="text"> returned </div><div class="data" data-tag="error">Bad fi</div><div class="text"> </div><div class="data" data-tag="test">good</div></div><div class="line"><div class="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 -- 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>
