Skip to content

ci: instance type in use has too few resources for existing tests #223

@fnordahl

Description

@fnordahl

While working on an improvement for the LXD backed I faced some issues with the CI environment.

Debugging revealed that the provisioned cloud instance has 1 vCPU and 4 GB of memory, which is not a lot.

Running the tests locally with spread from main branch in such a constrained environment gives error prone and prolonged execution locally too.

Some tests execute multiple LXD containers in parallel which obviously will lead to contention between host operating system, test executor (spread), and container/vm workloads. I've also ran out of disk space when adding a couple of system variations to the lxd test case.

I'd suggest we make more resources available for the CI, perhaps providing a plan of 'e2-highcpu-8' or 'e2-standard-4' with 40 GB storage would be more suitable?

e2 = "Day-to-day computing at a lower cost"
highcpu = "from 1 to 3 GB memory per vCPU; typically, 2 GB memory per vCPU"
standard = "from 3 to 7 GB memory per vCPU; typically, 4 GB memory per vCPU"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions