Skip to content

Conversation

@patrickbrophy
Copy link
Contributor

Fixes #2944. This PR prevents the XRootD restart feature from killing PID 1 and updates the test to use dummy PIDs.

@patrickbrophy patrickbrophy added bug Something isn't working test Improvements to the test suite container labels Jan 5, 2026
@jhiemstrawisc
Copy link
Member

This fix works as advertised, and with it my dev container doesn't die anymore. @bbockelm, is there a reason this test should be sending a SIGKILL to PID 1 or is this change fine? Pointing StoreRestartInfo at PID 1 came from one of the few commits in the original PR that was authored by you and not Copilot, so I want to make sure changing this isn't breaking something else.

@jhiemstrawisc jhiemstrawisc merged commit 362002b into PelicanPlatform:main Jan 6, 2026
30 checks passed
@bbockelm
Copy link
Collaborator

bbockelm commented Jan 7, 2026

Change is OK!

Looks like the underlying problem here is the default was being interpreted as a valid value.

That can still happen! 99999 could be a PID. Can I request a tweak to have it something like 0 instead? That would clear up the confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working container test Improvements to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix test suite to prevent docker container exiting while running tests

3 participants