aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2017-03-22correct the path of .ansible.cfgwu.zhihui1-1/+1
In qtip container, /home/opnfv/ is HOME path. So the customized .ansible.cfg should be put under this directory. Change-Id: Ie0cddab9dac72fc45c14d7d3652b6863c5748260 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-13Add aarch64 patchCristina Pauna1-0/+33
This commit adds a patch that can be applied to the Dockerfile to adapt it for aarch64. When applied from releng, a new Dockerfile.aarch64 is created and an aarch64 qtip image is created. The aarch64 qtip image will be build with the releng fix https://gerrit.opnfv.org/gerrit/30181 JIRA: ARMBAND-219 Change-Id: I551ae7fa1d7fc23c6e5f6381d605b0b22dbec695 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-03-11Miss \ in Dockerfilewu.zhihui1-1/+1
https://build.opnfv.org/ci/view/qtip/job/qtip-docker-build-push-master/250/console Change-Id: If6d76c6a27cc61a1b3d468751932e21d32dff277 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-10Add missing softwareswu.zhihui1-0/+2
Install iputils-ping for ping and rsync for synchronizing files and directories. Change-Id: I93ba44bcb04948bbe846fb179dc673aa86a6a92a Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-03-01Install latest requirment packageswu.zhihui1-1/+4
When I debug code in qtip container, I found the version of paramiko(1.16.0) is outdated. There is a bug based on this version.[1] Solution: 1. Pip install qtip requirment packages with -U. 2. Update dependent packages.[2][3] And docker image is built successfully on local. [1] http://stackoverflow.com/questions/42029415/ paramiko-futurewarning-ctr-mode-needs-counter-parameter [2] http://www.paramiko.org/installing.html [3] https://cryptography.io/en/latest/installation/ Change-Id: I9d90c49f7cf3048f4717a76ffcb19dab68a687d4 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-16Update Dockerfilewu.zhihui3-0/+82
- update OS version to 16.04 - update pip version JIRA: QTIP-202 Change-Id: Iba90e4b354f2ddb9e1cbc1da191be6b1b6f6a042 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-01-11Reorganize the project foldersYujun Zhang8-211/+0
Code from Brahmaputra is no longer maintained, including: - docker - playbooks - scripts - utils They are moved to legacy folder to avoid unnecessary confusion to new developers. Change-Id: Ia50383ca5c3bd82571eb7b2184e7f83e264ff8a7 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-12-14bugfix: solve upgrade setuptools failed problemSerenaFeng1-1/+1
Change-Id: Id699224c35992a9f203b2ca5ad57300211e1b1eb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-13bugfix: qtip install failed in docker modeSerenaFeng1-0/+2
error message: ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/dist-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute Change-Id: I3dea0ea87b20556e286bc52315148d7376911803 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-12-07correct the path in push_db.shwu.zhihui1-1/+1
See link https://build.opnfv.org/ci/view/qtip/job/qtip-fuel-zte-pod3-daily-master/52/console for details. Change-Id: If8ab7763e669e5f9184455a0e65173fd95428d27 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-12-05[QTIP-157]fix docker build jobwu.zhihui1-9/+4
Bugfix task QTIP-157. Add agrument BRANCH in Dockerfile. JIRA: QTIP-157 Change-Id: I5558c23dde948e28f9c989bee7f4a42dc886f5a1 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-12-05bugfix in run_qtip.shwu.zhihui1-1/+1
Forgot to set ${QTIP} to qtip/run.py Change-Id: If57e58cc21d2ecfb32070bbeedab9aa3cc76551d Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-26bugfix: recovery qtip CIwu.zhihui1-1/+1
https://build.opnfv.org/ci/job/qtip-fuel-zte-pod3-daily-master/40/console - move qtip.py to qtip/ - modifity docker/run_qtip.sh Change-Id: I9ec155c125f4be41e794142d0545d5cc54a1c6b3 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-11-24Use `pbr` for setup configurationYujun Zhang1-6/+8
- `pbr` does a bunch of things[1] and is used widely in OpenStack - moved legacy `qtip.py` to scripts in order to keep the project folder clean [1]: http://docs.openstack.org/developer/pbr/#what-it-does Change-Id: I6a9b83883283eaa527e2c3d4cd8d221ee6efca41 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-11-16Bugfix: Correct the path in supervisord.confzhifeng.jiang1-1/+1
JIRA:QTIP-157 Change-Id: I640204d05df9df3cdcae1f43668ad292935869ce Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-11-05Remove results directory out of reposwu.zhihui1-0/+2
Delete results directory from qtip repos. And the results files will be stored under /home/opnfv/qtip/results. Change-Id: Ie1091e60eb77068c20a9095f0f85454f18173872 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-10-26Merge "Update docker information"Yujun Zhang2-1/+12
2016-10-26Update docker informationYujun Zhang2-1/+12
- Original maintainer retires from the team - Add README.md[1] from which docker hub will pull the full description [1] https://docs.docker.com/docker-hub/builds/#/understand-the-build-process Change-Id: Ib3aa926bf7a46430d09c72493f8cf73cac73b843 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2016-10-26Merge "Remove Qtip private key files in repos"zhifeng jiang1-0/+9
2016-10-25Remove Qtip private key files in reposwu.zhihui1-0/+9
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>
2016-10-22Use supervisor to start qtip_server in docker.zhifeng.jiang2-1/+22
JIRA:QTIP-99 Change-Id: I447973e17613c5b9dcbbaefef9d67a8dc01c838c Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-20Bugfix: Problems meet when following the step of introduction.rstzhifeng.jiang1-0/+1
modification: Delete the fetch_os_creds.sh Call the fetch_os_creds.sh which in releng Include the curl in docker Change-Id: I5a92f671ce4183cf0d7dabc8faf69018b9b54e0b Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-14Adjust directory structurewu.zhihui1-6/+6
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>
2016-10-13Refactor pushing suite result to test dbzhifeng.jiang1-7/+7
modification: remove compute_suite.py,network_suite.py,storage_suite.py handler all suite result in suite_result.py refactor pushtoDB.py so that it can be called by qtip_server JIRA:QTIP-99 Change-Id: I1630a512c22cba7be038f5301f1454b8ef4f762f Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-10-12solve log path cannot be found issueSerenaFeng1-2/+3
JIRA: QTIP-124 Change-Id: I2ff94d01085ee8f057b9792988fe5ee9792fe740 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-10-11change log placeSerenaFeng1-1/+1
because /var/log cannot be accessed by unittest. so change the log place from /var/log to ~/opnfv/qtip/logs JIRA: QTIP-119 Change-Id: I14ba8317c94630fb8db46f532f7995c0c10595bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2016-09-30Merge "Start restful server auto in docker"zhifeng.jiang1-1/+2
2016-09-28Start restful server auto in dockerzhifeng.jiang1-1/+2
modification: Add start restful server in dockerfile Add result and detail_result in server job status Add job result assert in unit test JIRA:QTIP-99 Change-Id: I27108eb930eba1bb72c04216f468a81202179ee0 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-27code refactor: run_qtip.shwu.zhihui3-39/+100
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>
2016-09-21add unified logger process for qtipSerenaFeng1-0/+1
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>
2016-09-10Install the requirement packages in dockerzhifeng.jiang2-9/+1
modification: remove the packages.pip which duplicate with requirement.txt pip install requirement.txt in docker JIRA:QTIP-97 Change-Id: I6b9ac316cb7401b69c71fc5b1807b8d8a7ccd1bb Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-09-06Add ansible.cfg so that we can get ansible running timezhifeng.jiang2-0/+5
JIRA:QTIP-99 Change-Id: If42ddfd4337533b63dff3909c880a7e7b8e0fc58 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-08-24Use test_case/default instead of the directory named with a pod's name.wu.zhihui1-6/+6
1. For qtip ci job, use test_cases/default for all pods. 2. It needn't to specify ip in test case files. 3. Remove customized configurations in test case files. Change-Id: I4fb6210c024aacc4d1ed915939c0aabcfa60bb57 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2016-02-12QTIP report generation docker dependencies resolvedNauman_Ahad2-0/+5
Needed dependencies for report within QTIP docker image were resolved. Additionally, added an error check in case no results are available for the report. Change-Id: Ifd4ccd406555faf156e4274ca312e1ef55ed64b3 Signed-off-by: Nauman_Ahad <nauman_ahad@xflowresearch.com>
2016-01-26Pip requirements package changedNauman_Ahad1-1/+0
reportlab removed from pip requirements file for Docker installation Change-Id: Ife64de0041d9e549d02fa41cb8d4dca7296d6d80 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2016-01-26Modified Dockerfile for Report Generation dependenciesNauman_Ahad2-0/+2
Dependencies for matplotlib and reportlib were added in the dockerfile Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com> Change-Id: Icda969573447d328a221daacfcd7049ea51dedd2
2016-01-21bug-fix: fix bug in docker run file, replace $$ with &&MofassirArif1-6/+6
Change-Id: Ic48483ae97aab2f844ee753cecf5fc3714a13cdb Signed-off-by: MofassirArif <Mofassir_Arif@dellteam.com>
2016-01-15Push to DB script for Jenkins JobsNauman_Ahad1-0/+3
Added a script that could be called inside the docker container to push results to DB. Change-Id: I6b6496f5d670f415606afc605fc3bdc1c4e88fbb Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2016-01-13run_qtip.sh fixNauman_Ahad1-6/+6
Renamed compute.txt to compute for run_qtip.sh to reflect changes made in qtip repo Change-Id: I4456ef305cfd01c039ce152b5fd6f6512204166d Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2016-01-12Include Ramspeed Index calulcationNauman_Ahad1-1/+1
Ramspeed Index calculation included. Additionally, error handling for suite indices calulcation to ignore absent result files Change-Id: I8b2360b0f16b6d3b7d8485e88a0c1f7f0787ad5a Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2016-01-07Slight changes to the run_qtip.sh scriptNauman_Ahad2-11/+34
Modifications needed in run_qtip.sh for Jenkins Jobs to run. Docker file changed too. get_env.sh script location changed too. Testcases for dell-us-deploying-bm-3 lab added along with the default testcase directory Change-Id: I293febda0ddd3d56d1c455fde220dc78a57b6c18 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2016-01-05QTIP Index calculation along with a script to run qtip from dockerNauman_Ahad2-1/+19
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-22Dockerfile for QTIP docker containerNauman_Ahad1-0/+50
Dockerfile for creating QTIP docker image Installs needed dependencies to run QTIP JIRA: QTIP-48 Change-Id: I29083856d9a22d35eb983249059a176dc29f34e7 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>
2015-12-21Python packages to be installed in QTIP dockerNauman_Ahad1-0/+7
A .pip file for installing python package dependencies in QTIP container JIRA: QTIP-48 Change-Id: I5e57b8e80863a00b28e843f6f38606e2c71cb3a0 Signed-off-by: Nauman_Ahad <Nauman_Ahad@dell.com>