Public bug reported: When utilizing FreezeGun in unit tests, the patch fails at the keystone- coverage-db gate. Here is the code:
https://review.openstack.org/#/c/340074/ with freezegun.freeze_time(time) as frozen_datetime: ... frozen_datetime.tick( delta=datetime.timedelta(seconds=self.max_duration + 1)) The logs show that it fails at frozen_datetime.tick, saying that NoneType doesn't have a method tick. However, the tests run successfully when run manually and pass all other gates. ** Affects: keystone Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Identity (keystone). https://bugs.launchpad.net/bugs/1603103 Title: FreezeGun 0.3.5 fails keystone-coverage-db gate Status in OpenStack Identity (keystone): New Bug description: When utilizing FreezeGun in unit tests, the patch fails at the keystone-coverage-db gate. Here is the code: https://review.openstack.org/#/c/340074/ with freezegun.freeze_time(time) as frozen_datetime: ... frozen_datetime.tick( delta=datetime.timedelta(seconds=self.max_duration + 1)) The logs show that it fails at frozen_datetime.tick, saying that NoneType doesn't have a method tick. However, the tests run successfully when run manually and pass all other gates. To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1603103/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

