Thursday, 2013-09-05

*** nosnos has joined #openstack-qa00:36
*** sthaha has joined #openstack-qa00:43
*** sthaha has joined #openstack-qa00:43
openstackgerritEric Windisch proposed a change to openstack/tempest: Fix colon in create volume logging output  https://review.openstack.org/4514900:52
*** ewindisch- has quit IRC01:22
*** cyeoh_ is now known as cyeoh01:37
*** svarnau_ has quit IRC01:43
*** jhenner has joined #openstack-qa01:49
*** jhenner has quit IRC01:49
*** ericw has joined #openstack-qa02:34
ericwuh yeah, about that patch..02:34
ericwyou can merge it, but it was just a demo for the AWS hackathon02:35
*** adalbas has quit IRC02:40
*** coolsvap has joined #openstack-qa02:48
coolsvapcan somebody approve https://review.openstack.org/44743, I have a cinder review dependant on this02:49
*** jhenner has joined #openstack-qa03:02
openstackgerritZhi Kun Liu proposed a change to openstack/tempest: add negative volume tests  https://review.openstack.org/4461003:06
*** ericw has quit IRC03:12
*** ericw has joined #openstack-qa03:18
*** torandu has quit IRC03:18
*** torandu has joined #openstack-qa03:20
*** torandu has quit IRC03:26
*** jhenner has quit IRC03:41
*** prekarat1 has joined #openstack-qa04:16
*** ericw has quit IRC04:23
openstackgerritA change was merged to openstack/tempest: add flavor creation tests  https://review.openstack.org/4474604:47
openstackgerritA change was merged to openstack/tempest: Add tests for Swift's StaticWeb middelware  https://review.openstack.org/4482604:50
openstackgerritNachi Ueno proposed a change to openstack-dev/devstack: Support OpenSwan in Neturon VPNaaS  https://review.openstack.org/4226505:05
openstackgerritNachi Ueno proposed a change to openstack-dev/devstack: Support OpenSwan in Neturon VPNaaS  https://review.openstack.org/4226505:21
Anjucyeoh :  https://review.openstack.org/#/c/44610/3/tempest/api/volume/test_volumes_actions.py05:22
Anjuis this a crct scenario05:22
openstackgerritA change was merged to openstack/tempest: fix test_flavors_extra_specs failure  https://review.openstack.org/4479705:23
cyeohso test_attach_volumes_with_invalid_volume_id seems pretty reasonable to me05:23
cyeohif passing an invalid volume id a reasonable response would be 400 or 404 perhaps05:24
cyeohAnju: what is it about the test that concerns you?05:24
Anjuyeah scenario seems good now05:25
Anjuhmmm cyeoh : now code is look ing good05:28
Anju:)05:28
*** ken1ohmichi has quit IRC05:29
Anjubut cyeoh : according to me it should be in the neagtive tests file05:29
Anjuapi/volume/test_volumes_negative.py05:30
*** SergeyLukjanov has joined #openstack-qa05:40
coolsvapAnju: who can approve https://review.openstack.org/44743 ?05:44
Anjucoolsvap : add sdague in reviewers list05:45
Anjucoolsvap:  when reviewers get time they will go through it05:47
cyeohAnju: well when I looked at the negative tests file it looked like it was only testing the volumes api, not the servers api05:53
coolsvapAnju: Thanks added to sdague to reviewers05:54
cyeohand generally speaking I don't think we really need a separate file for negative tests, after all we have a per test tag now05:54
cyeohso I don't consider it a big issue...05:54
openstackgerritA change was merged to openstack/tempest: refactor - _is_timed_out using instance timeout  https://review.openstack.org/4343405:54
Anjuyeah :)05:55
Anjuits not a big issue05:55
cyeohcoolsvap: btw you probably want to use something like partial-bug: rather than closes-bug: in the future for bugs where you need multiple patches to fix them completely06:01
openstackgerritA change was merged to openstack/tempest: Updating HACKING.rst  https://review.openstack.org/4229606:01
coolsvapcyeoh: sure I will take care for that in future06:02
Anjucyeoh : please check mine also06:02
Anju:)06:02
Anjucyeoh : https://review.openstack.org/#/c/44330/06:03
cyeohAnju: o06:06
cyeohAnju: I'll have a look06:06
Anju:(06:06
Anjuok ok06:06
AnjuI thought 0 marks06:07
*** dkranz has quit IRC06:11
*** sthaha has quit IRC06:13
*** dkranz has joined #openstack-qa06:20
mkoderercyeoh: is xmlns=XMLNS_11 optional for root elements?06:36
mkoderercyeoh: regarding  https://review.openstack.org/#/c/44330/06:36
mkoderercyeoh: so I will correct my -1 then06:36
cyeohmkoderer: at least for Nova apis (thought this is cinder) it depends on how the api extension is written06:37
cyeohsome do, some don't. But I checked the tempest run and the xml test is passing, so at least for this specific one its not required06:37
cyeohits something we've been fixing up with the Nova v3 api to be consistent06:37
cyeoh(to always require it)06:38
mkoderercyeoh: ok I see, I already thought that its just nit06:38
Anjumkoderer : i can show u the reponse , request body in xml06:39
mkodererit's ok I will change my vote :)06:39
AnjuI need to wrote something in the comment06:40
cyeohmkoderer: short of looking at the server code, the simplest way to check is just to see if the test passes or not. If the extension requires the namespacing you'll end up with a 40006:40
mkoderercyeoh: ok thanks for clarification :)06:40
Anjuthanks : cyeoh , mkoderer06:41
*** SergeyLukjanov has quit IRC06:45
openstackgerritRyan Hsu proposed a change to openstack-dev/devstack: Add support for uploading thin provisioned vmdks to glance  https://review.openstack.org/4518106:54
openstackgerritnayna-patel proposed a change to openstack/tempest: Added test to check list/show extensions-neutron  https://review.openstack.org/4503006:59
*** prekarat1 has quit IRC07:02
*** prekarat has joined #openstack-qa07:02
*** anteaya has quit IRC07:04
*** jhenner has joined #openstack-qa07:36
*** mkollaro has joined #openstack-qa07:49
*** jhenner has quit IRC07:51
*** prekarat has quit IRC08:04
*** prekarat has joined #openstack-qa08:04
*** yassine has joined #openstack-qa08:06
openstackgerritJulien Danjou proposed a change to openstack-dev/devstack: Use 10gen repository to get MongoDB 2.4  https://review.openstack.org/4264208:19
*** jhenner has joined #openstack-qa08:46
*** dosaboy_ is now known as dosaboy09:16
openstackgerritCyril Roelandt proposed a change to openstack-dev/devstack: Swift: configure Ceilometer when it is enabled  https://review.openstack.org/4520109:21
openstackgerritSlickNik proposed a change to openstack-dev/devstack: Added Trove (Database as a Service).  https://review.openstack.org/3816909:23
openstackgerritnayna-patel proposed a change to openstack/tempest: Added test to check list/show extensions-neutron  https://review.openstack.org/4503009:51
openstackgerritA change was merged to openstack/tempest: Restrict Volume type deletion with volumes assoc  https://review.openstack.org/4474310:00
openstackgerritSlickNik proposed a change to openstack-dev/devstack: Added Trove (Database as a Service).  https://review.openstack.org/3816910:14
openstackgerritYuuichi Fujioka proposed a change to openstack-dev/devstack: Rename ceilometer alarm service name  https://review.openstack.org/4521410:43
*** sthaha has joined #openstack-qa11:13
openstackgerritnayna-patel proposed a change to openstack/tempest: Test cases for V3 Project Actions  https://review.openstack.org/4134511:14
*** nosnos has quit IRC11:24
*** prekarat has quit IRC11:52
openstackgerritA change was merged to openstack-dev/devstack: xenapi: enable block device access for stack user  https://review.openstack.org/4426811:52
*** coolsvap has quit IRC12:00
openstackgerritnayna-patel proposed a change to openstack/tempest: Test cases for V3 Project Actions  https://review.openstack.org/4134512:35
Anjusdague : ping12:40
sdaguepong12:40
mkoderersdague: I am currently writing on a blog post about the new way of stress testing12:44
sdaguemkoderer: nice12:44
mkoderersdague: maybe you could help me to push is a bit when it's released12:44
sdaguesure, will do12:44
mkoderersdague: I think we could close the blueprint, there isn't really anything left12:45
mkodererand everything else can be done with simple bugs12:46
sdaguemkoderer: I'm happy with that, mark it done12:46
mkodererdkranz: would you agree in closing the stress test bp?12:47
*** weshay has joined #openstack-qa12:53
sdaguemkoderer: he's actually out today13:00
Anjusdague : are u agree in deleting the file server basic_ops.py13:06
*** sthaha has quit IRC13:06
Anjusdagur ,mkoderer : https://github.com/openstack/tempest/blob/master/tempest/scenario/test_server_basic_ops.py13:06
sdagueAnju: you need to give me more context13:06
*** afazekas has joined #openstack-qa13:06
Anjuactually these tests are in server actions.py13:07
Anjusdague : these tests arer in server actions.py13:10
sdagueAnju: that's ok, some duplication between scenario and api is allowed, as they use different clients13:11
Anjuso sdague acn we add an top_strat action also here13:12
Anjusdague can we add an stop_start action also here before terminating an instance13:13
sdaguesure, if that's not covered in other scenario tests13:13
openstackgerritA change was merged to openstack/tempest: Added missing xml tests of volume  https://review.openstack.org/4433013:13
Anjusdague : afazeaks was not agree13:14
Anjunot mkoderer13:14
sdaguewell, it's not clear that start stop is a huge value add there, so I'd focus on other places13:14
Anjubut sdague : will this test not create a redundancy13:15
sdagueAnju: so the focus should be on adding tests that have impact. The basic scenario test is a good test to run on it's own to show that something is at least working.13:16
mkoderersdague  Anju I am in a meeting13:16
mkodererI will respond later13:17
sdaguebut it doesn't need every nova api call in it13:17
*** adalbas has joined #openstack-qa13:17
sdaguemkoderer: cool, no worries13:17
Anjuhmm : sdague : point is valid13:20
*** raies has quit IRC13:35
*** burt has joined #openstack-qa13:42
*** mriedem has joined #openstack-qa13:51
*** adalbas has quit IRC13:53
openstackgerritJulien Danjou proposed a change to openstack-dev/devstack: Switch Ceilometer default backend to MySQL  https://review.openstack.org/4385113:53
*** adalbas has joined #openstack-qa13:59
*** krtaylor has joined #openstack-qa14:06
*** jasondotstar has joined #openstack-qa14:07
*** jhenner has quit IRC14:08
mkoderersdague: regarding scenario tests - in the readme file is stated that a scenario test should invoke multiple API backends as main goal14:31
sdaguemkoderer: right, fair14:34
sdagueand start stop definitley doesn't fit there14:34
mkoderersdague: would it be more clearer to say it should be a real-life scenario14:34
mkoderersdague: IMHO having a test on just one API would be ok if it follows a real-life use case14:36
sdaguemkoderer: sure14:37
mkoderersdague: ok so I will add this point to the readme :)14:38
mkoderersdague: and because of this discussion we had the idea to simply delete test_server_basic_ops.py14:39
mkoderersince it doesn't follow any real life use case14:39
*** anteaya has joined #openstack-qa14:41
*** weshay has quit IRC14:43
*** weshay has joined #openstack-qa14:43
mkoderersdague: btw I won't make it to the meeting today14:45
*** mriedem has quit IRC14:50
*** ericw has joined #openstack-qa14:50
openstackgerritDoug Hellmann proposed a change to openstack-dev/devstack: Add flag to turn of chown of egg-info dirs  https://review.openstack.org/4524815:06
*** mlavalle has joined #openstack-qa15:08
*** SergeyLu_ has joined #openstack-qa15:23
*** SergeyLu_ has quit IRC15:23
*** SergeyLu_ has joined #openstack-qa15:24
*** SergeyLu_ has quit IRC15:29
*** SergeyLukjanov has joined #openstack-qa15:30
openstackgerritCyril Roelandt proposed a change to openstack-dev/devstack: Swift: configure Ceilometer when it is enabled  https://review.openstack.org/4520115:40
openstackgerritA change was merged to openstack/tempest: raise assertion error if output is falsy  https://review.openstack.org/4315515:59
openstackgerritA change was merged to openstack/tempest: Added test case to check floating IP API operations  https://review.openstack.org/4103816:01
openstackgerritA change was merged to openstack-dev/devstack: Switch Ceilometer default backend to MySQL  https://review.openstack.org/4385116:02
*** SergeyLukjanov has quit IRC16:13
openstackgerritEric Windisch proposed a change to openstack/tempest: Re-enable test_stamp_pattern scenario  https://review.openstack.org/4525016:34
*** jaypipes has joined #openstack-qa16:38
*** ChanServ sets mode: +o jaypipes16:38
*** yassine has quit IRC16:52
mlavalleHi, no qa meeting today?17:05
adalbasmlavalle, mtreinish and dkranz are out today. Not sure if sdague will run the meeting.17:07
timellomlavalle: sdague sent an email one hour ago to the openstack-dev. It seems it has been cancelled.17:07
mlavalleadalbas, timello: thanks guys ;-)17:07
*** coolsvap has joined #openstack-qa17:09
*** SergeyLukjanov has joined #openstack-qa17:10
*** mkollaro has quit IRC17:16
afazekasmlavalle: hi17:19
*** mlavalle has quit IRC17:23
*** afazekas has quit IRC17:27
*** mkollaro has joined #openstack-qa17:33
*** coolsvap has quit IRC17:56
*** jhenner has joined #openstack-qa18:00
*** mlavalle has joined #openstack-qa18:02
mlavalleafazekas: hi18:02
*** VinodGupta has joined #openstack-qa18:33
openstackgerritMonty Taylor proposed a change to openstack/tempest: Update tempest to latest tox and requirements  https://review.openstack.org/4530318:48
*** VinodGupta has quit IRC18:48
*** SergeyLukjanov has quit IRC18:54
*** krtaylor has quit IRC19:12
*** mkollaro has quit IRC19:15
*** krtaylor has joined #openstack-qa19:17
sdagueyeh, sorry for the last minute cancelation19:30
sdaguewith mtreinish, attilla, dkranz, and mkoderer all not able to make it, it seemed simpler to cancel19:31
*** jhenner has quit IRC20:03
*** jhenner has joined #openstack-qa20:04
*** mriedem has joined #openstack-qa20:04
openstackgerritJoe Gordon proposed a change to openstack-dev/devstack: Enable multi-threaded nova API servers  https://review.openstack.org/4531420:08
*** anteaya has quit IRC20:11
openstackgerritJoe Gordon proposed a change to openstack-dev/devstack: Enable multi-threaded nova API servers  https://review.openstack.org/4531420:25
openstackgerritJoe Gordon proposed a change to openstack-dev/devstack: Enable multi-threaded nova API servers  https://review.openstack.org/4531420:28
*** mkollaro has joined #openstack-qa20:46
adalbassdague: could you help me understand how to retrieve the value for a extension key, as task_state, in tempest?20:49
adalbasfor instance, in json, the returned body from an api call is 'EXT-OS-STS:task_state' and i simply used it as the key for the dict20:51
sdagueadalbas: do you have some example code that's not working? usually starting from code is easier for me.20:51
adalbassdague, the same dict key for xml would be something like '{http://docs.openstack.org/compute/ext/extended_status/api/v1.1}task_state'20:53
adalbassdague, let me upload the patch and it will be more simple to explain then20:53
sdagueyeh, that will make it simpler20:53
openstackgerritadalbas proposed a change to openstack/tempest: Wait for image to upload before create new image  https://review.openstack.org/4532621:09
adalbassdague, ^that should be it21:11
jog0anyone see this recently http://logs.openstack.org/14/45314/3/check/gate-tempest-devstack-vm-postgres-full/c27aa41/testr_results.html.gz21:13
jog0if not its related to the patch  I am working on  (multi theaded n-api in devstack)21:14
adalbasjog0, This one could be related, but it has been fixed : https://code.launchpad.net/bugs/121716321:17
jog0adalbas: hmm thanks.21:17
jog0I will dig into it further21:17
jog0using multiple n-api servers makes races easier21:18
jog0which is good for making sure we find bugs21:18
adalbasjog0, i m also currently looking at that in tempest, specially the ones with too many rechecks21:19
adalbasi mean, the races21:19
jog0heisenbugs FTW21:19
sdaguejog0: my guess is you exposed another aggregates race21:21
sdaguejog0: it's really a test race, just probably needs more locking in tempest21:22
jog0sdague: :( yeah21:22
sdagueso we have lockutils in tempest, my guess is that mtreinish just didn't get to that case because we didn't trip it21:22
jog0I see we are logging the req-ids now \o/21:23
jog0this will make searching easier21:23
jog0now if only we didn't have a gazillion lines of n-api logs to download over slow wifi21:25
sdagueyeh, well21:25
*** jasondotstar has quit IRC21:29
jog0sdague: so the stacktrace I see has lockutils in it21:32
sdaguejog0: sure, but my guess is that the lock isn't broad enough21:33
sdaguei.e. with the extra workers, there are other tests that need to be in the same lock now21:33
jog0sdague: right21:34
jog0dumb question do the locks keep holding with fixutres21:40
jog0when fixtures are doing cleanup21:40
openstackgerritJoe Gordon proposed a change to openstack-infra/devstack-gate: Add support for large_ops tempest test  https://review.openstack.org/4377921:45
sdaguenot a dumb question, and I don't know21:49
jog0sdague: I was hoping it would be a dumb question21:51
sdaguemaybe an osloer would know, honestly, I haven't worked with the code much, mtreinish did most of that21:51
jog0lifeless: ping21:53
jog0he isn't an oslo'er but he knows fixtures21:53
*** ericw has quit IRC21:57
lifelesspong21:57
*** ravikumar_hp has joined #openstack-qa21:59
jog0when using self.addCleanup in a test, and using a locking decorator21:59
jog0will the cleanup be done inside the decorated function or outside?21:59
jog0lifeless: I am testing it and looks like outside22:00
lifelesscleanup is run by the framework22:01
ravikumar_hpI would like to restore - https://review.openstack.org/#/c/37194/  which was abandoned. I could not see restore change in web interface . can some one restore this?22:01
lifelessafter all other user code has run22:01
lifelessyou need to free the lock in a cleanup22:01
lifelessself.addCleanup(mylock.cleanUp)22:01
lifelessself.addCleanup(mything_which_needs_lock.cleanUp)22:01
lifelessLIFO order22:01
sdaguelifeless: so I actually think with the lock utils decorator, the opposite might be happening22:02
lifelessapplies to useFixture too, of course, as that builds on this22:02
lifelesssdague: if you're decorating the test function, definitely.22:02
sdaguethe lock is cleaned up automatically, then cleanup is running without it22:02
lifelessyou can only assume the lock is present for the body of the function22:02
sdagueyeh, this is the oslo lockutils22:02
lifelessnot for tearDown, setUp, or cleanups.22:02
*** ericw has joined #openstack-qa22:02
lifelessif the lock is a context manager22:04
lifelessthen it's very easy to adapt that to Fixture, and use 'useFixture' in setUp to acquire the lock and hold it for the entire test code - setup/method/teardown/cleanups22:05
lifelessI would poke at this now for you but I have a flight and a paper for pycon to finish, so EEEEESTRESSED>22:05
sdaguelifeless: no worries, I expect we've got enough clues to sort it22:05
sdaguethanks22:06
*** fungi has quit IRC22:08
jog0sdague lifeless: here is an example of fail22:10
jog0http://paste.openstack.org/show/45843/22:10
lifelessjog0: can't look now, sorry.22:10
jog0run that and you see the cleanup is done after the lock22:10
jog0lifeless: no problem thanks for your help22:10
*** fungi has joined #openstack-qa22:11
sdaguejog0: yeh, so we probably have to do manual cleanup instead22:11
jog0sdague: maybe a lock fixutre?22:11
sdaguemaybe?22:12
sdagueI don't know if you can use lockutils that way22:12
sdaguejog0: you got a github link to the problematic code?22:12
jog0sdague: sdague no i Just wrote a sample22:12
jog0but I can point to an example of where it fails22:13
jog0the idea is with mulitple n-apis the lock is released and then cleanup is done22:13
jog0but the next test runs before cleanup22:13
jog0sdague: https://github.com/openstack/tempest/blob/master/tempest/api/compute/admin/test_aggregates.py#L17822:15
jog0thats an example22:15
jog0we delete the node outside the lock22:15
*** burt has quit IRC22:15
sdaguejog0: right, so we can just call the cleanup function manually at the end (not using addCleanup) as long as we put a try around the asserts and stick it in the finally block22:16
sdaguethat's probably the near term fix22:16
jog0sdague: yeah its a little ugly though but I agree22:16
sdagueyou want to spin the patch, or should I?22:20
jog0you can do it22:20
jog0I was just trying to get n-api working with multiple threads22:20
jog0I am seeing if there as more elagent way to fix this22:20
*** weshay has quit IRC22:21
jog0so lock in oslo is a context22:26
jog0meh sounds like there is a better fix but not sure what it is, lifeless  knows but he is indisposed22:35
lifelessadapt it to Fixture22:35
lifelessFixture is also a context, context is not a Fixture22:36
lifelessjog0: I have a presentation to give tomorrow at pycon, and haven't gotten the thing I'm presenting working yet, let alone the presentation about it22:36
jog0lifeless: no worries, go prepare22:36
sdaguejog0: you got a bug registered for the race?22:38
sdaguejust so I can ref something22:38
jog0sdague: filing it right now22:38
jog0sdague: https://bugs.launchpad.net/tempest/+bug/122146922:40
sdaguejog0: are you able to reproduce locally with your devstack patch?22:49
sdaguei.e. so you can test this fix22:50
jog0sdague:  I didn't try locally yet22:51
jog0but i am fairly sure I can22:51
jog0since I got two jenkins job to fail identically22:51
sdaguecool22:51
*** ericw has quit IRC22:51
*** ericw has joined #openstack-qa22:53
openstackgerritSean Dague proposed a change to openstack/tempest: fix race condition between addCleanup and lockutils  https://review.openstack.org/4534222:55
sdagueok, and with that I think I'm on the hook to make dinner, so I'm off for the evening22:56
jog0sdague: did you test that locally?22:56
jog0if not i can give it a shot in a few22:56
sdagueno, I didn't22:57
jog0sdague: bye22:57
sdaguejust made sure it's pep8 clean22:57
jog0sdague: testing it now23:04
jog0reproduced bug locally on first try23:04
*** mlavalle has left #openstack-qa23:06
jog0sdague: fix barfed23:07
jog0but that is for another day23:07
*** mkollaro has quit IRC23:13
openstackgerritJoe Gordon proposed a change to openstack/tempest: fix race condition between addCleanup and lockutils  https://review.openstack.org/4534223:19
jog0I fixed it up for you ^23:20
*** ravikumar_hp has quit IRC23:31
lifelessjog0: arguably it's not a race. It *never* works.23:32
lifelessjog0: races are for things that work sometimes :)23:32
jog0lifeless: I just got it working :/23:33
*** jasondotstar has joined #openstack-qa23:33
jog0I reproduced for a while then I couldn't23:33
jog0lifeless: or maybe it was just a fixed race :)23:34
lifelessjog0: my point is that it's deterministic23:35
lifelessjog0: the lock was always released before the cleanup ran23:35
jog0lifeless: oh right, but that didn't always trigger an error23:35
lifelessjog0: right, but thats due to the state of the thing being cleanedup and thats probably due to the test failure-or-not and cloud-under-test-status23:36
lifelessjog0: was it a cross-process lock ?23:36
openstackgerritJoe Gordon proposed a change to openstack/tempest: Don't use addCleanup with  lockutils  https://review.openstack.org/4534223:37
jog0lifeless: yes cross process lock23:37
lifelessin which case, yes, there is a race, I didn't get that it was cross process23:38
jog0lifeless: besides the extra space the new title is still correct I hope23:39
jog0anyway, I too am out23:41
*** jasondotstar has quit IRC23:42
openstackgerritRyan Hsu proposed a change to openstack-dev/devstack: Provide a means of setting vmdk custom properties via image filename  https://review.openstack.org/4518123:48
openstackgerritRyan Hsu proposed a change to openstack-dev/devstack: Provide a means of setting vmdk custom properties via image filename  https://review.openstack.org/4518123:49
*** ericw has quit IRC23:49

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!