summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-02Increase retries and decrease threads to make build more stableZhijiang Hu1-1/+3
Change-Id: Idb8d4f64a1799cfdf80401e4dc5b3f24caa7a04b Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-02Merge "Support build OVS+DPDK images"Zhijiang Hu1-2/+32
2017-10-30Missing parameters in tempestAlex Yang2-13/+14
In patch 45763, client parameters were missed in some functions. Change-Id: Id311e9ee6c0f7b24fe81832e2de9787e4f5693d7 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-10-30Support build OVS+DPDK imagesZhijiang Hu1-2/+32
Change-Id: Ife79062ff702ba281777f3741a56ac188e98ebec Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-28Bugfix for using sha512sum to check kolla imageZhijiang Hu1-1/+1
Change-Id: I26c6fc8a104752c3e65d5b6a19403692493ab44a Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-27Build kolla image in VMZhijiang Hu3-252/+474
This PS: 1. Build kolla image in VM 2. Use sha512sum to check kolla image 3. Delete suffix dot when there is no ext_tag Change-Id: I94d99e3ff69c47cc247051fae812bfdb29ff0246 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-26Merge "Support work dir and jobname parameter"Zhijiang Hu1-4/+29
2017-10-26Support work dir and jobname parameterZhijiang Hu1-4/+29
Change-Id: I6ce45197e01d278a41b9472d0bb92f037ab7d0c6 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-26Merge "Update artifacts url"Zhijiang Hu3-3/+3
2017-10-26Update artifacts urlJulien3-3/+3
Use artifacts.opnfv.org intead of other urls Change-Id: I9a04d89cfbb8ee3c1296cff4a60180ae3248f1f2 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2017-10-26Merge "Skip recreate Daisy server VM if it exists in python"Zhijiang Hu6-56/+94
2017-10-26Merge "Add the unit test file test_tempest.py"Zhijiang Hu4-26/+513
2017-10-19Add the unit test file test_tempest.pyzhongjun4-26/+513
1.Add the unit test file test_tempest.py and related test data file daisyrc_admin, test stub file daisyclient_stub.py for tempest.py 2.modify the tempest.py to adapt the unit test. Change-Id: Ice92ed5a01a049a1a828f7f9e13979bda4b026b7 Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-10-19Merge "remove unused null value of assigned network"Zhijiang Hu2-25/+25
2017-10-18Skip recreate Daisy server VM if it exists in pythonAlex Yang6-56/+94
Do not recreate daisy server if it exists. Reference to the bash code in patch [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/40337/ Change-Id: If472c59ea180e550f358af4a3a9c7b42e575eddc Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-10-16Merge "Add -allow-limited-size to mkisofs"Zhijiang Hu1-1/+1
2017-10-13Merge "Support securelab dir param in python script"Zhijiang Hu2-37/+34
2017-10-13remove unused null value of assigned networkzhouya2-25/+25
change 'map' reserved keyword of python to regular variable Change-Id: I077eca363c095d0596fcd06bbad2e442050cb264 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-10-12Support securelab dir param in python scriptAlex Yang2-37/+34
Change-Id: I39d6643aac190820ae30b945f71d21a0ea2e73c9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-10-12add functest guide doczhouya2-0/+32
Change-Id: I615908c95526a982d901ea1186da573e2cc030d9 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-10-12Add -allow-limited-size to mkisofsZhijiang Hu1-1/+1
Otherwise, we encountered: File target/el7/noarch/opnfv-2017-10-11_09-58-21.bin is larger than 4GiB-1. -allow-limited-size was not specified. There is no way do represent this file size. Aborting. Change-Id: Ied43c9e0c0e635ff52740c18b3b3001a4e6a3604 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-12Merge "Mock sleep() to accelerate the unit test"Zhijiang Hu2-0/+8
2017-10-12Merge "Add unit test file test_libvirt_utils.py"Zhijiang Hu1-0/+157
2017-10-12Mock sleep() to accelerate the unit testAlex Yang2-0/+8
Change-Id: I664ba714ab4094754fa3d71587da8536555a02ce Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-10-11Add unit test file test_libvirt_utils.pyzhongjun1-0/+157
Add the unit test file test_libvirt_utils.py Change-Id: Id5c44bd3683183367439486fbea8dba03ccb8bb7 Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-10-10Merge "Create iso file during build"Zhijiang Hu3-7/+12
2017-10-09Merge changes from topic 'unittest2'Zhijiang Hu14-76/+930
* changes: Add more test function and case in test_utils.py Add more test cases in test_deploy.py
2017-10-08Create iso file during buildZhijiang Hu3-7/+12
Change-Id: I6ddfe8e291ea8f6d673bd82c4df310d63f61a130 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-29Exit deploy when exception occurredAlex Yang2-0/+9
Exception occurred in [1]. But te deployment didn't stop and blocked for a long time. [1] https://build.opnfv.org/ci/job/daisy-deploy-baremetal-daily-master/169/ Change-Id: I0d5639da1e0d011855df0b0651328f11168e5d01 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-29Add more test function and case in test_utils.pyzhongjun9-61/+584
Add more test functions and test case in test_utils.py, test_daisy_server.py and test_environment.py. Change-Id: I7e4ea6993205e1d2f7cc8202820a3ada99613910 Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-09-28Merge "Switch to upstream daisy's master branch"Zhijiang Hu1-1/+1
2017-09-26Switch to upstream daisy's master branchZhijiang Hu1-1/+1
Change-Id: I7a88d8b65168356420aee2042ac3902834633477 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-27Merge "Fix delete_virtual_network function call"Zhijiang Hu1-1/+1
2017-09-27Add more test cases in test_deploy.pyzhongjun6-18/+349
Add more test cases in test_deploy.py and test_environment.py Change-Id: I6adf3f51aa7a436387c2da8a8dc8c67f6e5a70db Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-09-26securelab parameter bug fixZhijiang Hu3-24/+37
This is a bug fix of 02e1f1c8ab3f3857ca2370f98575ccbf41f12a01 Change-Id: I628c5e33a76bc28e0af139e338b29a7393700525 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-26Fix delete_virtual_network function callzhongjun1-1/+1
create_daisy_server_network method in VirtualEnvironment class calls self.delete_virtual_network, but it doesn't exist, actually it should be delete_virtual_network function in module libvirt_utils.py. Change-Id: I381e916097744827a22d311b275611df38d8e1be Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-09-26Fix unittestAlex Yang2-2/+3
Change-Id: I82086b85da488e183589af7b4adbd6c80835c039 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-26Merge "Add some unittest files such as test_nova.py"Zhijiang Hu9-16/+939
2017-09-25Merge "Use pxe bridge to replace the bridge in VM template"Zhijiang Hu4-13/+42
2017-09-25Merge "Support passing securelab dir as a optional param"Zhijiang Hu1-4/+10
2017-09-24Support passing securelab dir as a optional paramZhijiang Hu1-4/+10
Change-Id: I5caadb42b3890858e7642a5fd260392370dbbfc8 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-09-21Add some unittest files such as test_nova.pyzhongjun9-16/+939
1.Add test_glance.py, test_neutron.py and test_nova.py unittest files, and modify the neutron.py to adapt the unittest. 2.Add some unittest functions in test_post_execute.py, test_deploy.py, test_keystoneauth.py. 3.rename test_prepare_execure.py to test_prepare_execute.py. Change-Id: Ie0640d133e27c558648416a6a5cf044a00ffa67f Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-09-21Use pxe bridge to replace the bridge in VM templateAlex Yang4-13/+42
1. Eliminate hard code about pxe bridge 2. Replace the bridge in daisy VM template with the pxe bridge provided by jenkins Change-Id: I7a8463181847417d10705ce9ff4db6e68d505c6d Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-20Merge "Some optimizations about unit test"Alex Yang3-28/+26
2017-09-20Merge "Add the pytest file test_environment.py"Alex Yang4-1/+771
2017-09-18Add the pytest file test_environment.pyzhongjun4-1/+771
1.Add the pytest file test_enviroment.py 2.Add the pytest file test_daisy_server.py Change-Id: If679c3a7279a915d078dd3008bcfc56be6dccc3e Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-09-18Some optimizations about unit testAlex Yang3-28/+26
Remove some "if/else". Rename a variables and a file. Split a testcase in two cases. Change-Id: Ic107845ac8eff41ba20e1501c93925586d6cbde9 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-09-18Merge "Use virsh reset instead of reboot"Alex Yang1-2/+2
2017-09-16Merge "Update doc content for Euphrates"Alex Yang3-13/+12
2017-09-16Use virsh reset instead of rebootAlex Yang1-2/+2
Sometimes the VMs do not reboot when using "virsh reboot". The virtual depoyment CI jobs failed recently. Change-Id: Id8b3ef638a7ba8f584c6e4c03d11e77d2919a35b Signed-off-by: Alex Yang <yangyang1@zte.com.cn>