Thursday, 2021-10-14

*** bhagyashris is now known as bhagyashris|out03:30
opendevreviewMridula Joshi proposed openstack/glance-specs master: Append new tags to existing tags  https://review.opendev.org/c/openstack/glance-specs/+/81342906:34
opendevreviewMridula Joshi proposed openstack/glance master: Fix overwriting of existing tags while creating new tags  https://review.opendev.org/c/openstack/glance/+/80496606:46
opendevreviewOpenStack Proposal Bot proposed openstack/glance master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/glance/+/81356507:04
-opendevstatus- NOTICE: zuul was stuck processing jobs and has been restarted. pending jobs will be re-enqueued10:02
opendevreviewAndre Aranha proposed openstack/glance master: Add qemu-img to test dependencies  https://review.opendev.org/c/openstack/glance/+/81378711:18
opendevreviewAndre Aranha proposed openstack/glance master: DNM: Add fips check jobs  https://review.opendev.org/c/openstack/glance/+/79053611:20
opendevreviewAndre Aranha proposed openstack/glance master: DNM: Add fips check jobs  https://review.opendev.org/c/openstack/glance/+/79053611:20
opendevreviewPranali Deore proposed openstack/glance-tempest-plugin master: Implement API protection testing for metadef resource types  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80279212:14
opendevreviewPranali Deore proposed openstack/glance-tempest-plugin master: Implement API protection testing for metadef properties  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80279412:14
opendevreviewPranali Deore proposed openstack/glance-tempest-plugin master: Implement API protection testing for metadef tags  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/80279512:14
opendevreviewPranali Deore proposed openstack/glance-tempest-plugin master: Move the inlined utilities at common place  https://review.opendev.org/c/openstack/glance-tempest-plugin/+/81362512:14
*** pdeore__ is now known as pdeore|afk12:16
*** bhagyashris|out is now known as bhagyashris|mtg13:00
abhishekkjokke_, rosmaita, dansmith, croelandt glance weekly meeting at #openstack-meeting in 15 minutes13:47
*** pdeore|afk is now known as pdeore14:01
*** pdeore is now known as pdeore|afk14:27
* abhishekk will be back in couple of hours14:29
*** bhagyashris|mtg is now known as bhagyashris|away15:03
opendevreviewAndre Aranha proposed openstack/glance master: Add missing packages to test dependencies  https://review.opendev.org/c/openstack/glance/+/81378715:45
dansmithlbragstad: I didn't notice the lock here in the previous patch: https://review.opendev.org/c/openstack/glance-tempest-plugin/+/802792/17/glance_tempest_plugin/tests/rbac/v2/metadefs/test_resource_types.py16:34
dansmithbut if we keep stacking those up it will effectively serialize all these tests16:34
dansmithmaybe I missed some conversation about this?16:34
lbragstadtrue - i think i asked about that lock in a review 17:10
lbragstadbut i can't remember which one17:10
lbragstadhttps://review.opendev.org/c/openstack/glance-tempest-plugin/+/802793/817:12
dansmithah, it was abhishekk  :)17:14
lbragstadhe just showed up, too... must have known we were talking about him 17:14
abhishekkno idea at all, need to go through logs :D17:14
abhishekkhmmm, It was me who introduced it after discussion with QA team17:15
dansmithabhishekk: just this: https://review.opendev.org/c/openstack/glance-tempest-plugin/+/802792/17/glance_tempest_plugin/tests/rbac/v2/metadefs/test_resource_types.py17:16
abhishekkyep, saw your comment on mail17:16
abhishekkThe problem here is we need to run all the tests serially because all tests are creating namespaces first17:17
dansmithbut we wouldn't need to if their names didn't clash right?17:17
abhishekkso if we don't run it one by one then there could be problem 17:17
abhishekkget all 17:17
abhishekkwill be problematic17:17
dansmithwe just ignore any that aren't using our namespace right?17:18
dansmithI mean, otherwise you can't run this against a working cloud anyway, which I think is the intent of tempest (although admin-y things might be a gray area)17:18
dansmithself.assertEqual([], [x for x in get_all() if x.startswith(self.our_namespace)])17:19
abhishekkI am saying if NameSpace and Object tests are running in parallel then get all namespaces might fetch namespaces created by Objects 17:19
dansmithsure,17:19
dansmithbut if they are named accordingly that won't be a problem17:19
dansmithI mean namespace the Namespaces :)17:19
abhishekkhmm, so you are saying if the namespace is not related to our test we will ignore it ?17:20
dansmithcreate_namespaces() can use names like 'namespace_%s' % self.__class__.__name__17:20
dansmithyeah17:20
dansmithotherwise you're just assuming the cloud is empty, else the tests will fail17:20
abhishekkhmm, we can do that17:21
dansmithgmann: isn't tempest supposed to work on a production cloud, when possible? meaning we shouldn't fail if they have some resources on the cloud before the tests start?17:22
abhishekkI think we need to link this chat to review so that pdeore will understand what we were talking17:22
dansmithsure17:23
dansmithlbragstad: maybe you could quickly confirm that your comments from the previous version were addressed on this? https://review.opendev.org/c/openstack/glance-tempest-plugin/+/802792/17:24
abhishekk@all, just FYI tomorrow is holiday in India so me and pdeore will not be around17:28
dansmithabhishekk: cool, enjoy17:29
dansmithso is she probably already gone until next week?17:29
abhishekkyep17:29
dansmithokay17:29
abhishekkits almost 11 PM now17:30
* abhishekk signing out now17:45
dansmithabhishekk: go!17:46
abhishekkhaha17:46
lbragstadyeah - i think https://review.opendev.org/c/openstack/glance-tempest-plugin/+/802792/17 addresses my concerns from ps14 18:09
gmanndansmith: yes, it should work irrespective of what resources we have in testing env. that is why assert are are tempest created resources only, and most of the test create resources with prefix of tempest-* etc so what we do not conflict with resource in production env. If it clash then its test bug22:42
dansmithgmann: ack, okay well, all these metadef tests are violating that principle unfortunately22:43
dansmiththanks for the confirmation22:43
gmanndansmith: for namespace resource and using lock, I remember the discussion that glance cannot create separate resource etc so we need to run them in serial. in that case i suggested to use lock instead of serial run22:43
dansmithgmann: yeah, and I think I was part of that as well,22:44
dansmithhowever, I think the actual problem is just that the code relies on the cloud being empty,22:44
dansmithwhich it doesn't need to22:44
gmannhumm22:44
dansmiththere is no tenant isolation, so everything is global,22:45
dansmithhowever we do not need to assert empty, create stuff, delete those things, assert empty22:45
dansmithwe can create and delete specific resources and assert those are deleted,22:45
dansmithand not self.assertEqual([], client.get_all())22:45
dansmithand then we don't have to use a lock and serialize every single metadef test :)22:45
gmannk, and test resource name can be used as self.__class__.__name__ + <resource> for easy in debugging 22:47
dansmithyeah as I said above and in the review22:47
gmann+122:47

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!