Skip to content

test_tail::test_retry9 is failing intermittently #3929

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

Open
sylvestre opened this issue Sep 12, 2022 · 3 comments
Open

test_tail::test_retry9 is failing intermittently #3929

sylvestre opened this issue Sep 12, 2022 · 3 comments

Comments

@sylvestre
Copy link
Contributor

Seen here:
https://github.com/uutils/coreutils/actions/runs/3039076174/jobs/4893584322


---- test_tail::test_retry9 stdout ----
current_directory_resolved: 
mkdir: /tmp/.tmp4yrgEi/parent_dir
write(truncate): /tmp/.tmp4yrgEi/parent_dir/watched_file
run: /home/runner/work/coreutils/coreutils/target/debug/coreutils tail -F -s.1 --max-unchanged-stats=1 parent_dir/watched_file
remove: "/tmp/.tmp4yrgEi/parent_dir/watched_file"
rmdir: /tmp/.tmp4yrgEi/parent_dir
mkdir: /tmp/.tmp4yrgEi/parent_dir
write(truncate): /tmp/.tmp4yrgEi/parent_dir/watched_file
remove: "/tmp/.tmp4yrgEi/parent_dir/watched_file"
rmdir: /tmp/.tmp4yrgEi/parent_dir
mkdir: /tmp/.tmp4yrgEi/parent_dir
write(truncate): /tmp/.tmp4yrgEi/parent_dir/watched_file
remove: "/tmp/.tmp4yrgEi/parent_dir/watched_file"
rmdir: /tmp/.tmp4yrgEi/parent_dir
mkdir: /tmp/.tmp4yrgEi/parent_dir
write(truncate): /tmp/.tmp4yrgEi/parent_dir/watched_file
thread 'test_tail::test_retry9' panicked at 'assertion failed: `(left == right)`
  left: `"foo\n"`,
 right: `"foo\nbar\nfoo\nbar\n"`', /home/runner/work/coreutils/coreutils/tests/by-util/test_tail.rs:1552:5


@jhscheer
Copy link
Contributor

Bummer!
I went through the last commits of tail, but at first glance I didn't see anything that might be related to this issue.
It could also be because changes that came in with notify 5.0.0-pre.16, or notify 5.0.0

@RenjiSann
Copy link
Collaborator

I haven't noticed this test being flakey for a while now, is it still failing intermittently, or can we close the case safely ?
@sylvestre

@bitspill
Copy link
Contributor

Looks like a different error message but just had a failure from test_retry9 on my PR #7492

https://github.com/uutils/coreutils/actions/runs/14689801931/job/41223532811?pr=7492#step:11:4202

thread 'test_tail::test_retry9' panicked at tests/by-util/test_tail.rs:1609:10:
assertion failed: `(left == right)`

Diff < left / right > :
 tail: 'parent_dir/watched_file' has become inaccessible: No such file or directory
>tail: directory containing watched file was removed
>tail: inotify cannot be used, reverting to polling
>tail: 'parent_dir/watched_file' has appeared;  following new file
>tail: 'parent_dir/watched_file' has become inaccessible: No such file or directory
>tail: 'parent_dir/watched_file' has appeared;  following new file
>tail: 'parent_dir/watched_file' has become inaccessible: No such file or directory
>tail: 'parent_dir/watched_file' has appeared;  following new file

failures:
    test_tail::test_retry9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants