Test BFEBS-related functionality of Eucalyptus
- prepare();
- run_instance("instancestore");
- ssh_to_instance();
- get_console_output();
- create_volume();
- attach_volume();
- populate_volume();
- detach_volume();
- prepare_snap("root");
- register_snap("root");
- run_instance("root");
- #ssh_to_instance();
- get_console_output();
- terminate_instance();
- doexit(0);
Eucalyptus Testunit Framework is designed to run a list of test scripts written by Eucalyptus developers.
On Ubuntu Linux Distribution,
apt-get -y update
apt-get -y install ntp
date
YOUR TESTUNIT **MIGHT NOT** NEED ALL THE PACKAGES BELOW; CHECK THE TESTUNIT DESCRIPTION.
apt-get -y install git-core bzr gcc make ruby libopenssl-ruby curl rubygems swig help2man libssl-dev python-dev libright-aws-ruby nfs-common openjdk-6-jdk zip libdigest-hmac-perl libio-pty-perl libnet-ssh-perl euca2ools
YOUR TESTUNIT **MIGHT NOT** NEED test_share DIRECTORY. CHECK THE TESTUNIT DESCRIPTION.
git clone git://github.com/eucalyptus-qa/test_share.git
mkdir -p /home/test-server
ln -s ~/test_share/ /home/test-server/.
git clone git://github.com/eucalyptus-qa/**testunit_of_your_choice**
cd ./**testunit_of_your_choice**
vim ./input/2b_tested.lst
192.168.51.85 CENTOS 6.3 64 REPO [CC00 UI CLC SC00 WS]
192.168.51.86 CENTOS 6.3 64 REPO [NC00]
ON YOUR TEST MACHINE:
cat ~/.ssh/id_rsa.pub
ON CLC MACHINE:
vim ~/.ssh/authorized_keys
./run_test.pl **testunit_of_your_choice.conf**
cd ./artifacts
ls -l
./cleanup_test.pl
./run_test.pl **testunit_of_your_choice.conf**