linuxkit/linuxkit-ci

expect not installed on CI machine

Opened this issue · 6 comments

getty-containerd test needs inspect installed see linuxkit/linuxkit-logs@45fc7f5#diff-45abc448478fe2f1907cce047d595e85

We really need to dogfood the config with linuxit, so we can actually control it directly.

Weirdly it passes on PRs and fails on master merges. Why?

rn commented

I think for PRs we spin up a new VM and for master builds we may have a permanent VM running. I vaguely recall @dave-tucker mentioned something about a pretty beefy instance running...

Rolf is correct.
We have a fixed machine with 16 vCPUs, 104 GB RAM for PRs which could be a tad excessive IMHO. I think we should probably create machines on demand for master too and ideally with the same config used for PRs (albeit with secrets).
The process for updating the VM images used isn't documented but @talex5 has done this in the past.
I'm working on using LinuxKit for this but I'm waiting on my mount PR's to merge before I continue.

expect (not inspect, but that seems to be what it wants from the error) is already installed on all build VMs. Perhaps it is trying to execute it on the CI host? In that case, it needs adding to the LinuxKit CI Dockerfile: https://github.com/linuxkit/linuxkit-ci/blob/master/Dockerfile

Closed via a042a1c