neutron-lib hacking check roll-out breaks consumers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Boden R |
Bug Description
Since [1] merged, the periodic-
2016-08-03 06:12:19.091524 | --- import errors Non-zero exit code (2) from test listing.
2016-08-03 06:12:19.091836 | ---
2016-08-03 06:12:19.093990 | Failed to call load_tests:
2016-08-03 06:12:19.096585 | Traceback (most recent call last):
2016-08-03 06:12:19.110744 | File "/home/
2016-08-03 06:12:19.114036 | return load_tests(self, tests, pattern)
2016-08-03 06:12:19.124972 | File "/home/
2016-08-03 06:12:19.126979 | ignore=('F', 'H104'))
2016-08-03 06:12:19.140594 | File "/home/
2016-08-03 06:12:19.143540 | styleguide = StyleGuide(
2016-08-03 06:12:19.156669 | File "/home/
2016-08-03 06:12:19.162183 | self._styleguide = kwargs.
2016-08-03 06:12:19.169531 | File "/home/
2016-08-03 06:12:19.169591 | options.
2016-08-03 06:12:19.169641 | File "/home/
2016-08-03 06:12:19.169654 | return sorted(checks)
2016-08-03 06:12:19.169673 | TypeError: unorderable types: function() < function()
2016-08-03 06:12:19.169690 | The test run didn't actually run any tests
See [2] for full log
[1] https:/
[2] http://
Changed in neutron: | |
status: | Incomplete → Confirmed |
Changed in neutron: | |
status: | Confirmed → In Progress |
I've reproduced this locally and have been digging into root cause.
I believe the issue is related to the fact that the neutron_lib registers entry point checks that are re-registered in neutron. I'll dig deeper and propose a fix.