Skip to content

Conversation

@vkarak
Copy link
Contributor

@vkarak vkarak commented Nov 6, 2020

The assert_process_died() function was failing for the local scheduler when the unit tests were run inside a container. The reason for that is that the Python process was run with pid=1, thus inheriting the children that were killed in some of the unit tests. Since these children were never waited for, the remained zombies, thus having still a valid PID.

@vkarak vkarak added this to the ReFrame sprint 20.16 milestone Nov 6, 2020
@vkarak vkarak requested a review from teojgo November 6, 2020 00:09
@vkarak vkarak self-assigned this Nov 6, 2020
@vkarak vkarak changed the title [bugfix] Fix unit test error due the PID 1 problem when inside a container [bugfix] Fix unit test error due the PID 1 problem when running inside a Docker container Nov 6, 2020
@codecov-io
Copy link

codecov-io commented Nov 6, 2020

Codecov Report

Merging #1583 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1583   +/-   ##
=======================================
  Coverage   87.99%   87.99%           
=======================================
  Files          45       45           
  Lines        7016     7016           
=======================================
  Hits         6174     6174           
  Misses        842      842           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 07e6758...5fcdc98. Read the comment docs.

@vkarak vkarak requested a review from victorusu November 6, 2020 08:22
Copy link
Contributor

@victorusu victorusu left a comment

Choose a reason for hiding this comment

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

lgtm

@victorusu
Copy link
Contributor

Funny thing though. The fact that the unit tests fail but the framework doesn't! 😄

@vkarak vkarak merged commit 57c8d71 into reframe-hpc:master Nov 6, 2020
@vkarak vkarak deleted the bugfix/reap-zombies-in-container branch November 6, 2020 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants