@@ -36,7 +36,7 @@ teardown() {
3636 assert_success
3737
3838 # Run pumba in BACKGROUND with long duration so we can inspect tc rules while active
39- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 30s delay --time 100 test-netem-ctr &
39+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 30s delay --time 100 test-netem-ctr &
4040 PUMBA_PID=$!
4141 # Give pumba time to apply tc rules
4242 sleep 2
@@ -62,7 +62,7 @@ teardown() {
6262
6363@test " Should apply packet loss via containerd runtime" {
6464 # Run pumba in BACKGROUND with long duration
65- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 30s loss --percent 50 test-netem-ctr &
65+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 30s loss --percent 50 test-netem-ctr &
6666 PUMBA_PID=$!
6767 sleep 2
6868
@@ -86,7 +86,7 @@ teardown() {
8686}
8787
8888@test " Should apply packet duplicate via containerd runtime" {
89- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 30s duplicate --percent 50 test-netem-ctr &
89+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 30s duplicate --percent 50 test-netem-ctr &
9090 PUMBA_PID=$!
9191 sleep 2
9292
@@ -108,7 +108,7 @@ teardown() {
108108}
109109
110110@test " Should apply packet corruption via containerd runtime" {
111- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 30s corrupt --percent 50 test-netem-ctr &
111+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 30s corrupt --percent 50 test-netem-ctr &
112112 PUMBA_PID=$!
113113 sleep 2
114114
@@ -131,12 +131,12 @@ teardown() {
131131
132132@test " Should handle netem on non-existent container via containerd runtime" {
133133 # Pumba should handle gracefully — exit 0 (no matching containers found)
134- run sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 2s delay --time 100 nonexistent_container_12345
134+ run sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 2s delay --time 100 nonexistent_container_12345
135135 assert_success
136136}
137137
138138@test " Should apply loss-state model via containerd runtime" {
139- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 30s loss-state --p13 5 --p31 15 --p32 10 --p23 20 --p14 5 test-netem-ctr &
139+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 30s loss-state --p13 5 --p31 15 --p32 10 --p23 20 --p14 5 test-netem-ctr &
140140 PUMBA_PID=$!
141141 sleep 2
142142
@@ -157,7 +157,7 @@ teardown() {
157157}
158158
159159@test " Should apply loss-gemodel model via containerd runtime" {
160- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 30s loss-gemodel --pg 5 --pb 20 --one-h 80 --one-k 10 test-netem-ctr &
160+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 30s loss-gemodel --pg 5 --pb 20 --one-h 80 --one-k 10 test-netem-ctr &
161161 PUMBA_PID=$!
162162 sleep 2
163163
@@ -178,7 +178,7 @@ teardown() {
178178}
179179
180180@test " Should apply delay with normal distribution via containerd runtime" {
181- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 30s delay --time 100 --jitter 30 --distribution normal test-netem-ctr &
181+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 30s delay --time 100 --jitter 30 --distribution normal test-netem-ctr &
182182 PUMBA_PID=$!
183183 sleep 2
184184
@@ -200,7 +200,7 @@ teardown() {
200200}
201201
202202@test " Should apply rate limit with cell options via containerd runtime" {
203- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 30s rate --rate 1mbit --packetoverhead 10 --cellsize 1500 --celloverhead 20 test-netem-ctr &
203+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 30s rate --rate 1mbit --packetoverhead 10 --cellsize 1500 --celloverhead 20 test-netem-ctr &
204204 PUMBA_PID=$!
205205 sleep 2
206206
@@ -222,7 +222,7 @@ teardown() {
222222}
223223
224224@test " Should apply rate limiting via containerd runtime" {
225- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --duration 30s rate --rate 100kbit test-netem-ctr &
225+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- duration 30s rate --rate 100kbit test-netem-ctr &
226226 PUMBA_PID=$!
227227 sleep 2
228228
@@ -244,7 +244,7 @@ teardown() {
244244}
245245
246246@test " Should apply netem delay with egress port filter via containerd runtime" {
247- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --egress-port 80 --duration 30s delay --time 100 test-netem-ctr &
247+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- egress-port 80 --duration 30s delay --time 100 test-netem-ctr &
248248 PUMBA_PID=$!
249249 sleep 2
250250
@@ -262,7 +262,7 @@ teardown() {
262262}
263263
264264@test " Should apply netem delay with ingress port filter via containerd runtime" {
265- sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --ingress-port 443 --duration 30s delay --time 100 test-netem-ctr &
265+ sudo pumba --runtime containerd --containerd-namespace moby --log-level debug netem --interface dummy0 --pull-image=false -- ingress-port 443 --duration 30s delay --time 100 test-netem-ctr &
266266 PUMBA_PID=$!
267267 sleep 2
268268
0 commit comments