Use of old thread module in a unit test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ovsdbapp |
Fix Released
|
Medium
|
Terry Wilson |
Bug Description
At RDO we are hitting an issue while building the package [1] for Ussuri.
The issue happens while running the unit tests in %check step.
Below the error:
AttributeError: module 'ovsdbapp.api' has no attribute 'thread'
We have eventlet in our buildroot, so we run [2]. In tox, as eventlet is absent, we don't hit the issue.
We think the unit test has not been updated during this commit [3].
We will disable unit test execution on our side until this is fixed.
[1] https:/
[2] https:/
[3] https:/
Changed in ovsdbapp: | |
assignee: | nobody → Terry Wilson (otherwiseguy) |
importance: | Undecided → Medium |
Reviewed: https:/ /review. opendev. org/743001 /git.openstack. org/cgit/ openstack/ ovsdbapp/ commit/ ?id=48ee1008f59 eed95cbca7a8b1b 3630ddbffdaae5
Committed: https:/
Submitter: Zuul
Branch: master
commit 48ee1008f59eed9 5cbca7a8b1b3630 ddbffdaae5
Author: Terry Wilson <email address hidden>
Date: Fri Jul 24 16:42:17 2020 -0500
Fix thread/threading change in unit test
This unit test was not updated when the thread/threading name
change happened. This fixes the unit test when eventlet is
installed.
Change-Id: I0e0da83187190c 7145bb01f77daf2 2a43868115c
Closes-bug: #1875678