← Back to team overview

yahoo-eng-team team mailing list archive

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

 

This bug was fixed in the package neutron-fwaas-dashboard - 1:8.0.0-0ubuntu1~cloud0
---------------

 neutron-fwaas-dashboard (1:8.0.0-0ubuntu1~cloud0) noble-dalmatian; urgency=medium
 .
   * New package for the Ubuntu Cloud Archive.
 .
 neutron-fwaas-dashboard (1:8.0.0-0ubuntu1) oracular; urgency=medium
 .
   * New upstream release for OpenStack Dalmatian.
 .
 neutron-fwaas-dashboard (1:8.0.0~rc1-0ubuntu1) oracular; urgency=medium
 .
   [ Corey Bryant ]
   * d/gbp.conf, .launchpad.yaml: Sync from cloud-archive-tools for
     caracal.
 .
   [ James Page ]
   * d/watch: Fix URL generation.
   * d/gbp.conf: upstream-branch -> upstream-dalmatian.
   * New upstream release for OpenStack Dalmatian.
   * d/control: Align (Build)-Depends with release.
   * d/rules: Fix rule file to work with rc versions.
 .
 neutron-fwaas-dashboard (1:3.0.0-0ubuntu2) UNRELEASED; urgency=medium
 .
   * d/control: Update VCS paths for move to lp:~ubuntu-openstack-dev.
 .
 neutron-fwaas-dashboard (1:3.0.0-0ubuntu1) groovy; urgency=medium
 .
   * d/watch: Get tarballs from opendev.org.
   * New upstream release for OpenStack Ussuri (LP: #1877642).
 .
 neutron-fwaas-dashboard (1:2.1.1~git2020041315.d49e7ef-0ubuntu1) focal; urgency=medium
 .
   * New upstream snapshot for OpenStack Ussuri.
 .
 neutron-fwaas-dashboard (1:2.1.1~git2020032617.d57d35e-0ubuntu1) focal; urgency=medium
 .
   * New upstream snapshot for OpenStack Ussuri.
   * d/python3-neutron-fwaas-dashboard.postinst: Align chown command with horizon package.
 .
 neutron-fwaas-dashboard (1:2.1.1~git2020021315.d017b82-0ubuntu1) focal; urgency=medium
 .
   * New upstream snapshot for OpenStack Ussuri.
   * d/control: Align (Build-)Depends with upstream.
   * d/rules: Don't run integration tests.
 .
 neutron-fwaas-dashboard (1:2.1.0-0ubuntu1) eoan; urgency=medium
 .
   [ Corey Bryant ]
   * d/watch: Get release tarballs from tarballs.openstack.org.
 .
   [ James Page ]
   * d/watch: Misc fixes.
   * New upstream release for OpenStack Train.
   * Bump epoch due to mis-versioning of snapshots during development cycle.
 .
 neutron-fwaas-dashboard (3.0.0~b1~git2019061308.f722df5-0ubuntu3) eoan; urgency=medium
 .
   * d/control: Switch back to python3-django >= 1:1.11. See related bug to
     prevent python3-django 2:2.2.4 from migrating to eoan-release:
     https://bugs.launchpad.net/bugs/1842969.
 .
 neutron-fwaas-dashboard (3.0.0~b1~git2019061308.f722df5-0ubuntu2) eoan; urgency=medium
 .
   * d/control: Ensure python3-django is << 2:2.2.4.
 .
 neutron-fwaas-dashboard (3.0.0~b1~git2019061308.f722df5-0ubuntu1) eoan; urgency=medium
 .
   * New upstream snapshot for OpenStack Train.
 .
 neutron-fwaas-dashboard (2.0.1-0ubuntu2) eoan; urgency=medium
 .
   * d/control: Add Breaks/Replaces to python3-neutron-fwaas-dashboard to
     ensure python-neutron-fwaas-dashboard is removed on upgrade (LP: #1828293).
   * d/control: (Build-)Depends on latest python3-django-horizon and
     openstack-dashboard to ensure unit tests are successful (LP: #1806053).
 .
 neutron-fwaas-dashboard (2.0.1-0ubuntu1) disco; urgency=medium
 .
   * New upstream release for OpenStack Stein.
 .
 neutron-fwaas-dashboard (2.0.0-0ubuntu1) disco; urgency=medium
 .
   * New Upstream release for OpenStack Stein.
   * d/control: Bump minimum version of horizon.
 .
 neutron-fwaas-dashboard (1.5.0-0ubuntu3) cosmic; urgency=medium
 .
   * d/rules: Misc fixes to resolve FTBFS as this package only provides
     a Python 3 module.
 .
 neutron-fwaas-dashboard (1.5.0-0ubuntu2) cosmic; urgency=medium
 .
   * d/rules,python3-neutron-fwaas-dashboard.*: Refactor to work with
     Ubuntu layout for openstack-dashboard, resolving installation issues
     (LP: #1796357).
 .
 neutron-fwaas-dashboard (1.5.0-0ubuntu1) cosmic; urgency=medium
 .
   * d/gbp.conf: Update gbp configuration file.
   * d/control: Update Vcs-* links and maintainers.
   * New upstream release for OpenStack Rocky.
   * d/control: Align (Build-)Depends with upstream.
 .
 neutron-fwaas-dashboard (1.3.0-1ubuntu1) cosmic; urgency=medium
 .
   * Add missing build-dependency on python3-django-horizon, needed by
     neutron_fwaas_dashboard/test/settings.py.
 .
 neutron-fwaas-dashboard (1.3.0-1) unstable; urgency=medium
 .
   * Initial release (Closes: #898156).


** Changed in: cloud-archive
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
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 Released
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 Released
Status in neutron-fwaas-dashboard source package in Cosmic:
  Fix Released
Status in horizon source package in Disco:
  Fix Released
Status in neutron-fwaas-dashboard source package in Disco:
  Fix Released
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



References