08:01:47 #startmeeting Functest weekly meeting February 7th 2017 08:01:47 Meeting started Tue Feb 7 08:01:47 2017 UTC. The chair is jose_lausuch. Information about MeetBot at http://wiki.debian.org/MeetBot. 08:01:47 Useful Commands: #action #agreed #help #info #idea #link #topic. 08:01:47 The meeting name has been set to 'functest_weekly_meeting_february_7th_2017' 08:01:52 happy new chinese year :) 08:01:57 #topic role call 08:02:00 #info Jose Lausuch 08:02:06 #info SerenaFeng 08:02:07 #chair morgan_orange 08:02:07 Current chairs: jose_lausuch morgan_orange 08:02:12 #info ashishk 08:02:15 #info Cristina Pauna (Enea) 08:02:16 #info Juha Kosonen 08:02:22 #info Helen Yao 08:02:24 #info Linda Wang 08:02:31 #info Morgan Richomme 08:03:18 #topic Action point follow-up 08:03:28 #topic Action point follow-up 08:03:30 #info AP1: morgan_orange indicate keystone v3 status in documentation for Danube 08:03:36 #info done, doc updated 08:03:41 #info AP2: re-check: LindaWang check path issue with copper on apex virtual pod 08:03:48 #info done, copper not supported on fuel or apex yet, confirmed by Bryan, test case disabled in testcases.yaml 08:03:53 #info AP3: morgan_orange move api_check/connection_check in healtcheck on Thursday + remove historical healtcheck 08:03:59 #info patch in progress https://gerrit.opnfv.org/gerrit/#/c/27923/ 08:04:06 #info new saps healthcheck needed to cover old healthcheck scope => tests in progress 08:04:11 #undo 08:04:11 Removing item from minutes: 08:04:19 #info new SNAPS healthcheck needed to cover old healthcheck scope => tests in progress 08:04:30 #info AP4 jose_lausuch check with Steven if that is implemented in SNAPS 08:04:40 #info Done, Steven implemented a healtcheck with DHCP check 08:05:09 #link https://gerrit.opnfv.org/gerrit/#/c/28011/ 08:05:20 #info AP5: morgan_orange follow up on JOID progress 08:05:25 #info done, joid non HA back in CI, errors with SNAPS (similar to the ones seen in fuel) 08:05:30 #info bug reported to Steve 08:05:35 #link https://jira.opnfv.org/browse/FUNCTEST-718 08:05:40 #info AP6: juhak investigate why tempest skips 40-50 tests 08:05:44 #info tests are skipped due to following services not present: 08:05:51 #info sahara, 40 cases 08:05:57 #info swift, 14 cases 08:06:05 #info and if there is only compute node in setup, also 1 multinode test case is skipped 08:06:09 is sahara part of smoke? 08:06:29 hmm... don't know 08:06:37 ok, interesting 08:06:39 sounds strange, not really a core feature 08:06:43 thanks for checking that out 08:06:48 it's not 08:06:51 swift could be 08:06:53 Bonjour 08:06:55 but sahara ? :) 08:07:07 ollivier: bonjour bon ami 08:07:31 #info AP 7 morgan_orange: remove non HA to draw daily reporting 08:07:40 #info wrong wording, I removed results from virtual POD and kept noHA 08:07:48 #info patch submitted to allow filtering on HA/noHA and virtual/Baremetal 08:07:54 #link https://gerrit.opnfv.org/gerrit/#/c/27809/ 08:07:59 ok! 08:08:07 jose_lausuch: Buenos días 08:08:13 ollivier: :D 08:08:16 #info AP 8 morgan_orange: suggest a cross project review of the documentation to the testing group 08:08:24 #info to be done this week, last week meeting was canceled (no quorum) 08:08:38 ok 08:08:47 #action morgan_orange: suggest a cross project review of the documentation to the testing group 08:08:55 #topic Healthcheck tier 08:09:02 let me share some info that you already know 08:09:10 #info we moved api_check and connection_check to Healthcheck Tier. 08:09:31 #link https://gerrit.opnfv.org/gerrit/#/c/27923/ 08:09:38 #info Steven created a simple test case in snaps that does the same as our healtcheck 08:09:43 #link https://gerrit.cablelabs.com/#/c/311/ 08:09:58 #info it creates a project, user, image, net/subnet, flavor and 1 instance and checks it gets an ip 08:10:06 #info The Healthcheck tier will consist of 3 SNAPS test cases: connection_check, api_check, dhcp/healthcheck 08:10:44 do you all agree with this? 08:10:48 any concerns? 08:10:50 any thoughts? 08:11:02 no more .sh script! 08:11:21 great 08:11:27 #agreed 08:11:34 #agreed 08:11:41 #agreed 08:11:45 #agreed 08:12:20 #agreed ready to replace .sh healtcheck by the one written by Steven leveraging snaps lib 08:12:29 we may note that SNAPS project will be discussed this afternoon during the TSC, if agreed the code will be forked from Cable Labs repo to OPNFV repo 08:12:49 it was discussed also during last week in the tech-discuss meeting 08:12:49 it will be easier and more consistent if we need to work directly on SNAPS 08:12:57 yes 08:13:02 we can see that currently tehre are still several issues with SNAPS smoke 08:13:08 morgan_orange: will you be there? 08:13:10 at the tsc call? 08:13:11 yes 08:13:17 I will be proxing Tim again 08:13:23 so we can support the idea :) 08:13:40 yes I assume one of the question that could be raised is the delta with Tempest... 08:13:49 yes, I got that question already 08:14:27 anyway, that's something that cablelabs have to defend 08:15:03 a positive thing is: if the code is in opnfv, changes will be fast 08:15:07 which is true 08:15:23 one question about snap-oo, will it touch the area out of openstack, e.g. sdn? 08:15:25 getting something done in tempest upstream might be slower (although also important) 08:15:44 HelenYao: I think it is one of the possible answer regarding Tempest 08:15:47 HelenYao: not sure if that is the scope of the project 08:15:49 teh scope is not only on OpenStack... 08:15:50 but why not 08:16:22 if the project is in opnfv, we can also push for things easily 08:16:34 exactly 08:16:48 but first things first 08:16:57 let's see this afternoon 08:17:24 ok, next topic? 08:17:36 #topic Logging level rules / discussion 08:18:05 #info Some tests produce too much output on Jenkins console. Some of the "INFO" messages should be considered "DEBUG" 08:18:10 #info discussion ongoing for SNAPS: #link https://jira.opnfv.org/browse/FUNCTEST-698 08:18:19 #info patch done on security_scan 08:18:27 #link https://jira.opnfv.org/browse/SECSCAN-20 08:18:33 #info Luke already worked on that : https://gerrit.opnfv.org/gerrit/#/c/28105/ 08:18:35 however! 08:18:42 still, too much useles info. See last run: 08:18:45 https://build.opnfv.org/ci/view/functest/job/functest-apex-apex-daily-master-daily-master/390/consoleFull 08:19:52 mmm but 08:20:08 this run is from Jan 28 08:20:15 the patch was merged last week 08:20:44 #action jose_lausuch check for security scan logs in apex 08:20:53 first of all I think we should also put the log of security_scan to security_scan.log like we did to other feature projects 08:21:01 yes 08:21:07 and aloso SNAPS 08:21:25 yes, we told Steven already 08:21:31 https://jira.opnfv.org/browse/FUNCTEST-698 08:21:35 shall we write some rules somewhere? 08:21:52 maybe in wiki 08:22:09 for the security scan log, it will be fixed by this patch https://gerrit.opnfv.org/gerrit/#/c/28019/ 08:22:15 the console log should only indicate the test is success or fail 08:22:20 it is adopting the featurebase 08:23:03 #action all (specially Luke ): review for sec scan logs https://gerrit.opnfv.org/gerrit/#/c/28019/ 08:23:07 SerenaFeng: however 08:23:17 is this removing the code from functest? 08:23:27 ah yes 08:23:30 good 08:23:33 I'll take a look 08:23:46 jose_lausuch, nope 08:23:56 I don't think it will remove the code from functest 08:24:05 just change the way we coding 08:24:11 mmm it removes the opnfv_tests/security_scan :) 08:24:25 and leaves the wrapper caller in features/security_scan 08:24:27 yes, the code is removed 08:24:36 calling the script in the sec scan repo 08:24:38 just like what u said in another patch 08:24:40 which is what Luke wanted 08:24:45 all comments are included 08:24:50 ok 08:25:33 #action jose_lausuch create a wikipage for logging best practicies for Functest 08:26:15 #info basically, output useful information to understand the flow of the test case to INFO 08:26:23 #info the verbose output to DEBUG 08:26:43 #info and everything to a log file that is uploaded to artifacts 08:26:51 I will put some examples 08:26:52 is that ok? 08:27:01 #agreed 08:27:17 #agreed 08:27:22 ok, thanks 08:27:51 #agreed 08:27:57 #topic Functest refactoring 08:29:07 MS5 is now over, so in theory, we should only work on bug fixes/troubleshooting... 08:29:10 #info we should cut the refactor activity now 08:29:15 yep 08:29:24 we should focus on fixing things 08:29:39 what about exec_tests.sh ? 08:29:53 what tests are still called by that? 08:30:34 hmm still needed for ONOS 08:30:59 no more needed for odl 08:31:06 sorry I haven't seen the latest code, is doctor refactored? 08:31:07 patch for securoity_scan 08:31:12 https://git.opnfv.org/functest/tree/functest/ci/testcases.yaml 08:31:20 SerenaFeng: yes 08:31:40 moon I could do it (even if as far as I understood moon will not be in Danube) 08:32:10 #info Needs adaptation to testcasebase/featurebase: ONOS, ONOS-SFc, Moon 08:32:11 just 3 08:32:11 #action morgan_orange moon refactoring (Jira + FeatureBase) 08:32:13 I think we can make it 08:32:18 okey, that's greate I receive a task from doctor people last year, it will base on the refactored version 08:32:28 morgan_orange: if Moon is not in Danube we should remove the tests, right? 08:32:28 I need to drop (bring my kid to teh dentist...) 08:32:33 do not action myself too much :) 08:32:44 jose_lausuch: I will check with moon PTL 08:32:46 one question - is functest/utils/functest_vacation.py still needed 08:32:53 if no, I would suggest to remove it 08:33:08 #action morgan_orange check moon status. Might need test refactor if it's in Danube. 08:33:11 just this :) 08:33:31 and also feature/multisite.py 08:33:38 HelenYao: ya, we could keep the script but remove the tests (it's not in testcases.yaml though) 08:33:43 it is useless, multisite test is included in tempest part 08:33:57 SerenaFeng: multisite has the refactor 08:34:04 but with the different Class 08:34:12 https://git.opnfv.org/functest/tree/functest/ci/testcases.yaml#n261 08:34:26 yes, I know, I mean multisite.py is not used 08:35:00 ah 08:35:04 right! 08:35:06 if script exsits that is not used by others, I would propose to remove it in regard to unit test 08:35:09 klet's remove it 08:35:21 if the script exists, the unit test coverage rate will be decresased 08:35:21 #action SerenaFeng remove multisite.py 08:35:22 ok? 08:35:26 Please have a look to https://gerrit.opnfv.org/gerrit/#/c/27113/ 08:35:32 ok 08:35:54 how about the decision for functest/utils/functest_vacation.py 08:36:23 HelenYao: you can keep the script, but the test won't be callable from anywhere 08:36:27 ollivier: ok, I will 08:36:45 if we remove exec_tests.sh it shoudl be fine 08:37:10 if the script is kept, is the unit test case needed for it? 08:37:17 agree to remove it 08:37:35 agree to remove exec_tests.sh 08:37:58 HelenYao: well, it was some joke that Viktor did 2 releases back 08:38:01 it doesn't hurt 08:38:10 but no need for unit tests for such a thing :) 08:38:20 see 08:38:22 ollivier: I will review it 08:38:55 I should see I don't like the args part 08:40:06 SerenaFeng: it adds more flexibility when running the tests, why don't you like it? 08:40:13 for example, we could use for tempest 08:40:23 instead of having different classes for Tempest suites 08:40:33 we could have just 1 class and then arguments to run multisite/etc 08:41:30 are there if...else... process in the code? 08:42:05 if so I am afraid it will violate OCP principle 08:42:05 like a normal script having arguments? right ollivier ? 08:42:51 sure. It's fully safe and avoids duplicating code. 08:42:52 the design principle of open-close principle 08:44:30 we can give it a try 08:44:38 but not doing the tempest refactor at this point 08:44:49 you can also leave the comments in the patch 08:44:57 #topic AoB 08:45:03 #info Promise test case disabled until it works https://gerrit.opnfv.org/gerrit/#/c/27999/ 08:45:07 #info refactored also in promise repo: https://gerrit.opnfv.org/gerrit/#/c/27553/ 08:45:08 it is different tests, one class will be violate another principle, I cannot remember its name now 08:45:37 but it's not compleetelly different tests 08:45:44 it's running tempest with different flavos 08:45:46 flavors 08:46:00 in the end it's just 1 argument that you pass to tempest command 08:46:35 jose_lausuch I agree with you that let's give it a try to odl first 08:46:52 ok 08:46:54 :) 08:47:03 #info Documentation updated. Config Guide, User Guide and Dev Guide. We will have another look before the release but minor updates expected. 08:47:08 anyone wants to share something? 08:47:23 we have time today 08:47:30 about OpenStack import rule 08:47:35 I have a trivial question 08:47:38 aha 08:47:57 should we follow it strictly? 08:48:19 I think part of it is overhead 08:48:19 yes as much as possible 08:48:21 I think ollivier is pushing for it :) 08:48:32 like import object or module 08:48:33 I know it's hard to only import modules 08:48:47 but one thing to consider is that we don't have those rules in opnfv (we are one of the most tidy projects I would say) 08:48:47 I agree with as much as possible 08:49:13 As much as possible means you should argue if you don't respect it :) 08:49:14 but follow it completely? 08:49:18 ollivier: would you like to propose a patch to be according to that rules? 08:49:28 for example CONST 08:49:38 I think it's pretty conveniento to use 08:49:44 CONST.my_constant 08:49:51 it's simple and short 08:50:02 the same to testcasebase 08:50:02 yes 08:50:07 Bad exemple. I don't like how we use CONST 08:50:21 the same to testcasebase 08:51:29 why not 08:51:32 what would you change? 08:53:10 No testcasebase follows the rule 08:53:49 yes, currently, testcasebase follows the rule 08:53:52 (at least before the last review which could have been reverted) 08:55:15 but I think following the rule to process testcasebase or CONST will looks overhead 08:55:31 the question is: does it necessary to process it like this? 08:55:59 I think import testcasebase directly will be simplier 08:56:58 ollivier: any comment on that? 08:57:44 I don't see the point. Both are quite simple 08:58:17 (I think) 08:58:27 the usage 08:58:46 constants.CONST.attribute vs CONST.attribute 08:59:20 and? there is bigger issues in functest :) 08:59:50 no, I think we are working on an agreement 09:00:09 does it necessary to follow OpenStack rule strictly, no exception 09:00:26 I'm not an expert 09:00:27 or we can be a little flexible 09:00:42 but having CONST.attribute instead of constants.CONST simplifies the code a bit 09:00:48 but I'm not the expert :) 09:00:50 I would say, as we are in the phase of release, how about keeping things as-is (CONST has been spread over the project) 09:00:54 OpenStack doesn't fully follow this rules anyway. But it's fine to follow it if possible 09:01:05 if we want to stick to the rule, we can fix it in the next phase 09:01:23 change what it is currently might introduce regression 09:01:34 so no -1 if it is not a bit violation? 09:01:35 HelenYao: I agree with that, I would like to do major changes now 09:01:38 big 09:02:19 I don't think I voted -1 only for that. 09:02:36 okey 09:02:43 ok 09:03:01 I say that we try to implement that in E-river and have the conversation again 09:03:03 If modules are not ordered, I will 09:03:14 agree 09:03:21 that kind of big violation 09:04:10 agreed with putting the implementation in E-river 09:04:22 have a happy day, folks~ 09:04:40 and another question 09:04:52 should we write unittest from now on? 09:05:29 is the unittest internship almost finished? 09:05:37 I would put it in E-river, whever a new patch, the unit test should be there 09:05:53 SerenaFeng: the unittest is not fully finished 09:06:15 Ashish is mainly working on openstack modules 09:06:26 I think everyone should write unittest... not only Ashish 09:06:28 I think features will be the next phase 09:06:32 have a good day/evening 09:06:35 we are out of time 09:06:40 #endmeeting