17:02:35 #startmeeting rally 17:02:35 Meeting started Tue Dec 23 17:02:35 2014 UTC and is due to finish in 60 minutes. The chair is boris-42. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:02:36 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 17:02:38 The meeting name has been set to 'rally' 17:02:41 hey hey ho 17:02:44 somebody around? 17:02:46 yo 17:02:59 hi 17:03:23 hi 17:03:36 Good evening 17:05:08 Hi! 17:05:20 hi 17:05:20 redixin: around? 17:05:27 boris-42, yep 17:05:56 #Mirantis Rally CI 17:06:03 #topic Mirnatis Rally CI 17:06:13 redixin: could you please provide some update about current state of work 17:07:32 currently we have unittests foy py26 and cli tests vs MOS-5.1 on RallyCI 17:08:01 redixin: btw where is specified task that is run against MOS-5.1? 17:08:22 tox -ecli is run against MOS 17:08:36 redixin: ah so our functional tests 17:08:58 redixin: btw can you make a job that runs tasks (I mean like gate-dsvm-rally-*) 17:09:00 also job for testing fockerfile is done, but not working -_- 17:09:08 redixin: lol 17:09:14 redixin: any chance that get it working? 17:09:17 some strange issues with sqlalchemy versions 17:09:27 redixin: hm interesting 17:09:37 redixin: I rembmeber something related to sqlalchmey and ubuntu 17:09:39 redixin: it seems to me, I saw such error 17:09:43 redixin: we have few questions 17:09:49 redixin: in answersw.launchapd.net 17:10:22 boris-42, which questions? 17:10:42 redixin: somebody wasn't able to install rally 17:10:51 redixin: cause of issues with sqlalchemy on ubuntu 17:11:08 redixin: seems like you are facing the same 17:11:32 boris-42, ok, Ill try to find it 17:11:52 redixin: okay I am looking forward to get this done 17:12:02 redixin: so we will be able to merge dockerfile and keep it working* 17:12:07 redixin: https://review.openstack.org/#/c/141894/1 17:12:35 it seems that problem in setuptools 17:12:54 #topic Fix the world 17:13:02 andreykurilin: redixin https://review.openstack.org/#/c/143687/ this fixed our gates 17:13:19 +2 from me 17:13:38 andreykurilin: redixin it's latest version. I removed copy pasted code, add filter for plugins (so we don't tests in tests. descibed plugins) 17:13:48 andreykurilin: redixin as well now it shows full name of obj 17:14:18 #topic py34 compability 17:14:29 andreykurilin: could you provide update about stuff related to it? 17:14:37 boris-42: sure 17:15:07 last week we start to fix issues related to py3 compatibility 17:15:17 oh, I saw a lot of bugs reported on launchpad about py34 incompatibles 17:15:22 yes) 17:16:05 and list of bugs related to py3k are not full in launchpad 17:16:25 but we already have some promotions 17:16:30 mb we should create one bug "rally is not py34 compatible"? 17:17:00 redixin: nope 17:17:11 redixin: cause various people can work on various issues 17:17:13 redixin: imo, one bug per each issue is more user friendly) 17:17:17 redixin: and they can organize they work better 17:17:46 i thought it may be fixed by one person in one day 17:17:58 redixin: seems like there is a lot of issues 17:18:36 updates of this work are: 17:18:51 1) we found the bug in sqlalchemy and fix it localy 17:19:05 2) fix issues related to iteritems 17:19:33 also, fix for StringIO and basestring are sent for review 17:19:45 https://review.openstack.org/#/c/143585/ 17:19:49 andreykurilin: redixin btw we will need to run "rally using python3" 17:19:50 https://review.openstack.org/#/c/143584/ 17:19:57 I have some ideas 17:20:11 boris-42 ? 17:20:17 what ideas&) 17:20:20 ?) 17:20:31 #topic Improve performance jobs 17:20:42 redixin: andreykurilin I would like to have suffixes in files 17:20:56 rally_py34_keystonev3 17:21:04 rally_py34_keystonev3.yaml 17:21:13 will use rally-gate-dsvm-rally job 17:21:18 will be used by* 17:21:24 and run if it is specified 17:21:32 so 1 our job can run N files 17:21:33 rally_{python_version}_{keystone_version}.yaml? 17:21:53 rally_[{any_from_hardcoded_keys}] 17:22:06 how to parse it? 17:22:14 so just split by _ 17:22:18 first is file name 17:22:23 all others are keys 17:22:45 and we will have set of set of keys that we are supporitng 17:22:52 ok 17:22:59 redixin: this can be done without touching infra 17:23:09 redixin: just fixing ci/* 17:23:35 amaretskiy: can help with formating HTML page for that 17:23:42 redixin: ^ 17:23:55 redixin: thougths? 17:23:58 i can help with html 17:24:42 amaretskiy: so the idea is that HTML should use some dirty ajax checks 17:24:58 yes, i remember we discussed that 17:25:10 i'm going to fix that 17:25:13 andreykurilin: in this case we will have N different reports* 17:25:16 amaretskiy: ^ 17:25:22 amaretskiy: not 1 17:25:37 amaretskiy: we were discussing about cheking "logs" 17:25:49 amaretskiy: but we can use similiar approach here 17:25:50 okay, understood 17:26:00 do you want to request /logs/report1.html, /logs/report2.html and so on, until we get 404? 17:26:01 andreykurilin: ok great 17:26:15 the approach is dirty but there is probably no another way 17:26:26 amaretskiy: yep there is no other way 17:26:31 ok 17:26:34 redixin: yep we will check all files* 17:26:41 redixin: but they will called different 17:27:01 actually we can put results.list.txt with list of available reports 17:27:03 redixin: not 1,2,3,4 but report_py34, report_keystonessl 17:27:05 and so on 17:27:21 redixin: yep we can 17:27:26 redixin: actually this is better way 17:28:27 we can even add some desctiptions to this list, and parse it with js in browser 17:28:35 redixin: yep yep 17:29:10 redixin: good idea 17:29:13 redixin: so can you implement this soon? 17:29:20 redixin: seems like requires a bit bash* 17:29:35 boris-42, I can start this tomorrow, after fixing dockerfile job 17:30:03 boris-42: "a bit" :D 17:30:47 redixin: ok great 17:31:03 redixin: cause it drastically improves ability of our gates 17:31:35 #topic Greatest Validation Refactoring 17:31:50 redixin: andreykurilin amaretskiy msdubov_ soon guys you'll have to review a lot of my code=) 17:32:02 Let me try to introduce you what I am going to do 17:32:18 boris-42: one patch with 100500 LOC again?) 17:32:29 andreykurilin: no 10 patches with 100500 LOC 17:32:33 andreykurilin: in chain=) 17:32:38 :D 17:32:44 andreykurilin: so 17:32:55 1) put in all validators deployment instead of Task 17:33:08 this will allow us to run validations methods without creating Task 17:33:38 2) add validation levels (depending on mode, validator will be different processed) 17:34:14 e.g. it can be performed for all users, 1 user, 1 user per tenant, admin and so on 17:34:21 or be just static 17:34:32 like cheking that required fileds are specified 17:34:38 This will be huge patch 17:34:52 3) Unify validation process between all plugins 17:35:02 so we will use always decorators everywhere 17:35:10 context, scenarios, runners, sla... 17:35:35 4) Make a jsonschema validator (instead of this stuff with "required_field" and number and so on) 17:35:54 So after we implement all this stuff and merge it 17:36:09 We will be able to use "existing users" for benchmarking without admin 17:36:28 andreykurilin: redixin andreykurilin msdubov_ ^ 17:36:52 boris-42: sounds good, but we need a code:) 17:36:53 ok 17:36:58 ok 17:37:15 #topic Adding deployment information to rally task report 17:37:21 amaretskiy: ^ 17:37:52 We can collect all infromation about cloud (like what components we have, what services we are running, hypervisors and so on) 17:38:00 and put it in report 17:38:04 redixin: andreykurilin ^ 17:38:26 sounds good, but i think i did not see that in road map.... 17:38:44 amaretskiy: it is new requred 17:38:46 request 17:38:47 amaretskiy, we can put it there:) 17:38:48 ok 17:38:52 sounds very good 17:38:56 amaretskiy: I didn't have a chance to add it 17:39:00 i'm ready :) 17:39:01 amaretskiy: but I will 17:39:08 amaretskiy: so put it to your notes 17:39:11 ok 17:39:26 amaretskiy: but please first provide fixes for current report that you have in notes 17:39:36 amaretskiy: especially with displaying erros on graphs 17:39:47 okay 17:39:51 #topic FREE discussion 17:39:59 there is a big list of notes :) 17:40:03 anybody wants to discuss antyhing?) 17:40:09 boris-42: I have a question about collection of cloud information 17:40:17 andreykurilin: sure 17:40:56 let's discuss "abstract classes are evil in most cases for rally" 17:41:09 boris-42: do you propose to collect it during task launch and store it there, ot have a one infor for deployment? 17:42:00 amaretskiy: why you think so?) 17:42:12 andreykurilin: I belive that it should be "rally deployment create" 17:42:27 andreykurilin: so we will store this info in Deployment table 17:42:33 1) can not check arguments 2) no hooks 3) no tests 17:42:59 my proposal is "duck typing way" 17:43:15 boris-42: but what will happened if clound structure will change? user will not change deployment config, because credentials are left the same 17:44:15 andreykurilin: hm yep you are right 17:44:29 andreykurilin: but collecting on every run can produce various issues... 17:44:44 andreykurilin: maybe we need to add some argument to "task"? 17:44:58 andreykurilin: rally task start --with-deployment-info 17:45:01 andreykurilin: ? 17:45:14 boris-42: hm..yeah, it can fix the issues 17:45:24 andreykurilin: but it adds new arugment that suxx 17:46:15 boris-42: or we can check the structure before launching task and if it changed-change info in deployment object 17:47:45 amaretskiy: 2-3) what tests and hooks do you want?) 17:49:09 andreykurilin: take a look at https://review.openstack.org/#/c/103306/96/rally/benchmark/wrappers/network.py,cm 17:49:33 and consider how to test https://review.openstack.org/#/c/103306/96/rally/benchmark/wrappers/network.py,cm 17:49:46 at least how to do this in good manner 17:49:58 andreykurilin: I agree with amaretskiy 17:50:03 and now take a look at https://review.openstack.org/#/c/103306/89/rally/benchmark/services/network.py,cm 17:50:06 That testing abstract class is some kind of hell 17:50:18 see this - we verify arguments 17:50:25 and we can put hooks 17:50:31 if we want hooks 17:50:53 so duck typing is no extra code but a lot of extra flexoibility + tests 17:50:58 *flexibility 17:51:13 but 17:51:18 we can use abc 17:51:30 if we provide some classes to user implementation 17:51:58 but users usually do not implement something out of our code base 17:52:33 usually we create few classes and review them via gerrit 17:53:07 and duck typing also checks the implementation 17:53:21 so, what do you think? 17:53:22 amaretskiy, boris-42: If our abstarct class is not huge, I don't see any problems with testing it, just create FakeImplementaionOfOurClass and test it 17:53:59 andreykurilin: this way is real but huge - why do we need it? 17:54:26 andreykurilin just try to really test each abstract method 17:54:38 and you will se a number of LOC 17:55:48 abstract classes even not a language item - that is an extra feature provided by module 17:56:05 amaretskiy: imo, if we implement some FakeImplementation, we can check every method of original abstract class. if we don't use abstarct class(use implementation from 89 patch set), we cannot test methods which launch unexisten methods 17:56:38 andreykurilin: amaretskiy there is only one issue without abstracclasses 17:56:50 andreykurilin: what if FakeImplementation will implement non-abstarct methods? 17:56:59 how we will check that? 17:56:59 andreykurilin: amaretskiy we need to ensure that we implemented extactly "interface" method 17:57:11 andreykurilin: amaretskiy without typos 17:57:15 otherwise it's hell 17:57:46 and what about hooks? 17:57:55 do we need it now?) 17:57:57 andreykurilin: you mean call _method? 17:58:06 boris-42: yes 17:58:07 amaretskiy: ^ 17:58:17 amaretskiy: andreykurilin looks dirty 17:58:19 https://review.openstack.org/#/c/103306/89/rally/benchmark/services/network.py,cm 17:58:21 but fix situtation 17:58:32 if we put something between L59-60 17:59:04 and after 60 (move return) 17:59:11 amaretski: we can do it, when we will need it 17:59:13 so we have a wrapper 17:59:43 andreykurilin: id need: 1) abc - reimplementation 2) ducktyping: ready 17:59:51 * morganfainberg waves at boris-42 17:59:53 amaretskiy: andreykurilin let's continue discussion 17:59:53 s/id/if/ 17:59:59 in rally 18:00:02 #endmeeting