Skip to content

Fix stress test for image config opt requirements#2720

Merged
crosbymichael merged 1 commit intocontainerd:masterfrom
crosbymichael:stress-root
Oct 16, 2018
Merged

Fix stress test for image config opt requirements#2720
crosbymichael merged 1 commit intocontainerd:masterfrom
crosbymichael:stress-root

Conversation

@crosbymichael
Copy link
Copy Markdown
Member

Signed-off-by: Michael Crosby [email protected]

@andrewhsu
Copy link
Copy Markdown

Works for me.

Without this fix:

$ sudo ./containerd-stress -c 4 -d 10s
INFO[0000] pulling docker.io/library/alpine:latest      
INFO[0000] generating spec from image                   
INFO[0000] starting stress test run...                  
rootfs absolute path is required

With this fix:

$ sudo ./containerd-stress -c 4 -d 10s
INFO[0000] pulling docker.io/library/alpine:latest      
INFO[0000] starting stress test run...                  
INFO[0010] worker 0 finished                            
INFO[0010] worker 3 finished                            
INFO[0011] worker 1 finished                            
INFO[0011] worker 2 finished                            
INFO[0011] ending test run in 10.200 seconds            
INFO[0011] create/start/delete 104 containers in 10.200 seconds (10.196 c/sec) or (0.098 sec/c)  failures=0

@dmcgowan
Copy link
Copy Markdown
Member

LGTM

@codecov-io
Copy link
Copy Markdown

Codecov Report

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

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2720   +/-   ##
=======================================
  Coverage   43.54%   43.54%           
=======================================
  Files         101      101           
  Lines       10734    10734           
=======================================
  Hits         4674     4674           
  Misses       5326     5326           
  Partials      734      734
Flag Coverage Δ
#linux 47.2% <ø> (-0.03%) ⬇️
#windows 40.67% <ø> (ø) ⬆️

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 d725ebe...e86a068. Read the comment docs.

Copy link
Copy Markdown
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

@crosbymichael crosbymichael merged commit fdc4e1f into containerd:master Oct 16, 2018
@crosbymichael crosbymichael deleted the stress-root branch October 16, 2018 01:17
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.

5 participants