*** cpallares has quit IRC | 00:02 | |
*** cpallares has joined #openstack-zaqar | 00:04 | |
*** flwang has quit IRC | 00:06 | |
*** david-lyle has joined #openstack-zaqar | 00:10 | |
*** david-lyle has quit IRC | 00:15 | |
*** david-lyle has joined #openstack-zaqar | 00:15 | |
*** achanda has joined #openstack-zaqar | 00:39 | |
*** violinappren has joined #openstack-zaqar | 01:21 | |
*** violinappren has quit IRC | 01:22 | |
*** david-lyle has quit IRC | 01:23 | |
*** david-lyle has joined #openstack-zaqar | 01:38 | |
*** david-lyle has quit IRC | 01:43 | |
*** inteq has joined #openstack-zaqar | 01:57 | |
*** david-lyle has joined #openstack-zaqar | 02:21 | |
*** csoukup has joined #openstack-zaqar | 02:47 | |
*** david-lyle has quit IRC | 02:56 | |
*** flwang has joined #openstack-zaqar | 02:57 | |
*** itisha has quit IRC | 03:01 | |
*** david-lyle has joined #openstack-zaqar | 03:02 | |
*** flwang has quit IRC | 03:06 | |
*** david-lyle has quit IRC | 03:13 | |
*** wanghao has quit IRC | 03:49 | |
*** david-lyle has joined #openstack-zaqar | 03:56 | |
*** david-lyle has quit IRC | 04:01 | |
*** khushbu_ has joined #openstack-zaqar | 04:03 | |
*** csoukup has quit IRC | 04:35 | |
*** flwang has joined #openstack-zaqar | 04:54 | |
*** flwang has quit IRC | 04:54 | |
*** flwang has joined #openstack-zaqar | 05:00 | |
*** khushbu_ has quit IRC | 05:10 | |
*** khushbu has joined #openstack-zaqar | 05:11 | |
*** khushbu has quit IRC | 05:33 | |
*** khushbu has joined #openstack-zaqar | 05:33 | |
*** khushbu_ has joined #openstack-zaqar | 05:33 | |
*** flwang has quit IRC | 05:48 | |
*** flwang has joined #openstack-zaqar | 05:53 | |
*** flwang has quit IRC | 06:00 | |
*** khushbu_ has quit IRC | 06:03 | |
*** khushbu has quit IRC | 06:03 | |
*** david-lyle has joined #openstack-zaqar | 06:03 | |
*** khushbu__ has joined #openstack-zaqar | 06:05 | |
*** khushbu___ has joined #openstack-zaqar | 06:05 | |
*** achanda has quit IRC | 06:22 | |
*** achanda has joined #openstack-zaqar | 06:24 | |
*** achanda has quit IRC | 06:24 | |
*** achanda has joined #openstack-zaqar | 06:30 | |
*** david-lyle has quit IRC | 06:33 | |
*** khushbu__ has quit IRC | 06:37 | |
*** khushbu___ has quit IRC | 06:37 | |
*** david-lyle has joined #openstack-zaqar | 06:39 | |
*** flwang1 has joined #openstack-zaqar | 06:43 | |
*** david-lyle has quit IRC | 06:51 | |
*** david-lyle has joined #openstack-zaqar | 06:55 | |
*** david-lyle has quit IRC | 07:00 | |
*** david-lyle has joined #openstack-zaqar | 07:04 | |
*** david-lyle has quit IRC | 07:11 | |
*** achanda has quit IRC | 07:13 | |
*** achanda has joined #openstack-zaqar | 07:17 | |
*** achanda has quit IRC | 07:18 | |
*** flwang1 has quit IRC | 07:19 | |
*** achanda has joined #openstack-zaqar | 07:32 | |
*** achanda has quit IRC | 07:37 | |
*** david-lyle has joined #openstack-zaqar | 07:43 | |
*** david-lyle has quit IRC | 07:48 | |
*** akanksha_ has joined #openstack-zaqar | 08:21 | |
*** flwang has joined #openstack-zaqar | 08:36 | |
*** flwang has quit IRC | 09:09 | |
*** Caleb-- has quit IRC | 09:20 | |
*** Caleb-- has joined #openstack-zaqar | 09:25 | |
*** itisha has joined #openstack-zaqar | 10:45 | |
*** khushbu__ has joined #openstack-zaqar | 11:25 | |
*** khushbu___ has joined #openstack-zaqar | 11:25 | |
*** zoey has joined #openstack-zaqar | 11:44 | |
zoey | Hey! I'm new and would like to contribute. Could anyone get me started? I have knowledge of Python and am very enthusiastic! | 11:44 |
---|---|---|
zoey | This is in reference to outreachy | 11:48 |
*** khushbu___ has quit IRC | 11:59 | |
*** khushbu___ has joined #openstack-zaqar | 12:01 | |
*** jasondot_ has joined #openstack-zaqar | 12:01 | |
*** khushbu__ has quit IRC | 12:05 | |
*** jasondot_ has quit IRC | 12:09 | |
*** jasondot_ has joined #openstack-zaqar | 12:09 | |
ryansb | zoey: good morning (or whatever time it is for you) | 12:11 |
zoey | Hi | 12:12 |
ryansb | First you'll want to make sure you have a gerrit account (I'll find a link) | 12:12 |
ryansb | and once you have that, our developer docs should help you get to your first patch | 12:12 |
ryansb | here's our docs http://docs.openstack.org/developer/zaqar/ | 12:12 |
ryansb | and here's the openstack contributor guide https://wiki.openstack.org/wiki/How_To_Contribute#If_you.27re_a_developer | 12:13 |
ryansb | the most basic thing you need is a gerrit account and to sign the contributor agreement before you contribute any code | 12:13 |
*** khushbu__ has joined #openstack-zaqar | 12:14 | |
*** jasondot_ has quit IRC | 12:14 | |
zoey | thank you | 12:14 |
ryansb | after that, I'd recommend using devstack ( http://docs.openstack.org/developer/devstack/ ) to run zaqar and play with it a bit | 12:14 |
ryansb | and, of course, we're here in this channel if you get stuck | 12:16 |
*** inteq has quit IRC | 12:22 | |
Eva-i | ryansb: can you please confirm this bug? https://bugs.launchpad.net/zaqar/+bug/1508519 | 12:27 |
openstack | Launchpad bug 1508519 in zaqar "Some tests are not performed under py34 environment" [Undecided,New] - Assigned to Eva Balycheva (ubershy) | 12:27 |
ryansb | Eva-i: sure, I'll look at it | 12:28 |
Eva-i | ryansb: thank you | 12:28 |
ryansb | :) np | 12:29 |
Eva-i | zoey: hello | 12:40 |
zoey | hi | 12:40 |
*** jasondot_ has joined #openstack-zaqar | 12:46 | |
akanksha_ | ryansb: hi. Can you help me with this change https://review.openstack.org/#/c/165632/ | 12:48 |
ryansb | sure, what's wrong? | 12:49 |
akanksha_ | I am stuck as I cannot understand the log. | 12:49 |
ryansb | the 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 |
ryansb | hm, so does the test pass locally? | 12:50 |
akanksha_ | Yeah | 12:52 |
akanksha_ | In my env it did | 12:52 |
ryansb | ok, are you on devstack? | 12:52 |
*** jasondot_ has quit IRC | 12: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 |
ryansb | ok, hm. | 12:54 |
ryansb | akanksha_: let me try it locally to rule out CI as the source of the failure | 13:00 |
*** jasondot_ has joined #openstack-zaqar | 13: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 |
ryansb | github link? | 13:03 |
akanksha_ | ryansb: How do I switch to a redis implementation in that to test? | 13:03 |
ryansb | oh, I see | 13:03 |
ryansb | so you'd enable zaqar in devstack as usual | 13:03 |
ryansb | then you'll install redis (just "yum install redis" or equivalent for your distro) | 13:03 |
ryansb | and you can set the storage_backend to redis instead | 13:04 |
ryansb | in /etc/zaqar/zaqar.conf | 13:04 |
akanksha_ | Aah, alright. | 13:04 |
akanksha_ | Let me do that then. | 13:04 |
ryansb | afaik there isn't a magic "use redis instead" setting in devstack, but I've been wrong | 13:04 |
akanksha_ | ryansb: ^wish there were :P | 13:05 |
*** sriram has joined #openstack-zaqar | 13:06 | |
therve | ryansb, Doesn't ZAQAR_BACKEND do that? | 13:17 |
ryansb | I don't know, I just set up devstack normally and do redis config in post | 13:17 |
ryansb | but if it does, great! | 13:17 |
akanksha_ | therve: ZAQAR_BACKEND would be set in localrc right? | 13:18 |
*** khushbu___ has quit IRC | 13:18 | |
therve | akanksha_, I believe so | 13: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 |
therve | I guess you could, not sure why you'd want to though | 13:21 |
therve | I don't have any sample file anyway | 13:21 |
akanksha_ | No no. Different localrc | 13: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 |
therve | Well how do you do it? | 13:23 |
akanksha_ | I just write enable_plugin zaqar https://github.com/openstack/zaqar in my localrc | 13:24 |
therve | And it doesn't work for mongodb? That's what I do at least | 13:24 |
akanksha_ | I have to manually install mongodb and make sure it runs before doing a stack.sh | 13:25 |
akanksha_ | Sometimes that works. | 13:25 |
akanksha_ | Sometimes it doesnt | 13:25 |
akanksha_ | :\ | 13:25 |
therve | Ah yeah, you need that, whatever is in localrc | 13:25 |
akanksha_ | The manual mongodb install is necessary then? | 13:26 |
therve | Yes | 13:27 |
therve | Setting ZAQAR_BACKEND just configure zaqar | 13:27 |
akanksha_ | So that would mean I would have to install and run redis server also manually | 13:27 |
akanksha_ | ? | 13:27 |
therve | Yes | 13:27 |
akanksha_ | Alright., Thanks :) | 13:27 |
akanksha_ | ryansb: did you find anything? | 13:28 |
*** khushbu__ has quit IRC | 13:28 | |
ryansb | I'm bringing up my devstack env for zaqar | 13:28 |
ryansb | so it'll be a bit | 13:28 |
akanksha_ | Yeah, same here. :) | 13:29 |
*** khushbu_ has joined #openstack-zaqar | 13:32 | |
*** Caleb-- has quit IRC | 13:35 | |
*** Caleb-- has joined #openstack-zaqar | 13:56 | |
*** ametts has joined #openstack-zaqar | 13:57 | |
akanksha_ | On running tox tests for py27 in zaqar the functional test test_health v1_1 fails | 14:14 |
*** khushbu_ has quit IRC | 14:15 | |
ryansb | what's the error? | 14:18 |
*** khushbu has joined #openstack-zaqar | 14:19 | |
*** mpanetta has joined #openstack-zaqar | 14:22 | |
akanksha_ | http://paste.openstack.org/show/477553/ | 14:22 |
*** khushbu has quit IRC | 14:24 | |
*** achanda has joined #openstack-zaqar | 14:25 | |
*** jasondot_ has quit IRC | 14:27 | |
*** khushbu_ has joined #openstack-zaqar | 14:27 | |
ryansb | is that the only error? | 14:27 |
akanksha_ | No there are others which are related to my change | 14: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 IRC | 14:30 | |
*** kgriffs|afk is now known as kgriffs | 14:31 | |
ryansb | so if you take out your changes, do the tests pass? | 14:33 |
Eva-i | akanksha_: try to wipe all zaqar's databases from mongodb and then run test again | 14:34 |
Eva-i | akanksha_: or wait 6 minutes and run test again | 14:35 |
Eva-i | akanksha_: I get almost the same error if run tests two times in a row, just because of unwiped test databases | 14:35 |
Eva-i | akanksha_: http://paste.openstack.org/show/2hvH6zHvz5xq6snNk19D/ | 14:35 |
*** csoukup has joined #openstack-zaqar | 14: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-i | I get failed tests every time I perform tests two times in a row. | 14:38 |
Eva-i | I mean without time delay between two runs of "tox -e py27" | 14:38 |
Eva-i | I can include this information in my bug report https://bugs.launchpad.net/zaqar/+bug/1506091 | 14:40 |
openstack | Launchpad bug 1506091 in zaqar "Testing databases are not dropped after some tests" [Undecided,New] - Assigned to Eva Balycheva (ubershy) | 14:40 |
Eva-i | Maybe this will increase the chances of getting this bug confirmed. =) | 14:40 |
Eva-i | I 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 IRC | 14:52 | |
*** achanda has joined #openstack-zaqar | 14:53 | |
*** achanda has quit IRC | 15:02 | |
*** JAHoagie has joined #openstack-zaqar | 15:07 | |
*** kgriffs is now known as kgriffs|afk | 15:13 | |
*** JAHoagie has quit IRC | 15:13 | |
Eva-i | I hope I'm doing good. | 15:41 |
*** zoey has quit IRC | 15:42 | |
*** khushbu has joined #openstack-zaqar | 15:53 | |
*** itisha has quit IRC | 16:01 | |
*** JAHoagie has joined #openstack-zaqar | 16:14 | |
*** khushbu has quit IRC | 16:14 | |
*** kgriffs|afk is now known as kgriffs | 16:21 | |
*** zoey has joined #openstack-zaqar | 16:24 | |
ryansb | akanksha_: are you still around? | 16:47 |
akanksha_ | Yeah | 16:48 |
ryansb | I believe I found a problem with your patch that's causing at least some of the failures | 16:50 |
ryansb | you have a check "i in uuid_parameters" on line 515 | 16:51 |
ryansb | but when you try to cast an argument to a UUID, sometimes that argument is already a UUID, raising an exception | 16:51 |
ryansb | so you need to add a check like "if not isinstance(argval[i], uuid.UUID)" to avoid it | 16:52 |
akanksha_ | oh alright. | 16:55 |
akanksha_ | ryansb : I am supposed to raise that exception | 17:00 |
ryansb | you 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 UUID | 17:03 |
*** davideagnello has quit IRC | 17:05 | |
akanksha_ | And when it is a valid UUID it returns a uuid instance | 17:05 |
ryansb | not when it's a UUID object | 17:05 |
ryansb | http://fpaste.org/284506/46051905/ | 17:06 |
*** davideagnello has joined #openstack-zaqar | 17:06 | |
ryansb | when your method recieves an actual uuid.UUID type, it raises that error (attributeerror) | 17:06 |
akanksha_ | Oh wait I just understood the mistake | 17:06 |
ryansb | which is causing the tests to fail | 17:06 |
akanksha_ | Yeah I tried out the error , thanks for pointing this out ryansb | 17:06 |
ryansb | Also, when you fix that you should rebase your change | 17:07 |
ryansb | there have been some more tests added since you last rebased | 17:07 |
akanksha_ | Sure will do :) | 17:08 |
Eva-i | akanksha_: 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 |
ryansb | akanksha_: 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-i | akanksha_: okay | 17:16 |
*** zoey has quit IRC | 17:21 | |
*** achanda has joined #openstack-zaqar | 17:25 | |
*** khushbu_ has joined #openstack-zaqar | 17:27 | |
*** khushbu_ has quit IRC | 17:28 | |
*** khushbu has joined #openstack-zaqar | 17:33 | |
*** khushbu has quit IRC | 17:33 | |
*** khushbu_ has joined #openstack-zaqar | 17:35 | |
*** khushbu_ has quit IRC | 17:36 | |
*** achanda has quit IRC | 17:39 | |
*** achanda has joined #openstack-zaqar | 17:45 | |
ryansb | Eva-i: confirmed your bug | 17:49 |
ryansb | but then accidentally marked it invalid, so ignore the email about me calling it "invalid" | 17:49 |
ryansb | it's confirmed now though | 17:49 |
*** itisha has joined #openstack-zaqar | 17:53 | |
Eva-i | ryansb: yay, thanks =) | 18:25 |
Eva-i | ryansb: 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|afk | 18:43 | |
openstackgerrit | Akanksha Srivastava proposed openstack/zaqar: Decorator fuction to Validate UUIDs in Redis Driver https://review.openstack.org/165632 | 19:05 |
*** kgriffs|afk is now known as kgriffs | 19:05 | |
*** achanda has quit IRC | 19:44 | |
openstackgerrit | Akanksha Srivastava proposed openstack/zaqar: Decorator fuction to Validate UUIDs in Redis Driver https://review.openstack.org/165632 | 19:56 |
*** pt_15 has joined #openstack-zaqar | 20:07 | |
*** hustler has joined #openstack-zaqar | 20:19 | |
*** hustler has left #openstack-zaqar | 20:23 | |
*** achanda has joined #openstack-zaqar | 20:30 | |
openstackgerrit | Akanksha Srivastava proposed openstack/zaqar: DRY up usage of url_prefix in wsgi unit test https://review.openstack.org/234769 | 21:01 |
*** sriram has quit IRC | 21:04 | |
openstackgerrit | Akanksha Srivastava proposed openstack/zaqar: Decorator fuction to Validate UUIDs in Redis Driver https://review.openstack.org/165632 | 21:07 |
*** davideagnello has quit IRC | 21:26 | |
*** davideagnello has joined #openstack-zaqar | 21:26 | |
*** kgriffs is now known as kgriffs|afk | 21:41 | |
*** nate_gone is now known as njohnston | 21:52 | |
openstackgerrit | Akanksha Srivastava proposed openstack/zaqar: DRY up usage of url_prefix in wsgi unit test https://review.openstack.org/234769 | 21:59 |
*** csoukup has quit IRC | 22:04 | |
*** ametts has quit IRC | 22:16 | |
*** mpanetta has quit IRC | 22:41 | |
openstackgerrit | Akanksha Srivastava proposed openstack/zaqar: DRY up usage of url_prefix in wsgi unit test https://review.openstack.org/234769 | 22:44 |
*** flwang has joined #openstack-zaqar | 22:52 | |
*** flwang has quit IRC | 22:53 | |
*** njohnston is now known as nate_gone | 22:56 | |
*** davideagnello has quit IRC | 23:38 | |
*** davideagnello has joined #openstack-zaqar | 23:38 | |
*** nate_gone is now known as njohnston | 23:40 | |
*** davideagnello has quit IRC | 23:40 | |
*** davideagnello has joined #openstack-zaqar | 23:45 | |
*** flwang has joined #openstack-zaqar | 23:53 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!