08:31:00 #startmeeting Yardstick Work Meeting 08:31:00 Meeting started Mon Nov 28 08:31:00 2016 UTC. The chair is kubi001. Information about MeetBot at http://wiki.debian.org/MeetBot. 08:31:00 Useful Commands: #action #agreed #help #info #idea #link #topic. 08:31:00 The meeting name has been set to 'yardstick_work_meeting' 08:31:08 #topic roll call 08:31:10 #info kubi 08:31:14 #info Rex 08:31:16 #info Jing 08:31:17 #info Jack 08:31:26 #info Ross 08:31:54 rbbratta: what's time for you now ? 08:32:24 12:30 AM, but I'm usually up this late 08:33:23 rbbratta: thanks for your joining 08:33:25 :) 08:33:39 let's move to today's topic 08:34:08 #topic Yardstick flake8 08:34:50 Ross suggested that we can modify the columns limtation from 79->99 08:35:30 I find it helps a little bit with not having to wrap so much 08:37:00 rbbratta: so if we want to change the limit from 79 to 99. what we need to do? should we use the pep257 to check the code? 08:37:36 flake8 --max-line-length=99 08:38:25 in run_tests.sh I guess 08:38:47 and then everyone adjusts their IDEs to wrap 08:39:22 Kubi: does OPNFV devguide have any restriction about this? 08:40:07 It seems that the default setting of gerrit page is also 99 08:40:39 Mingjiang: I'm not sure, Let me check it after the meeting 08:41:34 If there is no special restriction , we can change it as rbbratta's suggestion 08:41:44 agree 08:41:54 +1 08:42:23 #action kubi will check if there is special restriction from community. 08:42:30 yes, gerrit limitation "red line" is set to be 99, we can see it the gerrit view 08:42:31 #undo 08:42:31 Removing item from minutes: 08:43:08 #action kubi will check if there is special restriction of line length from community. 08:43:27 on a related topic, have we tried using pylint, shellcheck, yaml-lint, etc. 08:44:17 rbbratta: I find the limit in openstack/nova is 79. Do you have any other reasons to support 99? 08:45:37 rbbratta: at now, we use the flake8 and unittest to verify the code, that would be great if we have the more check tool. 08:46:11 not really, it does make it harder to automatically refactor code. for the logging and context manager fixes I used lib2to3 to manipulate the parse tree 08:46:48 pylint is very good. shellcheck is good for bash, yaml-lint can catch inconsistent yaml indents and yaml errors 08:47:15 But, I'm not sure If there is a lot of work to fix the error from pylint and shellcheck, yaml-lint 08:47:31 i think shellcheck may have some problem such like netperf tool can't identity the "$xxx" parameter. 08:48:19 Ace__: I didn't check the netperf stuff, was there a specific error? 08:48:46 If we want to use the those tools as gerrit verify, we need to fix the error before we enable the new checker 08:49:13 pylint catches more errors than flake8 in my experience, you do have to heavily customize the list of warning and errors, but I have a pylint wrapper from other projects we can re-use 08:49:29 the error is can't identity the parameter 08:49:41 rbbratta: sounds good 08:51:13 Ace__: we might be double-quoting 08:52:21 I'll try to publish a pylint wrapper 08:52:58 That's great. 08:53:03 i will check if there are double-quoting 08:53:17 rbbratta: thanks a lot. 08:53:26 you could discuss another question when i am testing 08:54:14 rbbratta: I heard from the guys from releng, they may want to do some common check for every projects 08:55:11 It seems that their solution also include shellchecker and yaml-lint 08:55:38 shellchecker =>shellcheck 08:56:44 #topic Testcase tier proposal review 08:57:07 Here is the link for the proposal link: https://wiki.opnfv.org/display/yardstick/Yardstick+test+case+tier+proposal 08:58:01 I have try to align the test case tier with waht functest does 08:58:49 JingLu: thanks for your work 08:59:08 any comment about the proposal? 08:59:29 i think you may list the tier in the order of tire number 09:00:32 #link https://wiki.opnfv.org/display/yardstick/Yardstick+test+case+tier+proposal 09:00:41 I will draw a pic to illustrate the hierachy 09:00:54 that would be great 09:01:00 #action JingLu will draw a pic to illustrate the hierachy 09:01:58 #topic others 09:02:09 any other topic from you? 09:02:25 and the netperf problem 09:02:28 is that 09:02:36 i try to use "$xxx" "${xxx}" and "{$xxx}" there is always problem as follows: 09:02:47 WARNING! THROUGHPUT_UNITS,MEAN_LATENCY,LOCAL_CPU_UTIL,REMOTE_CPU_UTIL,LOCAL_TRANSPORT_RETRANS -m 65536 -M 87380 not recognized as an address family, using AF_UNPSEC 09:02:47 Are you sure netperf was configured for that address family? 09:02:47 resolve_host: could not resolve host ' 10.1.0.51 -l 20 -t TCP_STREAM -c -C -- -O THROUGHPUT' port '(null)' af AF_UNSPEC 09:02:49 getaddrinfo returned -2 Name or service not known 09:02:50 Ross Brattain proposed yardstick: DRAFT: jenkins flake8, pylint, py.test wrapper https://gerrit.opnfv.org/gerrit/25001 09:02:51 Netperf could not resolve 10.1.0.51 -l 20 -t TCP_STREAM -c -C -- -O THROUGHPUT as a host name 09:03:51 okay, so we don't quote in netperf_benchmark.bash because each arg is already quoted 09:03:52 thanks ross, impresive by your lightening speed 09:04:34 oh, yes 09:05:07 rbbratta: thanks for your great contribution 09:06:59 no problem 09:07:52 ok, any more comments? 09:08:19 Thanks all for today. 09:08:24 #endmeeting