09:00:32 #startmeeting qa 09:00:33 Meeting started Thu Mar 24 09:00:32 2016 UTC and is due to finish in 60 minutes. The chair is gmann. Information about MeetBot at http://wiki.debian.org/MeetBot. 09:00:34 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 09:00:37 The meeting name has been set to 'qa' 09:00:44 hi who's here for today? 09:00:54 hi 09:01:04 hi 09:01:15 jlanoux: jordanP : hi 09:01:44 Let's wait for few min to have more people 09:01:53 o/ 09:02:24 andreaf: hi 09:02:50 gmann: hi 09:02:54 masayukig will not be able to join today 09:02:59 So let's start 09:03:05 #link https://wiki.openstack.org/wiki/Meetings/QATeamMeeting#Proposed_Agenda_for_March_24th_2016_.280900_UTC.29 09:03:08 ^^ today agenda 09:03:23 #topic Specs Reviews 09:03:35 #link https://review.openstack.org/#/q/status:open+project:openstack/qa-specs,n,z 09:04:05 andreaf: most of spec from you :) anything you want to bring up here 09:04:26 gmann: just that I've been swamped with internal stuff in the past weeks 09:04:43 gmann: but I will pick up specs and reviews again now, sorry about the delay on those 09:04:51 ohk 09:05:09 np, you already doing lot of thing :) 09:05:43 andreaf: for client refactor m almost good, just a suggestion if we can simplify the access of registered clients 09:05:47 #link https://review.openstack.org/#/c/92804/ 09:06:06 may be you can take look later if that makes sense 09:06:15 gmann: I will check your comment 09:06:24 andreaf: Thanks :) 09:06:41 gmann: initially my approach was to have support for aliases and simplified names to access clients 09:07:00 the less "meta programming" the better, imo 09:07:01 gmann: but after discussing with mtreinish we agreed that was too much complexity 09:07:12 I am looking closely at this 09:07:15 yea. 09:07:34 jordanP: yea agree on that. Thanks 09:07:45 gmann, jordanP: well exactly so for now names will be what they are now 09:07:54 great 09:08:10 gmann, jordanP: and for registered client it will be plugin_client_name 09:08:23 gmann, jordanP: so we can avoid name conflicts across plugins 09:08:47 I am not sure this was a big concern, but that's good to know 09:09:00 gmann. jordanP: a follow up will be to cleanup and standardise names across internal clients and least and get rid of all the aliasing in test base classes 09:09:23 hello 09:09:23 andreaf: yea, i was thinking if "client_name" part can be taken from users itself instead of building from class name etc 09:09:30 I am not sure people will move massively to the plugin models 09:09:36 jordanP: well, flavor_client can be in many places :D 09:09:44 mkoderer__: hi 09:10:05 gmann: yes it will be defined statically and not taken from the class name 09:10:17 at least until we have a standard defined and enforced 09:10:28 andreaf: great. that solve my main concern 09:10:52 andreaf: yea, we should do standard definition there but may be later 09:10:53 gmann, jordanP: there is another problem with different instances of the same client in the manager 09:11:07 like identity does for instance with public and admin for v2 09:11:27 but I guess those can still defined old stile by tempest client manager 09:11:29 what's the problem (apart from being ugly) 09:12:14 jordanP: it's just a deviation from one-client -> one-attribute 09:12:14 andreaf: yea for those we need some exception in naming if we do standard one for all 09:12:39 jordanP: but I don't want to extend the model to being 1 client -> n attributes because it makes things more complex 09:13:03 jordanP: so extra attributes can be added "by hand" by the client manager definition 09:13:16 and we might need that as those 2 instances can be needed in single tests 09:13:45 ok 09:14:42 jordanP, gmann: thanks for your comments on this - I will update the spec and try to keep things as simple and non-meta-programming as possible :) 09:15:07 ok, I think that is close to merge now and let's review after update . 09:15:16 Thanks andreaf for all hard work on this :) 09:15:30 anything on any other spec ? 09:16:24 ok, let's move 09:16:28 #topic Priority Items 09:16:42 #link https://etherpad.openstack.org/p/mitaka-qa-priorities 09:16:52 so i want to update on microversion one 09:17:04 all framework is now merged in tempest/lib 09:17:12 and doc also added 09:17:28 there is small updates in doc left 09:17:31 #link https://review.openstack.org/#/c/296939/ 09:17:45 it is simple one if you guys can review 09:17:54 about microversion: https://review.openstack.org/#/c/258391/32/tempest/lib/api_schema/response/compute/v2_19/servers.py 09:17:54 I will close the BP after this 09:18:08 how come this looks suboptimal ? 09:18:20 there's no otherway around this ? 09:18:50 jordanP: yea actually tempest own the compute response schema and they change across versions 09:19:06 yeah I get the why. But this looks ugly no ? 09:19:13 jordanP: in 2.19 only those API schema has been changed so need to version those 09:20:01 jordanP: humm, yea right. it was more if we do in same file. so i tried to separate those in separate file 09:20:15 jordanP: I am open to have more better way if any. 09:20:23 at least more readable way if we can find 09:20:58 also i do not want to duplicate the schema among version so copying those from previous version schema 09:21:16 yeah, I see. 09:21:21 anyway, it's minor 09:21:43 jordanP: and another hard thing is if we implement the version tests randomly like we did for 2.20 09:22:10 we have to version previous microversion schema also, there is no way to aboid that 09:22:13 avoid 09:22:33 I have documented those extra step in doc to make it understand 09:22:39 ok 09:23:50 ok 09:24:09 guys, not in priority items, but while I worked on replacing httplib2 by urllib3 I noticed that we use a lot "oslotest.mockpatch" in our unit tests 09:24:10 so any other items anyone want to discuss on priority items? 09:24:18 on (10) the ssh-auth-bp is basically done, jlanoux has prepared docs updates 09:24:23 mockpatch is deprecated and is going to be removed 09:24:31 once those merge I propose we close the bp 09:24:36 jordanP: I see 09:24:43 andreaf: actually it merged this night 09:24:47 andreaf: great, do we have link for that patch ? 09:24:48 we can close it :) 09:24:55 jlanoux: oh great 09:25:03 jlanoux: oh, even better 09:25:05 :) 09:25:13 (yay) 09:25:18 jlanoux: andreaf Thanks :) 09:25:30 jordanP: so on that do you have patch up? 09:25:49 to replace httplib2 yes: here: https://review.openstack.org/#/c/295900/ 09:26:07 it's not a WIP anymore, I am waiting for jenkins to be green 09:26:10 jordanP: Thanks 09:26:11 it should be 09:26:13 #link https://review.openstack.org/#/c/295900/ 09:26:20 we will check 09:26:29 but someone could work on getting ride of "oslotest.mockpatch" 09:26:39 and about "oslotest.mockpatch" what is other option ? 09:26:40 and use only "mock" 09:26:51 jordanP: ok 09:27:10 mock is good, it's in Python 3 stdlib 09:27:12 jordanP: I will check may be in next week if no one pickup 09:27:22 jordanP: +1 09:27:25 it's the "the facto" library for this kind of thing 09:27:48 and mockpatch was just a small wrapper around it, not super useful imp 09:27:50 imo 09:28:11 humm, yea we can cleanup those 09:28:19 also, I am not a fan of how we use "useFixture" from the testtools library 09:28:45 jordanP: the way we use or "useFixture" not good? 09:29:06 i feel "useFixture" very useful for auto cleanup etc 09:29:22 in Tempest we use useFixture() method from the testtools library, most of the time we don"t need it 09:29:43 yeah but mock.patch "undo" the mock automatically if you use the decorator form 09:30:19 I don't like autocleanup, too magical. 09:30:28 jordanP: +1 09:30:38 jordanP: but mostly we use it for config options setting 09:30:49 too much "auto"everything and then you forget what the code actually does 09:31:24 gmann, what I found very common in Tempest is: self.useFixture(oslotest.mockpatch('..')) 09:31:42 why a simple @mock.patch around the test itself would work very well 09:31:46 *while 09:32:05 anyway, I may be able to work on it too 09:32:53 anyway, guys I spent 2 days on https://review.openstack.org/#/c/295900 (Get rid of httplib2, use urllib3 instead) so I'd appreciate any review 09:33:00 jordanP: i see 09:33:08 like this https://github.com/openstack/tempest/blob/master/tempest/tests/common/test_alt_available.py#L46 09:33:24 it's not sexy to review, and I fought with unit tests, but it's an improvement I am sure of it 09:33:54 yeah 09:34:00 jordanP: ok 09:34:14 we will review those. Thanks jordanP 09:34:27 thanks 09:34:54 moving next.. 09:35:00 #topic Tempest 09:35:30 i think on negative tests we have good discussion in ML 09:35:46 anyone want to talk on this or we move on? 09:36:13 I am not sure we came to a clear conclusion 09:36:35 I still stand by my position: they don"t hurt, and some of them are useful 09:36:44 jordanP: yea, so i added it in Austin design session candidate which we will talk later 09:36:50 ok 09:37:11 I have nother to discuss, v2.20 microversion tests 09:37:14 #link https://review.openstack.org/#/c/258391/ 09:37:20 I have a general comment linked to what was said regarding the negative tests 09:37:24 jordanP: jlanoux Thanks for review and working 09:37:36 jlanoux: sure 09:38:15 More and more features are added to OpenStack. So as I agree we need to keep an eye on time testing, we need to face the fact that the global time will increase in the future as we add tests for coverage. 09:39:03 that's all 09:39:05 quick feedback is of prime importance in software development 09:39:05 jlanoux: so thats performance testing right 09:39:21 we do via gate job timing. no? 09:39:23 if tests run in hours, it's a pain in the ass 09:39:44 time in gate yes 09:39:46 people already complained on the ML about this (the neutron folk, the nova folk) 09:39:55 there is no other solution 09:40:17 we must be super carefully, each additionnal minutes is super super costly, because it's multiplied by 1000 each day 09:40:23 jlanoux, there is 09:40:32 jordanP: if scenario is like that then it might take time right 09:41:09 ok so back to v2.20 patch. 09:41:14 So in that v2.20 tests, we need to tests volume attach/detach when server is in shelved or shelved offload state 09:41:30 the volume attach shelve is a very good example. it's a long test but its place belong in Tempest, not in the Nova functional test 09:41:33 jordanP: jlanoux i replied on that. please check 09:41:35 yes gmann 09:42:05 so actually if we do write separate tests then shelved tests will always be skipped for offload time >=0 09:42:26 so i want a single tests which can tests both state as per configuration 09:42:35 actually, I'm fine with having only the shelve iffload 09:42:41 i do not want to have tests on gate which always in skip state 09:42:41 *offload 09:43:03 jlanoux: ok 09:43:17 so when offload time is -1 it will tests with shelved state 09:43:30 what I also dislike in that patch is that we now have a function called "_create_and_attach" that : creates a volume, can shelve a server, and attach a volume 09:43:43 that a lot for a single server 09:43:43 gmann: yes 09:43:45 so i want opinion here in that case should we make server in offload state and tests 09:43:49 *single function 09:43:51 or in shelved state only 09:43:56 jordanP: it's a real use case 09:44:07 scenario tests for shelve are doing the same tests with shelved offload state 09:44:07 jordanP: the most worthwile tests for me 09:44:33 jordanP: yea thats what scenario here is we need to tests 09:44:52 gmann: yes, however for the volume attach/detach in shelve, the code path is slighty different 09:44:58 but I think it's fine 09:45:05 jordanP: i agree that it will take time but we have to perform all operation to tests 2.20 09:46:16 I'd like to have mtreinish or sdague opinion on this 09:46:51 because we do not have separate gate job for those config so we have to go with single tests and let is tests what you cloud is configured for 09:47:29 ok, so i will update that after re thinking on those two states (either always shelved offload or one by one) 09:47:40 and we can get more feedback about scenario there 09:48:19 thats all on this 09:48:25 anything on Tempest ? 09:49:32 ok, let's move 09:49:37 #topic Austin Summit 09:49:50 so we have etherpad for austin design sessions 09:50:07 #link https://etherpad.openstack.org/p/newton-qa-summit-topics 09:50:22 please have a look and add your ideas there 09:50:38 gmann 09:50:49 gmann: sorry I lost my network, back in now 09:50:59 andreaf: ohk 09:51:15 andreaf: so we talked about this https://review.openstack.org/#/c/258391/ 09:51:25 i will update and you can have look 09:51:36 andreaf: and now starting Austin Summit 09:51:36 guys, I am sorry but I may not be in Austin. Future is uncertain here for me :) 09:51:41 #link https://etherpad.openstack.org/p/newton-qa-summit-topics 09:51:48 gmann: I added one proposal about removing cruft from the code, making more debuggable and easier to contribute to 09:51:51 jordanP: oh why? 09:52:11 jordanP: :( 09:52:12 andreaf: great, that is very useful and must for tempest :) 09:52:31 jordanP: thats not good news :( 09:52:35 business w.r.t openstack is not going great here 09:52:42 hummm 09:52:50 jordanP: :( 09:53:22 sorry to hear that - I hope you'll be able to come nonetheless 09:53:44 yea 09:53:46 thanks guys 09:53:50 mkoderer__: you will be there right? 09:54:07 gmann: yes 09:54:15 jordanP: we thought of having drink party with you as you were missed always :( 09:54:20 mkoderer__: great :) 09:54:36 ok 5 min left 09:54:38 #topic Critical Reviews 09:54:44 any critical review? 09:55:20 ok, i have one not critical, simple one :) - https://review.openstack.org/#/c/296939/ 09:55:22 just the name of the cycle - newton is too similar to neutron - I will mix them up continuously 09:55:32 haha, +1 ! 09:55:32 heh 09:55:39 me too 09:56:09 why Microversion with capital M? 09:56:45 andreaf: actually for consistency i made capital, or we can make all with small m 09:57:30 well I'm not native english speaker - so probably I should just shut-up :P 09:57:52 not like that :) 09:58:05 ok 3 min, let's jump to open 09:58:08 #topic Open Discussion 09:58:16 anything else to discuss from anyone 09:59:24 ok let's close meeting if nothing more 09:59:28 3... 09:59:32 2.. 09:59:40 1. 09:59:49 Thanks all for joining 09:59:51 good timing :) 09:59:56 bye! 09:59:59 bye 10:00:03 #endmeeting