aboutsummaryrefslogtreecommitdiffstats
path: root/func
AgeCommit message (Collapse)AuthorFilesLines
2016-08-21Merge "Code refactoring driver so that it can call ansible playbook by api."Yujun Zhang1-41/+55
2016-08-19Merge "Fetch all compute ips via installer Fuel."Yujun Zhang2-2/+174
2016-08-18Fetch all compute ips via installer Fuel.wu.zhihui2-2/+174
1. Fetch all compute ips via installer Fuel. 2. check the machines' ip. if unassigned, assign one of compute's ip to it. if assigned by test case yaml, check the validation. JIRA: QTIP-98 Change-Id: I5517916c594a14055087134d20c1fe4320b6d707 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-08-18Code refactoring driver so that it can call ansible playbook by api.zhifeng.jiang1-41/+55
JIRA:QTIP-99 Change-Id: Id182e586955bd5bc34cef787e71e1b6375c36dc9 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-10Fix Argument ParsingSai Sindhur Malleni1-2/+4
Not making the option -l and -f causes a traceback when checking if -l is a valid directory and -f is a valid file as concatenation is attemtped between string and None type. Signed-off-by: Sai Sindhur Malleni <smalleni@redhat.com> Change-Id: If0ae87cde0e43122b3318f9c3749c05639ac3f36
2016-08-09Merge "Fix the download fail and 'sshkey is not defined' problem in CI."Yujun Zhang1-1/+0
2016-08-06Fix the download fail and 'sshkey is not defined' problem in CI.zhifeng.jiang1-1/+0
modification: Remove the proxy info in zte-pod1 Fix 'sshkey is not defined' problem in CI Change-Id: I291eb03fea3f31cd8b499c6ee86836caa9a0de71 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-03Add parameter attempts in ping_test()wu.zhihui1-5/+7
According to https://build.opnfv.org/ci/job/qtip-fuel-zte-pod1-daily-master/55/consoleText, it need to add attempts for ping test. The default value is 30. Change-Id: Ia6c2628bd88c963374d00ed2c02346c8d7f40c39 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-07-16Fix pep8 errors for all the others python files.zhifeng.jiang1-4/+4
JIRA:QTIP-89 Change-Id: Ida1936dea3bcab6137d039fc2d21dc4df60d9f77 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-15Use local QTIP_CentOS.qcow2 img file.wu.zhihui1-7/+14
Check whether image file exists on local. If yes, use the local file. If no, download it. The benefit is shorten the execute time of CI. Change-Id: Ic9f9e84e85abb9b3adbc42462c136818f1c46767 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-07-13Merge "Add some UT test cases and fix pep8 errors for create_zone"Yujun Zhang1-127/+130
2016-07-12Add some UT test cases and fix pep8 errors for spawn_vmzhifeng.jiang1-282/+279
JIRA:QTIP-89 Change-Id: I2555a0a7a8ffaf6d19cfad88770cd8e378d154b2 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-12Merge "Add some UT test cases and fix pep8 errors for driver"Yujun Zhang1-20/+18
2016-07-10Add some UT test cases and fix pep8 errors for create_zonezhifeng.jiang1-127/+130
JIRA:QTIP-89 Change-Id: Ic5d88a7492f89dbffbed62ce15e3a4e04b4ef2cc Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-10Add some UT test cases and fix pep8 errors for driverzhifeng.jiang1-20/+18
JIRA:QTIP-89 Change-Id: I672ebaf733ec967307963a18f32ca0aa4afc672d Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-08Add some UT test cases and fix pep8 errors for fetchimgzhifeng.jiang1-30/+28
JIRA:QTIP-89 Change-Id: I623cd6e48d90996b0199f9b31f86c8844b4d5ceb Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-08Merge "Schema checking for yaml file in test_cases."Yujun Zhang1-28/+0
2016-07-06Schema checking for yaml file in test_cases.zhifeng.jiang1-28/+0
JIRA: QTIP-25 Change-Id: Ibc3d9d6f5f0606da6a876eae5d4b1c3edefb5b47 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-07-05Add some UT test cases and fix pep8 errors for cli and env_setup.zhifeng.jiang2-127/+126
JIRA:QTIP-89 Change-Id: I4a46898071001f679f1a032a560d605dffc8eb9f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-06-21Run the test only when ping ok and try ping 20 times.zhifeng.jiang2-15/+19
JIRA: QTIP-92 Change-Id: I270deb3b1d930d6805524d10826f5711b3e4787e Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-06-13Fix the pep8 error in qtip.py and validate_yaml.pyzhifeng.jiang1-32/+28
JIRA:QTIP-89 Change-Id: Ifd760f74601dbc3e4d4c55108ed60a634f33cf49 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-06-02Correct the wrong default public network name when install is 'fuel' and ↵zhifeng.jiang1-1/+1
version is 8.0. JIRA:QTIP-83 Change-Id: I2864105e525f095302fd5ddf0e96d2cf76248c1c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-06-01Merge "Read the proxy info from testcase, and set it to hosts when dhrystone ↵Nauman Ahad3-12/+22
benchmarks test."
2016-05-23Read the proxy info from testcase, and set it to hosts when dhrystone ↵zhifeng.jiang3-12/+22
benchmarks test. modification: Write the git_proxy_pbook.yaml to set git proxy info in hosts or vms. Write the sys_proxy_pbook.yaml to set yum apt wget env proxy info in hosts or vms. Change the dhrystone.yaml to include proxy and add the zte-pod1 /compute/dhrystone_bm.yaml.Tested and passed.Other playbooks did not include the proxy yet. I will test and push lately. QTIP-74 Change-Id: Ia820bc32798b9f1f6f4165a111524e04c129a5df Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-05-20Change the args.benchmark which is not defined to benchmarks[items]zhifeng.jiang1-1/+1
QTIP-76 Change-Id: Ia92268f296650331cec9baa876075b2708348ec5 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-02-15qtip: add user name in case of apex and make the changes in ansibleMofassirArif1-1/+1
playbooks to cater for apex. Also reduce the verbosity for runnning ansbile plays. Change-Id: Id3a6da7bea3ede99f8a23e5fd0a2801987f9565b Signed-off-by: MofassirArif <mofassir.arif@xflowresearch.com>
2016-02-09qtip: apex integration, add heat-admin as user for apex nodesMofassirArif1-1/+2
Change-Id: If49136ba8edcaf1d721c4592b61a1b7cd5c79e87 Signed-off-by: MofassirArif <mofassir.arif@xflowresearch.com>
2016-01-28qtip: add condition for switching user to joid.MofassirArif2-3/+17
Change-Id: I9898a4eb21fb197a59fc72686d156eb4ef115388 Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
2016-01-25update: address for testing dbMofassirArif1-1/+1
Change-Id: I48b30fffd1de2512e4f46ee951a85299edc06a1c Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
2016-01-21bug fix: result collection bug fix for docker imagesMofassirArif5-19/+23
Change-Id: Ia4ea09b90c7a4f4e3699af456c6d66e85661cc0b Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
2016-01-18bug fix: make installer specific changes for baremetal. caterMofassirArif1-1/+2
for fuel Change-Id: Ie8c233873041238e3fc1aaaa653653552c7c7428 Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
2016-01-12error handling for the files being input to the framework.MofassirArif4-14/+50
iperf bug fix for the bare metal testing, renamed all the iperf config files. added more detail to the help. Change-Id: I16cfb1c05599cd0b803e735e6a75083e3e6733ec Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
2016-01-11Updated the code to accept compute instead of compute.txtMofassir1-4/+4
Change-Id: I06ce77e04db0e1c7d7de6c16b3a876740099e5ae Signed-off-by: Mofassir <Mofassir_arif@Dellteam.com>
2016-01-06started work on the dashboard APIMofassir1-4/+26
Change-Id: Ifbb16f20ff8a0821b790c0c44a1eae82875f9051 Signed-off-by: Mofassir <Mofassir_arif@Dellteam.com>
2016-01-05I have added the placeholder documentation files andMofassir3-4/+4
folders. They will be editted in time for the release Change-Id: Id69392233399ad536b359da5733dfaa43a602443 Signed-off-by: Mofassir <Mofassir_arif@Dellteam.com>
2016-01-05QTIP Index calculation along with a script to run qtip from dockerNauman_Ahad1-4/+4
Calculation of Result Indices for 1. Compute suite 2. Storage suite 3. Network suite A script to run qtip from inside the docker container (for Jenkins Jobs) Resolved bugs with ssl_trasform.py, sys info collection on ubuntu and system information collection script Change-Id: Ic5abb3dbd0012cd2257b588b1b3067a6677b1f5d Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2015-12-22Restructured QTIP directories and CLIMofassir Arif3-42/+59
I have changed the arguments for the CLI and now QTIP takes a file along withthe name of the lab to run on Right now only the config files for the dell lab have been added, These will increase when we make QTIP available for other labs. I have also added the provision of changing the public network from the config file and some leftover files from previous verisons have been remove Change-Id: Ifeb01d80099eab06dc77a7b2e07097ebb17a13a2 Signed-off-by: Mofassir Arif <Mofassir_arif@dellteam.com>
2015-12-17Script to modify key file permissionsMofassir Arif1-2/+2
I have added a script to change the file permissions of the key files to 600 so that they can be used by the ssh agent The duration of the sshtest has also been reduced to allow the Jenkins Job to run/fail in a reasonable amount of time Change-Id: I5446896619dfba3f3efb600b64628343d6378164 Signed-off-by: Mofassir Arif <Mofassir_arif@dellteam.com>
2015-12-16Removed Root previlagesMofassir Arif5-38/+34
QTIP now uses a key of its own to ssh into VMs The ssh for the baremetal servers still needs work Change-Id: I1aa37e07c4f9b3f7f4902d16cdbf74f39eb6c698 Signed-off-by: Mofassir Arif <Mofassir_arif@dellteam.com> Conflicts: .gitignore
2015-12-16Networking Testcase: Iperf ImplementedMofassir Arif13-76/+98
The ansible playbooks as well as the config files for the iperf throughput testing have been implemented. Some changes have been made to the driver function for the benchmarks. ansible now gets passed a json file. Change-Id: Ibf4c0210ab9f6cbf9896ca69bf2fb6bda8a9925d Signed-off-by: Mofassir Arif <mofassir@gmail.com>
2015-11-05Python Framework for QTIPMofassir Arif16-0/+691
Dhrystone Whetstone and DPI benchmarks have been implemented CLI arguments have been implemented test case are sorted based on category such as compute,network and storage glance and heat client have been used to generate the stack. automatic upload of QTIP image and delete function for existing stack before creating new stack has been implemented system information collecton and result generation has been implemented JIRA: QTIP-17 Signed-off-by: Mofassir Arif <mofassir_arif@dell.com> Change-Id: I4b7b134017723c30c771cc14d2edce33fcb8ba00