Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

virtcontainers: agent: implement kata agent processListContainer#130

Merged
devimc merged 3 commits intokata-containers:masterfrom
devimc:virtcontainers/ImplProcessList
Apr 19, 2018
Merged

virtcontainers: agent: implement kata agent processListContainer#130
devimc merged 3 commits intokata-containers:masterfrom
devimc:virtcontainers/ImplProcessList

Conversation

@devimc
Copy link
Copy Markdown

@devimc devimc commented Mar 28, 2018

processListContainer is called by the ps command implementation to
list the processes running inside a containers, this patch implements
this function in the kata agent

fixes #129

Signed-off-by: Julio Montes julio.montes@intel.com

@devimc
Copy link
Copy Markdown
Author

devimc commented Mar 28, 2018

Depends-on: kata-containers/agent#194
agent must be re-vendored

Copy link
Copy Markdown

@sboeuf sboeuf left a comment

Choose a reason for hiding this comment

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

This looks good to me (depending on the fact that we get the agent PR merged of course).

@devimc devimc force-pushed the virtcontainers/ImplProcessList branch from 9432d90 to 99fbaaa Compare April 3, 2018 13:47
@devimc devimc force-pushed the virtcontainers/ImplProcessList branch 2 times, most recently from 383a677 to bebfd41 Compare April 13, 2018 18:07
@devimc
Copy link
Copy Markdown
Author

devimc commented Apr 13, 2018

rebased, @bergwolf @egernst @gnawux @laijs @mcastelino @sameo @tallclair @teawater @WeiZhang555 @liwei @jessfraz @kata-containers/runtime PTAL

@amshinde
Copy link
Copy Markdown
Member

@devimc CI is failing, can you fix that?

@jodh-intel
Copy link
Copy Markdown

jodh-intel commented Apr 16, 2018

lgtm

Approved with PullApprove

Copy link
Copy Markdown
Member

@bergwolf bergwolf left a comment

Choose a reason for hiding this comment

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

@devmic please rebase

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 18, 2018

Codecov Report

Merging #130 into master will decrease coverage by 0.1%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #130      +/-   ##
==========================================
- Coverage   65.26%   65.16%   -0.11%     
==========================================
  Files          74       74              
  Lines        7730     7742      +12     
==========================================
  Hits         5045     5045              
- Misses       2135     2147      +12     
  Partials      550      550
Impacted Files Coverage Δ
virtcontainers/kata_agent.go 32.41% <0%> (-0.79%) ⬇️

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 a85656b...01f3f71. Read the comment docs.

@devimc
Copy link
Copy Markdown
Author

devimc commented Apr 18, 2018

@bergwolf done, thanks

Julio Montes added 3 commits April 18, 2018 10:40
processListContainer is called by the ps command implementation to
list the processes running inside a containers, this patch implements
this function in the kata agent

fixes kata-containers#129

Signed-off-by: Julio Montes <julio.montes@intel.com>
This new version of kata agent contains changes
to list the processes that are running inside the VM

Shortlog:
ff7eaa1 grpc: add unit test for ListProcesses
c394b63 mockcontainer: implement mockContainer
d208929 mockreaper: add unit tests
01bc953 grpc: implement ListProcesses

Signed-off-by: Julio Montes <julio.montes@intel.com>
add ListProcesses to gRPCProxy to make it compatible with AgentServiceServer.

Signed-off-by: Julio Montes <julio.montes@intel.com>
@devimc devimc force-pushed the virtcontainers/ImplProcessList branch from 561da7c to 01f3f71 Compare April 18, 2018 15:40
@devimc devimc merged commit 1c7a02e into kata-containers:master Apr 19, 2018
@devimc devimc removed the review label Apr 19, 2018
@devimc devimc deleted the virtcontainers/ImplProcessList branch May 9, 2018 15:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

implement ps command

5 participants