summaryrefslogtreecommitdiffstats
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2019-04-08bugfix for the jnlpUrldongwenjuan1-1/+1
It always report 404 Not Found to get agent.jnlp from master Change-Id: I48d27f04c38ed92ff39ef423ed0d1fc6ca5ff2cd Signed-off-by: dongwenjuan <dongwenjuan1122@gmail.com>
2019-03-28[fuel] Follow symlink to get k8s configMichael Polenchuk1-1/+1
Change-Id: Icd7aef4c5a328e5e92e9740de3737a82acc71f8b Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2019-03-22[fuel] Handle kubernetes configMichael Polenchuk1-0/+3
Change-Id: I87b7d74b22341d9c091c16436a9d4a6cfce173d5 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2019-02-25Add missing libjpeg-dev library required by Dovetail Web PortalStamatis Katsaounis1-0/+1
This patch adds missing libjpeg-dev library required by Pillow. CI server does not have the library installed, resulting in unit test failures. Change-Id: Ie9d1cc763c3a510c026ef2067ce45c5551cd360b Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
2019-02-06Update the CI pod infoCristina Pauna1-1/+1
We are removing some of the older hw from the lab, so update the releng project accordingly Jira: ARMBAND-409 Change-Id: Ibbaf97e9aa328ef5fc259e3a8bd119729dd7ac24 Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2019-01-03Update the CI pod infoCristina Pauna1-1/+1
Added arm-pod9 and arm-pod10 to CI list and docs Change-Id: Id4a44554d23a2114913dfbc446cdeaade826b3ab Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2018-12-11[utils, functest] Fix SSL-enabled Fuel conditionAlexandru Avadanii1-1/+1
Fuel enables SSL based on scenario type (only for HA), not based on cluster type (baremetal or virtual). Change-Id: I3dc94f953e9a8ee0e94028577270ac05c9318ad6 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-11-28Slave.jar renamed to Agent.jarAric Gardner1-12/+12
Jenkins changed the word slave for agent in their code. so we are following suit. Change-Id: I5697494274b444624aae5177905bfc4c401f5257 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-11-20mcelog not longer supported on ubuntu 18.04Aric Gardner1-1/+0
I belive that barometer needs mce log and will need to find another way of using it. https://bugs.launchpad.net/ubuntu/+source/mcelog/+bug/1752251 Change-Id: I798f3052710a276c49d562b61661c2edf719d88b Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-11-07Install Collectd on CentOS Build ServersTrevor Bramwell1-0/+1
Collectd is needed by the barometer project as it contains several libraries they link against including dpdkevents. Change-Id: I43ce41b7116e168a0211c795b17a5a40ee585930 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-11-07Sort CentOS build server package to be installedTrevor Bramwell1-11/+11
Sorts the package list alphabetically so its quicker to read which packages are installed. Change-Id: I784cfa773aed226301017d5ea64f0485e60c1c4e Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-31[builde servers] Update manifest-tool URLTrevor Bramwell1-1/+1
The fact returned for 'ansible_architecture' is 'x86_64' for non-ARM servers. Hard coding this now in order to pull the correct URL of the manifest tool. When arm build servers are included in this list we'll set a fact for the architecture needed in the URL. Change-Id: I1c89e8a87cc7f2ae386973f3f1088f881ae5df71 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-10-30Add the huawei-pod8 into CI pod listJingzhao Ni1-3/+2
Add huawei-pod8 into CI pod list for running the functest-kubernetes. Remove the arm-virtual3 pod from CI pod list. Change-Id: I0aec57f41fc4a49302e687a2600417eea6c29a0b Signed-off-by: Jingzhao Ni <jingzhao.ni@arm.com>
2018-10-16Add arm-virtual3 pod into CI pod listJingzhao Ni1-1/+2
Add arm-virtual3 pod into CI pod list for running the functest-kubernetes cases on arm platform. Change-Id: Iae1881320956795304896d8ea2c1790430f919da Signed-off-by: Jingzhao Ni <jingzhao.ni@arm.com>
2018-09-11Add dependencies to Ubuntu BuildersTrevor Bramwell3-0/+79
Installs dependencies needed by barometer, dovetail, yardstick and functest. Change-Id: Ie9a20c45ef9b3251f2b861da7151114094044394 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-08-23Https now works for artifacts.opnfv.orgAric Gardner2-6/+6
Change-Id: Ic3aa4bea2b546c95ce8187927a5762009adbd429 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-06-28Fix unset RC_FILE_PATH in ScriptsTrevor Bramwell1-1/+0
Even though RC_FILE_PATH is defined in Jenkins as passed in as a parameter, bash still sees it as unset. Removing the 'nounset' option from these scripts should allow the check to success (RC_FILE_PATH set to blank). Change-Id: Ibcfdcf0d2a12c8119d2fe3ec3b354be782338bd5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-27Functest: Restores ability to run with pre-defined credsTim Rozet1-20/+24
This patch is needed for the case where there are provided OS credentials to functest, and there is no need to find the installer VM and copy the credentials to the host. In the Apex snapshot case, there is no installer VM on the slave, so we must provide the credentials file. Also includes a fix to use tempest_smoke_serial for the snapshot netvirt verification until CSIT suite is working correctly. Change-Id: Ic84955f527e3f84bb0d8579a377b4a1883fe3eb2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-26Merge "Include yamllint on build servers"Trevor Bramwell1-0/+4
2018-06-22Merge "Add RTD Verify and Merge jobs for Releng"Ryota Mibu2-0/+2
2018-06-21Fix gpg import error when node has no keyTim Rozet1-5/+9
For some servers like lf-virtual3 there is no key locally or one remotely. In that case we do not want the import script to fail the job, like in: https://build.opnfv.org/ci/job/apex-upload-snapshot/1/console Change-Id: I13ddfdb45cd2d60bd911fa590bf9bf54bd288ba8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-20Apex: Fix OS credentials fetchTim Rozet1-1/+7
Now that keystone V3 Identity is only one supported, OOO 'overcloudrc' should be used in Queens and later as that contains V3 creds. 'overcloudrc.v3' will eventually be removed in OOO. Note, this was causing tempest_smoke_serial to fail in Apex with Swift test cases. This is due to the fact that in Apex we were only setting the OS_REGION_NAME in overcloudrc, and functest was using overcloudrc.v3. When Tempest does not have the region set it will simply look for the first endpoint it can find for that service type, and was not using the right keystone endpoint for Apex. Change-Id: I154c9e762dfc5ba035f6e108606ecedcfb0d60d2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-06-19Include yamllint on build serversTrevor Bramwell1-0/+4
Change-Id: Ie99da1fd5ed3789a1dbf4134796b95f2ac69abce Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-14Add RTD Verify and Merge jobs for RelengTrevor Bramwell2-0/+2
These jobs come from global-jjb[1]. On verify, 'tox -e docs' is ran against releng, and on merge at webhook it curl-ed on RTD to build the docs. The merge job additionally requires jq installed to verify the build was triggered. [1] https://docs.releng.linuxfoundation.org/projects/global-jjb/en/latest/jjb/lf-rtd-jobs.html Change-Id: Ib0d752a904a9fdda2ab13016509a0b82d34ec3ee Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-07Merge "Clean up CI Node Listing for pushing test logs"Ryota Mibu1-5/+5
2018-05-17Clean up CI Node Listing for pushing test logsTrevor Bramwell1-5/+5
These machines have been removed from Jenkins for quite some time and no longer need to be listed here. Change-Id: I43943865eb83eccdf26effe916d6c2ac010f402f Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-05-17Adding sysstat xmlstarlet and facterAric Gardner2-0/+6
Adding lf global jjb deps to ansible build server job Change-Id: If71a9cf68c6011a6f6c283e2296a17f211255286 Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
2018-03-27Allow zte-pod9 pushing results to artifactsAlex Yang1-1/+1
For the new scenario 'os-nosdn-ovs_dpdk-noha' for daisy in Fraser. Change-Id: I331e276c2355d37d54ac0b7436593d8e0f049dfa Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2018-03-05Allow monit config script to use custom hostnameagardner1-7/+12
we need to use this script for connecting labs.opnfv.org machines to the sandbox.opnfv.org adds optional -l swtich Change-Id: I620c963841a2ff39a8c08565cb474f7fdb833c74 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-03-05Add start delay to monit for jnlp daemonagardner1-2/+8
delay the first check by 4-minutes This is a better solution thant check process every 2 cycles check process every 2 cycles delays initial startup by 2 cycles delay check gives the script time to spawn, as the wget slave.jar takes some time from china. Change-Id: I8066e5b65efc41aaa67ee0f6ab8ee2c1aa86a67c Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-02-28[Functest] Run k8s tests on JoidLinda Wang1-2/+4
Change-Id: I43ba42b2181b7f89a3f551a12eed4ab42d89cbee Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-02-23Fix naming for ansible build server stuffagardner2-1/+1
Botched that last change Change-Id: If44039052332738a575d62c57faae95462b489a8 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-02-23include vars was mis named - build server ansibleagardner1-1/+1
fix name Change-Id: I0b58dbad8bb0618623e44ffa4049fccdd80b5547 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-02-23Fix slave monitor job.agardner1-55/+46
must be run on the same builder each time. output goes to /tmp/ its just a textfile per slave. hasetbin stopped working, so I turend off the silly graphs. Change-Id: I7300710c338f74e5426ab3cd2e2707ac2553f982 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-02-21Move generation of artifacts.opnfv.org to jenkinsagardner1-0/+162
Move generation of artifacts.opnfv.org/index.html and sub pages into a jenkins job. Script was run on cron on master previously. run on lf-build2 Run job once per hour (it takes a long time to run) Block if job is already running Change-Id: Icc03cac61a802e036e4af8a9b9e3a244e147abea Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-02-16jenkins-jnlp-connect.sh takes time to launchagardner1-2/+2
wget --timestamping https://build.opnfv.org/ci/jnlpJars/slave.jar && true this takes time, especially from china. Tell monit to back off while waiting for the pid file to be created Change-Id: I02327323d50d0a4a8b379535d8da84a20348ba6f Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-02-05Ansible Playbook to install build server depsagardner7-0/+248
This playbook has been tested in centos and ubuntu on Arm and x86_64 first: install ansible then: ansible-playbook -i inventory.ini main.yml What it does: installs on centos or ubuntu arm or x86_64 installs system deps with the package manager. and python libs with pip. installs docker https://download.docker.com installs docker-compose from distribution repo Change-Id: I3853cd04d0e6c7270ea068b9e1fba1a240a0652e Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-02-01[Functest] Run k8s tests on CompassLinda Wang1-0/+63
Change-Id: I8e88ab0598f43be8d0c9c4ad199dba91c1561f13 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-12-22Prepare integration of daisy and dovetailAlex Yang1-0/+3
JARA: DAISY-76 1. add daisy adapter in releng utils and modules 2. add daisy adapter in dovetail jjb script 3. support id_dsa as ssh key Change-Id: I15a1c0cfcc17ae1fe6b7020f674b8bbbb72f4a7a Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-12-12Allow intel-pod18 to push results to the DBJose Lausuch1-1/+1
Change-Id: I54447764996a4e2bb303a9e71cc525e999c1bdd5 Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-12-01allow zte-pod3 pushing results to artifactsSerenaFeng1-1/+1
Change-Id: I72d93cc6a6e73b9fd91b3a1777dbf0dfe25a0b22 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-11-21Merge "Remove 'utils/test' Directory and update INFO"Trevor Bramwell748-131825/+0
2017-11-20Allow pod ARM-POD6 to push logs to the artifactsDelia Popescu1-1/+1
Change-Id: I4a637249a50b5c8e3fc344493622f85c3583a2f4 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-11-13Merge "Remove Artifacts JSON Job"Trevor Bramwell1-232/+0
2017-11-10Remove 'utils/test' Directory and update INFOTrevor Bramwell748-131825/+0
utils/test has been migrated to the releng-testresults repo Change-Id: If14a30e6abed1424d1e00b0fae048b7d869ec99b Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-11-10Remove Artifacts JSON JobTrevor Bramwell1-232/+0
As far as I know the site that consumed this resource was never actually published, and given this runs frequently on master, removing it should save resources. Change-Id: I383fcffcef98e0e12a38d15dcb1204419283b833 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-11-10Modify the fuel deployment type judgement in fetch-os_creds.shwu.zhihui1-1/+1
The BUILD_TAG on ZTE baremetal PODs don't include the word "baremetal".[1] Line 117 can't be correctly executed. Use a negative checking instead. [1] https://build.opnfv.org/ci/job/functest-fuel-zte-pod1-daily-master/206/injectedEnvVars/ Change-Id: I1a36494768e0172bcf6a016fd8f2524854c9b876 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
2017-11-03Merge "add simple e2e tests for PodsCotroller"Serena Feng6-0/+395
2017-11-01add simple e2e tests for PodsCotrollerthuva46-0/+395
Change-Id: I9baa04ff062f36569c1e143014239931de64cf32 Signed-off-by: thuva4 <tharma.thuva@gmail.com>
2017-10-31remove components out side of 3rd_partySerenaFeng19-0/+1
components are implemented by TestAPI team, they are not the third party code, put them under opnfv_testapi/ui directory Change-Id: Ia0f5e2afe4bcb12bcb74d3a8d78fb28fe1432bec Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>