diff --git a/kola/tests/docker/docker.go b/kola/tests/docker/docker.go index 3eb503e95..c0a218d3e 100644 --- a/kola/tests/docker/docker.go +++ b/kola/tests/docker/docker.go @@ -187,6 +187,30 @@ systemd: Distros: []string{"cl"}, }) + register.Register(®ister.Test{ + Run: func(c cluster.TestCluster) { testDockerInfo("devicemapper", c) }, + ClusterSize: 1, + Name: "docker.devicemapper-storage", + // This test is normally not related to the cloud environment + Platforms: []string{"qemu", "qemu-unpriv"}, + // Note: copied verbatim from https://github.com/coreos/docs/blob/master/os/mounting-storage.md#creating-and-mounting-a-btrfs-volume-file + // Added explicit btrfs driver selection because overlay2 is the default for btrfs FS in docker 23 and above + UserData: conf.Butane(` +variant: flatcar +version: 1.0.0 + +storage: + files: + - path: /etc/docker/daemon.json + contents: + inline: | + { + "storage-driver": "devicemapper" + } +`), + Distros: []string{"cl"}, + }) + register.Register(®ister.Test{ // For a while we shipped /usr/lib/coreos/dockerd as the execstart of the // docker systemd unit.