kola/tests/docker: Drop some debug logging
Correct an error string that should make the logging unnecessary.
@@ -201,8 +201,6 @@ func dockerBaseTests(c cluster.TestCluster) {
func dockerResources(c cluster.TestCluster) {
m := c.Machines()[0]
- c.Log("creating sleep container")
-
if err := genDockerContainer(m, "sleep", []string{"sleep"}); err != nil {
c.Fatal(err)
}
@@ -239,8 +237,6 @@ func dockerResources(c cluster.TestCluster) {
dCmd("--memory-swappiness=50"),
dCmd("--shm-size=1m"),
} {
- c.Logf("Executing %q", dockerCmd)
-
// lol closures
cmd := dockerCmd
@@ -248,7 +244,7 @@ func dockerResources(c cluster.TestCluster) {
// TODO: pass context thru to SSH
output, err := m.SSH(cmd)
if err != nil {
- return fmt.Errorf("failed to run %q: output: %q status: %q", dockerCmd, output, err)
+ return fmt.Errorf("failed to run %q: output: %q status: %q", cmd, output, err)
}
return nil
}
