bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66176: 9.4 root test fails: tests/rm/ext3-perf tests/rm/ext3-perf.sh


From: Bernhard Voelker
Subject: bug#66176: 9.4 root test fails: tests/rm/ext3-perf tests/rm/ext3-perf.sh
Date: Sun, 24 Sep 2023 17:31:55 +0200
User-agent: Mozilla Thunderbird

On 9/23/23 18:35, Jeffrey Cliff wrote:
Test suite told me to send this report in so here we are.

environment : custom LFS (GNM)
coreutils: 9.4
gcc: (GCC) 13.2.0


> FAIL: tests/rm/ext3-perf
> ========================
> [...]
>
> ++ date +%s
> + start=1698065263
> + mkdir d
> + cd d
> + xargs touch
> + seq 400000
> + test -f 1
> + test -f 400000
> + cd ..
> + ok=1
> + test 1 = 1
> +++ date +%s
> ++ expr 1698065541 - 1698065263
> + setup_duration=278
> + echo creating a 400000-entry directory took 278 seconds
> creating a 400000-entry directory took 278 seconds
> + test 60 -lt 278
> + threshold_seconds=278
> ++ date +%s
> + start=1698065541
> + timeout 278s rm -rf d
> + err=124
> +++ date +%s
> ++ expr 1698065819 - 1698065541
> + duration=278
> + case $err in
> + fail=1
> + echo rm took longer than 278 seconds
> rm took longer than 278 seconds
> + echo removing a 400000-entry directory took 278 seconds
> removing a 400000-entry directory took 278 seconds
> + Exit 1

Hmm, that seems to be a rather slow system.
On my desktop system on ext4 here, it is:
  creating a 400000-entry directory took 6 seconds
  removing a 400000-entry directory took 4 seconds

The test measures the time for the creation, and uses it to verify
that the removal is faster.

Depending on other activities on the system during creation vs. that during
the deletion, the test might fail.

Is it always reproducible on that system, or was this just a one-off?

Have a nice day,
Berny





reply via email to

[Prev in Thread] Current Thread [Next in Thread]