Versions Compared

Key

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

...

  • Ubuntu 16.04.2 LTS (Xenial) for x86_64

  • Ubuntu 14.04 LTS (Trusty) for x86_64
  • CentOS-7-1611 for x86_64
     

...

A tester can choose one of the following two methods for installing and running Dovetail. In part1, we explain the steps to install Dovetail from the source. In part2, an alternative using a Docker image with preinstalled Dovetail is introduced.

...

Method 1. Installing Dovetail directly

  1. Update and install packages

    a) Ubuntu 

             sudo apt-get update

             sudo apt-get -y install gcc  git  vim  python-dev  python-pip  --no-install-recommends

     b) centos and redhat

             sudo yum -y update

             sudo yum -y install epel-release

             sudo yum -y install gcc  git  vim-enhanced  python-devel  python-pip

     c) fedora

             sudo dnf -y update

             sudo dnf -y install gcc  git  vim-enhanced  python-devel  python-pip  redhat-rpm-config

    p.s  When testing SUT's https service, there need some extra packages, such as apt-transport-https. This still remains to be verified. 


  2. Installing Dovetail

...

          % cd $DOVETAIL_HOME

          % sudo git clone https://git.opnfv.org/dovetail

...

          /* test dovetail install is successful */

          % dovetail -h

...

Method 2. Installing Dovetail Docker Container 

       The Dovetail project also maintains a Docker image that has Dovetail test tools preinstalled. 

% sudo docker pull opnfv/dovetail:<tag>

The only <tag> is 'latest'.

% sudo docker run --privileged=true -it -v <openrc_path>:<openrc_path> \

-v $DOVETAIL_HOME/results:$DOVETAIL_HOME/results \

-v /var/run/docker.sock:/var/run/docker.sock \

--name <DoveTail_Container_Name> (optional) \

opnfv/dovetail:<Tag> /bin/bash


2.3 Running CVP Test Suite

...