VirtualBox

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

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

ValidationKit/utils/testExecService: Update vboxtxs-runvm readme and scripts. Adds dumping of nested-smoke test results to kernel log,
so we can see output on the test manager side.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.9 KB
Line 
1$Id: vboxtxs-runvm-readme.txt 72397 2018-05-31 07:30:03Z 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/* (preserve the directory layout)
193. cd /root
203. scp/download VBoxValidationKit*.zip there.
215. unzip VBoxValidationKit*.zip
226. chmod -R u+w,a+x /opt/validationkit/
237a. initrc: TODO: document init.rc setup
247b. systemd: Link/copy the vboxtxs-runvm.system to [/usr]/lib/systemd/system/
25 Enable the vboxtxs-runvm service, usually using:
26 systemctl enable vboxtxs-runvm
278. Check the cdrom location and /dev/kmsg equivalent of your linux distro
28 in /opt/validationkit/linux/vboxtxs-runvm and fix it so it's correct.
299. reboot / done.
30
31TODO: Document other OSes as we add them.
32
33Note: vboxtxs-runvm uses a GUI session to launch the nested-VM for better
34visibility when troubleshooting the nested smoke test.
35
36If this causes problems try troubleshooting the XAUTHORITY and DISPLAY
37environment variables in vboxtxs-runvm.service. It might differ depending
38on the display manager of the particular linux distro.
39
40
41
42Testing the setup
43-----------------
44
451. Make sure the validationkit.iso is inserted.
462. Boot / reboot the guest.
473. To test the connection - Depending on the TXS transport options:
48 nat) python testdriver/tst-txsclient.py --reversed-setup
49 other) python testdriver/tst-txsclient.py --hostname <guest-ip>
504. To test the smoke test:
51 python tests/smoketests/tdSmokeTest1.py -v -v -d --vbox-session-type gui --test-vms <guest-name>
52
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