[Bug 234809] lib/libc/sys/sendfile_test:hdtr_positive_test fails due to a mismatch in expected vs actual data from calls

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 10 00:49:06 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234809

            Bug ID: 234809
           Summary: lib/libc/sys/sendfile_test:hdtr_positive_test fails
                    due to a mismatch in expected vs actual data from
                    calls
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: tests
          Assignee: testing at freebsd.org
          Reporter: ngie at FreeBSD.org

Proactive bug being filed for testcases being added in D18625, per asomers's
request:

$ kyua debug -k /usr/tests/lib/libc/sys/Kyuafile sendfile_test:hdtr_positive_v4
Generating a random port with seed=2
Port range lower bound: 10000
Port range upper bound: 65535
Random port generated: 60420
Will try to bind socket to host='127.0.0.1', address_family=2, socket_type=1
Will try to connect to host='127.0.0.1', address_family=2, socket_type=1
Generating a random port with seed=2
Port range lower bound: 10000
Port range upper bound: 65535
Random port generated: 60420
Will try to bind socket to host='127.0.0.1', address_family=2, socket_type=1
Will try to connect to host='127.0.0.1', address_family=2, socket_type=1
dest_file: This is a headerThe past is already gone, the future is not yet
here. There's only one moment for you to live.
Will mmap in the source file from offset=0 to length=111
Generating a random port with seed=686
Random port generated: 60663
Will try to bind socket to host='127.0.0.1', address_family=2, socket_type=1
Will try to connect to host='127.0.0.1', address_family=2, socket_type=1
Generating a random port with seed=2
Port range lower bound: 10000
Port range upper bound: 65535
Random port generated: 60420
Will try to bind socket to host='127.0.0.1', address_family=2, socket_type=1
Will try to connect to host='127.0.0.1', address_family=2, socket_type=1
dest_file: This is a headerThe past is already gone, the future is not yet
here. There's only one moment for you to live.
Will mmap in the source file from offset=0 to length=111
Generating a random port with seed=686
Random port generated: 60663
Will try to bind socket to host='127.0.0.1', address_family=2, socket_type=1
Will try to connect to host='127.0.0.1', address_family=2, socket_type=1
subprocess stderr: sendfile_test: received unexpected data: This is a trailerdy
gone, the future is not yet here. There's only one moment for you to live.
subprocess stderr: 
sendfile_test:hdtr_positive_v4  ->  expected_failure: the header/trailer
testcases fail today: /usr/src/contrib/atf/atf-c/utils.c:431: exitstatus !=
WEXITSTATUS(status)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-testing mailing list