Bug 234809 - lib/libc/sys/sendfile_test:hdtr_positive_test fails due to a mismatch in expected vs actual data from calls
Summary: lib/libc/sys/sendfile_test:hdtr_positive_test fails due to a mismatch in expe...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Enji Cooper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-10 00:49 UTC by Enji Cooper
Modified: 2019-01-10 00:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer 2019-01-10 00:49:04 UTC
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)