Jenkins job builder py27 tests fails when ran locally
Bug #1276293 reported by
Philippe Godin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Invalid
|
Undecided
|
Khai Do |
Bug Description
Jenkins-job-builder py27 tests fails from a fresh clone of master when ran locally. Pep8, pyflakes and py26 tests are OK.
The error is when the output xml is compared to the expected version. During the test run, the xml tags and values are outputted on separate lines which make the string comparison fail.
Example:
- <protocol>
+ <protocol>
+ HTML
+ </protocol>
Changed in openstack-ci: | |
assignee: | nobody → Khai Do (zaro0508) |
Changed in openstack-ci: | |
status: | New → Incomplete |
Changed in openstack-ci: | |
status: | Incomplete → Invalid |
To post a comment you must log in.
I cannot reproduce the test failures. Could you please provide the exact steps you used to run the test? When I run I do the following..
1. clone jenkins-job-builder
2. run 'tox -epy27'
Tests all pass for me.
Here is a list of dependent libs in my .tox/py27 ENV. Could you please check to see if you have the same? job-builder= =0.6.0. 64.ga32288a jenkins= =0.2.1 mimeparse= =0.1.4 subunit= =0.0.18 programoutput= =0.8 =0.0.18
Jinja2==2.7.2
MarkupSafe==0.18
PyYAML==3.10
Pygments==1.6
Sphinx==1.1.3
discover==0.4.0
docutils==0.11
extras==0.0.3
fixtures==0.3.14
jenkins-
python-
python-
python-
setuptools-git==1.0
sphinxcontrib-
testrepository=
testscenarios==0.4
testtools==0.9.35
wsgiref==0.1.2