[GSoC] Introduction

Paul Chaignon paul.chaignon at gmail.com
Wed Apr 3 13:58:20 UTC 2019


On Wed, Mar 27, 2019 at 11:00:11PM +0800, Daniel Lim wrote:
> On Wed, Mar 27, 2019 at 10:18 PM Dmitry V. Levin <ldv at altlinux.org> wrote:
> > Try passing VERBOSE=1 to "make check" to see a more verbose test report.
> 
> Here is a smart part of the report, where clock.gen.test failed
> 
> (top part truncated due to length)
> sendfile.c:60: ftruncate: sendfile-tmpfile: No such file or directory

Looks like it's actually sendfile that's failing.  The error message is as
if the file had been deleted by unlink when it shouldn't have been, since
the process still holds a file description.  Could you run strace on that
test and check whether the open, unlink, and ftruncate syscalls are
hitting any error for that file?

  strace ./tests/sendfile #(<- built by make check)

> + rc=1
> + [ 1 -eq 77 ]
> + fail_ ../sendfile failed with code 1
> + warn_ clock.gen.test: failed test: ../sendfile failed with code 1
> + printf %s\n clock.gen.test: failed test: ../sendfile failed with code 1
> clock.gen.test: failed test: ../sendfile failed with code 1
> + exit 1
> FAIL clock.gen.test (exit status: 1)
> 
> Is there any dependencies that I may have missed? Or because I'm
> running in a virtual machine?
> 
> --
> Daniel
> -- 
> Strace-devel mailing list
> Strace-devel at lists.strace.io
> https://lists.strace.io/mailman/listinfo/strace-devel


More information about the Strace-devel mailing list