summaryrefslogtreecommitdiff
path: root/src/VBox/ValidationKit/tests/installation
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2019-07-02 16:49:03 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2019-07-02 16:49:03 +0000
commit11406c236498494a182dccc090a98f22f72e3648 (patch)
tree29d81157ce8127cb3fd379f96e1bddcf2eeb0970 /src/VBox/ValidationKit/tests/installation
parent866f15b5c0eda35b00a83fc0a2a47a9fdb47201d (diff)
downloadVirtualBox-svn-11406c236498494a182dccc090a98f22f72e3648.tar.gz
ValKit/tdGuestOsUnattendedInst1.py: Disable AVX2 for ubuntu 16.04-64 as it seems to make compiz want to use AVX512 instructions (kmovb). (Could be something else, ofc.) bugref:9151
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@79475 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/ValidationKit/tests/installation')
-rwxr-xr-xsrc/VBox/ValidationKit/tests/installation/tdGuestOsUnattendedInst1.py21
1 files changed, 15 insertions, 6 deletions
diff --git a/src/VBox/ValidationKit/tests/installation/tdGuestOsUnattendedInst1.py b/src/VBox/ValidationKit/tests/installation/tdGuestOsUnattendedInst1.py
index dec17842374..492102c177d 100755
--- a/src/VBox/ValidationKit/tests/installation/tdGuestOsUnattendedInst1.py
+++ b/src/VBox/ValidationKit/tests/installation/tdGuestOsUnattendedInst1.py
@@ -60,13 +60,17 @@ class UnattendedVm(vboxtestvms.BaseTestVm):
## @name VM option flags (OR together).
## @{
- kfIdeIrqDelay = 0x1;
- kfUbuntuNewAmdBug = 0x2;
- kfNoWin81Paravirt = 0x4;
+ kfUbuntuAvx2Crash = 0x0001; ## < Disables AVX2 as ubuntu 16.04 think it means AVX512 is available and compiz crashes.
+ kfIdeIrqDelay = 0x1000;
+ kfUbuntuNewAmdBug = 0x2000;
+ kfNoWin81Paravirt = 0x4000;
## @}
+ ## kfUbuntuAvx2Crash: Extra data that disables AVX2.
+ kasUbuntuAvx2Crash = [ '/CPUM/IsaExts/AVX2:0', ];
+
## IRQ delay extra data config for win2k VMs.
- kasIdeIrqDelay = [ 'VBoxInternal/Devices/piix3ide/0/Config/IRQDelay:1', ];
+ kasIdeIrqDelay = [ 'VBoxInternal/Devices/piix3ide/0/Config/IRQDelay:1', ];
def __init__(self, oSet, sVmName, sKind, sInstallIso, fFlags = 0):
vboxtestvms.BaseTestVm.__init__(self, sVmName, oSet = oSet, sKind = sKind,
@@ -80,8 +84,10 @@ class UnattendedVm(vboxtestvms.BaseTestVm):
self.fOptPae = None;
self.fOptInstallAdditions = False;
self.asOptExtraData = [];
+ if fFlags & self.kfUbuntuAvx2Crash:
+ self.asOptExtraData += self.kasUbuntuAvx2Crash;
if fFlags & self.kfIdeIrqDelay:
- self.asOptExtraData = self.kasIdeIrqDelay;
+ self.asOptExtraData += self.kasIdeIrqDelay;
def _unattendedConfigure(self, oIUnattended, oTestDrv): # type: (Any, vbox.TestDriver) -> bool
"""
@@ -390,7 +396,10 @@ class tdGuestOsInstTest1(vbox.TestDriver):
# Windows7 RTM:
UnattendedVm(oSet, 'tst-w7-32', 'Windows7', '6.0/uaisos/en_windows_7_enterprise_x86_dvd_x15-70745.iso'), # ~5.7GiB
UnattendedVm(oSet, 'tst-w7-64', 'Windows7_64', '6.0/uaisos/en_windows_7_enterprise_x64_dvd_x15-70749.iso'), # ~10GiB
- UnattendedVm(oSet, 'tst-ubuntu-16.04-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-16.04-desktop-amd64.iso'),
+ ## @todo 15.10 fails with grub install error.
+ #UnattendedVm(oSet, 'tst-ubuntu-15.10-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-15.10-desktop-amd64.iso'),
+ UnattendedVm(oSet, 'tst-ubuntu-16.04-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-16.04-desktop-amd64.iso', # ~4.8GiB
+ UnattendedVm.kfUbuntuAvx2Crash),
UnattendedVm(oSet, 'tst-ubuntu-16.10-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-16.10-desktop-amd64.iso'), # ~5.1GiB
UnattendedVm(oSet, 'tst-ubuntu-17.04-64', 'Ubuntu_64', '6.0/uaisos/ubuntu-17.04-desktop-amd64.iso'), # ~4.6GiB
## @todo ubuntu 17.10, 18.04 & 18.10 do not work. They misses all the the build tools (make, gcc, perl, ++)