Skip to content

Commit

Permalink
Reduce parallelism on CI
Browse files Browse the repository at this point in the history
Our ci sets `TEST_JOBS=8`, assuming that tests use ~ 1 GiB VMs. But
Anaconda creates 4 GiB VMs, resulting in an overall memory usage of 32
GiB for the VMs, plus several more for the browser.

Reduce parallelism to avoid OOMs.
  • Loading branch information
KKoukiou committed Feb 15, 2024
1 parent 0257421 commit 3445007
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,9 @@ create-updates.img: bots

# test runs in kernel_t context and triggers massive amounts of SELinux
# denials; SELinux gets disabled, but would still trigger unexpected messages
# we create huge VMs, so we need to reduce parallelism on CI
integration-test: prepare-test-deps test/reference $(UPDATES_IMG)
TEST_AUDIT_NO_SELINUX=1 test/common/run-tests
J=$$((TEST_JOBS/4)); [ $$J -ge 1 ] || J=1; TEST_AUDIT_NO_SELINUX=1 test/common/run-tests --jobs $$J

test/reference: test/common
test/common/pixel-tests pull
Expand Down

0 comments on commit 3445007

Please sign in to comment.