Skip to content

Conversation

@giulianobelinassi
Copy link
Collaborator

This is needed for ppc64le, as well as SLE-Micro.

The `ulp trigger` command uses two threads, one to discover which
processes are suitable to patching, and another to actually patch
the process.  This is done for performance issues, as discovery
is much faster than patching and can be done in parallel.

But what happens if the process is terminated right after the process
discovery, but before patching?  Trigger will try to hijack the threads
but it will fail with a ENOENT.  This is not a valid failure and should
be marked as "SKIPPED".  This commit fixes this by capturing this
ENOENT error and mark as such.

Signed-off-by: Giuliano Belinassi <gbelinassi@suse.de>
Signed-off-by: Giuliano Belinassi <gbelinassi@suse.de>
Signed-off-by: Giuliano Belinassi <gbelinassi@suse.de>
Signed-off-by: Giuliano Belinassi <gbelinassi@suse.de>
@giulianobelinassi giulianobelinassi merged commit 46020c4 into SUSE:master Oct 1, 2025
7 checks passed
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

Successfully merging this pull request may close these issues.

1 participant