Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. wget the testcloud appliance to your server. The appliance is pre-seeded with the init script that will launch the test runner and configure cloudstack. import the appliance into virtualbox to change the default credentials in the script to suit those of your jenkins user.

Code Block
vboxmanage import testcloud.ova --vsys 0 --eula accept --vsys 0 --vmname testcloud

4 testcloud4. start the vm and login to devcloud

...

and change the password in the /etc/init.d/devcloud init script 28       python script 

Code Block

28       python $SCRIPTDIR/setUpTestWorker.py --host 192.168.56.1 --user jenkins --pass yourpassword --out /var/lib/jenkins/reports

and reportsand then reinitialize the system-V service

...

6. import the appliance in to virtual box again but creating as many workers as you need. 

...

7.  create a base snapshot that will be restored to after the testworker VM has finished running a test. This is to restore the appliance to its clean state for the next test run

Code Block
$for i in {1..5}; do vboxmanage snapshot testworker$i take testworkerbase$i; done

...