Monday, 2014-05-26

*** shakamunyi has joined #openstack-oslo00:40
*** shakamunyi has quit IRC00:50
*** shakamunyi has joined #openstack-oslo01:16
*** shakamunyi has quit IRC01:26
*** yamahata has joined #openstack-oslo01:35
*** shakamunyi has joined #openstack-oslo01:53
*** shakamunyi has quit IRC01:57
*** shakamunyi has joined #openstack-oslo01:58
*** shakamunyi has quit IRC02:05
*** yamahata has quit IRC02:30
*** yamahata has joined #openstack-oslo02:30
*** shakamunyi has joined #openstack-oslo02:30
*** shakamunyi has quit IRC02:40
*** shakamunyi has joined #openstack-oslo03:06
*** shakamunyi has quit IRC03:17
*** zhiyan has joined #openstack-oslo03:18
openstackgerritZhu Zhu proposed a change to openstack/oslo.messaging: Encode/decode the auth_token when pack/unpack message  https://review.openstack.org/9488103:35
*** shakamunyi has joined #openstack-oslo03:43
*** shakamunyi has quit IRC03:53
*** zhiyan is now known as zhiyan_04:07
*** shakamunyi has joined #openstack-oslo04:19
*** zhiyan_ is now known as zhiyan04:26
*** shakamunyi has quit IRC04:29
*** shakamunyi has joined #openstack-oslo04:55
*** shakamunyi has quit IRC05:05
*** amotoki has joined #openstack-oslo05:18
openstackgerritZhu Zhu proposed a change to openstack/oslo.messaging: Encode/decode the auth_token when pack/unpack message  https://review.openstack.org/9488105:30
*** shakamunyi has joined #openstack-oslo05:32
*** shakamunyi_ has joined #openstack-oslo05:37
*** shakamunyi has quit IRC05:39
*** shakamunyi_ has quit IRC05:39
*** alexizz has joined #openstack-oslo05:40
*** AAzza has joined #openstack-oslo06:09
openstackgerritMarc Koderer proposed a change to openstack/oslotest: Add known issue about time.time mocking  https://review.openstack.org/9541106:12
*** praneshp has joined #openstack-oslo06:27
*** flaper87|afk is now known as flaper8706:30
*** asalkeld has joined #openstack-oslo06:33
*** praneshp has quit IRC06:38
*** praneshp has joined #openstack-oslo06:39
*** flaper87 is now known as flaper87|afk06:44
*** zhiyan is now known as zhiyan_06:54
*** praneshp has quit IRC06:56
openstackgerritZhu Zhu proposed a change to openstack/oslo.messaging: Encode/decode the auth_token when pack/unpack message  https://review.openstack.org/9488107:06
*** ihrachyshka has joined #openstack-oslo07:09
*** zhiyan_ is now known as zhiyan07:10
*** ihrachyshka has quit IRC07:13
*** ihrachyshka has joined #openstack-oslo07:13
openstackgerritNataliia Uvarova proposed a change to openstack/oslo-incubator: Fix common.log.ContextFormatter for Python 3  https://review.openstack.org/9543907:15
*** markmcclain has joined #openstack-oslo07:23
*** I159_ has joined #openstack-oslo07:24
*** markmcclain has quit IRC07:24
*** markmcclain has joined #openstack-oslo07:31
*** zhiyan is now known as zhiyan_07:32
*** praneshp has joined #openstack-oslo07:32
*** zhiyan_ is now known as zhiyan07:33
*** praneshp has quit IRC07:34
*** flaper87|afk is now known as flaper8707:41
openstackgerritgaryk proposed a change to openstack/oslo.db: Remove redundant default=None for config options  https://review.openstack.org/9544307:41
openstackgerritRadoslav Gerganov proposed a change to openstack/oslo.vmware: Add networkFolder in the traversal spec.  https://review.openstack.org/9544407:43
openstackgerritgaryk proposed a change to openstack/oslo-incubator: Remove redundant default=None for config options  https://review.openstack.org/9536107:44
*** praneshp has joined #openstack-oslo07:46
*** ruhe has quit IRC07:49
*** nacim has joined #openstack-oslo07:54
*** mkoderer has joined #openstack-oslo07:54
*** ruhe has joined #openstack-oslo07:56
openstackgerritChristian Berendt proposed a change to openstack/taskflow: replaced str()/unicode() with six.text_type()  https://review.openstack.org/9544707:59
openstackgerritIlya Pekelny proposed a change to openstack/oslo.db: Opportunistic migration tests  https://review.openstack.org/9342407:59
*** markmcclain1 has joined #openstack-oslo08:01
*** markmcclain has quit IRC08:03
*** markmcclain1 has quit IRC08:04
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo.messaging: Cleaned up references to executor specific RPCServer types  https://review.openstack.org/9545008:06
*** asalkeld has left #openstack-oslo08:07
*** praneshp has quit IRC08:11
*** markmcclain has joined #openstack-oslo08:12
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo-incubator: Enforce unicode json output for jsonutils.load[s]()  https://review.openstack.org/9134408:31
*** praneshp has joined #openstack-oslo08:38
openstackgerritJulien Danjou proposed a change to openstack/oslo-incubator: fileutils: port to Python 3  https://review.openstack.org/7472808:41
*** viktors|afk is now known as viktors08:45
*** dteselkin has joined #openstack-oslo08:46
openstackgerritRadoslav Gerganov proposed a change to openstack/oslo.vmware: Add networkFolder in the traversal spec  https://review.openstack.org/9544408:50
*** praneshp has quit IRC08:55
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo-incubator: Add mock cleanup function to each test case  https://review.openstack.org/9546509:01
*** alexizz has quit IRC09:05
*** ihrachyshka has quit IRC09:13
*** markmcclain has quit IRC09:13
*** zhiyan is now known as zhiyan_09:35
openstackgerritYuriy Taraday proposed a change to openstack/oslo-specs: Add rootwrap-daemon-mode blueprint  https://review.openstack.org/9461309:37
*** ihrachyshka has joined #openstack-oslo10:00
*** shakamunyi has joined #openstack-oslo10:01
*** shakamunyi has quit IRC10:15
*** shakamunyi has joined #openstack-oslo10:33
*** nacim has quit IRC11:11
openstackgerritgaryk proposed a change to openstack/oslo-incubator: Remove redundant default=None for config options  https://review.openstack.org/9536111:12
openstackgerritgaryk proposed a change to openstack/oslo.db: Remove redundant default=None for config options  https://review.openstack.org/9544311:12
*** boris-42 has quit IRC11:13
ihrachyshkarpodolyaka: hey! around?11:15
*** nacim has joined #openstack-oslo11:17
*** boris-42 has joined #openstack-oslo11:24
rpodolyakaihrachyshka: hey!11:24
ihrachyshkarpodolyaka: I wanted to ask you to check unicode related patch at: https://review.openstack.org/9134411:25
rpodolyakaihrachyshka: ok, looking11:25
ihrachyshkarpodolyaka: the last time you've checked it you've provided some valuable comments, so wanted to reach to you now that there are significant changes applied11:25
*** ihrachyshka_ has joined #openstack-oslo11:31
rpodolyakaihrachyshka: done. sorry, can only +1 it :)11:32
*** ihrachyshka has quit IRC11:34
ihrachyshka_rpodolyaka: it's still valuable, I wanted to check you have no additional suggestions :)11:37
rpodolyakaihrachyshka_: just one minor nit on using of tearDown(). I'd say it's optional to fix, but oslo cores may disagree11:40
*** yamahata has quit IRC11:44
ihrachyshka_rpodolyaka: tnx. See also https://review.openstack.org/#/c/95465/ that I've based on top of the patch, probably it handles your concern12:02
openstackgerritVictor Sergeyev proposed a change to openstack/oslo.db: Remove common context from oslo.db  https://review.openstack.org/9339712:03
openstackgerritVictor Sergeyev proposed a change to openstack/oslo.db: Remove common context usage from db model_query()  https://review.openstack.org/9339612:03
viktorsbeekneemech: Ben, is it you? :)12:05
*** markmcclain has joined #openstack-oslo12:07
*** I159_ has quit IRC12:09
*** I159_ has joined #openstack-oslo12:19
*** mriedem has joined #openstack-oslo12:28
*** markmcclain has quit IRC12:38
openstackgerritMarc Koderer proposed a change to openstack/oslotest: Add unit test for olsotest base class  https://review.openstack.org/9551612:38
openstackgerritIhar Hrachyshka proposed a change to openstack/oslo.messaging: Cleaned up references to executor specific RPCServer types  https://review.openstack.org/9545012:40
*** yamahata has joined #openstack-oslo12:56
*** shakamunyi has quit IRC13:07
openstackgerritIlya Pekelny proposed a change to openstack/oslo.db: Opportunistic migration tests  https://review.openstack.org/9342413:18
openstackgerritIlya Pekelny proposed a change to openstack/oslo.db: Fix the test using in-file SQLite database  https://review.openstack.org/9342313:18
*** shakamunyi has joined #openstack-oslo13:34
*** shakamunyi has quit IRC13:47
openstackgerritYuriy Taraday proposed a change to openstack/oslo.rootwrap: Add an option to run rootwrap as a daemon  https://review.openstack.org/8179813:47
ihrachyshka_can anyone from cores check https://review.openstack.org/#/c/91344/ ? I'd like to proceed with its sync to affected projects, some of them already received the first part of the patch, so we need to make sure they are not left with incomplete implementation13:49
*** rpodolyaka has quit IRC13:59
*** rpodolyaka has joined #openstack-oslo13:59
viktorsbeekneemech: ping13:59
*** ihrachyshka_ is now known as ihrachyshka14:02
*** shakamunyi has joined #openstack-oslo14:04
*** rpodolyaka has quit IRC14:07
*** rpodolyaka has joined #openstack-oslo14:09
*** markmcclain has joined #openstack-oslo14:18
*** erecio has joined #openstack-oslo14:18
*** dims has joined #openstack-oslo14:32
*** dims has quit IRC14:53
*** viktors is now known as viktors|afk15:16
*** shakamunyi has quit IRC15:16
*** markmcclain has quit IRC15:26
*** flaper87 is now known as flaper87|afk15:31
*** ihrachyshka has quit IRC15:33
*** I159_ has quit IRC15:43
*** yamahata has quit IRC16:02
*** yamahata has joined #openstack-oslo16:02
*** HenryG has joined #openstack-oslo16:08
openstackgerritChristian Berendt proposed a change to openstack/oslo-incubator: WIP: replace dict.iteritems() with six.iteritems(dict)  https://review.openstack.org/9555916:11
openstackgerritChristian Berendt proposed a change to openstack/oslo.db: WIP: replace dict.iteritems() with six.iteritems(dict)  https://review.openstack.org/9556116:12
*** praneshp has joined #openstack-oslo16:18
*** amotoki has quit IRC16:23
*** HenryG has quit IRC16:28
*** ihrachyshka has joined #openstack-oslo16:29
*** ihrachyshka has quit IRC16:33
*** ihrachyshka has joined #openstack-oslo16:34
*** nacim has quit IRC16:49
*** ihrachyshka has quit IRC16:49
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Append ChangeLog into the long_description  https://review.openstack.org/9556917:53
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Append ChangeLog into the long_description  https://review.openstack.org/9556918:03
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Append ChangeLog into the long_description  https://review.openstack.org/9556918:30
*** praneshp_ has joined #openstack-oslo18:33
*** mriedem has quit IRC18:34
*** praneshp has quit IRC18:35
*** praneshp_ is now known as praneshp18:35
*** ihrachyshka has joined #openstack-oslo18:39
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Append ChangeLog into the long_description  https://review.openstack.org/9556918:42
openstackgerritMonty Taylor proposed a change to openstack-dev/pbr: Un-nest some sections of code  https://review.openstack.org/9557018:42
ihrachyshkadhellmann: around? a question re: oslotest19:29
dhellmannhi, ihrachyshka19:29
*** flaper87|afk is now known as flaper8719:30
ihrachyshkadhellmann: there are PatchObject and Patch classes in the library. Can they be used without BaseTestCase from the same module?19:30
ihrachyshkadhellmann: they set their own mock cleanup functions, but if we assume they are used with module's BaseTestCase, we may set mock.patch.stopall() as a single cleanup function to clean all mocks19:31
ihrachyshkaif they are considered as separate entities though, we'll need to leave those per-patch cleanups intact19:31
dhellmannihrachyshka: I think it is safe to say those fixtures will be used with a testtools class that supports fixtures19:32
dhellmannnot every test is going to use those fixtures, which is probably why they are registering cleanups the way they are19:33
dhellmannsome tests just use mock.patch() as a decorator, and not as a fixture19:33
dhellmannI'm not sure if that answers your question?19:33
ihrachyshka'will be used with a testtools class' meaning ANY such class, not this oslotest module's one only19:34
ihrachyshkaright?19:34
ihrachyshkathe question is to clarify whether it's safe to remove addCleanup(_p.stop) from those objects setUp()19:34
dhellmannihrachyshka: I don't think there are any cases of openstack code using testtools directly, but I can't be certain19:34
dhellmannwhy does that matter?19:34
dhellmannno, I would not remove that19:35
ihrachyshkaok, good, that's what I've searched for19:35
ihrachyshkathanks19:35
dhellmannthe class is self-contained, right? it sets up the mock, and configures things so that when the test is done the mock is cleaned up19:35
ihrachyshkayes19:35
dhellmannthat seems clean and easy to understand19:36
ihrachyshkadhellmann: ok, another question. so I'm going to add that mock.patch.stopall() cleanup function. I'm not sure whether it's possible to add a test case for this change. any ideas?19:36
dhellmannI think you could put a test in a tearDown() method of a test class, after it calls the base class to do the cleanup19:37
dhellmannin setup() save the reference to the thing being mocked; in test() do nothing (you need the method for the test to run); in tearDown() call the base class then verify that the mock is undone19:38
ihrachyshkayeah, indeed! :)19:38
dhellmannthat will require a nice big comment explaining why the test is being done in tearDown as a special case :-)19:38
dhellmannoh, you know, you don't need to do it in teardown19:39
dhellmanncould you write one test to invoke another?19:39
dhellmannit would be a little more work, but it would be clear what was going on19:39
dhellmannif you define the second test class inside the test method of the first, it won't be run on its own19:39
ihrachyshkaprobably, thru https://docs.python.org/2/library/unittest.html#unittest.TestSuite19:40
dhellmannsure, that would do it19:40
dhellmanneither approach is ok with me, frankly19:41
openstackgerritDirk Mueller proposed a change to openstack/oslo-incubator: Fix docstring indentation in systemd  https://review.openstack.org/9557819:47
ihrachyshkadhellmann: hm, when I do 'git review -s', it says 'Project not found: openstack/oslo.test'20:09
ihrachyshkaoh, I guess I've fetched the wrong repo :)20:09
dhellmannihrachyshka: the .gitreview file is broken after the repo was renamed20:10
ihrachyshkahm, no, I've fetched the correct oslotest repo20:10
dhellmannihrachyshka: https://review.openstack.org/9534320:10
dhellmannI need to figure out what's wrong with that doc build before I commit that patch, and technically today is supposed to be a holiday here :-)20:10
ihrachyshkadhellmann: tnx20:11
openstackgerritIhar Hrachyshka proposed a change to openstack/oslotest: Cleanup mock patches on BaseTestCase tearDown()  https://review.openstack.org/9558120:13
ihrachyshkadhellmann: ^^ BaseTestCase change for mock patches cleanup20:13
dhellmannihrachyshka: ok, on my review list for tomorrow20:14
ihrachyshkadhellmann: yes, enjoy the holiday ;)20:14
openstackgerritChristian Berendt proposed a change to openstack/oslo.db: replace dict.iteritems() with six.iteritems(dict)  https://review.openstack.org/9556120:18
openstackgerritIhar Hrachyshka proposed a change to openstack/oslotest: Cleanup mock patches on BaseTestCase tearDown()  https://review.openstack.org/9558120:21
*** praneshp has quit IRC20:42
*** erecio has quit IRC20:46
*** HenryG has joined #openstack-oslo20:50
*** markmcclain has joined #openstack-oslo20:57
*** yamahata has quit IRC20:58
*** yamahata has joined #openstack-oslo20:58
*** HenryG has quit IRC21:04
*** HenryG has joined #openstack-oslo21:06
*** HenryG has quit IRC21:08
*** HenryG has joined #openstack-oslo21:14
*** AAzza has quit IRC21:27
*** markmcclain has quit IRC21:34
*** markmcclain has joined #openstack-oslo21:34
*** flaper87 is now known as flaper87|afk22:05
-openstackstatus- NOTICE: stopping gerrit briefly to rebuild its search index in an attempt to fix post-rename oddities (will update with notices every 10 minutes until completed)22:30
*** ChanServ changes topic to "stopping gerrit briefly to rebuild its search index in an attempt to fix post-rename oddities (will update with notices every 10 minutes until completed)"22:30
*** ChanServ changes topic to "#openstack-oslo"22:36
openstackgerritlifeless proposed a change to openstack-dev/pbr: Allow examining parsing exceptions.  https://review.openstack.org/8085622:40
openstackgerritlifeless proposed a change to openstack-dev/pbr: Permit pre-release versions with git metadata  https://review.openstack.org/8085722:40
openstackgerritlifeless proposed a change to openstack-dev/pbr: Teach pbr VersionInfo about debian versions.  https://review.openstack.org/8107422:40
openstackgerritlifeless proposed a change to openstack-dev/pbr: Teach pbr about post versioned dev versions.  https://review.openstack.org/8044922:40
openstackgerritlifeless proposed a change to openstack-dev/pbr: Use the current pbr for testpackage tests.  https://review.openstack.org/9410722:40
openstackgerritlifeless proposed a change to openstack-dev/pbr: Add a converter to version_tuples.  https://review.openstack.org/8045722:40
openstackgerritlifeless proposed a change to openstack-dev/pbr: Make setUp fail if sdist fails.  https://review.openstack.org/9410622:40
openstackgerritlifeless proposed a change to openstack-dev/pbr: Break out a common version object from VersionInfo  https://review.openstack.org/9410822:40
*** yamahata has quit IRC22:45
*** ihrachyshka has quit IRC22:48
*** markmcclain has quit IRC23:08
*** Guest92477 is now known as redrobot23:28
*** redrobot is now known as Guest4185623:29
*** Guest41856 is now known as redrobot23:30
*** mrda has joined #openstack-oslo23:30
openstackgerritOpenStack Proposal Bot proposed a change to openstack-dev/hacking: Updated from global requirements  https://review.openstack.org/9560823:48
*** dims has joined #openstack-oslo23:52

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