aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/Dockerfile2
-rwxr-xr-xtestcases/features/sfc/sfc.py9
-rwxr-xr-xtestcases/features/sfc/sfc_colorado1.py9
-rwxr-xr-xtestcases/features/sfc/tacker_client_install.sh2
4 files changed, 20 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9ff0f4f62..bb873b351 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -53,7 +53,7 @@ git \
gcc \
wget \
python-dev \
-python-mockĀ \
+python-mock \
python-pip \
bundler \
postgresql \
diff --git a/testcases/features/sfc/sfc.py b/testcases/features/sfc/sfc.py
index 96ea3ab39..62eab0eef 100755
--- a/testcases/features/sfc/sfc.py
+++ b/testcases/features/sfc/sfc.py
@@ -175,6 +175,14 @@ def main():
for sg in secgroups:
os_utils.create_secgroup_rule(neutron_client, sg['id'],
+ 'ingress', 'udp',
+ port_range_min=67,
+ port_range_max=68)
+ os_utils.create_secgroup_rule(neutron_client, sg['id'],
+ 'egress', 'udp',
+ port_range_min=67,
+ port_range_max=68)
+ os_utils.create_secgroup_rule(neutron_client, sg['id'],
'ingress', 'tcp',
port_range_min=22,
port_range_max=22)
@@ -400,6 +408,7 @@ def main():
# SSH TO EXECUTE cmd_client
logger.info("TEST STARTED")
+ time.sleep(70)
try:
ssh.connect(floatip_client, username="root",
password="opnfv", timeout=2)
diff --git a/testcases/features/sfc/sfc_colorado1.py b/testcases/features/sfc/sfc_colorado1.py
index 8dd6c808e..d31541d13 100755
--- a/testcases/features/sfc/sfc_colorado1.py
+++ b/testcases/features/sfc/sfc_colorado1.py
@@ -175,6 +175,14 @@ def main():
for sg in secgroups:
os_utils.create_secgroup_rule(neutron_client, sg['id'],
+ 'ingress', 'udp',
+ port_range_min=67,
+ port_range_max=68)
+ os_utils.create_secgroup_rule(neutron_client, sg['id'],
+ 'egress', 'udp',
+ port_range_min=67,
+ port_range_max=68)
+ os_utils.create_secgroup_rule(neutron_client, sg['id'],
'ingress', 'tcp',
port_range_min=22,
port_range_max=22)
@@ -423,6 +431,7 @@ def main():
# SSH TO EXECUTE cmd_client
logger.info("TEST STARTED")
+ time.sleep(70)
try:
ssh.connect(floatip_client, username="root",
password="opnfv", timeout=2)
diff --git a/testcases/features/sfc/tacker_client_install.sh b/testcases/features/sfc/tacker_client_install.sh
index a3073177c..adb9a44be 100755
--- a/testcases/features/sfc/tacker_client_install.sh
+++ b/testcases/features/sfc/tacker_client_install.sh
@@ -21,7 +21,7 @@ ____EOF
function envSetup() {
apt-get install -y python-all debhelper fakeroot
- pip install --upgrade python-keystoneclient==1.7.4
+ #pip install --upgrade python-keystoneclient==1.7.4
chkPPkg stdeb
}