VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/utils/TestExecServ/vboxtxs-runvm-readme.txt@ 106743

Last change on this file since 106743 was 72521, checked in by vboxsync, 7 years ago

VBox/ValidationKit: Nested hwvirt. smoketest updates.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1$Id: vboxtxs-runvm-readme.txt 72521 2018-06-12 04:49:39Z vboxsync $
2
3
4VirtualBox Test eXecution Service
5=================================
6
7This readme briefly describes how to install the Test eXecution Service (TXS)
8for nested hardware-virtualization smoke testing on the various systems.
9
10The basic idea is to execute one smoke test within the VM and then launch
11the regular TXS service in the VM to report success or failure to the host.
12
13Linux Installation
14------------------
15
161. scp/download latest release build of VirtualBox and install it in the VM.
172. scp/download the required smoke test VDI from remote test-resource to
18 /home/vbox/testrsrc/3.0/tcp/win2k3ent-acpi.vdi
193. cd /root
203. scp/download VBoxValidationKit*.zip there.
215. unzip VBoxValidationKit*.zip
226. chmod -R u+w,a+x /opt/validationkit/
237a. Gnome: Copy /opt/validationkit/linux/vboxtxs-runvm.desktop to /etc/xdg/autostart
247b. KDE/Others: TODO: Document other desktop managers
258. Add the vbox user to sudo group using:
26 sudo usermod -a -G sudo vbox
279. Ensure no password is required for vbox when using sudo:
28 sudo echo "vbox ALL=(ALL:ALL) NOPASSWD: ALL" > /etc/sudoers.d/username
2910. Check the cdrom location and /dev/kmsg equivalent of your linux distro
30 in /opt/validationkit/linux/vboxtxs-runvm and fix it so it's correct
3111. Reboot / done.
32
33TODO: Document other OSes as we add them.
34
35Note: vboxtxs-runvm uses a GUI session to launch the nested-VM for better
36visibility when troubleshooting the nested smoke test.
37
38If this causes problems try troubleshooting the XAUTHORITY and DISPLAY
39environment variables in vboxtxs-runvm.service. It might differ depending
40on the display manager of the particular linux distro.
41
42
43
44Testing the setup
45-----------------
46
471. Make sure the validationkit.iso is inserted.
482. Boot / reboot the guest.
493. To test the connection - Depending on the TXS transport options:
50 nat) python testdriver/tst-txsclient.py --reversed-setup
51 other) python testdriver/tst-txsclient.py --hostname <guest-ip>
524. To test the smoke test:
53 python tests/smoketests/tdSmokeTest1.py -v -v -d --vbox-session-type gui --test-vms <guest-name>
54
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette