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

Bug #2051501 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Critical
Rodolfo Alonso

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

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
importance: Undecided → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/907040

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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 <email address hidden>
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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 24.0.0.0rc1

This issue was fixed in the openstack/neutron 24.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.