01:00:22 #startmeeting tricircle 01:00:23 Meeting started Wed Jul 4 01:00:22 2018 UTC and is due to finish in 60 minutes. The chair is zhiyuan. Information about MeetBot at http://wiki.debian.org/MeetBot. 01:00:24 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 01:00:27 The meeting name has been set to 'tricircle' 01:00:49 hi song, what about the UT CI problem? 01:02:08 I pull a pr for this. 01:02:49 but look like do not make sense. 01:03:13 the first pr for the unit failed have merged. 01:04:19 but the second for the accidental failed do not make sense. 01:04:33 wow, so the patch for devstack script happen to pass the CI? 01:05:06 just good luck with it... 01:05:51 i have add the segment_id in the prepare_network for unit test,but look like do not take effect. 01:08:13 let me check the code 01:09:37 thanks 01:09:50 I have a problem about how to notify mock in segment creation. 01:10:32 i seem that the field is 01:10:35 segment_id 01:10:41 not segmentationid 01:10:59 please xuzhuang 01:11:58 oh got it. i will change this and pull it again. 01:12:47 hope this will work 01:13:54 hope so. 01:21:39 xuzhuang, are you preparing your message? 01:24:51 Yes, i will push my new code after a while. I have prepared the message 01:25:27 When i debug segment cration, i find it will call notify 01:26:19 I think maybe the notify is the problem 01:26:50 yes neutron have add the notify for a new pr. 01:27:07 and the ci failed also because this pr. 01:28:05 xuzhuang, so your test fails because the notification callback? 01:29:12 Yes, notify will call local_plugin not my faked segment plugin 01:32:32 does the callback code calls directory.get_plugin() to get the plugin? if so, you can mock get_plugin 01:34:58 Yes it calls directory.getplugin 01:36:14 You mean use @patch.object above the test code? 01:37:51 In my new code i have added 01:42:51 when mocking get_plugin, you need to be careful that don't affect other process 01:43:01 other function may also call get_plugin 01:53:34 ok, other topics? 01:54:10 Ok, i will be careful for using get_fakeplugin, but i haven't know how to fix it 01:54:32 no 01:54:48 no from me 01:55:56 no 01:56:17 xuzhuang, you may need to call the original get_plugin if the argument is not "segment" 01:57:49 Ok, i will check it 02:00:40 fine 02:00:54 thanks for attending 02:01:00 #endmeeting