PBR

AttributeError: pre_run in py26, py27 and py34 jobs

Bug #1456663 reported by Elena Ezhova
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned
PBR
Fix Released
Critical
Ilya Shakhat
oslo-incubator
Invalid
Undecided
Unassigned

Bug Description

2015-05-19 14:16:46.891 | Traceback (most recent call last):
2015-05-19 14:16:46.891 | File "setup.py", line 30, in <module>
2015-05-19 14:16:46.892 | pbr=True)
2015-05-19 14:16:46.892 | File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
2015-05-19 14:16:46.895 | dist.run_commands()
2015-05-19 14:16:46.895 | File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
2015-05-19 14:16:46.899 | self.run_command(cmd)
2015-05-19 14:16:46.899 | File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
2015-05-19 14:16:46.900 | cmd_obj.run()
2015-05-19 14:16:46.900 | File "/home/jenkins/workspace/gate-oslo-incubator-python27/.tox/py27/local/lib/python2.7/site-packages/pbr/packaging.py", line 182, in run
2015-05-19 14:16:46.900 | self.pre_run()
2015-05-19 14:16:46.901 | File "/usr/lib/python2.7/distutils/cmd.py", line 105, in __getattr__
2015-05-19 14:16:46.902 | raise AttributeError, attr
2015-05-19 14:16:46.903 | AttributeError: pre_run

logstash query:
http://logstash.openstack.org/#eyJzZWFyY2giOiJcIkF0dHJpYnV0ZUVycm9yOiBwcmVfcnVuXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6Ijg2NDAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTQzMjA0NTQ4ODE1N30=

Revision history for this message
Elena Ezhova (eezhova) wrote :

The bug was introduced by the following change: https://github.com/openstack-dev/pbr/commit/d67f22fc3fa7e4ca7de5406edf3df4446509b01f

pre_run was a method of _PipInstallTestRequires class whic hwas removed.

Changed in oslo-incubator:
status: New → Invalid
Changed in cinder:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to pbr (master)

Fix proposed to branch: master
Review: https://review.openstack.org/184273

Changed in pbr:
assignee: nobody → Elena Ezhova (eezhova)
status: New → In Progress
Changed in pbr:
importance: Undecided → Critical
Changed in pbr:
assignee: Elena Ezhova (eezhova) → Robert Collins (lifeless)
Changed in pbr:
assignee: Robert Collins (lifeless) → Elena Ezhova (eezhova)
Changed in pbr:
assignee: Elena Ezhova (eezhova) → Ilya Shakhat (shakhat)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to pbr (master)

Reviewed: https://review.openstack.org/184273
Committed: https://git.openstack.org/cgit/openstack-dev/pbr/commit/?id=b72e4467e1332cd441def32328249ace99c21b18
Submitter: Jenkins
Branch: master

commit b72e4467e1332cd441def32328249ace99c21b18
Author: Elena Ezhova <email address hidden>
Date: Tue May 19 18:18:53 2015 +0300

    Remove self.pre_run calls in packaging.py

    pre_run was a method of _PipInstallTestRequires class which was
    removed by https://review.openstack.org/#/c/181785/.

    Change-Id: I2118f2a96d0c9984797424e5dda47547c8e24621
    Closes-Bug: #1456663

Changed in pbr:
status: In Progress → Fix Committed
Changed in pbr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.