-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GNU tests factor
regressions
#3171
Comments
The question is also if they were working before or not ? :) |
They seem to pass on main: https://uutils.github.io/coreutils-docs/user/test_coverage.html Is there something else going on? |
Maybe related to recent CI changes that I made to support "debug" builds for GnuTest coverage? I'll try to take a closer look at these logs. Intermittent CI bugs, ah joy... 😕 |
Yep, the factor tests are failing with...
My recent changes caused some sort of breakage within the tests themselves. |
So, after looking at this, I think we should just disable all the dynamically generated factor tests within GNU. And we've already cut out half of the dynamic GNU tests for taking too long to test; and, now, in "debug" builds, the rest are taking even more annoyingly long amounts of time to complete. That has lead to partitioning some tests for "release" only, complicating the build script for the GNU tests. And hacking the test scripts directly with the build script is proving too fragile. Disabling them should stabilize the test oscillations. 🤞🏻 I've got a commit set with the change running in my local fork which looks more stable. It will cut the TOTAL number to 590 and PASS to 215 (to We can judiciously move them back in at a later date if/when desired (although I'm not sure that we need them). @sylvestre , @tertsdiepraam , thoughts? |
Do you know why they fail exactly? I'm fine with disabling them if the failures don't indicate any regressions, because that makes them pretty much useless anyway. |
From what I see in the logs, the tests are failing due to broken pipes to a failed I'm almost 100% certain that it's not a |
Interesting, I've been seeing more broken pipe errors in the CI lately, for example with those flaky |
This seems to still be happening frequently. It's kind of annoying because it creates a lot of spurious build failure notifications. See https://github.com/uutils/coreutils/runs/5637336986?check_suite_focus=true for a recent example. |
So, after looking at this, I think we should just disable all the
dynamically generated factor tests within GNU.
I've got a commit set with the change running in my local fork which
looks more stable.
Agreed
do you still have this patch ?:)
thanks
S
… Message ID: ***@***.***>
|
Sure. |
I've got a PR almost done. I'm looking at two errors before I post it...
|
From my Ubuntu server: $ git log -1 | cat
commit d5d6bc30504b3161a932e8372d8c5508661ebad8
Merge: c93223682 ab717ce37
Author: Sylvestre Ledru <sylvestre@debian.org>
Date: Sun Mar 27 23:41:50 2022 +0200
Merge pull request #3294 from jfinkels/df-file-column
df: implement the File column
$ cargo build --release --features unix
...
Finished release [optimized] target(s) in 49.25s
$ ./target/release/coreutils df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1966968 0 1966968 0% /dev
tmpfs 402616 1144 401472 1% /run
/dev/vda1 81120644 55683576 25420684 69% /
tmpfs 2013076 0 2013076 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 2013076 0 2013076 0% /sys/fs/cgroup
/dev/sdb 51475068 957772 47879472 2% /mnt/volume_nyc1_01
/dev/vda15 106858 6443 100414 7% /boot/efi
/dev/sda 259946948 175562520 71260844 68% /mnt/volume_nyc1_02
/dev/loop2 56960 56960 0 100% /snap/core18/2284
/dev/loop5 96896 96896 0 100% /snap/go/9028
tmpfs 402612 0 402612 0% /run/user/0
tmpfs 402612 0 402612 0% /run/user/1000
/dev/loop9 113536 113536 0 100% /snap/core/12725
/dev/loop0 63488 63488 0 100% /snap/core20/1361
/dev/loop7 69632 69632 0 100% /snap/lxd/22526
/dev/loop1 63488 63488 0 100% /snap/core20/1376
/dev/loop3 96896 96896 0 100% /snap/go/9360
/dev/loop4 113408 113408 0 100% /snap/core/12821
/dev/loop10 56960 56960 0 100% /snap/core18/2344
/dev/loop6 69504 69504 0 100% /snap/lxd/22753
$ ./target/release/coreutils df /dev/vda1
Filesystem 1K-blocks Used Available Use% Mounted on
udev 1966968 0 1966968 0% /dev
$ df
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 394M 1.2M 393M 1% /run
/dev/vda1 78G 54G 25G 69% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sdb 50G 936M 46G 2% /mnt/volume_nyc1_01
/dev/vda15 105M 6.3M 99M 7% /boot/efi
/dev/sda 248G 168G 68G 72% /mnt/volume_nyc1_02
/dev/loop2 56M 56M 0 100% /snap/core18/2284
/dev/loop5 95M 95M 0 100% /snap/go/9028
tmpfs 394M 0 394M 0% /run/user/0
tmpfs 394M 0 394M 0% /run/user/1000
/dev/loop9 111M 111M 0 100% /snap/core/12725
/dev/loop0 62M 62M 0 100% /snap/core20/1361
/dev/loop7 68M 68M 0 100% /snap/lxd/22526
/dev/loop1 62M 62M 0 100% /snap/core20/1376
/dev/loop3 95M 95M 0 100% /snap/go/9360
/dev/loop4 111M 111M 0 100% /snap/core/12821
/dev/loop10 56M 56M 0 100% /snap/core18/2344
/dev/loop6 68M 68M 0 100% /snap/lxd/22753
$ df /dev/vda1
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 78G 54G 25G 69% /
$ |
Can you say more about what the problem is? I see a couple of things:
Here are some other known issues: https://github.com/uutils/coreutils/issues?q=is%3Aopen+is%3Aissue+label%3A%22U+-+df%22 The tests/df/df-symlink.sh test case should have been resolved in #3161 |
[ Whoops! I initially edited your message instead of quoting it. 😨 ]
I think this might be issue causing failure for
because file_system=$(df --out=source '.' | tail -n1) ||
skip_ "cannot determine '.' file system"
ln -s "$file_system" symlink || framework_failure_
df --out=source,target "$file_system" > exp ||
skip_ "cannot get info for $file_system"
df --out=source,target symlink > out || fail=1
compare exp out || fail=1 which causes a failure.
Hmm, I'm using the most recent commit (d5d6bc3) which includes that merged commit. |
I think the When I dig into the script... # dir='/dev' ; readdir_inode=12 (via `ls ...`); stat_inode=2
$ ls -i -I '.?*' -I 'dev?*' -I 'de[^v]*' -I '??' -I 'd[^e]*' -I '?' -I '[^d]*' '/'
2 dev/
$ target/release/coreutils ls -i -I '.?*' -I 'dev?*' -I 'de[^v]*' -I '??' -I 'd[^e]*' -I '?' -I '[^d]*' '/'
12 bin 1619 home 3809 lib64 3811 media 1 proc 3821 sbin 1 sys 60476 var
180 boot 1622 lib 6709249 libx32 3812 mnt 3815 root 4041 snap 4044 tmp
206 etc 6193153 lib32 11 lost+found 9805825 opt 2 run 4042 srv 4045 usr
|
I've got a working commit change set with 'GnuTests' changes including disabling the |
On a recent PR unrelated to
factor
, a lot offactor
tests are failingSame happened here.
The text was updated successfully, but these errors were encountered: