Monday, 2015-11-02

*** JAHoagie has joined #openstack-zaqar00:22
*** JAHoagie has quit IRC00:37
*** achanda has quit IRC00:59
*** achanda has joined #openstack-zaqar01:05
*** akanksha_ has quit IRC01:18
*** achanda has quit IRC01:23
*** achanda has joined #openstack-zaqar01:43
openstackgerritMD NADEEM proposed openstack/zaqar: Create api should throw PoolNameConflict exception for duplicate pool name  https://review.openstack.org/23800601:54
*** Qiming has joined #openstack-zaqar02:21
*** Qiming has quit IRC02:21
*** Qiming has joined #openstack-zaqar02:22
openstackgerritMD NADEEM proposed openstack/zaqar: Flavor create api should throw FlavorNameExist exception for duplicate Flavor name  https://review.openstack.org/23839603:00
*** Qiming has quit IRC03:32
*** csoukup has joined #openstack-zaqar03:41
openstackgerritMD NADEEM proposed openstack/zaqar: Flavor create api should throw FlavorNameConflict exception for duplicate Flavor name  https://review.openstack.org/23839603:45
*** csoukup has quit IRC03:48
openstackgerritMD NADEEM proposed openstack/zaqar: Flavor create api should throw FlavorNameConflict exception for duplicate Flavor name  https://review.openstack.org/23839603:48
openstackgerritMD NADEEM proposed openstack/zaqar: Create api should throw PoolNameConflict exception for duplicate pool name  https://review.openstack.org/23800603:49
*** csoukup has joined #openstack-zaqar04:06
openstackgerritMD NADEEM proposed openstack/zaqar: Flavor create api should throw FlavorNameConflict exception for duplicate Flavor name  https://review.openstack.org/23839604:23
*** c_soukup has joined #openstack-zaqar04:27
*** csoukup has quit IRC04:27
*** c_soukup has quit IRC04:37
*** csoukup has joined #openstack-zaqar04:44
*** achanda has quit IRC04:45
*** achanda has joined #openstack-zaqar04:50
*** khushbu has joined #openstack-zaqar04:51
*** csoukup has quit IRC04:53
*** Qiming has joined #openstack-zaqar05:01
*** boris-42 has joined #openstack-zaqar05:28
*** khushbu has quit IRC06:07
*** pt_15 has quit IRC07:08
*** itisha has quit IRC07:11
*** flaper87 has quit IRC07:35
*** achanda has quit IRC07:36
*** flaper87 has joined #openstack-zaqar07:37
*** yfujioka has joined #openstack-zaqar07:58
*** achanda has joined #openstack-zaqar08:05
*** achanda has quit IRC08:15
*** davideagnello has quit IRC08:27
*** davideagnello has joined #openstack-zaqar08:27
*** achanda has joined #openstack-zaqar08:37
*** achanda has quit IRC09:44
*** Qiming has quit IRC10:14
*** flwang has joined #openstack-zaqar10:25
*** achanda has joined #openstack-zaqar10:29
flwangflaper87: ping10:30
*** achanda has quit IRC10:50
*** Qiming has joined #openstack-zaqar11:08
*** flaper87 has quit IRC11:41
*** flaper87 has joined #openstack-zaqar11:41
*** AAzza has quit IRC12:01
*** AAzza has joined #openstack-zaqar12:05
*** Qiming has quit IRC12:22
*** Qiming has joined #openstack-zaqar12:22
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Added support to v2  https://review.openstack.org/20923813:02
*** khushbu_ has joined #openstack-zaqar13:33
*** khushbu_ has quit IRC13:33
*** khushbu has joined #openstack-zaqar13:40
*** khushbu has quit IRC13:41
*** khushbu has joined #openstack-zaqar14:05
*** khushbu has quit IRC14:05
*** malini has joined #openstack-zaqar14:11
*** sriram has joined #openstack-zaqar14:31
*** sriram has quit IRC14:32
*** sriram has joined #openstack-zaqar14:35
*** akanksha_ has joined #openstack-zaqar14:40
*** dynarro has joined #openstack-zaqar14:44
Eva-iHello. What is the most convenient way to debug tests in zaqar? Can you tell me please how do you do it?14:46
Eva-iIs there a way to debug tests directly in IDE?14:46
ryansbEva-i: I find the way to get the smallest feedback loop is to run individual test files14:53
ryansbusing the "tox -- zaqar.tests.some.test_file"14:53
Eva-iryansb: yes, I know now how to run individual tests14:54
Eva-iryansb: but how to know for example what's happening inside a particular test?14:55
Eva-iryansb: can I pick an object and get a list of it's attributes? Is there a way to print some useful information to a person running "tox ..." command?14:56
ryansbyeah, the easiest way is to "raise Exception("the message you want to send")"14:58
*** kgriffs|afk is now known as kgriffs14:58
Eva-iryansb: oh, okay =)14:58
ryansbthat way the test will fail immediately (so you can inspect the data store) and show you whatever values you asked for14:59
ryansbDo we have a meeting right now?15:00
Eva-iryansb: is it how you debug tests?15:00
* ryansb is all confused with daylight savings15:00
*** mpanetta has joined #openstack-zaqar15:01
Eva-iryansb: as I know the previous meeting and current meeting were cancelled15:01
ryansboh, oops. I thought we only cancelled the week before summit and the week of15:01
ryansbabout debugging: it depends, usually what I'll do is I figure out what the cause of the failure is and replicate it in an IPython shell15:01
*** ametts has joined #openstack-zaqar15:02
*** amitgandhinz has joined #openstack-zaqar15:04
Eva-iryansb: the last meeting was 19 october, so two next canceled meetings are: october 26 and november 215:08
*** csoukup has joined #openstack-zaqar15:10
openstackgerritAkanksha Srivastava proposed openstack/zaqar: DRY up usage of url_prefix in wsgi unit test  https://review.openstack.org/23476915:11
ryansbEva-i: thanks :)15:14
Eva-iryansb: by IPython do you mean this thing https://ipython.org/ ?15:16
ryansbyeah, they have a python shell15:17
ryansb(they also have a web-based "notebook" that is neat, but not that handy for debugging)15:17
Eva-iryansb: okay. So if I understand you properly, you activate one of the tox environments, start IPython shell inside of it, execute some_test.py in the shell and see the how it goes?15:19
ryansbit's two steps15:19
ryansbso first I figure out what's wrong in some_test.py from the stacktraces15:20
ryansbthen I use the IPython shell to reproduce the failure and figure out why it fails15:20
ryansbthen I use what I learned in the shell to fix the test (or fix the zaqar server, as the case may be)15:20
*** davideag_ has joined #openstack-zaqar15:26
Eva-iryansb: how exactly do you use IPython shell to reproduce the failure in a particular test? Do you make use of tox environments, do you directly use of a file where the particular test is located?15:26
Eva-i*use file15:26
ryansbI `source` into the tox environment, then more or less copy in the code from the test15:27
*** kragniz_ has joined #openstack-zaqar15:32
*** therve` has joined #openstack-zaqar15:34
*** davideagnello has quit IRC15:35
*** flaper87 has quit IRC15:35
*** therve has quit IRC15:35
*** kragniz has quit IRC15:35
*** flaper87 has joined #openstack-zaqar15:36
*** flaper87 has quit IRC15:36
*** flaper87 has joined #openstack-zaqar15:36
Eva-iryansb: you reproduce code line by line in python interpreter?16:02
*** Qiming has quit IRC16:02
ryansbno, you can use the %edit command to open a real editor (vim for me)16:02
ryansbthem grab the test file from the buffer16:03
Eva-iryansb: after you have test file contents in your buffer, what do you do? As I know you just can't paste it into python interpreter, it will not automatically execute methods like "setUp()" and "tearDown()" etc, right?16:07
ryansbYeah, that's right16:07
ryansbI'll grab a zaqar client & strip out the setup/teardown16:08
ryansbit's not a very automatic process, basically16:08
ryansbbut I only really need to do it for the very annoying/finicky test failures16:08
*** khushbu_ has joined #openstack-zaqar16:17
*** kgriffs is now known as kgriffs|afk16:29
*** malini has quit IRC16:29
*** malini has joined #openstack-zaqar16:31
*** malini1 has joined #openstack-zaqar16:33
*** malini has quit IRC16:36
*** kgriffs|afk is now known as kgriffs16:40
Eva-iryansb: thanks for you answers, but I think I'm not currently at the level to understand this method. With each your answer I feel like I'm more far from understanding this method than I thought before. I'll just use to "throwing exception" method.16:47
Eva-i*use "throwing exception" method16:48
*** khushbu_ has quit IRC16:53
*** khushbu_ has joined #openstack-zaqar16:55
*** malini1 has quit IRC16:55
*** dynarro has quit IRC16:57
*** achanda has joined #openstack-zaqar16:59
*** kragniz_ is now known as kragniz17:16
*** khushbu_ has quit IRC17:24
*** khushbu has joined #openstack-zaqar17:26
*** khushbu has quit IRC17:26
*** khushbu has joined #openstack-zaqar17:32
*** khushbu has quit IRC17:32
*** sriram has quit IRC17:59
*** stanchan has joined #openstack-zaqar18:01
*** khushbu has joined #openstack-zaqar18:06
*** khushbu has quit IRC18:09
*** sriram has joined #openstack-zaqar18:17
*** achanda has quit IRC18:18
*** achanda has joined #openstack-zaqar18:21
*** achanda has quit IRC18:25
*** nate_gone is now known as njohnston18:27
*** achanda has joined #openstack-zaqar18:30
*** njohnston is now known as nate_gone18:36
*** flwang has quit IRC18:51
*** flwang has joined #openstack-zaqar18:52
*** flwang has quit IRC18:57
*** flwang has joined #openstack-zaqar18:58
*** malini has joined #openstack-zaqar19:08
*** malini1 has joined #openstack-zaqar19:10
*** flwang has quit IRC19:12
*** achanda has quit IRC19:13
*** malini has quit IRC19:13
*** kgriffs is now known as kgriffs|afk19:18
*** flwang has joined #openstack-zaqar19:20
*** flwang has quit IRC19:24
*** achanda has joined #openstack-zaqar19:24
*** kgriffs|afk is now known as kgriffs19:30
*** flwang has joined #openstack-zaqar19:38
*** pt_15 has joined #openstack-zaqar19:40
*** itisha has joined #openstack-zaqar19:40
*** achanda has quit IRC19:50
*** achanda has joined #openstack-zaqar20:06
*** achanda has quit IRC20:20
*** achanda has joined #openstack-zaqar20:27
*** akanksha_ has quit IRC20:28
*** mpanetta has quit IRC20:39
*** amitgandhinz has quit IRC20:41
*** amitgandhinz has joined #openstack-zaqar20:42
*** amitgandhinz has quit IRC20:42
*** amitgandhinz has joined #openstack-zaqar20:42
*** amitgandhinz has quit IRC20:47
*** kgriffs is now known as kgriffs|afk20:48
*** mpanetta has joined #openstack-zaqar21:17
*** kgriffs|afk is now known as kgriffs21:31
*** davideag_ has quit IRC21:35
*** nate_gone is now known as njohnston21:35
*** davideagnello has joined #openstack-zaqar21:36
*** njohnston is now known as nate_gone21:38
*** malini1 has quit IRC21:47
*** akanksha_ has joined #openstack-zaqar21:47
*** amitgandhinz has joined #openstack-zaqar21:58
*** amitgandhinz has quit IRC22:40
*** sriram has quit IRC22:52
*** mpanetta has quit IRC22:55
*** mpanetta has joined #openstack-zaqar22:58
*** stanchan has quit IRC23:06
*** ametts has quit IRC23:13
*** mpanetta has quit IRC23:20
*** mpanetta has joined #openstack-zaqar23:20
*** csoukup has quit IRC23:33
*** kgriffs is now known as kgriffs|afk23:55

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