[Bug 1806053] Re: APITestCase still needs to be patched utils.patch_middleware_get_user()

Ɓukasz Zemczak 1806053 at bugs.launchpad.net
Thu May 16 11:43:38 UTC 2019


Hello Akihiro, or anyone else affected,

Accepted neutron-fwaas-dashboard into disco-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source
/neutron-fwaas-dashboard/2.0.1-0ubuntu1.1 in a few hours, and then in
the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-disco to verification-done-disco. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-disco. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: neutron-fwaas-dashboard (Ubuntu Disco)
       Status: Triaged => Fix Committed

** Tags added: verification-needed-disco

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1806053

Title:
  APITestCase still needs to be patched
  utils.patch_middleware_get_user()

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive queens series:
  Invalid
Status in Ubuntu Cloud Archive rocky series:
  Fix Committed
Status in Ubuntu Cloud Archive stein series:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in horizon package in Ubuntu:
  Fix Released
Status in neutron-fwaas-dashboard package in Ubuntu:
  Fix Released
Status in horizon source package in Bionic:
  Invalid
Status in neutron-fwaas-dashboard source package in Bionic:
  Invalid
Status in horizon source package in Cosmic:
  Fix Committed
Status in neutron-fwaas-dashboard source package in Cosmic:
  Triaged
Status in horizon source package in Disco:
  Fix Released
Status in neutron-fwaas-dashboard source package in Disco:
  Fix Committed
Status in horizon source package in Eoan:
  Fix Released
Status in neutron-fwaas-dashboard source package in Eoan:
  Fix Released

Bug description:
  After merging commit 0d163613265e036818fe567793a4fc88fe140d4a, we see
  some UT breakage in horizon plugins.

  bgpvpn-dashboard https://bugs.launchpad.net/bgpvpn/+bug/1805240
  neutron-fwaas-dashboard https://review.openstack.org/621155
  neutron-vpnaas-dashboard https://review.openstack.org/621152

  Previously APITestCase called patch_middleware_get_user explicitly,
  but the commit above dropped it. This seems to trigger the above UT
  failures.

  
  -------------------------------------

  
  SRU Details for Ubuntu
  ----------------------

  [Impact]
  See above.

  Also, building a horizon dashboard package, such as neutron-fwaas-
  dashboard, will result in several unit test failures such due to
  "AttributeError: 'AnonymousUser' object has no attribute 'token'".

  [Test Case]
  Build the horizon and neutron-fwaas-dashboard packages.

  [Regression Potential]
  Very minimal as the changes update test code only.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1806053/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list