Skip to content

fix(test): prevent process from becoming zombie#161

Merged
hao022 merged 1 commit intoccfos:mainfrom
huhong-web:main
Mar 27, 2026
Merged

fix(test): prevent process from becoming zombie#161
hao022 merged 1 commit intoccfos:mainfrom
huhong-web:main

Conversation

@huhong-web
Copy link
Copy Markdown
Contributor

Cat process exited early due to unbound stdin and missing reaping by parent, turning it into a zombie. This broke AddProc() to cgroup.

The test now also directly uses the current test process PID (os.Getpid()) to verify cgroup attachment.

Change-Id: I0579bd82d196391aa7dccbf5676be5e84a386d3e

Cat process exited early due to unbound stdin and missing reaping by parent, turning
it into a zombie. This broke AddProc() to cgroup.

The test now also directly uses the current test process PID (os.Getpid()) to verify
cgroup attachment.

Change-Id: I0579bd82d196391aa7dccbf5676be5e84a386d3e
@hao022 hao022 merged commit 553722d into ccfos:main Mar 27, 2026
5 checks passed
@huhong-web
Copy link
Copy Markdown
Contributor Author

huhong-web commented Mar 27, 2026 via email

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.

2 participants