gate-ceilometer-python34 fails with "NameError: name 'execfile' is not defined" in happybase setup (stable/juno only)

Bug #1420433 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Matt Riedemann

Bug Description

http://logs.openstack.org/65/154165/1/check/gate-ceilometer-python34/e3bf939/console.html#_2015-02-09_18_15_48_404

2015-02-09 18:15:48.403 | Collecting happybase!=0.7,>=0.5 (from -r /home/jenkins/workspace/gate-ceilometer-python34/requirements.txt (line 10))
2015-02-09 18:15:48.404 | Downloading http://pypi.region-b.geo-1.openstack.org/packages/source/h/happybase/happybase-0.9.tar.gz (62kB)
2015-02-09 18:15:48.404 | Traceback (most recent call last):
2015-02-09 18:15:48.404 | File "<string>", line 20, in <module>
2015-02-09 18:15:48.405 | File "/tmp/tmp.QK1p8rlRML/pip-build-xxdhnams/happybase/setup.py", line 5, in <module>
2015-02-09 18:15:48.405 | execfile('happybase/_version.py')
2015-02-09 18:15:48.405 | NameError: name 'execfile' is not defined
2015-02-09 18:15:48.406 | Complete output from command python setup.py egg_info:
2015-02-09 18:15:48.406 | Traceback (most recent call last):
2015-02-09 18:15:48.406 |
2015-02-09 18:15:48.407 | File "<string>", line 20, in <module>
2015-02-09 18:15:48.407 |
2015-02-09 18:15:48.408 | File "/tmp/tmp.QK1p8rlRML/pip-build-xxdhnams/happybase/setup.py", line 5, in <module>
2015-02-09 18:15:48.408 |
2015-02-09 18:15:48.408 | execfile('happybase/_version.py')
2015-02-09 18:15:48.409 |
2015-02-09 18:15:48.409 | NameError: name 'execfile' is not defined

http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiTmFtZUVycm9yOiBuYW1lICdleGVjZmlsZScgaXMgbm90IGRlZmluZWRcIiBBTkQgYnVpbGRfbmFtZTpcImdhdGUtY2VpbG9tZXRlci1weXRob24zNFwiIEFORCB0YWdzOlwiY29uc29sZVwiIiwiZmllbGRzIjpbXSwib2Zmc2V0IjowLCJ0aW1lZnJhbWUiOiI2MDQ4MDAiLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sInN0YW1wIjoxNDIzNTkyNTY2NzQ0LCJtb2RlIjoiIiwiYW5hbHl6ZV9maWVsZCI6IiJ9

26 hits since 2/8, check queue only but multiple changes, all failures.

Revision history for this message
Matt Riedemann (mriedem) wrote :
Matt Riedemann (mriedem)
summary: gate-ceilometer-python34 fails with "NameError: name 'execfile' is not
- defined" in happybase setup
+ defined" in happybase setup (stable/juno only)
Revision history for this message
Matt Riedemann (mriedem) wrote :

The problem is there is no py34 envlist in the tox.ini:

https://github.com/openstack/ceilometer/blob/stable/juno/tox.ini#L4

So it defaults to requirements.txt which lists happybase which doesn't support py3.

http://logs.openstack.org/65/154165/1/check/gate-ceilometer-python34/e3bf939/console.html#_2015-02-09_18_15_46_185

The tox target is py34.

Changed in ceilometer:
assignee: nobody → Matt Riedemann (mriedem)
status: New → In Progress
Revision history for this message
Matt Riedemann (mriedem) wrote :
Matt Riedemann (mriedem)
Changed in ceilometer:
status: In Progress → Fix Released
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.