summaryrefslogtreecommitdiffstats
path: root/jjb/functest
AgeCommit message (Collapse)AuthorFilesLines
2016-05-26compass: Switch using labels instead of slavesFatih Degirmenci1-21/+17
This change switches compass jobs to use labels instead of tying jobs to slaves. The changes in detail are: - Compass jobs can roam on any pod that is labelled with compass-baremetal and compass-virtual. - Above means that there is no branch/pod allocation anymore. - New jobs are created in order to get rid of pod names from them and just use baremetal or virtual in names. - Old jobs are removed. - Related test jobs are updated. - huawei-virtual label is renamed to compass-virtual since we still have installer specific slaves, not company specific. In future the job might end up on a none-Huawei slave too. - huawei-pod2 is not a CI POD so it is left in none-CI PODs section. - block relations and triggers might require fine tuning and left to compass project to decide how to adjust Job structure remains same; one parent job calling 3 downstream jobs: deploy, functest, yardstick. The OS to deploy (trusty or centos7) needs to be solved in a separate patch in a sustainable way. Change-Id: I22bfaff36640667b6764f0e303a3286af0eb41b2 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-26joid: Switch using labels instead of slavesFatih Degirmenci1-16/+19
This change switches joid jobs to use labels instead of tying jobs to slaves. The changes in detail are: - Joid jobs can roam on any pod that is labelled with joid-baremetal and joid-virtual. - Above means that there is no branch/pod allocation anymore. - New jobs are created in order to get rid of pod names from them and just use baremetal or virtual in names. - Old jobs are removed. - Related test jobs are updated. - POD specific parameters are updated and instead of adding pod specific parameters, they now become parameters for all the pods labelled with same label. It is not a problem at the moment as both Intel PODs (pod5, pod6) have same parameters but a different pod with different parameters will require alignment between pods. Job structure remains same; one parent job calling 3 downstream jobs: deploy, functest, yardstick. Change-Id: I30d270cd05ba3756f6f161d65ee5160eab6b80f4 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-25fuel: Switch using labels instead of slavesFatih Degirmenci1-41/+70
This change switches fuel jobs to use labels instead of tying jobs to slaves. The possibilities and changes introduced with this approach are - If things do not work as expected, slave-label parameter can be set to certain slave name to get back to old way of tying jobs to slaves. - If a scenario requires a different slave, it can still be created using baremetal or virtual but the label can be different, pointing to a slave that is capable of running that scenario. (fuel-baremetal-multisite, etc.) - The auto-trigger-name for brahmaputra is moved under the branch anchor and can be used like this if triggers for all all the jobs for a certain branch need not to be triggered automatically but job is still kept enabled in case if some crucial bug needs to be tested. - No of max concurrent builds stepped to 4 in order to use all the labelled slaves available. This will require some adjustments before colorado jobs start to run in order to share resources between branches fairly. - All the fuel CI PODs except lf-pod1 have been removed. Change-Id: I91eca6743bb3d34263e634f9b74550efa1e2ddbe Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-25Enable opencontrail ci jobs in compassmeimei1-0/+3
JIRA: COMPASS-393 Change-Id: Ib079cb543f7ed9ae932ea3af99a8c3f187dd0cbc Signed-off-by: meimei <meimei@huawei.com>
2016-05-24bugfix: Switch to include-raw so curly brackets are not escapedFatih Degirmenci1-5/+5
Change-Id: I22bdffac5888656ee95c458d42c0f6621c822f7f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-24functest: Take builders out of jjbFatih Degirmenci5-120/+127
Change-Id: I546b1b323db2d1839335a34e8293b27f368b0626 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-21Rename LF Jenkins slaves and update impacted jobsFatih Degirmenci1-3/+3
Change-Id: If58c84e6f431db88eed3376e446479826da71502 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-20Rename Huawei Jenkins slavesFatih Degirmenci1-2/+2
Slave names will be as below. - huawei-us-deploy-bare-1 -> huawei-pod1 - huawei-us-deploy-bare-2 -> huawei-pod2 - huawei-sh-test-2-defaults -> huawei-pod3 - huawei-sh-pod6 -> huawei-pod4 - huawei-us-deploy-vm-1 -> huawei-virtual1 - huawei-us-deploy-vm-2 -> huawei-virtual2 - huawei-us-deploy-vm-3 -> huawei-virtual3 - huawei-us-deploy-vm-4 -> huawei-virtual4 huawei-sh-pod4 will be removed from Jenkins. Please note that this change will result in removal of existing jobs. This is not that crucial since the use of labels will result in same. Change-Id: I63798c799a402b1694ee0767ffdb45a597897cd9 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-18Functest, create builder for test suitejose.lausuch1-2/+11
Change-Id: Ib01658ed1e8c85b6408d32a1b367702bc6b32abd Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-12Rename Orange Jenkins SlavesFatih Degirmenci1-1/+1
orange-test1 -> orange-pod5 orange-fr-pod2 -> orange-pod2 Change-Id: Id5a31db98d349bef654fb59ab03e52e6cc50611f Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-05-12Add functest for main branch fuel installer on zte-pod1zhifeng.jiang1-0/+3
JIRA:RELENG-87 Change-Id: I4ca1ea6a206fcadc94f813e33bae4751236ee24d Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-05-06Functest, redirect to /dev/null the output of some docker commandsjose.lausuch1-3/+2
That output is irrelevant and doesn't help to debug anything, and it is very extensive. Change-Id: If97ff388d5ab53c67d7cd5c5e6f2fff1f202e6a4 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-02Functest: add support to pass custom parameters to dockerCiprian Barbu1-1/+3
This makes it possible to pass extra environments or volumes to docker by listing them in a file at ${HOME}/opnfv/functest/custom/params_${DOCKER_TAG}. This way different parameter (env vars and volumes) can be specified for stable and master. Change-Id: I010fae9802dd413f0ca6ae9fb3ef0f03b81db3c2 Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
2016-05-02Merge "Fuel: add functest for brahmaputra on arm-pod1"Fatih Degirmenci1-0/+3
2016-05-02use BUILD_TAG rather than branch to execute commandMorgan Richomme1-1/+3
Change-Id: If79d4a457712465af1e4be1aca8a51ad270d65fa Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-05-02Functest, fix 'if-else' statment 'brahmaputra' instead of 'stablejose.lausuch1-4/+4
Also, turn CI_DEBUG to true. Change-Id: Id5c4c0ab65492b668fc5c22213c03f53faf9f9d8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-29Functest, remove colon from else statementjose.lausuch1-3/+3
Change-Id: Ie94e149e7e221108ffd0195d6420192ab69a5ee3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-29Functest, Fix call to run_tests.py and change if condition for stable branchjose.lausuch1-11/+9
Change-Id: I9d4eb0079507014e37f8ad569af541b9d0121f7a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-29Functest, differenciate commands for stable and for masterjose.lausuch1-3/+17
Change-Id: If3f8b0666617c32d9945bd7ca72090bb86fcb250 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-28Fuel: add functest for brahmaputra on arm-pod1Ciprian Barbu1-0/+3
Change-Id: I62f4b56b82194d14bb3469cd9e456e1f14ca050e Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
2016-04-28Functest: Enable new script prepare_env.pyjose.lausuch1-5/+4
JIRA: FUNCTEST-227 Change-Id: Ied4beee57c914823043bb14879110da7c560a148 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-22Merge "Use only functest-{testsuite}-builder for the installer daily job ↵Morgan Richomme1-5/+3
builder"
2016-04-21functest, apex: Add iptable rule check before deletingFeng Pan1-2/+6
Change-Id: I70955e7ab926b9e6b1a5c9be70a06eba6d8b4d7d Signed-off-by: Feng Pan <fpan@redhat.com>
2016-04-21Use only functest-{testsuite}-builder for the installer daily job builderjose.lausuch1-5/+3
Change-Id: I29b7f0537bce698d57ece88abf1b148954a76dc0 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-20Merge "Functest, set exit on error for single suites (set -e)"Tim Rozet1-5/+3
2016-04-20Fuel: add functest job on arm-pod1Ciprian Barbu1-0/+3
Change-Id: I3703e0bde8b712d7c9b90621cc7ee1a44340076b Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
2016-04-20Functest, set exit on error for single suites (set -e)jose.lausuch1-5/+3
And don't push results to DB when running single suites. Change-Id: Ifd0472536dccc39e4e15f8aa4b70bf3b5f35f9b9 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-19Apex, Functest: fixes missing sudo when searching for VMTim Rozet1-2/+2
Change-Id: I5a8a9ffcbeb078775efb060a14f59f13753b4d01 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-18Apex, Functest: Fixes VM renaming scheme for apexTim Rozet1-2/+10
In master, the installer VM has been renamed to undercloud. Change-Id: Ic695dd39e481e51e38c8b601cadd497bf2a8bc1d
2016-04-18Functest, change docker tag for stable/brahmaputrajose.lausuch1-1/+1
it was forced to brahmaputra.1.0, and it won't take the latest fixes in the stable branch. The tag 'stable' is a build made of the latest changes in the stable branch. Change-Id: I420bbae7e68decf137ea2f67f456ece3072f3be3 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-15Functest: Missing clean/setup for individual suite jobsTim Rozet1-0/+2
Change-Id: Ice49ee99829957228b09ae29415e489ae958a6bb Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-14Functest job single quotes typojose.lausuch1-2/+2
Change-Id: I9b08704dc8a02197ec72a8c03faafc36aaa68a8e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-14Fix Docker TAG in Functest jobjose.lausuch1-2/+2
Change-Id: Id02ff937246c946372e00834b3accd80f760fef7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-14Fix TAG for Functest docker run command and avoid extra outputjose.lausuch1-5/+7
Change-Id: I8ab18f5a5871e8df51c70b4de4201bd7b514cdb2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-04-12Apex, Functest: Enable smoke tests on Apex master verifyTim Rozet1-2/+3
Includes changes to execute vping_userdata test on Apex master verify jobs. JIRA: APEX-122 Change-Id: I88137895fd9a6528adfca526aecc899ec84af643 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-08Added nokia-pod1 slave defaultsvitikkan1-0/+3
Also created Functest job for master to run against nokia-pod1. Change-Id: Idae45a586636e1884c56a9df46b1ec18c9fea827 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-03-18[compass] set timer and attach testing jobs to the new senario(centos)meimei1-0/+3
Change-Id: I94a2f097432148a9fa1e739225960c1ac1ec581e Signed-off-by: meimei <meimei@huawei.com>
2016-03-09Refined syntax for handling run_tests.sh parametersViktor Tikkanen1-10/+6
Change-Id: I9475d279e5e72717221aacd618e07628386d6d41 Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2016-03-08Forced serial execution of tempest test suitViktor Tikkanen1-4/+4
"-s" option is added for run_tests.sh in order to force serial execution of test cases in Functest test suites. This option affects currently Tempest test suite. Using of this option will reduce number of consumed floating IP addresses and should resolve possible concurrency problems of testr tool. On the other hand, it will increase the total execution time of test cases. Change-Id: Ib685db5faa94ed498ff9a0ec6587786b60f0c73d Signed-off-by: Viktor Tikkanen <viktor.tikkanen@nokia.com>
2016-02-26Add jenkins build tag into result apiboucherv1-1/+1
Ex: jenkins-functest-compass-intel-pod8-daily-master-19 Change-Id: I336d3908d6d67ba7f995d0fc25b5404efd9b5cf5 JIRA: FUNCTEST-140 Signed-off-by: boucherv <valentin.boucher@orange.com>
2016-02-25docker: Make it possible to specify tags for Docker Images of test projectsFatih Degirmenci1-1/+7
Also use latest for images built on master and stable for images built on stable branch. Change-Id: I0988be86abcb2a13d8e94962b4ba1ced8778793b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-02-22functest: Create job for LF POD2 stable/brahmaputraFatih Degirmenci1-0/+3
od_l2 scenario already met the release criteria and excluded from Ericsson POD2. We need to check odl_l2 scenario using Be release on stable/brahmaputra. Change-Id: I24b81c678a81eeefc337480c7cb5942539439b97 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-02-18joid: Enable functest and yardstick jobs on orange-pod2 for stableFatih Degirmenci1-0/+3
Change-Id: I87aa03bfdab14d31e7794a1a44999bfd3d12b941 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-02-17Switch stable/master for fuel ericsson pod2/lf pod2mrichomme1-6/+0
Signed-off-by: mrichomme <morgan.richomme@orange.com>
2016-02-15Increase Functest job timeout to 400jose.lausuch1-5/+1
Change-Id: I10647d8fae4c5fef67bde6504dd218f310d54074 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-15Fix JOB_TIMEOUT variable for functest jobsjose.lausuch1-1/+1
Change-Id: Ia5ffa4e6153389b6a4ce2b796c44b46986bf049c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-15Add jjob Functest timeout as input parameter, default 210jose.lausuch1-1/+5
Change-Id: Idac1822b199e397d930a74ac03e8ab2403ca7329 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-08test: Create functest and yardstick jobs for LF POD2 masterFatih Degirmenci1-0/+3
Change-Id: I1f07dec5ed94ca35591ed12753c101168d80abd1 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-02-03Fix result directory for functest jjobjose.lausuch1-3/+2
Also: remove 'running all tests' message Change-Id: I4eedc8d056a288a9c9ab060aea65f613911b5624 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-02-03set timeout in functest and yardstickmeimei1-0/+3
Change-Id: I2f7cec73be482122d3ff7409eae6d514838a0e3e Signed-off-by: meimei <meimei@huawei.com>