mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
It turned out that ginkgo.GinkgoT() wasn't as cheap as it should have been (fix coming in Ginkgo 2.27.5). When instantiated once for each framework.Framework instance during init by all workers at the same time, the resulting spike in overall memory usage within the container caused OOM killing of workers in Prow jobs like ci-kubernetes-e2e-gci-gce with very tight memory limits. Even with the upcoming fix in Ginkgo it makes sense to set the TB field only while it really is needed, i.e. while a test runs. This is conceptually similar to setting and unsetting the test namespace. It may help to flush out incorrect usage of TB outside of tests.