Skip to content
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

DBG - testUsed UDisks2 timeout #19572

Closed

Conversation

mvollmer
Copy link
Member

@mvollmer mvollmer commented Nov 6, 2023

No description provided.

@mvollmer mvollmer added the no-test For doc/workflow changes, or experiments which don't need a full CI run, label Nov 6, 2023
test/run Fixed Show fixed Hide fixed
def testUsed(self):
def checkUsed(self):
Copy link
Member

Choose a reason for hiding this comment

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

There's no need for this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes yes yes... :-)

Comment on lines +102 to +111
def testUsed1(self):
self.checkUsed()
Copy link
Member

Choose a reason for hiding this comment

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

Just call self.testUsed() in the amplifications.

@mvollmer
Copy link
Member Author

mvollmer commented Nov 6, 2023

My hunch right now is that we will have to retry the dialog. But let's first try to collect some data on what is actually going wrong.

@mvollmer mvollmer force-pushed the storage-udisks-timeout-debug branch 2 times, most recently from 17ae6cd to 12be226 Compare November 6, 2023 11:06
@mvollmer
Copy link
Member Author

mvollmer commented Nov 6, 2023

On rhos, testUsed seems reliably green.

@mvollmer mvollmer force-pushed the storage-udisks-timeout-debug branch 2 times, most recently from c369b66 to eb51f4f Compare November 6, 2023 12:18
@mvollmer
Copy link
Member Author

mvollmer commented Nov 6, 2023

UDisks2 locks the LUKS device during teardown, waits for the cleartext device to disappear, and immediately wipes the partition table, which succeeds (because nothing has /dev/sda open at the time). Then UDisks2 does a BLKRRPART ioctl which fails with EBUSY: something must still have /dev/sda1 open at that time. Maybe udev? But there is no uevent on /dev/sda1 during all of this. Hmm.

@mvollmer mvollmer force-pushed the storage-udisks-timeout-debug branch 4 times, most recently from e356e53 to 692e02a Compare November 6, 2023 13:37
@mvollmer mvollmer closed this Nov 6, 2023
@mvollmer mvollmer reopened this Nov 6, 2023
@mvollmer mvollmer closed this Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-test For doc/workflow changes, or experiments which don't need a full CI run,
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants