aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci
AgeCommit message (Collapse)AuthorFilesLines
2018-04-13Revert "delete the code which will not included in Fraser"zhihui wu1-0/+27
This reverts commit b34030013f9af4c40fd79850a85957c842e76595. Change-Id: Ief09eaa4b009a47d7509f548fc1117bb4839d2ba Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-04-08delete the code which will not included in Fraserzhihui wu1-27/+0
- legacy code - the function of network test isn't completed. - outdated documents Change-Id: Id59d35f6985d876ef09aef0845dde38ae19b589a Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-03-20A initial CI script for network testzhihui wu2-0/+29
This is a initial CI script for network test. For now it verifies the containers can be correctly launched. Change-Id: I418716a69efa5c784b300d0d8b5ce0d0823d11db Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-03-15mount a ubuntu 16.04 image into qtip containerzhihui wu2-0/+2
Downloading image time can be saved. Change-Id: I71de2cd14bdc0f279a75bfeffe959a603e8a7026 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-03-15fix an error in the ci scriptzhihui wu1-1/+1
Error: No such container: storage_qtip_.[1] [1] https://build.opnfv.org/ci/view/qtip/job/qtip-storage-apex-zte-virtual5-master/16/console Change-Id: Icaa1e9ad60a2ccf3c02f26340e88811c57512bf9 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-03-13run storage test without "-u".zhihui wu1-1/+5
https://build.opnfv.org/ci/view/qtip/job/qtip-storage-apex-zte-virtual5-master/13/console Change-Id: Id335a2ea36df7553180660bf1f1680354c73266d Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-03-01bugfix about sutzhihui wu3-7/+8
1. currently experimental job only runs against vnf 2. bugfix: for qtip Renaming a container with the same name as its current name 3. update quickstart.sh usage Change-Id: I363fcfdb4199b3ddc408fdf3c54b11cdf62fa728 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-02-27Delete the hardcoding parameter "sut_type"zhihui wu2-5/+5
SUT already can be passed from CLI. Change-Id: I3ff68ebf94ce25dfc0a42964cf1aafc8e58da4b6 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2018-01-17change the test suite for experimental jobzhihui wu1-1/+1
The experimental job is executed on zte-virtual6. And zte-virtual6 is deployed by mcp(fuel), storage test doesn't support mcp, so I change the test suite from "storage" to "compute". Change-Id: Id11dcc3344a0d06fdb3be2f058a519d1407736ac Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-12-06bugfix: error in sed expressionzhihui wu1-2/+2
Refer to https://build.opnfv.org/ci/view/qtip/job/qtip-compute-apex-zte-virtual5-master/12/console Change-Id: I81991ce36a2827e614fb77ceb9276c444cc1c004 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-11-24distinguish fuel and mcp in ci scriptszhihui wu1-0/+5
Because ci parameter still use fuel to represent mcp, but they are two different installers for qtip. Distinguish them in qtip ci scripts. Change-Id: I74165da39a607c26464ced04e1ad3ca4ed4e40e5 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-10-03Lookup in enviroment for OPNFV release nameYujun Zhang1-0/+1
this is used in testapi reporting Change-Id: If0a2ef1d406544f5c8648fb653ff6c2334abf5e8 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-30Merge "Revert "Enable test result pushing in periodic job""Yujun Zhang1-2/+0
2017-09-30Revert "Enable test result pushing in periodic job"Yujun Zhang1-2/+0
This reverts commit 90ff55b51817c23d5070765435c69b585bd184fd. Change-Id: I4dccc70869956e1f852230bc867538a5365903dd Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-30Merge "Disable tty in CI scripts to remove color in ansible output"Yujun Zhang2-2/+2
2017-09-29Enable test result pushing in periodic jobYujun Zhang1-0/+2
Change-Id: I06629a3155c1a49e79f618afab29591578354b54 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-29Disable tty in CI scripts to remove color in ansible outputYujun Zhang2-2/+2
This will make the console log more readable Change-Id: Ia577d243d52449f580d34002e2052fa024e0f20d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-16Fix error in compute docker compose fileYujun Zhang1-1/+2
Change-Id: I7b002155214d3e81912c41aa28c7691681cff20c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-16Fix script path errorYujun Zhang1-1/+1
Change-Id: I4b0e278d25604afa2a7fae43bf95554dfa5d21ad Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-16Fix error in CI jobYujun Zhang1-0/+2
Add /root/.ssh/ as SSH_CREDENTIALS Change-Id: I9b9c8701be6245715644a11916a8f7df97ba5d0f Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-13Refactor CI scriptsYujun Zhang8-234/+55
- Move scripts executed inside container to qtip/scripts - tests/ci is limited to setup the environment and start services Change-Id: I454c715890601c6c6472006c2f0f6131695c2f51 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-09-08Use minimal outputYujun Zhang1-1/+1
Easier to read the log message Change-Id: I49d61aa666a261e3e3bf3795cfe4341dca865dcb Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-28Use legacy storperf images instead of master branchYujun Zhang1-4/+4
The master branch of storperf is under refactoring and not stable enough for integration. It introduces microservices and some linked images is not built yet, e.g. storperf-graphite[1] which is required by storperf-master is empty [1] https://hub.docker.com/r/opnfv/storperf-graphite Change-Id: Ie8522dae9073d163872be5742a290fd003698442 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-26Refactor storperf testing scripts into ansible roleYujun Zhang11-278/+56
Change-Id: Ifbfe0818a528dbd9b2c176acf39450ca480e931a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-26Skip container and docker image clean upYujun Zhang2-27/+8
- This helps to use the cache on CI pod and reduce build time. - Dangling containers and docker images will be cleaned up in a separate periodic job. Change-Id: Ifa756714698c71b8dde0cbe089661936e94e8a17 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-23Some Optimizationszhihui wu4-64/+31
- remove container and image without -f - remove duplicated code from verify_storage.sh, replaced by the script launch_containers_by_testsuite.sh - move the common sentences from periodic.sh to launch_containers_by_testsuite.sh - add 'QTIP' as prompt for print messages Change-Id: Ia9aa61a3b60c1049af3499a06f2c6cd0dc181552 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-22Setup CI job for storage benchmarking on apexzhihui wu3-48/+85
The script "launch_containers_by_testsuites.sh" helps to launch containers according to TEST_SUITE. e.g. compute or storage. JIRA: QTIP-265 Change-Id: Ib7210d68600cc092e3322ddaab4cdf7913428647 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-18Merge "refactor storperf scripts structure"Yujun Zhang10-1/+378
2017-08-18Merge "Fix compute CI job"Yujun Zhang1-9/+2
2017-08-18refactor storperf scripts structurezhihui wu10-1/+378
- Run qtip and storperf containers by docker-compose - Cope the current patch changes into qtip container for verification - Run the script run_storage_qpi.sh for storperf test Change-Id: Ic140fb7531d270b9c62bcd72f5dbc13917534daf Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-08-17Fix compute CI jobYujun Zhang1-9/+2
Change-Id: I86b2638b7e6ba2e8c4c6ba98b4cad8506d9d5c7c Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-16Create entry script for CIYujun Zhang1-0/+3
Change-Id: I2ff57203d298e33b8c390b59aea9866e1f607e23 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-16compute-qpi CI scriptszhihui wu2-12/+85
- Move compute-qpi ci scripts in releng repos to qtip repos. - Support apex - Introduce TEST_SUITE JIRA: QTIP-65 Change-Id: I3633463e1bb5226ebcaffb4b53a3c56b433f6efb Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-07-13add a handling process when testapi_url is Nonezhihui wu1-1/+5
Change-Id: Ic1a27a0b9328f0343d6df51d863bf1ad1eb15992 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-07-07Add an testapi_url option in the ci scriptzhihui wu1-3/+5
Change-Id: I9eca0054eb00e1279df9853cb7624bd4586c2195 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-06-05Beautify the argument namesYujun Zhang1-2/+2
- keep the argument consisten with OPNFV convention - installer-ip is not used because in fact we use host address instead - remove optional argurment from prompt Change-Id: I3db3cf53b62cc86e143bc59a7dd8bb83d0f74b7d Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-25Add support for create new project from different templatesYujun Zhang1-1/+1
Change-Id: Ic260c59b12eb9882406d6172311f2e401963c64b Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-23update run_ci.shzhihui wu1-1/+3
- change "qtip workspace create" to "qtip create" - set pod_name and scenario from env if not provided by user as options Change-Id: I0a7e1923c6e45a263147dd2f87a6a75c3751c65c Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-05-16Switch to qtip-cli for ci jobYujun Zhang1-3/+3
Change-Id: Id485803a56a89ef1dd80d3597bcc10e7d70cd87a Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-05-11The script for CIzhihui wu1-0/+91
- The script includes all steps to trigger QTIP test On CI. - Add a dependency iputils-ping for command "ping" Change-Id: Ia7712cc9eedf227686896e2a38f3b8baf03d7397 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>