Skip to content

test: skip TEST-17 on ubuntu ppc64el - #22680

Merged
mrc0mmand merged 1 commit into
systemd:mainfrom
yuwata:test-skip-test-17-on-ppc64el
Mar 8, 2022
Merged

mrc0mmand merged 1 commit into
systemd:mainfrom
yuwata:test-skip-test-17-on-ppc64el

Conversation

@yuwata

@yuwata yuwata commented Mar 8, 2022

Copy link
Copy Markdown
Member

The test fails without syncing /run/udev before checking its contents.
This should be a testing emvironment issue, instead of a issue on udev.

C.f. #22357.

Fixes #21603.

@yuwata yuwata added the tests label Mar 8, 2022
@yuwata

yuwata commented Mar 8, 2022

Copy link
Copy Markdown
Member Author

cc @mrc0mmand and @bluca I am not familiar with how to skip specific tests on Ubuntu CI. Please let me know when I made something wrong.

@bluca

bluca commented Mar 8, 2022

Copy link
Copy Markdown
Member

Is this a kernel bug? Or a virtualization environment bug?

@bluca bluca added the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Mar 8, 2022
@yuwata

yuwata commented Mar 8, 2022

Copy link
Copy Markdown
Member Author

Is this a kernel bug? Or a virtualization environment bug?

Still I am not sure. But I cannot find anything on baremetal kernel feature. I guess the issue is on nested KVM or any other virtualization environment stuff.

@bluca

bluca commented Mar 8, 2022

Copy link
Copy Markdown
Member

Is this a kernel bug? Or a virtualization environment bug?

Still I am not sure. But I cannot find anything on baremetal kernel feature. I guess the issue is on nested KVM or any other virtualization environment stuff.

Ok, let's try again once Ubuntu 22.04 ships and we rebase on that

@bluca

bluca commented Mar 8, 2022

Copy link
Copy Markdown
Member

Is this a kernel bug? Or a virtualization environment bug?

Still I am not sure. But I cannot find anything on baremetal kernel feature. I guess the issue is on nested KVM or any other virtualization environment stuff.

Could you please add a summary of your investigation to the bug, so that we don't forget the context?

On Ubuntu CI on ppc64el, the test randomly fails when /run/udev is not
synced before checking its contents (see systemd#22357). But /run/udev is a
tmpfs and fsync on tmpfs is noop (see `struct shmem_file_operations` in
mm/shmem.c of the kernel), hence, it is not necessary to call fsync on
/run/udev in general. This should be a testing emvironment issue (I
guess it is an issue on nested KVM on ppc64el), instead of an issue on
udev.

C.f. systemd#22357.

Fixes systemd#21603.
@yuwata
yuwata force-pushed the test-skip-test-17-on-ppc64el branch from b2cf9cd to f40804a Compare March 8, 2022 12:46
@yuwata

yuwata commented Mar 8, 2022

Copy link
Copy Markdown
Member Author

Sure. Extended the commit message. PTAL.

@mrc0mmand mrc0mmand left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wee, everything is green, let's merge!

@mrc0mmand
mrc0mmand merged commit c10caeb into systemd:main Mar 8, 2022
@yuwata
yuwata deleted the test-skip-test-17-on-ppc64el branch March 8, 2022 17:11
@keszybz keszybz removed the good-to-merge/waiting-for-ci 👍 PR is good to merge, but CI hasn't passed at time of review. Please merge if you see CI has passed label Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

TEST-17-UDEV randomly fails on Ubuntu ppc64el

4 participants