Friday, 2016-12-23

*** catintheroof has joined #openstack-mistral00:05
*** bobh has joined #openstack-mistral00:48
*** chlong has quit IRC01:34
*** catintheroof has quit IRC01:40
*** bobh has quit IRC01:48
*** bobh has joined #openstack-mistral02:08
*** chlong has joined #openstack-mistral02:14
*** thrash is now known as thrash|g0ne02:17
openstackgerritJizhaoxuan proposed openstack/mistral: Use assertGreater() or assertLess()  https://review.openstack.org/41394402:25
*** chlong has quit IRC02:43
openstackgerritJizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning  https://review.openstack.org/41396502:53
*** chlong has joined #openstack-mistral02:56
openstackgerritJizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning  https://review.openstack.org/41396502:59
*** bobh has quit IRC03:02
*** chlong has quit IRC03:05
*** bobh has joined #openstack-mistral03:16
openstackgerritJizhaoxuan proposed openstack/python-mistralclient: Use assertGreater() or assertLess()  https://review.openstack.org/41439803:24
*** sharatss has quit IRC03:38
*** sharatss has joined #openstack-mistral03:39
openstackgerritJizhaoxuan proposed openstack/python-mistralclient: Support oslo.i18n in mistralclient  https://review.openstack.org/41440403:39
*** bobh has quit IRC03:47
*** bobh has joined #openstack-mistral04:06
*** bobh has quit IRC04:34
*** weshay_afk is now known as weshay_pto04:57
*** sharatss has quit IRC05:34
openstackgerritZhenguo Niu proposed openstack/mistral-dashboard: Remove django<1.8 from tests  https://review.openstack.org/41442505:35
*** sharatss has joined #openstack-mistral05:35
*** ChubbyBreakfast has joined #openstack-mistral05:51
*** ChubbyBreakfast has left #openstack-mistral05:52
openstackgerritSharat Sharma proposed openstack/mistral: Added congress actions into Mistral  https://review.openstack.org/41443006:11
openstackgerritSharat Sharma proposed openstack/mistral: Added congress actions into Mistral  https://review.openstack.org/41443007:05
*** sharatss has quit IRC07:05
*** sharatss has joined #openstack-mistral07:05
openstackgerritSharat Sharma proposed openstack/mistral: Adding releasenotes for aodh action support  https://review.openstack.org/41444907:07
sharatssQiming: hi07:32
Qiminghi07:33
sharatssQiming: what is the importance of replacing MagicMock with mock?07:34
QimingMagicMock is sometimes mocking too much so some errors may go undetected, according to my limited knowledge07:34
Qimingwhen doing unit tests, you don't want such "magics", :)07:35
sharatssQiming: hahaha yeah.. rakhmerov and I had a discussion on this a few days ago.. if he remembers07:35
Qimingfor your reference: https://bugs.launchpad.net/python-openstacksdk/+bug/147572207:36
openstackLaunchpad bug 1475722 in heat-cfntools "Never use MagicMock" [Undecided,In progress] - Assigned to shizhihui (shizhihui)07:36
sharatssQiming: i wanted to know if it is important to change it in our project too07:36
sharatssQiming: coz we have many MagicMocks in our project too07:37
QimingI believe we did uncovered some subtle bugs when killing MagicMock in SDK07:37
Qimingnot sure how big an issue it is in mistral though07:37
sharatssQiming: ohh.. thanks a lot for the info07:38
Qimingwelcome07:39
sharatssi saw this change happening in many projects today07:39
sharatssthat made me curious07:39
Qimingokay07:46
openstackgerritJizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning  https://review.openstack.org/41449809:03
*** shardy has joined #openstack-mistral09:22
openstackgerritLingxian Kong proposed openstack/mistral-specs: Support openstack context for workflow  https://review.openstack.org/41450809:26
openstackgerritJizhaoxuan proposed openstack/python-mistralclient: Support oslo.i18n in mistralclient  https://review.openstack.org/41440409:26
rakhmerovsharatss: hi09:38
rakhmerovall of the tests that you recently added have the same problem09:38
rakhmerovin api/v2/test_tasks09:38
rakhmerovfor example, test_put_match_task_name09:38
rakhmerovplease fix them asap09:39
rakhmerovit slows down merging patches: http://logs.openstack.org/87/414287/1/gate/gate-mistral-python27-ubuntu-xenial/b41b031/testr_results.html.gz09:39
openstackgerritJizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning  https://review.openstack.org/41449809:45
openstackgerritDawid Deja proposed openstack/mistral: Fix for failing kombu dsvm gate  https://review.openstack.org/41453310:10
openstackgerritLingxian Kong proposed openstack/mistral: Support openstack context for workflow and task - 2  https://review.openstack.org/41405910:11
sharatssrakhmerov: yea.. thats the reason i wanted to revert those changes10:13
rakhmerov:)10:14
rakhmerovI just didn't realize then that it was a problem of all those tests10:14
sharatssrakhmerov: it might take some time to fix them :(10:14
rakhmerovI know10:14
rakhmerovjust please make it your highest priority10:14
sharatssrakhmerov: yes. i will look into them now10:15
rakhmerovthanks10:15
kong_hi, rakhmerov10:17
kong_i submitted a spec for multi-region support feature https://review.openstack.org/#/c/414508/10:18
kong_i'd rather call it openstack context because we may support other thing besides region name in future10:18
kong_hope that spec will help you understant what i am thinking10:19
rakhmerovkong_: hi, ok, I'll review shortly10:19
rakhmerovok :)10:19
openstackgerritSharat Sharma proposed openstack/mistral: Fix failing test cases in test_tasks  https://review.openstack.org/41454110:32
sharatssrakhmerov: ^10:32
rakhmerovyes10:32
rakhmerovI see10:32
rakhmerovsharatss: it's not the right fix10:32
rakhmerovthe problem is a little deeper10:33
sharatssohh :(10:33
rakhmerovthe fact of the matter is: engine component doesn't even start, it's pointless to send messages to it10:33
sharatssrakhmerov: i might need some time then :(10:33
rakhmerovit will be always timeouting10:33
rakhmerovand these tests will be taking a lot of time10:34
rakhmerovsharatss: I didn't say it would be easy :)10:34
rakhmerovbut don't be afraid of taking more serious tasks10:34
sharatssrakhmerov: yes. but i am causing the trouble :(10:35
rakhmerovwe'll wait, no problem10:35
rakhmerovas an idea: you can probably mock calls to RPC engine client10:35
rakhmerovso that they don't call engine for real and return what we need10:36
sharatssrakhmerov: hmmm.. will try that10:37
rakhmerovask questions please10:37
rakhmerovwe'll help10:37
sharatssrakhmerov: sure10:38
sharatssrakhmerov: can it work if i use rpc.EngineClient instead of db_api10:43
rakhmerovit should, yes10:43
rakhmerovplease try10:43
sharatsswhat about the response code? 200?10:44
openstackgerritSharat Sharma proposed openstack/mistral: Fix failing test cases in test_tasks  https://review.openstack.org/41454110:46
openstackgerritRenat Akhmerov proposed openstack/python-mistralclient: Add filters to client Python APIs  https://review.openstack.org/41455311:44
openstackgerritMerged openstack/mistral: Updated from global requirements  https://review.openstack.org/41428711:51
openstackgerritJizhaoxuan proposed openstack/mistral: Support i18n for LOG.warning  https://review.openstack.org/41449811:58
*** d0ugal has quit IRC12:28
openstackgerritSharat Sharma proposed openstack/mistral: Fix failing test cases in test_tasks  https://review.openstack.org/41454112:37
*** d0ugal has joined #openstack-mistral12:45
*** d0ugal has quit IRC12:51
*** bobh has joined #openstack-mistral14:01
*** bobh has quit IRC14:01
*** bobh has joined #openstack-mistral14:02
*** bobh has quit IRC14:47
*** shardy has quit IRC17:21
*** Qiming has quit IRC18:53
*** bobh has joined #openstack-mistral19:24
*** bobh has quit IRC20:26
*** bobh has joined #openstack-mistral20:28
*** bobh has quit IRC20:37
*** bobh has joined #openstack-mistral20:43
*** bobh has quit IRC22:00
*** bobh has joined #openstack-mistral22:01

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