Packstack fails tox py27 unit tests only on RHEL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Packstack |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This bug was originally reported at:
https:/
Description of problem:
Packstack unit tests are failing on RHEL-based machine or docker image.
Tested on
> uname -a
Linux test-node 3.10.0-
> uname -a
Linux docker-image 3.10.0-
Version-Release number of selected component (if applicable):
2b29648d20ef22a
98cc90f7226d415
5df800fa09ac5b4
How reproducible:
100%
Steps to Reproduce:
0. Running on RHEL 7.2
1. git clone https:/
2. cd packstack
3. tox -epy27
Actual results:
tox -epy27
GLOB sdist-make: /home/jenkins/
py27 create: /home/jenkins/
py27 installdeps: -r/home/
py27 inst: /home/jenkins/
py27 installed: cffi==1.
py27 runtests: PYTHONHASHSEED=
py27 runtests: commands[0] | nosetests
.......
=======
ERROR: Make sure RHN password is quoted.
-------
Traceback (most recent call last):
File "/home/
prescript_
AttributeError: 'module' object has no attribute 'controller'
-------
Ran 32 tests in 1.645s
FAILED (errors=1)
ERROR: InvocationError: '/home/
_______
ERROR: py27: commands failed
Expected results:
Unit Tests pass
Additional info:
The issue does not exist on Centos because the code is not executed:
cat tests/test_
# On non-RHEL, the CONFIG_
# i.e. this test would always fail. Therefore, only run it on RHEL.
if not prescript_
return
The problem is still present at revision c759a2502f7ae98 2c0c1b451ed5008 a4231a8904