17:01:19 #startmeeting 17:01:20 Meeting started Thu Jul 26 17:01:19 2012 UTC. The chair is jaypipes. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:01:21 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:02:42 davidkranz, rohitk, Ravikumar_hp: hello! 17:02:50 hi 17:02:51 howdy! 17:02:54 welcvome to devananda too :) 17:03:05 hiya 17:03:21 anyone from RAX here? or know where Daryl is? 17:03:49 oh well, let's start without him... 17:04:13 #topic devananda doing changes to tempest for tessting OpenVZ driver 17:04:29 Hi all. 17:04:31 I'm here but I dunno where Daryl is, sorry 17:04:33 devananda is wondering how many tests should he focus on for the first round of testing 17:04:59 devananda: My suggestion would be to have all smoke tests passing against an openvz env 17:05:13 jaypipes: Sorry, what is OpenVZ? 17:05:29 devananda: in fact, I doubt that nova will accept the openvz patches without smoke tests passing entirely (it's the upstream gate for Nova now) 17:05:38 some things I know don't work (yet), like volume-detach and image-create. 17:05:41 davidkranz: OpenVZ is a virt driver like LXC 17:05:49 jaypipes: k 17:05:54 so, jaypipes, actually we're not submitting the OpenVZ driver upstream yet 17:05:58 and won't be gating on it 17:06:02 just smoke testing 17:06:24 but to do smoke tests on openvz, we need devstack/tempest and devstack-gate to support it 17:06:25 devananda: k. what we can do in that case is work with you to: a) create bugs for tracking those issues and b) mark the particular tests skipped when OpenVZ is the virt driver 17:06:50 (b) yes, that's what I was looking for : 17:06:51 :) 17:06:53 kk 17:07:18 devananda: so generally the way we are handling skips has been using the unittest2.skipIf() decorators. 17:07:35 devananda: in the /tempest/tests/compute/__init__.py file, you will see a setup_module() function 17:08:04 devananda: you can do some one-time querying of the environment and mark some module-level variable as False when OpenVZ is the virt driver. 17:08:15 devananda: use the RESIZE_AVAILABLE variable as an example. 17:08:36 devananda: and *add* a new skipIf to the appropriate smoke test methods for ones that fail with openvz 17:08:45 devananda: so you would add a new skipper, like so: 17:08:56 @unittest.skipIf(OPENVZ_INSTALLED) 17:09:03 gotcha 17:09:10 devananda: where OPENVZ_INSTALLED is a module-level variable in tempest.tests.compute 17:09:23 devananda: that make sense? 17:10:05 yep, though i have a similar idea 17:10:17 k 17:10:41 jaypipes: what do you think of, instead of tying all these skips to one variable, I copy the current format and add add'l variables, then have devstack-gate set those appropriately if it is testing openvz? 17:11:03 i'm probably creating more work for myself, but it seems better to be flexible, and let devstack-gate manage the environment 17:11:18 than have to come back and modify tempest when openvz starts passing some of the tests that I need to skip now 17:11:37 devananda: I suppose I would have to see the code... 17:11:55 devananda: I think you may still need to remove skips when/if you get the openvz tests passing 17:12:37 jaypipes: for example, the CREATE_IMAGE_ENABLED option that is present now. this works fine and I am able to skip it when testing openvz 17:13:45 devananda: well I have no problem if you want to default missing config file values to a value present in the shell ENV, if that's what you're suggesting? 17:14:10 devananda: but devstack/tools/configure_tempest.sh is the thing that would need to be updated as well, not just devstack-gate 17:14:39 jaypipes: yes, i was just about to say that :) 17:14:51 devananda: sure, no problems there... 17:15:50 jaypipes: so tempest would need new config options to control some new skipIf() decorators, and devstack/tools/configure_tempest would need to pull those in from the ENV or default them to True 17:15:54 jaypipes: does that cover it? :) 17:16:07 devananda: yuppers. 17:16:54 devananda: just remember when submitting the tempest patch to include mods to BOTH the tempest.cnf.sample and tempest.cnf.tpl! :) 17:17:07 jaypipes: awesome. will start on that after I finish jeblair's suggestion for IMAGE_URLS in devstack 17:17:17 jaypipes: hah, thanks! i probably would have overlooked that ;) 17:17:23 devananda: the sample is useful for folks looking for what info goes in the config. the .tpl file is used by devstsack's configure_tempest.sh script 17:17:42 OK, devananda, any further questions from your end? 17:18:04 not at the moment, jaypipes. thanks again 17:18:09 coolio. 17:18:19 rohitk, shall we move on to discuss whitebox tests? 17:18:27 jaypipes: sure 17:18:51 rohitk: I've read your email from yesterday evening... should be able to get to that immediately after this meeting 17:19:44 jaypipes: do you also recommend to submit a change request to the devstack/tools/configure_tempest.sh file to set the shell ENV variables needed? 17:19:52 by WB tests? 17:20:22 rohitk: I already have a branch ready for that :) 17:20:37 jaypipes: ok, gr8 17:20:37 rohitk: not the ENV defautls, but the whitebox variables inserted into the configure_tempest.sh 17:20:48 jaypipes: yes 17:20:51 k 17:20:57 We still have a change that is waiting for https://review.openstack.org/#/c/10215/1 17:21:33 dtroyer: if you have a chance :) ^^ 17:22:14 jaypipes: Is Tempest gating itself at this point? 17:22:24 rohitk: one thing I have not mentioned in this particular patch code review on the whitebox tests was that I was hoping we can get rid of the /tempest/tests/compute/whitebox directory and just have the whitebox test files in /tempest/tests/compute? 17:22:45 davidkranz: yes it is. that's partly the reason I spent all yesterday getting the gate working again... 17:22:57 jaypipes: :) 17:22:59 jaypipes: The class names should be made self explanatory then, which they are currently for WB 17:22:59 davidkranz: because random changes in Nova/Glance/Keystone can now break the tempest gate 17:23:10 jaypipes: sure 17:23:16 jaypipes: Good. Great work. 17:24:42 donaldngo, Ravikumar_hp: soemthing you guys might be interested in, but the CI team (clarkb specifically) recently added support for Selenium testing in the upstream CI system. Might be worth checking out. 17:25:19 jaypipes: That is great 17:25:29 rohitk, davidkranz: I don't have any futher topics to discuss this week. We've kind of fallen behind on the "QA team member attached to blueprint" goal, but I've personally been swamped with other hthings. :( 17:25:45 https://jenkins.openstack.org/job/gate-horizon-selenium/ is the job 17:25:48 jaypipes: Me too. 17:25:51 clarkb: cheers 17:25:52 jaypipes: cool I'll take a look is it checked into tempest trunk? 17:26:05 donaldngo: not part of tempest... :) 17:26:06 jaypipes: our team is looking into blurprints and starting QA comments 17:26:14 jaypipes: me too, but I have a blueprint for Cinder tests in folsom at which I should be able to follow those goals 17:26:24 cool. 17:26:27 gotcha 17:26:31 we are focussing on Nova, swift 17:26:37 good. 17:27:00 jaypipes: I want to get an update from daryl on Swift test checkin. Can you please follow up 17:27:35 Ravikumar_hp: I can try :) you can also email jose.idar@rackspace.com... Jose is the QA person working on the swift tests 17:27:56 jaypipes: ok 17:28:20 OK folks, anything else before we wrap up? 17:28:36 nothing from me 17:28:43 Nope. 17:29:08 me neither 17:29:27 oh wait 17:29:49 i was just if anyone are seeing failures in the volumes tests? 17:29:55 *wondering 17:30:02 rohitk: with cinder or with nova-volumes? 17:30:07 jgriffith: ping 17:30:09 tempest gate just run smoketests i think 17:30:13 with cinder 17:30:23 jaypipes: pong 17:30:30 * jgriffith is reading to catch up 17:30:51 rohitk: no, I have not seen any failures (and I'm running cinder + devstack locally) 17:31:11 where the nova endpoint forwards this via the python cinderclient 17:31:25 rohitk: but, that reminds me, we should set the devstack gate to set cinder instead of nova-volumes if that hasn't been done already 17:31:33 jaypipes: done 17:31:33 hmm, ok, i'll run up my env again 17:31:39 jgriffith: ah, k. 17:31:46 rohitk: remember to do: 17:31:46 jaypipes: yes that should be done going forward 17:31:47 jaypipes: That change landed yesterday afternoon 17:32:14 rohitk: Depending on what you're seeing... exercises/volume.sh *should* work 17:32:21 ENABLED_SERVICES .. -n-vol,cinder,c-api,c-sch,c-vol 17:32:58 well, I have the cinder env setup alright, just that the tests in the current tempest suite (test_volumes_get) fail 17:33:04 Don't forget it's very picky: ENABLED_SERVICES+=,-n-vol,cinder,c-vol,c-api,c-sch 17:33:07 tbe 17:33:12 specifically create_delete_volume 17:33:16 jgriffith: beat ya to it :) 17:33:21 rohitk: Ahhhh 17:33:42 rohitk: I patched nova/api/openstack/__init yesterday as well :) 17:33:47 Nova sends a ComputeFault when cinderclient returns a 404 after delete vol 17:33:48 rohitk: I suspect that's the issue 17:33:53 rohitk: https://jenkins.openstack.org/job/gate-tempest-devstack-vm/4960/testReport/tempest.tests.compute.test_volumes_get/ shows passing in the gate... 17:33:54 rohitk: Yep, that's the one 17:33:56 jgriffith: hmm 17:34:12 jgriffith: thanks, noted that 17:34:50 rohitk: https://review.openstack.org/#/c/10200/ 17:35:20 jgriffith: cool, i'll pull in the latest code 17:35:25 rohitk: I patched nova, cinder, cinderclient all yesterday 17:35:29 rohitk: perhaps it was an "old" version of nova? ;) old == more than an hour old at times! 17:36:01 jaypipes: I can't catch up with the code changes ! :D 17:37:27 rohitk: heh, I hear ya :) 17:37:36 OK y'all, let's wrap this up! :) 17:37:38 #endmeeting