summaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2017-02-22Merge "Combine the common code for kernel building on deb/rpm"Jiang, Yunhong15-363/+285
2017-02-09Combine the common code for kernel building on deb/rpmshravani15-363/+285
This patch removes the duplication of code in rpm/debian build scripts. Change-Id: I88edc93df488bd01a43cd98e4f69f35e09f8f61c Signed-off-by: Shravani <shravani.p@tcs.com>
2017-02-08Enabling ftrace for kernel debugging.kalyanreddy5-24/+153
This patch contains updated scripts to enable ftrace for kernel debugging and storing the log files to artifact repository. Change-Id: I81b8f987c2c214ca53a6e4502ad953a9adbc6be9 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2017-02-07This patch contains the scripts to install the Qemu rpm and make use of it forshravani6-1/+69
lauching guest VM's Change-Id: I74ce89e1e0d628b0be2d9165b8418a519b52064d Co-Authored-By: Y Rajitha <y.rajitha@tcs.com> Signed-off-by: Shravani <shravani.p@tcs.com>
2017-01-30This patch includes updated scripts to modify hardcoded ip addresseskalyanreddy2-3/+3
of the nodes used for executing cyclictest testcase as part of kvmfornfv verify and daily jobs. Change-Id: Ie436791d2debff20f2bcf750204b886c35ae5b7c Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-12-13This patch includes scripts to create multiple yaml file for differentshravani4-37/+127
environments and run cyclictest. Also contains updated interface scripts to trigger packetforwarding and cyclictest stress scripts. Change-Id: Ibb8694746f8b19d605e50ea07c2be8b2bd141ec0 Co-Authored-By: Y Rajitha <y.rajitha@tcs.com> Co-Authored-By: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com> Signed-off-by: Shravani <shravani.p@tcs.com>
2016-12-07This patch contains scripts for applying stress on host or guest atShravani2-0/+96
run time based on the stress type(cpu/memory/io). Change-Id: I845b3ec028f375cf0809fb3a184b1511787d263b Signed-off-by: Shravani <shravani.p@tcs.com>
2016-11-15This patch contains scripts to update the host_isolcpus parametershravani2-15/+26
to Numa node1 CPU's,binds the qemu process threads to the host_isolcpu processors and assigns the remaining isolcpus to run stress tool Change-Id: I894fd18666c1e9c041776c346b7b95abce808792 Signed-off-by: Shravani <shravani.p@tcs.com>
2016-10-25This patch is used to update the script with opnfv influxdb link,shravani1-3/+3
so that the data will be published on opnfv dashboard for daily job Change-Id: I90fda9c99de581bd510609cab1460a66e0805c72 Signed-off-by: Shravani <shravani.p@tcs.com>
2016-10-19This patch contains scripts to update the measurement name asshravani3-6/+6
kvmfornfv_cyclictest_idle_idle in influxdb Change-Id: I70c5e06e38410cde83a1809393a4f783215b36ad Signed-off-by: Shravani <shravani.p@tcs.com>
2016-10-14Merge "This patch contains scripts to decrease the time taken for the ↵Jiang, Yunhong1-1/+2
execution of cyclictest through yardstick."
2016-10-14This patch contains scripts to decrease the time taken forkalyanreddy1-1/+2
the execution of cyclictest through yardstick. Change-Id: Ibf5b694266c3eb2496e13ef2e55869b48af0a967 Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-10-13This patch contains scripts to publish the data to localkalyanreddy2-23/+66
Grafana Dashboard for daily Job Change-Id: I382408d0f462c05f3f9b6578b3e00d104d127ee7 Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-09-29This patch contains script updates to disable stricthostkeycheckingkalyanreddy1-1/+2
during the execution of cyclictest. Change-Id: I382408d0f462c05f3f9b6578b3e00d104d127ee7 Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-09-28This patch contains updated scripts to install rpm-build packagekalyanreddy1-3/+1
only once to reduce qemu build time. Change-Id: Ifdd5df86762f6ed6b327be7f186864feaf2f7923 Co-Authored-By: B Navya <b.navya4@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-09-27This patch contains updated scripts to reduce qemu build time bykalyanreddy1-1/+0
executing make only through qemu spec file. Change-Id: Ibcbf276dfcc4c933259a880b90b9dc12c613739b Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-09-21Merge "This patch includes scripts to verify the sha512sum of the guest ↵Jiang, Yunhong4-7/+45
image. Also contains scripts to exit the test if the test_type is not verify/daily/merge."
2016-09-21OPNFV KVM4NFV: Reduce Qemu build durationswatisharma2-2/+2
This patch contains some enhancement to reduce the duration for qemu rpm and debian build. Change-Id: Ic27b8b200a383af613a09027bad73f1cf62c54ce Co-Authored-By: Navya Bathula <b.navya4@tcs.com> Signed-off-by: Swati Sharma <swatix.sharma@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-09-21This patch includes scripts to verify the sha512sum of thekalyanreddy4-7/+45
guest image. Also contains scripts to exit the test if the test_type is not verify/daily/merge. Change-Id: Ibbb0d30302095282b539db7293084de007db6ddc Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: kalyanreddy <reddyx.gundarapu@intel.com>
2016-09-13Execution of kvm4nfv cyclictest based on job type.shravani4-71/+119
This patch contains the updated test scripts which will select the node and test run time for performing cyclictest case based on the job type. Change-Id: Ia54e98faac2f5da956688f1ca57664cea1151d84 Signed-off-by: Shravani <shravani.p@tcs.com>
2016-09-08This patch contains the scripts to remove hardcoded kernel version,kalyanreddy4-6/+62
host ip and cleaning of the host machine after execution of cyclictest. Change-Id: I92aaed5229fc3c572e74dcce03b2c984ae1bb111 Co-Authored-By: Shravani <shravani.p@tcs.com> Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
2016-08-27Merge "CI integration for KVMforNFV."Jiang, Yunhong1-4/+9
2016-08-24CI integration for KVMforNFV.swatisharma1-4/+9
This patch contains scripts for creating a ubuntu docker image with yardstick and all its dependency packages installed for running cyclictest. Co-Authored-By: Gundarapu Reddy <reddyx.gundarapu@intel.com> Signed-off-by: Swati Sharma <swatix.sharma@intel.com>
2016-08-23Merge "OPNFV KVM4NFV CICD: Scripts for creating Rpms & Debians for Kernel, Qemu"Jiang, Yunhong18-136/+498
2016-08-20CI integration for KVMforNFV.swatisharma5-22/+73
This patch contains scripts for running cyclictest through yardstick as part of CI integration for KVMforNFV. The scripts will be triggered to create a docker ubuntu container for running yardstick, configuring the host, launching a guest VM and executing cyclictest through yardstick. The verification process gets completed after running the cyclictest. Co-Authored-By: Gundarapu Reddy <reddyx.gundarapu@intel.com> Signed-off-by: Swati Sharma <swatix.sharma@intel.com>
2016-08-11Revert the test_kvmfornfv.shYunhong Jiang1-36/+4
It triggers several bugs and need more polish. However, we can't simply revert that changeset because that will cause failur also. A stub is created. Change-Id: I8e54d5865c16d85834a8dd011322421a6c448f8a Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-08-11OPNFV KVM4NFV CICD: Scripts for creating Rpms & Debians for Kernel, QemuSwati18-136/+498
This patch contains the files for generating rpms & debians for both kernel & qemu changes, as part of kvmfornfv project development. The scripts will be triggered to build kernel-rpm & qemu-rpm packages inside centos docker, and kernel-debian & qemu-debian packages inside ubuntu docker, as part of the CICD process. After the new builds are ready, they will be deployed on the pharos testbed for verification. Later, these will be consumed/triggered by verify/daily Releng JJBs. Reference: https://wiki.opnfv.org/display/kvm/KVM4NFV+CICD+Jobs Change-Id: Ie8e8108566790a6c8db2fef1c9b5799a41732b44 Signed-off-by: Swati Sharma <swatix.sharma@intel.com>
2016-08-10CI Integration for KVMforNFVswatisharma2-0/+67
This patch contains scripts for running cyclictest through yardstick as part of CI integration for KVMforNFV. The scripts will be triggered to create a docker ubuntu container for running yardstick, configuring the host, launching a guest VM and executing cyclictest through yardstick. The verification process gets completed after running the cyclictest. Co-Authored-By: Gundarapu Reddy <reddyx.gundarapu@intel.com> Signed-off-by: Swati Sharma <swatix.sharma@intel.com>
2016-07-21Creation of QEMU(rpm and debian builds)Swati Sharma6-0/+156
This includes the scripts that are added to create qemu-rpm and qemu-debian builds for KVM4NFV. Co-Authored-By: Gundarapu Reddy <reddyx.gundarapu@intel.com> Signed-off-by: Swati Sharma <swatix.sharma@intel.com>
2016-01-05A script to launch real time guestYunhong Jiang1-0/+45
Launch real time guest need special options like lock memory etc. A script is used to achieved this. We invoke the qemu utility directly instead of going through middle layer like libvirt, to get better controll. Change-Id: Ia6ad7313463e2f858516bddd4a4b58e95d8c943e Signed-off-by: David Su <david.w.su@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05Script to create the guest imageYunhong Jiang2-0/+152
This script download the latest CentOS cloud image and modify it to meet the test requirement, including remove cloud related script, setup the ssh keys etc. It derives from yardstick project, which currently only provide support to Ubuntu image. If they support CentOS image, we can possibly switch to them. Change-Id: I9482936615a28da696ff8f51248a62b13e5677f4 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05Script to create the rt-tests rpmYunhong Jiang2-0/+56
There is no rt-tests rpm on centos repo, also we need some special compile flag to enable the -a parameter. So we try to make the rpm ourselves. The version is specified as 0.96. But please notice that the Makefile in the rt-tests tree requires some key, we have to disable that requirement. So this rpm is only for OPNFV testing purpose. Change-Id: Ifdd52649bc14405dbe5ad375dc7fd32087139b18 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05Add guest environment setup scriptsYunhong Jiang2-0/+89
To achieve good real time and live migration performance, special setup is needed on guest environment. Two scripts are used to setup the guest environment. The guest-setup0.sh setup the environment that should take effect before the tested kernel is bringup, including install the kernel rpm, the rt-test package and modify the grub entries. The guest-setup1.sh setup the environment that takes effect after the tested kernel is up, like some sysfs entry, interrupt affinity etc. Change-Id: Icaed71e250b314723d6b1814c9ac33c10d99c6a0 Signed-off-by: David Su <david.w.su@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-05No change to the grub default settingYunhong Jiang1-1/+0
The kernel rpm installation on rehl/centos is using grubby to setup the default kernel entry, so we should not change the grub default set from saved to 0. Change-Id: I5910f498f5889c052e43d2e1e92b209c05b01455 Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2016-01-04Add host environment setup scriptsYunhong Jiang3-0/+171
Testing KVM4NFV project requires special host environment to get the best result. Two scrripts are used to setup the environment. The host-setup0.sh setup the environment that should take effect before the kernel is bringup, mostly the grub entries. The host-setup1.sh setup the environment that takes effect after the kernel is up, like some sysfs entry, interrupt affinity etc. The host-config provides the configurations. Change-Id: Ie933ea0089ac82acd39fc48088615215993312f3 Signed-off-by: David Su <david.w.su@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
2015-11-04Add build script for continuous integrationDavid Su1-0/+50
The script is based on the build script for copper https://git.opnfv.org/cgit/releng/tree/jjb/copper/docu-build.sh The script should be run from the root of kvmfornfv source tree Change-Id: Ic12890990741441e88e35a87ef2570b1c601ca61 Signed-off-by: David Su <david.w.su@intel.com>