Skip to content

test: workaround for TEST-17 issue on ppc64le - #22357

Closed
yuwata wants to merge 2 commits into
systemd:mainfrom
yuwata:test-17-workaround
Closed

yuwata wants to merge 2 commits into
systemd:mainfrom
yuwata:test-17-workaround

Conversation

@yuwata

@yuwata yuwata commented Feb 2, 2022

Copy link
Copy Markdown
Member

For #21603.

@yuwata yuwata added the tests label Feb 2, 2022
@yuwata

yuwata commented Feb 2, 2022

Copy link
Copy Markdown
Member Author

cc @mrc0mmand

@yuwata

yuwata commented Feb 2, 2022

Copy link
Copy Markdown
Member Author

Hmm... still red.

@yuwata
yuwata force-pushed the test-17-workaround branch 2 times, most recently from 11cdd75 to 0985de9 Compare February 4, 2022 08:55
@yuwata
yuwata force-pushed the test-17-workaround branch from 0985de9 to c90279f Compare February 13, 2022 14:33
@github-actions github-actions Bot added the udev label Feb 13, 2022
@yuwata
yuwata force-pushed the test-17-workaround branch from c90279f to 832b613 Compare February 13, 2022 14:34
@yuwata
yuwata force-pushed the test-17-workaround branch 2 times, most recently from 493abfc to 60c15c9 Compare February 13, 2022 20:56
@yuwata
yuwata force-pushed the test-17-workaround branch from 60c15c9 to 5d70298 Compare February 14, 2022 05:05
yuwata added a commit to yuwata/systemd that referenced this pull request Mar 8, 2022
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. systemd#22357.

Fixes systemd#21603.
yuwata added a commit to yuwata/systemd that referenced this pull request Mar 8, 2022
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.
mrc0mmand pushed a commit that referenced this pull request Mar 8, 2022
On Ubuntu CI on ppc64el, the test randomly fails when /run/udev is not
synced before checking its contents (see #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. #22357.

Fixes #21603.
@yuwata yuwata closed this Mar 22, 2022
@yuwata
yuwata deleted the test-17-workaround branch March 22, 2022 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant