Age | Commit message (Collapse) | Author | Files | Lines |
|
Qtip will use benchmarks/perftest/.
JIRA: QTIP-131
Change-Id: Icef41b6bcdcb835d76e8e412dd865d1f156f1455
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
|
|
1. update SampleHeat.yaml
2. No need to fetch private key file my_key.pem.
3. remove keypair value from spawn_vm_test.py
4. cleanup redundant code.
Change-Id: Id7ccdbae5b88c86ebff7518710b6c91ab4281c53
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
|
|
1. Automaticly genegrate private key files.
2. remove the key files in repo at last.
3. remove public key from authorized_keys of compute hosts.
JIRA: QTIP-110
Change-Id: Ie22f3f195edf650e690a2ed69df1af191953068f
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
Directory benchmarks/suite will be used instead of test_list.
JIRA: QTIP-131
Change-Id: I2c1f534b72361cb2e6469463ef5e43714d6dc993
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
qtip
!
+---- scripts
! !
! +----ref_result # python scripts to generate results report
! +----fetch_compute_ips.sh
! +----fetch_os_creds.sh
! +----file_permission.sh
! +----get_env_info.sh
! +----qtip_creds.sh
! +----ssh_exch.exp
!
+---- config
! !
! +---- Qtip_key
! +---- Qtip_key.pub
! +---- SampleHeat.yaml
!
+---- utils
! !
! +---- logger_utils.py
! +---- report # generate pdf report file
Change-Id: Ia908ff31494369c1a13fb88b1ff9b0e5681f8e29
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
In qtip container, env HOME is changed to /home/opnfv.
'~/.ssh/known_hosts' need be specified to '/root/.ssh/known_hosts'
in ssh_test().
Change-Id: I902699164c0fb6a06e0253020bf701e206cfd166
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
|
|
Change-Id: Idf41a5cb02bdb59e6e5d107fa0734091fd9c8a91
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
|
|
1. simply the process of creating aggregates in create_zones.py.
2. before creating aggregates, it will clean all aggregates firstly.
TODO:
It should clean up the created aggregates. It needs a big structure
modification in args_handler.py. Let's do it step by step.
Change-Id: I31e09e917ba83d4676f7f95d9f5186bce8d2a449
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
Change-Id: I7e3d08adc47304d8174a1706f87e6c4ae430ae34
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
We should use correct words for naming.
Change-Id: Ia1ec690fca62259b5f226e2d6941a507cc61786e
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
class name should be CamelCase
Change-Id: I3b68b14483a475499baf832eb1af93ecca171b14
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
|
|
JIRA: QTIP-104
Change-Id: I4413d1e2670192b86af0aad62fb2752d2709fa14
Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
|
|
Change-Id: I6034b3735ebf412ef4c11c837a42f121161a70b2
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
|
|
|
|
1. Add prepare_qtip_image.sh to prepare qtip image before qtip test.
2. Add cleanup_qtip_image.sh to clean up qtip image after finishing
qtip test.
Both of them are invoked in run_qtip.sh
Change-Id: Iba892a2e02e31820ed0525f80a4e2885899557e0
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
Change-Id: I92c937eaadf5adfa4a8eced5b95af26612d7c523
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
JIRA:QTIP-99
Change-Id: I875ad52bc69a843e39deb92ad45da90c2e737aae
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
|
|
|
|
log the output information to both file and console, and
unify the log file path and level
JIRA: QTIP-108
Change-Id: I3a881e9da1f74c6959250a94f05cf90a231c34e6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
modification:
Call ansible async in restful server post api
Set the job state 'finished' when finish benchmark test
Terminate the next benchmark in restful server delete api
job result will be in next commit
JIRA:QTIP-97
Change-Id: I252482dddd9b35ba33f992e8ea19037d8919fad6
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
JIRA: QTIP-105
Change-Id: I08108a982f9059fd19b92df0d219fa8f13f288ad
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
modification:
get privatedip1 var when role is '2-host'
run on localhost once instead of twice
Change-Id: I4155f2d0c45208c4a2a0e2844fdf87acb5c8575e
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
According the qtip ci results, make these bugfixs.
1. skipping: no hosts matched
This used to work in Ansible 1.9.x with 127.0.0.1;But does not work in Asible 2.x
solved: add 127.0.0.1 as localhost in ./data/hosts
2. Using bare variables is deprecated.
solved: update playbook
3. use git module
4. To save time, turning Off Facts on localhost.
Since https://gerrit.opnfv.org/gerrit/#/c/20661/ is under codereview,
for qtip ci job, I temporarily modify function write_to_file() in
env_setup.py.
Change-Id: I71a08ebf87cd8c8d851a3f8f760e29e8725f0e0f
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
restful server"
|
|
modification:
Change os environments to parameters in driver.py
Pass the parameters in cli.py and arg_handler.py
JIRA:QTIP-97
Change-Id: Id67acb7e0ac46fa9e0e32481e947055b6d37dd95
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
|
|
JIRA:QTIP-99
Change-Id: Ife53a48d4af1fd3c60efc0673611321b3bc487a7
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
Change-Id: I6d7f598b7b8d2dbb987f0c82abb9831b2fd782a5
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
According to https://build.opnfv.org/ci/job/qtip-fuel-zte-pod2-daily
-master/13/consoleFull,
ERROR! the playbook: ./benchmarks/playbooks/dhrystone.yaml--private-key=./data/QtipKey could not be found
miss a whitespace in the playbook command.
Change-Id: Id5fea085eb3e24e4105f20ec800d4a07478fb383
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
Change-Id: Ia9ab50f8990659d4657e67f38ece72d5eb47f4d9
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
|
|
|
|
modification:
Move function in cli.py to args_handler.py
Add unit test for args_handler.py
Add unit test for cli.py
Delete print in driver.py to pass unit test
JIRA:QTIP-99
Change-Id: Ib670d7dff494f3e04cdbe1de5c247d382b1052c1
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
modification:
Add ansible_api so that we can get ansible running results easily.
Add UT for ansible_api.py
JIRA:QTIP-99
Change-Id: I6e7b0b97e4d9ef184978833c61c17e944c1eb20c
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
|
|
|
|
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>
|
|
JIRA:QTIP-99
Change-Id: Id182e586955bd5bc34cef787e71e1b6375c36dc9
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
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
|
|
|
|
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>
|
|
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>
|
|
JIRA:QTIP-89
Change-Id: Ida1936dea3bcab6137d039fc2d21dc4df60d9f77
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
|
|
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>
|