← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2051501] Re: [UT] "openstack-tox-py311-with-sqlalchemy-master" failing because of https://review.opendev.org/c/openstack/neutron-lib/+/903841

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/907040
Committed: https://opendev.org/openstack/neutron/commit/c6ac441a5160b79c48d04596ab464e0bac9f6592
Submitter: "Zuul (22348)"
Branch:    master

commit c6ac441a5160b79c48d04596ab464e0bac9f6592
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Sat Jan 27 20:16:49 2024 +0000

    [UT] Change number of ``utcnow`` call number in ``test_update_timpestamp``
    
    Since [1], the method ``timeutils.utcnow`` is called from
    ``neutron_lib.context.ContextBase.__init__`` too. Although this patch is
    still not released (current last neutron-lib version is 3.10.0), this
    is affecting "openstack-tox-py311-with-sqlalchemy-master" that is using
    neutron-lib master branch.
    
    [1]https://review.opendev.org/c/openstack/neutron-lib/+/903841
    
    Closes-Bug: #2051501
    
    Change-Id: I1b2dd06d12dffd95869508167f8682e4042c044e


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2051501

Title:
  [UT] "openstack-tox-py311-with-sqlalchemy-master" failing because of
  https://review.opendev.org/c/openstack/neutron-lib/+/903841

Status in neutron:
  Fix Released

Bug description:
  Since [1], the test
  ``TimeStampDBMixinTestCase.test_update_timpestamp`` is failing because
  now the ``timeutils.utcnow`` method is also called from
  ``ContextBase`` during the init method. This is happening when using
  neutron-lib master branch (current last tag is 3.10.0).

  [1]https://review.opendev.org/c/openstack/neutron-lib/+/903841

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2051501/+subscriptions



References