Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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>
|
|
|
|
|
|
|
|
change 'map' reserved keyword of python to regular variable
Change-Id: I077eca363c095d0596fcd06bbad2e442050cb264
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
Change-Id: I39d6643aac190820ae30b945f71d21a0ea2e73c9
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Change-Id: I615908c95526a982d901ea1186da573e2cc030d9
Signed-off-by: zhouya <zhou.ya@zte.com.cn>
|
|
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>
|
|
|
|
|
|
Change-Id: I664ba714ab4094754fa3d71587da8536555a02ce
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Add the unit test file test_libvirt_utils.py
Change-Id: Id5c44bd3683183367439486fbea8dba03ccb8bb7
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
|
|
* changes:
Add more test function and case in test_utils.py
Add more test cases in test_deploy.py
|
|
Change-Id: I6ddfe8e291ea8f6d673bd82c4df310d63f61a130
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
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>
|
|
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>
|
|
|
|
Change-Id: I7a88d8b65168356420aee2042ac3902834633477
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
Add more test cases in test_deploy.py and test_environment.py
Change-Id: I6adf3f51aa7a436387c2da8a8dc8c67f6e5a70db
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
This is a bug fix of 02e1f1c8ab3f3857ca2370f98575ccbf41f12a01
Change-Id: I628c5e33a76bc28e0af139e338b29a7393700525
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
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>
|
|
Change-Id: I82086b85da488e183589af7b4adbd6c80835c039
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
|
|
|
|
Change-Id: I5caadb42b3890858e7642a5fd260392370dbbfc8
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
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>
|
|
|
|
|
|
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>
|
|
Change-Id: Ide23a73bd0f610bf949431538e64788c2dae0e12
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|
|
Change-Id: I642d130566137dff727b7227658afe6ace9473d6
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
(cherry picked from commit 94d3957c5aba2db70d06929ac9538280a71c6641)
|
|
|
|
Change-Id: I642d130566137dff727b7227658afe6ace9473d6
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
Change-Id: I03c283222060677f7ce7b5ddb0241db78e52b481
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
1.add the pytest file test_deploy.py
2.fix the tmpfile clearup issue.
Change-Id: I3a7e0f9199f1bf518b332fd3e9884c8f084575ae
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
|
|
Change-Id: I6514292b16c784ced0dcb82d639fe10b425d63e2
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
Change-Id: I08844b899de2dba539b3c3942345f83d1ac3c198
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
Since mac_address_map is always avaliable, there is no need to
pass host_name into add_hosts_interface() and use zip() to do
strange combination any more.
This change:
1) Is trying to make code more understandable
2) Also delete a unused parameter for add_host_role()
Change-Id: Icef47cdf7f1a1522600b351f6e2f47d6f62efa9f
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
|
|
|