Wednesday, 2015-10-28

*** cpallares has quit IRC00:02
*** cpallares has joined #openstack-zaqar00:04
*** flwang has quit IRC00:06
*** david-lyle has joined #openstack-zaqar00:10
*** david-lyle has quit IRC00:15
*** david-lyle has joined #openstack-zaqar00:15
*** achanda has joined #openstack-zaqar00:39
*** violinappren has joined #openstack-zaqar01:21
*** violinappren has quit IRC01:22
*** david-lyle has quit IRC01:23
*** david-lyle has joined #openstack-zaqar01:38
*** david-lyle has quit IRC01:43
*** inteq has joined #openstack-zaqar01:57
*** david-lyle has joined #openstack-zaqar02:21
*** csoukup has joined #openstack-zaqar02:47
*** david-lyle has quit IRC02:56
*** flwang has joined #openstack-zaqar02:57
*** itisha has quit IRC03:01
*** david-lyle has joined #openstack-zaqar03:02
*** flwang has quit IRC03:06
*** david-lyle has quit IRC03:13
*** wanghao has quit IRC03:49
*** david-lyle has joined #openstack-zaqar03:56
*** david-lyle has quit IRC04:01
*** khushbu_ has joined #openstack-zaqar04:03
*** csoukup has quit IRC04:35
*** flwang has joined #openstack-zaqar04:54
*** flwang has quit IRC04:54
*** flwang has joined #openstack-zaqar05:00
*** khushbu_ has quit IRC05:10
*** khushbu has joined #openstack-zaqar05:11
*** khushbu has quit IRC05:33
*** khushbu has joined #openstack-zaqar05:33
*** khushbu_ has joined #openstack-zaqar05:33
*** flwang has quit IRC05:48
*** flwang has joined #openstack-zaqar05:53
*** flwang has quit IRC06:00
*** khushbu_ has quit IRC06:03
*** khushbu has quit IRC06:03
*** david-lyle has joined #openstack-zaqar06:03
*** khushbu__ has joined #openstack-zaqar06:05
*** khushbu___ has joined #openstack-zaqar06:05
*** achanda has quit IRC06:22
*** achanda has joined #openstack-zaqar06:24
*** achanda has quit IRC06:24
*** achanda has joined #openstack-zaqar06:30
*** david-lyle has quit IRC06:33
*** khushbu__ has quit IRC06:37
*** khushbu___ has quit IRC06:37
*** david-lyle has joined #openstack-zaqar06:39
*** flwang1 has joined #openstack-zaqar06:43
*** david-lyle has quit IRC06:51
*** david-lyle has joined #openstack-zaqar06:55
*** david-lyle has quit IRC07:00
*** david-lyle has joined #openstack-zaqar07:04
*** david-lyle has quit IRC07:11
*** achanda has quit IRC07:13
*** achanda has joined #openstack-zaqar07:17
*** achanda has quit IRC07:18
*** flwang1 has quit IRC07:19
*** achanda has joined #openstack-zaqar07:32
*** achanda has quit IRC07:37
*** david-lyle has joined #openstack-zaqar07:43
*** david-lyle has quit IRC07:48
*** akanksha_ has joined #openstack-zaqar08:21
*** flwang has joined #openstack-zaqar08:36
*** flwang has quit IRC09:09
*** Caleb-- has quit IRC09:20
*** Caleb-- has joined #openstack-zaqar09:25
*** itisha has joined #openstack-zaqar10:45
*** khushbu__ has joined #openstack-zaqar11:25
*** khushbu___ has joined #openstack-zaqar11:25
*** zoey has joined #openstack-zaqar11:44
zoeyHey! I'm new and would like to contribute. Could anyone get me started? I have knowledge of Python and am very enthusiastic!11:44
zoeyThis is in reference to outreachy11:48
*** khushbu___ has quit IRC11:59
*** khushbu___ has joined #openstack-zaqar12:01
*** jasondot_ has joined #openstack-zaqar12:01
*** khushbu__ has quit IRC12:05
*** jasondot_ has quit IRC12:09
*** jasondot_ has joined #openstack-zaqar12:09
ryansbzoey: good morning (or whatever time it is for you)12:11
zoeyHi12:12
ryansbFirst you'll want to make sure you have a gerrit account (I'll find a link)12:12
ryansband once you have that, our developer docs should help you get to your first patch12:12
ryansbhere's our docs http://docs.openstack.org/developer/zaqar/12:12
ryansband here's the openstack contributor guide https://wiki.openstack.org/wiki/How_To_Contribute#If_you.27re_a_developer12:13
ryansbthe most basic thing you need is a gerrit account and to sign the contributor agreement before you contribute any code12:13
*** khushbu__ has joined #openstack-zaqar12:14
*** jasondot_ has quit IRC12:14
zoeythank you12:14
ryansbafter that, I'd recommend using devstack ( http://docs.openstack.org/developer/devstack/ ) to run zaqar and play with it a bit12:14
ryansband, of course, we're here in this channel if you get stuck12:16
*** inteq has quit IRC12:22
Eva-iryansb: can you please confirm this bug? https://bugs.launchpad.net/zaqar/+bug/150851912:27
openstackLaunchpad bug 1508519 in zaqar "Some tests are not performed under py34 environment" [Undecided,New] - Assigned to Eva Balycheva (ubershy)12:27
ryansbEva-i: sure, I'll look at it12:28
Eva-iryansb: thank you12:28
ryansb:) np12:29
Eva-izoey: hello12:40
zoeyhi12:40
*** jasondot_ has joined #openstack-zaqar12:46
akanksha_ryansb: hi. Can you help me with this change https://review.openstack.org/#/c/165632/12:48
ryansbsure, what's wrong?12:49
akanksha_I am stuck as I cannot understand the log.12:49
ryansbthe jenkins log?12:49
akanksha_Yeah!12:49
akanksha_This patch fails a tempest gate. and that happened when I added the test.12:50
ryansbhm, so does the test pass locally?12:50
akanksha_Yeah12:52
akanksha_In my env it did12:52
ryansbok, are you on devstack?12:52
*** jasondot_ has quit IRC12:53
akanksha_Sorry. I cant actually test it in my env as  I am working with a local implementation with mongodb. My devstack is giving me problems right now so i cant test it there.  I cant run redis to check.12:54
ryansbok, hm.12:54
ryansbakanksha_: let me try it locally to rule out CI as the source of the failure13:00
*** jasondot_ has joined #openstack-zaqar13:02
akanksha_ryansb: Alright. Meanwhile I am trying to get my devstack zaqar up and running. So I can test for myself. A question related to that. Does only enable_plugin zaqar "github link" command take care of db engine installation and running?13:02
ryansbgithub link?13:03
akanksha_ryansb: How do I switch to a redis implementation in that to test?13:03
ryansboh, I see13:03
ryansbso you'd enable zaqar in devstack as usual13:03
ryansbthen you'll install redis (just "yum install redis" or equivalent for your distro)13:03
ryansband you can set the storage_backend to redis instead13:04
ryansbin /etc/zaqar/zaqar.conf13:04
akanksha_Aah, alright.13:04
akanksha_Let me do that then.13:04
ryansbafaik there isn't a magic "use redis instead" setting in devstack, but I've been wrong13:04
akanksha_ryansb: ^wish there were :P13:05
*** sriram has joined #openstack-zaqar13:06
therveryansb, Doesn't ZAQAR_BACKEND do that?13:17
ryansbI don't know, I just set up devstack normally and do redis config in post13:17
ryansbbut if it does, great!13:17
akanksha_therve: ZAQAR_BACKEND would be set in localrc right?13:18
*** khushbu___ has quit IRC13:18
therveakanksha_, I believe so13:19
akanksha_Can you share a sample localrc file with me please?13:19
akanksha_For a running zaqar with mongodb and redis both.13:20
akanksha_ i keep having issues.13:20
akanksha_therve:^13:20
therve? You can't have both?13:20
therveI guess you could, not sure why you'd want to though13:21
therveI don't have any sample file anyway13:21
akanksha_No no. Different localrc13:21
akanksha_One with redis and one with mongodb.13:22
akanksha_I want to check if I am somehow enabling zaqar the wrong way.13:22
therveWell how do you do it?13:23
akanksha_I just write enable_plugin zaqar https://github.com/openstack/zaqar in my localrc13:24
therveAnd it doesn't work for mongodb? That's what I do at least13:24
akanksha_I have to manually install mongodb and make sure it runs before doing a stack.sh13:25
akanksha_Sometimes that works.13:25
akanksha_Sometimes it doesnt13:25
akanksha_:\13:25
therveAh yeah, you need that, whatever is in localrc13:25
akanksha_The manual mongodb install is necessary then?13:26
therveYes13:27
therveSetting ZAQAR_BACKEND just configure zaqar13:27
akanksha_So that would mean I would have to install and run redis server also manually13:27
akanksha_?13:27
therveYes13:27
akanksha_Alright., Thanks :)13:27
akanksha_ryansb: did you find anything?13:28
*** khushbu__ has quit IRC13:28
ryansbI'm bringing up my devstack env for zaqar13:28
ryansbso it'll be a bit13:28
akanksha_Yeah, same here. :)13:29
*** khushbu_ has joined #openstack-zaqar13:32
*** Caleb-- has quit IRC13:35
*** Caleb-- has joined #openstack-zaqar13:56
*** ametts has joined #openstack-zaqar13:57
akanksha_On running tox tests for py27 in zaqar the functional test test_health v1_1 fails14:14
*** khushbu_ has quit IRC14:15
ryansbwhat's the error?14:18
*** khushbu has joined #openstack-zaqar14:19
*** mpanetta has joined #openstack-zaqar14:22
akanksha_http://paste.openstack.org/show/477553/14:22
*** khushbu has quit IRC14:24
*** achanda has joined #openstack-zaqar14:25
*** jasondot_ has quit IRC14:27
*** khushbu_ has joined #openstack-zaqar14:27
ryansbis that the only error?14:27
akanksha_No there are others which are related to my change14:27
akanksha_But I did not change anything in the functional tests.14:29
akanksha_I made changes in unit tests.14:29
*** achanda has quit IRC14:30
*** kgriffs|afk is now known as kgriffs14:31
ryansbso if you take out your changes, do the tests pass?14:33
Eva-iakanksha_: try to wipe all zaqar's databases from mongodb and then run test again14:34
Eva-iakanksha_: or wait 6 minutes and run test again14:35
Eva-iakanksha_: I get almost the same error if run tests two times in a row, just because of unwiped test databases14:35
Eva-iakanksha_: http://paste.openstack.org/show/2hvH6zHvz5xq6snNk19D/14:35
*** csoukup has joined #openstack-zaqar14:36
akanksha_You're actually right about that right about that error occuring on certain runs only. Let me do what you suggested.14:38
Eva-iI get failed tests every time I perform tests two times in a row.14:38
Eva-iI mean without time delay between two runs of "tox -e py27"14:38
Eva-iI can include this information in my bug report https://bugs.launchpad.net/zaqar/+bug/150609114:40
openstackLaunchpad bug 1506091 in zaqar "Testing databases are not dropped after some tests" [Undecided,New] - Assigned to Eva Balycheva (ubershy)14:40
Eva-iMaybe this will increase the chances of getting this bug confirmed. =)14:40
Eva-iI don't know... In previous meeting we have agreed that this bug really exists, but bug report is still not confirmed by anyone.14:41
*** khushbu_ has quit IRC14:52
*** achanda has joined #openstack-zaqar14:53
*** achanda has quit IRC15:02
*** JAHoagie has joined #openstack-zaqar15:07
*** kgriffs is now known as kgriffs|afk15:13
*** JAHoagie has quit IRC15:13
Eva-iI hope I'm doing good.15:41
*** zoey has quit IRC15:42
*** khushbu has joined #openstack-zaqar15:53
*** itisha has quit IRC16:01
*** JAHoagie has joined #openstack-zaqar16:14
*** khushbu has quit IRC16:14
*** kgriffs|afk is now known as kgriffs16:21
*** zoey has joined #openstack-zaqar16:24
ryansbakanksha_: are you still around?16:47
akanksha_Yeah16:48
ryansbI believe I found a problem with your patch that's causing at least some of the failures16:50
ryansbyou have a check "i in uuid_parameters" on line 51516:51
ryansbbut when you try to cast an argument to a UUID, sometimes that argument is already a UUID, raising an exception16:51
ryansbso you need to add a check like "if not isinstance(argval[i], uuid.UUID)" to avoid it16:52
akanksha_oh alright.16:55
akanksha_ryansb : I am supposed to raise that exception17:00
ryansbyou want to raise an exception when the argument is already a UUID type?17:03
akanksha_The casting of uuid instance as uuid basically gives valueError when its not a UUID17:03
*** davideagnello has quit IRC17:05
akanksha_And when it is a valid UUID it returns a uuid instance17:05
ryansbnot when it's a UUID object17:05
ryansbhttp://fpaste.org/284506/46051905/17:06
*** davideagnello has joined #openstack-zaqar17:06
ryansbwhen your method recieves an actual uuid.UUID type, it raises that error (attributeerror)17:06
akanksha_Oh wait I just understood the mistake17:06
ryansbwhich is causing the tests to fail17:06
akanksha_Yeah I tried out the error , thanks for pointing this out ryansb17:06
ryansbAlso, when you fix that you should rebase your change17:07
ryansbthere have been some more tests added since you last rebased17:07
akanksha_Sure will do :)17:08
Eva-iakanksha_: so, have you confirmed that some tests fail if you run "tox -e py27" two times in a row with no time delay between them?17:14
ryansbakanksha_: there seems to be another problem http://fpaste.org/284507/60524981/17:15
akanksha_Not yet Eva. I'l just check it out.17:15
Eva-iakanksha_: okay17:16
*** zoey has quit IRC17:21
*** achanda has joined #openstack-zaqar17:25
*** khushbu_ has joined #openstack-zaqar17:27
*** khushbu_ has quit IRC17:28
*** khushbu has joined #openstack-zaqar17:33
*** khushbu has quit IRC17:33
*** khushbu_ has joined #openstack-zaqar17:35
*** khushbu_ has quit IRC17:36
*** achanda has quit IRC17:39
*** achanda has joined #openstack-zaqar17:45
ryansbEva-i: confirmed your bug17:49
ryansbbut then accidentally marked it invalid, so ignore the email about me calling it "invalid"17:49
ryansbit's confirmed now though17:49
*** itisha has joined #openstack-zaqar17:53
Eva-iryansb: yay, thanks =)18:25
Eva-iryansb: also don't worry, I have recieved only one email in which I saw "new => invalid" and "invalid => confirmed" messages simultaneously.18:34
*** kgriffs is now known as kgriffs|afk18:43
openstackgerritAkanksha Srivastava proposed openstack/zaqar: Decorator fuction to Validate UUIDs in Redis Driver  https://review.openstack.org/16563219:05
*** kgriffs|afk is now known as kgriffs19:05
*** achanda has quit IRC19:44
openstackgerritAkanksha Srivastava proposed openstack/zaqar: Decorator fuction to Validate UUIDs in Redis Driver  https://review.openstack.org/16563219:56
*** pt_15 has joined #openstack-zaqar20:07
*** hustler has joined #openstack-zaqar20:19
*** hustler has left #openstack-zaqar20:23
*** achanda has joined #openstack-zaqar20:30
openstackgerritAkanksha Srivastava proposed openstack/zaqar: DRY up usage of url_prefix in wsgi unit test  https://review.openstack.org/23476921:01
*** sriram has quit IRC21:04
openstackgerritAkanksha Srivastava proposed openstack/zaqar: Decorator fuction to Validate UUIDs in Redis Driver  https://review.openstack.org/16563221:07
*** davideagnello has quit IRC21:26
*** davideagnello has joined #openstack-zaqar21:26
*** kgriffs is now known as kgriffs|afk21:41
*** nate_gone is now known as njohnston21:52
openstackgerritAkanksha Srivastava proposed openstack/zaqar: DRY up usage of url_prefix in wsgi unit test  https://review.openstack.org/23476921:59
*** csoukup has quit IRC22:04
*** ametts has quit IRC22:16
*** mpanetta has quit IRC22:41
openstackgerritAkanksha Srivastava proposed openstack/zaqar: DRY up usage of url_prefix in wsgi unit test  https://review.openstack.org/23476922:44
*** flwang has joined #openstack-zaqar22:52
*** flwang has quit IRC22:53
*** njohnston is now known as nate_gone22:56
*** davideagnello has quit IRC23:38
*** davideagnello has joined #openstack-zaqar23:38
*** nate_gone is now known as njohnston23:40
*** davideagnello has quit IRC23:40
*** davideagnello has joined #openstack-zaqar23:45
*** flwang has joined #openstack-zaqar23:53

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