← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2033752] Re: test_reboot_server_hard fails with AssertionError: time.struct_time() not greater than time.struct_time()

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/893502
Committed: https://opendev.org/openstack/nova/commit/68b2131d811c935af60eb6f563f4552d7287e3a8
Submitter: "Zuul (22348)"
Branch:    master

commit 68b2131d811c935af60eb6f563f4552d7287e3a8
Author: Sean Mooney <work@xxxxxxxxxxxxxxx>
Date:   Fri Sep 1 12:46:21 2023 +0100

    only attempt to clean up dangling bdm if cinder is installed
    
    This change ensure we only try to clean up dangling bdms if
    cinder is installed and reachable.
    
    Closes-Bug: #2033752
    Change-Id: I0ada59d8901f8620fd1f3dc20d6be303aa7dabca


** Changed in: nova
       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/2033752

Title:
  test_reboot_server_hard fails with  AssertionError: time.struct_time()
  not greater than time.struct_time()

Status in neutron:
  Confirmed
Status in OpenStack Compute (nova):
  Fix Released
Status in tempest:
  New

Bug description:
  Seen many occurrences recently, fails as below:-

  Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/api/compute/servers/test_server_actions.py", line 259, in test_reboot_server_hard
      self._test_reboot_server('HARD')
    File "/opt/stack/tempest/tempest/api/compute/servers/test_server_actions.py", line 127, in _test_reboot_server
      self.assertGreater(new_boot_time, boot_time,
    File "/usr/lib/python3.10/unittest/case.py", line 1244, in assertGreater
      self.fail(self._formatMessage(msg, standardMsg))
    File "/usr/lib/python3.10/unittest/case.py", line 675, in fail
      raise self.failureException(msg)
  AssertionError: time.struct_time(tm_year=2023, tm_mon=9, tm_mday=1, tm_hour=7, tm_min=26, tm_sec=33, tm_wday=4, tm_yday=244, tm_isdst=0) not greater than time.struct_time(tm_year=2023, tm_mon=9, tm_mday=1, tm_hour=7, tm_min=26, tm_sec=33, tm_wday=4, tm_yday=244, tm_isdst=0) : time.struct_time(tm_year=2023, tm_mon=9, tm_mday=1, tm_hour=7, tm_min=26, tm_sec=33, tm_wday=4, tm_yday=244, tm_isdst=0) > time.struct_time(tm_year=2023, tm_mon=9, tm_mday=1, tm_hour=7, tm_min=26, tm_sec=33, tm_wday=4, tm_yday=244, tm_isdst=0)

  Example logs:-
  https://1e11be38b60141dbb290-777f110ca49a5cd01022e1e8aeff1ed5.ssl.cf1.rackcdn.com/893401/5/check/neutron-ovn-tempest-ovs-release/f379752/testr_results.html
  https://1b9f88b068db0ff45f98-b11b73e0c31560154dece88f25c72a10.ssl.cf2.rackcdn.com/893401/5/check/neutron-linuxbridge-tempest/0bf1039/testr_results.html
  https://30b3c23edbff5d871c4c-595cfa47540877e41ce912cd21563e42.ssl.cf1.rackcdn.com/886988/10/check/neutron-ovs-tempest-multinode-full/e57a62a/testr_results.html
  https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_0e5/886988/10/check/neutron-ovn-tempest-ipv6-only-ovs-release/0e538d1/testr_results.html

  Opensearch:-
  https://opensearch.logs.openstack.org/_dashboards/app/discover/?security_tenant=global#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-30d,to:now))&_a=(columns:!(_source),filters:!(),index:'94869730-aea8-11ec-9e6a-83741af3fdcd',interval:auto,query:(language:kuery,query:'message:%22not%20greater%20than%20time.struct_time%22'),sort:!())

  As per opensearch it's started to be seen just few hours back.

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



References