Skip to contentSkip to conversation

tests/vm/centos: fix centos build target

PATCH In review Alex Bennée 3 participants 3 messages Nov 20, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/vm/centos: fix centos build target

To be able to run the docker tests centos has here we have to install python3 as well as the basic tools.

---
 tests/vm/centos | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/vm/centos +1 -1
index 53976f1c4c9..b9e851f2d33 100755
@@ -73,7 +73,7 @@ class CentosVM(basevm.BaseVM):
         self.wait_ssh()
         self.ssh_root_check("touch /etc/cloud/cloud-init.disabled")
         self.ssh_root_check("yum update -y")
-        self.ssh_root_check("yum install -y docker make git")
+        self.ssh_root_check("yum install -y docker make git python3")
         self.ssh_root_check("systemctl enable docker")
         self.ssh_root("poweroff")
         self.wait()
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Alex Bennée

To be able to run the docker tests centos has here we have to install python3 as well as the basic tools.

---
  tests/vm/centos | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tests/vm/centos +0 -0
index 53976f1c4c9..b9e851f2d33 100755

tests/vm/centos class CentosVM(basevm.BaseVM): · line 79

Quoted 8 lines
tests/vm/centos +1 -1
@@ -73,7 +73,7 @@ class CentosVM(basevm.BaseVM):
          self.wait_ssh()
          self.ssh_root_check("touch /etc/cloud/cloud-init.disabled")
          self.ssh_root_check("yum update -y")
-        self.ssh_root_check("yum install -y docker make git")
+        self.ssh_root_check("yum install -y docker make git python3")
          self.ssh_root_check("systemctl enable docker")
          self.ssh_root("poweroff")
          self.wait()

It would be nice to have this fixed in 4.2.

Reviewed-by on v1 1/1
#2 lore raw
In reply to Alex Bennée
Quoted 7 lines · Alex Bennée

To be able to run the docker tests centos has here we have to install python3 as well as the basic tools.

---
  tests/vm/centos | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 14 lines
tests/vm/centos +1 -1
index 53976f1c4c9..b9e851f2d33 100755
@@ -73,7 +73,7 @@ class CentosVM(basevm.BaseVM):
          self.wait_ssh()
          self.ssh_root_check("touch /etc/cloud/cloud-init.disabled")
          self.ssh_root_check("yum update -y")
-        self.ssh_root_check("yum install -y docker make git")
+        self.ssh_root_check("yum install -y docker make git python3")
          self.ssh_root_check("systemctl enable docker")
          self.ssh_root("poweroff")
          self.wait()