functional tests broken under py27
Bug #1744824 reported by
Brian Rosmaita
This bug affects 2 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Glance |
Fix Released
|
Critical
|
Unassigned | ||
Bug Description
Over the weekend, the py27 tests began failing. To reproduce, you need to use an upgraded Ubuntu. It appears to be a distro package issue (though it's not clear ATM what package).
The failing tests are functional tests, the unit tests pass OK.
The py35 tests all pass (both unit and functional).
In the meantime, the requirements team has dropped the glance py27 tests from the requirements gate: https:/
We should fix soon to get our tests back into the gate to prevent other bad stuff from happening to glance.
| Changed in glance: | |
| milestone: | queens-3 → queens-rc1 |
To post a comment you must log in.

Adding this note from Abhishek about troubleshooting, in case anyone has time to take a look:
I have tried to debug this in my environment but so far not able to find the reason.
While starting the api service from functional tests it fails to load middleware 'rootapp' from api-paste.ini
What I have done is added below lines in tox.ini to enable debugging of functional tests
[testenv: debug-functiona l] tests/functiona l
basepython = python2.7
setenv =
TEST_PATH = ./glance/
commands = oslo_debug_helper {posargs}
and added pdb at /github. com/openstack/ glance/ blob/master/ glance/ tests/functiona l/__init_ _.py#L770'
'https:/
While executing each functional test, it creates the temp directory at location /tmp/tmp* where it stores config, paste.ini and other required files.