<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 19, 2015 at 2:21 PM, Brant Knudson <span dir="ltr"><<a href="mailto:blk@acm.org" target="_blank">blk@acm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br>Ever since the stable/juno branch was created for keystonemiddleware it's been broken and there are several changes piling up there. The fix for bug 1408838 "Tests fail with new oslo.utils 1.2.1" allows the tests to pass. I cherry-picked the fix here[1].<br><br>Based on the title of the bug, you'd think that capping oslo.utils<1.2.1 would be an alternative fix, but I tried installing older versions of oslo.utils and eventually it failed with a completely different error, so I think that's a dead end.<br><br>[1] <a href="https://review.openstack.org/#/c/175232/" target="_blank">https://review.openstack.org/#/c/175232/</a><span class=""><font color="#888888"><br><br></font></span></div></div></blockquote><div><br></div><div>So this fix has merged, but keystonemiddleware has another problem -- the proposal bot posted a change to get the requirements up to date and that's failing all the -python* jobs. Looks like what's happening is that during the tox venv installation the oslo.messaging package is being updated to version 1.9.0, which is way newer than the other oslo packages and this is causing a test that uses pkg_resource to fail with a dependency issue (oslo.messaging 1.9.0 requires oslo.utils<1.5.0,>1.4.0 but global requirements has oslo.utils<1.2.0, so that's what's installed). This all appears to be related to other issues we've seen where the dep resolver isn't working as expected.<br><br></div><div>I tried using an older pycadf (which, from the tox logs is where oslo.messaging is being upgraded) but it was only with a very old version of pycadf that things worked.<br><br></div><div>So the current proposed fix is to move oslo.messaging from test-requirements.txt to requirements.txt. The correct oslo.messaging gets installed when both pycadf and oslo.messaging are in the same file. Hopefully this is ok and can be done in a fix release... oslo.messaging was already a requirement for pycadf so this shouldn't cause an issue for packagers.[1]<br><br>[1] <a href="https://review.openstack.org/#/c/175688/">https://review.openstack.org/#/c/175688/</a><br></div><div><br></div><div>If this sounds ok I'll squash the change into the parent review so that it can get merged.<br></div><div><br></div><div>- Brant<br></div><br></div></div></div>