From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] No space left on device
Date: Fri, 16 Feb 2018 16:13:17 +0100 [thread overview]
Message-ID: <20180216151317.GA11776@rei> (raw)
In-Reply-To: <BY2PR13MB0709E6ADB72B75A42150F2F990CB0@BY2PR13MB0709.namprd13.prod.outlook.com>
Hi!
> I met a problem when using LTP
> Many tests failed because of "errno=ENOSPC(28): No space left on device"
> Here is one of the example:
>
> <<<test_start>>>
> tag=readv01 stime=1518724492
> cmdline="readv01"
> contacts=""
> analysis=exit
> <<<test_output>>>
> incrementing stop
> readv01 1 TBROK : safe_macros.c:440: readv01.c:113: write(6,0x30274,4294967295) failed: errno=ENOSPC(28): No space left on device
> readv01 2 TBROK : safe_macros.c:440: Remaining cases broken
> <<<execution_status>>>
> initiation_status="ok"
> duration=0 termination_type=exited termination_id=2 corefile=no
> cutime=0 cstime=1
> <<<test_end>>>
> INFO: ltp-pan reported some tests FAIL
> LTP Version: 20170116
> ./runltp: line 973: cannot create temp file for here-document: No space left on device
>
> root@adzs-sc589-ezlite:/opt/ltp# df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/root 7462604 555564 6504916 8% /
> devtmpfs 110608 0 110608 0% /dev
> tmpfs 110688 40 110648 0% /run
> tmpfs 110688 52 110636 0% /var/volatile
>
> Notice I have plenty of space on my disk, and I also check "df -i". Inodes are free as well
> Is anyone had this problem? Please give me a hint, I'll be appreciated
I have never seen such failure.
But if you look at the the actual error message it looks like something
very wrong is happening there. The test is supposed to write 64 bytes to
the temporary file but it looks like in your case it attempts to write
4294967295 bytes, which is around 4GB if I'm counting correctly so it's
no wonder it fails with ENOSPC.
My guess is that the test is miscompiled somehow but that is just a wild
guess.
--
Cyril Hrubis
chrubis@suse.cz
next prev parent reply other threads:[~2018-02-16 15:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 13:19 [LTP] No space left on device Xiuzhe Xiao
2018-02-16 15:13 ` Cyril Hrubis [this message]
2018-03-14 16:23 ` Xiuzhe Xiao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180216151317.GA11776@rei \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox