coreos / coreos/coreos-assembler

kola: support test size requests

Open
#1,438 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
393
Forks
193
Avg merge
17h 6m
Merged PRs (30d)
5

Description

Followup to https://github.com/coreos/coreos-assembler/pull/1436

Most of our tests are happy with 512MB of RAM, but not all. I want to increase test speed by reducing RAM requests where we can by default. This will also make it potentially cheaper to do more testing in public cloud (e.g. on-demand t3.nano is 95% cheaper than our m4.medium default).

Relatedly we should probably scale processors with RAM size too, e.g. only provide 2 vCPUs for tests by default because over-provisioning vCPUs has a cost too.

Whenever we're working on our test framework we should also search for relevant prior art;

Debian autopkgtest-qemu requests 1GiB by default and as far as I can tell there's no standard mechanism for tests to request more (or less).

Fedora FMF has a YAML for this but it's specific to the provider.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the referenced coreos-assembler pull request #1436 and the existing kola test framework. Compare the Debian autopkgtest-qemu and Fedora FMF approaches mentioned in the issue. Done means tests can use smaller default RAM and CPU allocations while individual tests can request different sizes.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.