09:07:05 #startmeeting qa 09:07:06 Meeting started Thu Aug 25 09:07:05 2016 UTC and is due to finish in 60 minutes. The chair is andreaf. Information about MeetBot at http://wiki.debian.org/MeetBot. 09:07:07 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 09:07:09 The meeting name has been set to 'qa' 09:07:29 hi guys, who's around? ;) 09:07:33 good morning / evening everyone, sorry about the delayed start 09:08:00 andreaf : thanks for your hosting :) 09:08:27 I don't have an agenda ready for today, but we can re-use last week's 09:08:31 #link https://wiki.openstack.org/wiki/Meetings/QATeamMeeting#Agenda_for_August_18th_2016_.281700_UTC.29 09:08:34 +1 09:10:35 #topic newton priorities 09:10:52 #link https://etherpad.openstack.org/p/newton-qa-newton-priorities 09:11:32 Hello everybody. 09:11:39 I don't have anything specific on this today 09:11:40 hello chandankumar 09:11:46 hello 09:12:08 This is my first qa meeting, looking forward to working with you guys upstream. 09:12:10 chandankumar: o/ 09:12:15 We plan to address some of the remaining open items during the sprint 09:12:18 dmellado: \o/ 09:12:25 * masayukig is waving 09:12:43 * chandankumar waves back. 09:12:47 :) 09:13:56 Just a reminder that the qa/infra sprint is going to be 19th -21st of September in Walldorf, Germany: #link https://wiki.openstack.org/wiki/Sprints/QAInfraNewtonSprint 09:14:13 ok let's move on 09:14:25 #topic spec reviews 09:14:39 #link https://review.openstack.org/#/q/status:open+project:openstack/qa-specs,n,z 09:15:24 not much since last week, I didnt read the spec although I said I would... 09:15:30 Nothing really new here, just a note that we have two spec that could use some more reviews 09:15:35 jordanP: heh :) 09:16:18 I meant to re-spin my spec, but I didn't yet 09:16:48 I actually paid attention for the specs these days, but I'll do. 09:17:13 I'll re-read them, still wrapping up after PTO 09:17:30 dmellado: welcome back 09:17:39 andreaf: thanks! ;) 09:17:41 masayukig: thanks 09:17:47 ok, let's move on 09:17:48 I like the fixture spec but I had/have so many issue with resources not properly cleaned up (leak) and shared resources that triggers race conditions 09:17:58 that I am afraid to change everything now 09:18:30 I am not sure continuing the way we do now (addCleanup or cleanup_resource) is a dead end 09:19:15 jordanP: uhm good point 09:19:33 jordanP: part of the spec should be to track what's left around and log of fail at the end of the test run if we leave things around 09:19:42 jordanP: I can add something about that 09:20:09 jordanP: the idea is to make the code more readable and debuggable 09:20:09 I think tracking what's left could fit into DevStack 09:20:42 jordanP: well we could have commands for that in Tempest and trigger them in devstack 09:20:46 if people stopped reinventing the wheel (like how to create a volume) in each test, that would be great to begin with :) 09:20:57 andreaf, true 09:21:23 lol 09:21:42 I'll read that part of the spec, but couldn't the cleanup be used for that? 09:22:32 jordanP: fixture can be created from existing methods quite easily, so it would not have to be such a massive code change 09:22:57 given that these methods are used everywhere/consistently 09:23:00 jordanP: but we do need to make those resource helpers a stable interface (credential providers & co) for plugins 09:23:41 jordanP: so since we need to refactor them anyways, the idea is to create a nice interface for plugins to use 09:23:48 andreaf, do you think that in the end, all fixtures should be in tempest-lib ? 09:23:52 jordanP: so we can avoid resource leaks from plugins as well 09:24:09 credential providers should be 09:24:14 for sure 09:24:15 that'd be a good idea 09:24:25 the mechanism to provision network resources for credentials as well 09:24:29 what about volume and server ? I am afraid tempest-lib will become fat 09:25:21 jordanP: validation resources may be another candidate, since ssh checks can be quite a common thing to do 09:25:39 jordanP: you mean helpers to provision server and volumes? 09:25:46 yup 09:26:01 are those fixtures according to you ? 09:26:43 jordanP: they are not written using the fixtures interface but many of them are kind of fixtures since they schedule the cleanup 09:27:55 I didn"t know fixtures had interface 09:28:28 anyway, I'll leave comments on the spec :) 09:29:05 jordanP: #link https://pypi.python.org/pypi/fixtures 09:29:42 ok 09:30:06 jordanP: for resources that are used by a test only, addCleanup the way to ensure cleanup and implement a fixture 09:30:40 aren't you missing a word on that last sentence ? 09:30:49 addCleanup *is* the way ? 09:31:27 jordanP: for resources that are used by several tests though, we rely right now on tearDownClass and on the enhanced setUpClass that I wrote to ensure tearDownClass is alwaays invoked (which is not true normally, as it won't be invoked in case of failure during setUpClass) 09:31:42 yes *is* the way 09:32:46 jordanP: so I thought we could introduce a addClassCleanup https://review.openstack.org/#/c/351871/ which does the same as addCleanup but at class level 09:33:00 imo, most of the time, sharing resources between tests is not worth it 09:33:16 jordanP: so you'd recreat them? 09:33:19 recreate 09:33:28 yes 09:34:05 if they are cheap like, volumes, servers (not booted from a volume), networks etc... 09:34:13 jordanP, dmellado: well, there are things that can be re-used such as credentials and their networks - I think those are worth re-using 09:34:42 andreaf: +1 on the credentials 09:34:50 maybe let's move on ? 09:34:51 jordanP, dmellado: there's value in re-using them as well as that may uncover extra issues 09:35:00 true 09:35:04 and I was also thinking about servers, not reusing them might lead to expand the test times at the gates 09:35:51 dmellado: well, it depends, if we break the class constraint and use a smart scheduler not necessarily - which is what lifeless is proposing with testresources 09:36:09 dmellado: however that may involve a lot of changes, I have a todo item to look into it 09:36:17 removing duplicate tests or make long tests run faster would bring a bigger benefit that using shared resources imo 09:37:12 andreaf: I see, I'll need to take a look at testresources then too 09:37:42 jordanP: +1 09:37:54 jordanP: I'm +1 on trying that, but maybe we can try both approaches 09:38:01 it'll be even better that way xD 09:38:04 jordanP. dmellado: the main priorities in any case are code readability, debuggability and stable interface for plugins - I don't think we have a big issue in term of gate time to tackle 09:38:23 +1 09:38:26 +1 09:38:45 we have 20min left, so probably we should move to the other topics 09:38:50 let's move on 09:39:17 please leave comments on the spec 09:39:28 #topic Tempest 09:39:38 #link https://review.openstack.org/#/q/project:openstack/tempest+status:open 09:39:47 anything to be discussed on Tempest side? 09:39:53 I have this review https://review.openstack.org/#/c/331764/ 09:40:12 I'd like another +2 :) 09:41:16 jordanP: look reasonable to me, I'll check later 09:41:28 jordanP : I'll do it if it'll remain :) 09:42:17 One thing on my side is that I think it would be good to make a release for tempest, since the new interface for service clients in out 09:42:53 not all service clients are stable yet, but I'm not sure we should wait for that 09:43:04 andreaf: that's what we were chatting about yesterday 09:43:17 +1 from my side, only I'd put out another tag when the clients are done too 09:43:36 dmellado: yes that would make sense 09:45:05 ok let's move on 09:45:20 #topic DevStack + Grenade 09:45:47 Anything to be discussed on these two? 09:46:04 #link https://review.openstack.org/#/q/project:openstack-dev/devstack+status:open 09:46:12 #link https://review.openstack.org/#/q/project:openstack-dev/grenade+status:open 09:46:40 * andreaf waits a few more seconds... 09:47:02 #topic OpenStack-Health 09:47:09 #link https://review.openstack.org/#/q/project:openstack/openstack-health+status:open 09:47:16 anything on o-h? 09:47:26 I made 2 patches #link https://review.openstack.org/359059 09:47:28 and 09:47:36 #link https://review.openstack.org/353274 09:47:52 for changing the graphs. 09:48:23 Please have a look if you have time :) 09:48:46 That's all from me. 09:49:39 look nice, thanks 09:50:21 on subunit2sql, two patches got merged, that fix the option to get test attributes into the test_metadata table 09:50:41 and also introduce a new config option to drop the prefix before injection 09:50:57 https://review.openstack.org/#/q/status:merged+project:openstack-infra/subunit2sql+branch:master+topic:story/2000698 09:51:17 I wonder if we could make a subunit2sql release for those? 09:51:22 masayukig? 09:51:45 I think it's nice. 09:52:02 Who can do that? mtreinish or oomichi? 09:52:35 masayukig: not sure, I guess both could, but neither is here now :) 09:52:42 I will ping them later today 09:52:48 thanks 09:53:16 +1 to grant andreaf or someone in EMEA 'power' to do that too xD 09:53:52 dmellado: heh I'm not sure we need releases so urgently that they cannot wait a few more hours 09:54:08 dmellado: but worth discussing :) 09:54:12 andreaf: totally, but it'd be a nice-to 09:54:55 ok maybe for next week's meeting 09:55:17 #topic Critical Reviews 09:55:34 Any review that needs urgent attention? 09:56:59 apart from those mentioned earlier ? :) 09:57:17 #topic Open Discussion 09:57:37 there are 3 minutes left, for any topic to be discussed 09:58:33 nothing from my side, have a good QA week :) 09:58:43 same here! 09:58:49 same to you! 09:58:55 yay! 09:59:09 thanks everyone for attending and contributing today 09:59:15 #endmeeting