functional tests fail on fedora

Bug #1719178 reported by Mike Fedosin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glare
Fix Released
Medium
Mike Fedosin

Bug Description

When I execute "tox -e py27" in Fedora 25/26 I get

{0} glare.tests.functional.test_all.TestAll.test_all [30.864266s] ... FAILED

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "glare/tests/functional/base.py", line 69, in setUp
        self.start_servers(**self.__dict__.copy())
      File "glare/tests/functional/__init__.py", line 573, in start_servers
        self.start_with_retry(self.glare_server, 'glare_port', 3, **kwargs)
      File "glare/tests/functional/__init__.py", line 555, in start_with_retry
        launch_msg = self.wait_for_servers([server], expect_launch)
      File "glare/tests/functional/__init__.py", line 639, in wait_for_servers
        'command.' % self.tracecmd)
    RuntimeError: No executable found for "strace" command.

It happens because of
1. strace package isn't installed in the system
2. inner bug of oslo_service https://bugs.launchpad.net/oslo.service/+bug/1510234

Mike Fedosin (mfedosin)
Changed in glare:
assignee: nobody → Mike Fedosin (mfedosin)
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glare (master)

Fix proposed to branch: master
Review: https://review.openstack.org/506934

Changed in glare:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glare (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/506935

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glare (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/506936

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

Reviewed: https://review.openstack.org/506934
Committed: https://git.openstack.org/cgit/openstack/glare/commit/?id=a30cdaf6a974d04652b6312995989d952f47924b
Submitter: Jenkins
Branch: master

commit a30cdaf6a974d04652b6312995989d952f47924b
Author: Mike Fedosin <email address hidden>
Date: Sun Sep 24 15:27:49 2017 +0300

    Allow eventlet hub to use monotonic clock

    Import oslo_service first, so that it makes eventlet
    hub use a monotonic clock to avoid issues with drifts
    of system time.

    Change-Id: Ia260a5eb52bacdf202e5204d5b7b2bd281174a4a
    Closes-bug: #1719178
    Related-bug: #1510234

Changed in glare:
status: In Progress → Fix Released
tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glare (stable/pike)

Reviewed: https://review.openstack.org/506935
Committed: https://git.openstack.org/cgit/openstack/glare/commit/?id=1f798c3116dc4ddc9dcfd295d6527afa01f843cb
Submitter: Jenkins
Branch: stable/pike

commit 1f798c3116dc4ddc9dcfd295d6527afa01f843cb
Author: Mike Fedosin <email address hidden>
Date: Sun Sep 24 15:27:49 2017 +0300

    Allow eventlet hub to use monotonic clock

    Import oslo_service first, so that it makes eventlet
    hub use a monotonic clock to avoid issues with drifts
    of system time.

    Change-Id: Ia260a5eb52bacdf202e5204d5b7b2bd281174a4a
    Closes-bug: #1719178
    Related-bug: #1510234

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glare (stable/ocata)

Reviewed: https://review.openstack.org/506936
Committed: https://git.openstack.org/cgit/openstack/glare/commit/?id=5faf91de74a63466ce17029510f344ab4cc3dc72
Submitter: Jenkins
Branch: stable/ocata

commit 5faf91de74a63466ce17029510f344ab4cc3dc72
Author: Mike Fedosin <email address hidden>
Date: Sun Sep 24 15:27:49 2017 +0300

    Allow eventlet hub to use monotonic clock

    Import oslo_service first, so that it makes eventlet
    hub use a monotonic clock to avoid issues with drifts
    of system time.

    Change-Id: Ia260a5eb52bacdf202e5204d5b7b2bd281174a4a
    Closes-bug: #1719178
    Related-bug: #1510234

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.