Update url for ubuntu image downloading- testcase3 03/32403/1
authortomsou <soth@intracom-telecom.com>
Thu, 30 Mar 2017 08:16:13 +0000 (08:16 +0000)
committertomsou <soth@intracom-telecom.com>
Thu, 30 Mar 2017 08:18:56 +0000 (08:18 +0000)
The url that the testcase3 uses to download ubuntu image
(https://cloud-images.ubuntu.com/releases/16.04/release/
ubuntu-16.04-server-cloudimg-amd64-disk1.img) is unstable.

This change updates it, using the one from the OPNFV artifact repo

JIRA: SDNVPN-133

Change-Id: Ic7265b572064f1df7ce30ab5249b1bdb61c63777
Signed-off-by: tomsou <soth@intracom-telecom.com>
sdnvpn/test/functest/testcase_3.py

index b7df013..09e71bd 100644 (file)
@@ -138,8 +138,8 @@ def main():
     if not os.path.isfile(COMMON_CONFIG.ubuntu_image_path):
         logger.info("Downloading image")
         ft_utils.download_url(
-            "https://cloud-images.ubuntu.com/releases/16.04/"
-            "release/ubuntu-16.04-server-cloudimg-amd64-disk1.img",
+            "http://artifacts.opnfv.org/sdnvpn/"
+            "ubuntu-16.04-server-cloudimg-amd64-disk1.img",
             "/home/opnfv/functest/data/")
     else:
         logger.info("Using old image")