* [LTP] No space left on device
@ 2018-02-16 13:19 Xiuzhe Xiao
2018-02-16 15:13 ` Cyril Hrubis
0 siblings, 1 reply; 3+ messages in thread
From: Xiuzhe Xiao @ 2018-02-16 13:19 UTC (permalink / raw)
To: ltp
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
Shawnx
This communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal, and/or privileged information. Any unauthorized disclosure, copying, or taking action on the contents is strictly prohibited. If you have received this message in error, please contact us immediately so we may correct our records. Please then delete or destroy the original transmission and any subsequent reply. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20180216/846db833/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] No space left on device
2018-02-16 13:19 [LTP] No space left on device Xiuzhe Xiao
@ 2018-02-16 15:13 ` Cyril Hrubis
2018-03-14 16:23 ` Xiuzhe Xiao
0 siblings, 1 reply; 3+ messages in thread
From: Cyril Hrubis @ 2018-02-16 15:13 UTC (permalink / raw)
To: ltp
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [LTP] No space left on device
2018-02-16 15:13 ` Cyril Hrubis
@ 2018-03-14 16:23 ` Xiuzhe Xiao
0 siblings, 0 replies; 3+ messages in thread
From: Xiuzhe Xiao @ 2018-03-14 16:23 UTC (permalink / raw)
To: ltp
Hi
I fixed this problem by adding option "-b" and -"B"
the command looks like this: /opt/ltp/runltp -b /dev/loop0 -B ext4 -s readv01
Shawnx.
________________________________
From: Cyril Hrubis <chrubis@suse.cz>
Sent: Friday, February 16, 2018 7:13:17 AM
To: Xiuzhe Xiao
Cc: ltp@lists.linux.it
Subject: Re: [LTP] No space left on device
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
This communication, including any attached documentation, is intended only for the person or entity to which it is addressed, and may contain confidential, personal, and/or privileged information. Any unauthorized disclosure, copying, or taking action on the contents is strictly prohibited. If you have received this message in error, please contact us immediately so we may correct our records. Please then delete or destroy the original transmission and any subsequent reply. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20180314/0e8c3049/attachment-0001.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-14 16:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 13:19 [LTP] No space left on device Xiuzhe Xiao
2018-02-16 15:13 ` Cyril Hrubis
2018-03-14 16:23 ` Xiuzhe Xiao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox