From fa31c2c59c88695fded8a44534024bdd1df9cbdb Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Fri, 5 Jun 2020 12:51:45 +0300 Subject: [PATCH] e2e_node: fix node-kubelet-benchmark test e2e_node tests trigger OOM events on COS versions > 73-11636-0-0 possibly because of this change in the COS v.73-11636-0-0: Made containerd run as a standalone systemd service OOM killer usually kills cadvisor and e2e_node.test processes causing node-kubelet-benchmark failures. Decreasing amount of pods from 105 to 90 frees enough memory for the test to succeed. --- test/e2e_node/density_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/e2e_node/density_test.go b/test/e2e_node/density_test.go index c0cb426a01b..bc66af8e11e 100644 --- a/test/e2e_node/density_test.go +++ b/test/e2e_node/density_test.go @@ -126,7 +126,7 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() { interval: 0 * time.Millisecond, }, { - podsNr: 105, + podsNr: 90, interval: 0 * time.Millisecond, }, { @@ -138,7 +138,7 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() { interval: 100 * time.Millisecond, }, { - podsNr: 105, + podsNr: 90, interval: 100 * time.Millisecond, }, { @@ -150,7 +150,7 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() { interval: 300 * time.Millisecond, }, { - podsNr: 105, + podsNr: 90, interval: 300 * time.Millisecond, }, } @@ -176,17 +176,17 @@ var _ = framework.KubeDescribe("Density [Serial] [Slow]", func() { ginkgo.Context("create a batch of pods with higher API QPS", func() { dTests := []densityTest{ { - podsNr: 105, + podsNr: 90, interval: 0 * time.Millisecond, APIQPSLimit: 60, }, { - podsNr: 105, + podsNr: 90, interval: 100 * time.Millisecond, APIQPSLimit: 60, }, { - podsNr: 105, + podsNr: 90, interval: 300 * time.Millisecond, APIQPSLimit: 60, },