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

Bug #1797571 reported by Abhishek Kekane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
High
Abhishek Kekane

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.

Changed in glance:
assignee: nobody → Abhishek Kekane (abhishek-kekane)
importance: Undecided → High
Changed in glance:
status: New → In Progress
Revision history for this message
Abhishek Kekane (abhishek-kekane) wrote :

Patch submitted against master:
https://review.openstack.org/608856

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/glance 18.0.0.0b1

This issue was fixed in the openstack/glance 18.0.0.0b1 development milestone.

Erno Kuvaja (jokke)
Changed in glance:
milestone: none → stein-1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.