← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1797571] Re: Functional tests related to web-download import method timeouts or fails intermittently

 

Reviewed:  https://review.openstack.org/608856
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=6951f8daac02b85b44990e157538c1ff1c505f2e
Submitter: Zuul
Branch:    master

commit 6951f8daac02b85b44990e157538c1ff1c505f2e
Author: Abhishek Kekane <akekane@xxxxxxxxxx>
Date:   Tue Oct 9 06:14:27 2018 +0000

    Fixed intermittent timeout/failing functional tests
    
    In web-download import method functional tests we are trying to download
    a file from 'https://www.openstack.org/assets/openstack-logo/2016R/OpenStack-Logo-Horizontal.eps.zip'.
    Here we are assuming image is downloaded and will be active within 20
    seconds else will be marked as failed. As of now these tests never
    fails in local environment but, external networking will always be unreliable
    from the CI environment which sometimes causes these tests to either
    timeout or failure.
    
    Instead of using external URL to download the image, deploying local http
    server to dowload local image.
    
    Closes-Bug: #1797571
    Change-Id: I781666327f092ad439c23eca57128b8fd0334c89


** Changed in: glance
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1797571

Title:
  Functional tests related to web-download import method timeouts or
  fails intermittently

Status in Glance:
  Fix Released

Bug description:
  In web-download import method functional tests we are trying to
  download a file from 'https://www.openstack.org/assets/openstack-
  logo/2016R/OpenStack-Logo-Horizontal.eps.zip' in glance. Here we are
  assuming image will be downloaded and active 20 seconds of time and if
  not it will be marked as failed. As of now these tests never fails in
  local environment but, external networking will always be unreliable
  from the CI environment which sometimes causes these tests to either
  timeout or failure.

  The solution for this is likely to be that not relying on pulling
  something from the external network in the test instead just use
  something else hosted on the local Apache httpd of the test node and
  use that as the URL to import in the test.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1797571/+subscriptions


References