summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-12Merge "xci: Set installer type for the tested scenario"Fatih Degirmenci2-4/+1
2018-03-12xci: Set installer type for the tested scenarioFatih Degirmenci2-4/+1
Variables injected by envInject are set after the job variables which results in not setting the variable correctly. The Jenkins test script now uses the variable injected by envInject to set the INSTALLER_TYPE to XCI_INSTALLER. Change-Id: Id79281a2ee22d407ffb1bd7c4be1471f6f329803 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-12xci: Skip functest healtcheck if it is Kubernetes scenarioFatih Degirmenci1-0/+6
We need to work on functest healthcheck for Kubernetes scenarios. Until we get it working, healthcheck is disabled. Change-Id: If470dbe956c5859825f0829d1f8d022bdafcc242 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-12xci: Determine impacted generic scenarioFatih Degirmenci1-15/+39
Change-Id: Ifbe676cd347c2d3c68f04b5137f3ccaa83a95894 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-12xci: Set the installer and move scenario extraction into functionsFatih Degirmenci2-33/+65
The scenarios named os-* are deployed by osa and the ones named k8-* are deployed by kubespray. This change determines the installer to use by looking into the scenario name. The installers are currently hardcoded within xci-set-scenario.sh script and this needs to be fixed for other installers when they onboard to xci. Apart from setting the installer, extraction of generic and external scenarios are moved into corresponding functions. Change-Id: I19882bcd2a1260765e601ecbe517551c60401d74 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-12Merge "jjb: xci: Drop the VM cleanup step from the functest jobs"Markos Chandras2-4/+0
2018-03-12Merge "xci: Set options in run-functest.sh"Markos Chandras1-0/+3
2018-03-12jjb: xci: Drop the VM cleanup step from the functest jobsMarkos Chandras2-4/+0
We do the VM cleanup as part of the postbuild process so we do not need to have it in the functest jobs anymore. Change-Id: I64e4b58837090df33ae529232ef15a19de8f198a Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-03-12Merge "jjb: xci: Add postbuild publisher script to remove clean VM"Markos Chandras5-2/+36
2018-03-12Define parameters for triggering jobsJulien2-17/+24
In https://wiki.jenkins.io/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170, it indicates that: only build parameters that have been explicitly defined in a job's configuration will be available by default at build time. Any other arbitrary parameters added to a build by plugins will not be available by default. It has been tested in sandbox.opnfv.org that only defined parameters can be passed to the triggered jobs. For parameters required by TESTAPI are common to all the projectes, including installers, Functest, and Yardstick, it is convenient to define a common macro and used by others. Change-Id: Iac1da85445e1b5d75109ccd64b174f35151b9969 Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-03-09Fix functest job name for armband ci jobsTrevor Bramwell1-1/+1
Change-Id: I44c47347ce8759a545245bf2d3ad6d6657226875 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-09Merge "Revert functest-daily-jobs.yml again"Aric Gardner1-282/+40
2018-03-09Merge "A new docker container for QTIP"Fatih Degirmenci1-0/+5
2018-03-09Revert functest-daily-jobs.yml againCédric Ollivier1-282/+40
Switching to multijob forces to increase executors which is too risky so closed to the release. It basically reverts the previous functest-daily-jobs.yml [1]. [1] git checkout 7f06f9492f4f8dd47669a553ef6e9c967fa29e8e jjb/functest/functest-daily-jobs.yml 7f06f9492f4f8dd47669a553ef6e9c967fa29e8e Change-Id: I4a461108b11effe59e49108e1d95a9aae6e81ade Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-09Run all tests in a specific stepCédric Ollivier1-3/+56
It bypasses the missing senquential mode. It also fixes exclusions about fds and patrole. Several Functest could run in parallel but it's impossible from the time being due to an xtables lock. Change-Id: I831a8c995efbf2484afd86785f17f51981c921c1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-08Fix a typo which runs all jobs in parallelCédric Ollivier1-1/+1
Change-Id: I454ff72c377a96aa769919348b27813ad434eb89 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-08functest: Enable jobs per streamFatih Degirmenci1-1/+3
Change-Id: I5289fedf52354f2cef6a3202df27d35acccb7c6c Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-08Merge "Add patrole and parser in Functest daily jobs"Fatih Degirmenci1-0/+11
2018-03-08fuel-armband: Fix functest job nameFatih Degirmenci1-1/+1
Change-Id: Iaf8918942909e2b4b9608229f3fe0374efbd9d3f Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-08Merge "fuel-armband: Add functest and yardstick as downstream jobs"Aric Gardner1-36/+22
2018-03-08fuel-armband: Add functest and yardstick as downstream jobsFatih Degirmenci1-36/+22
Change-Id: I003f760adc2cb0b4959188b7f7d676d8fdbd8bb9 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-08Add functest multijobs back to apex.agardner2-94/+96
fingers crossed Change-Id: I220a36ec8a6a0d95e847a5672c4d8e5c0d34c5ac Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-03-08Functest jobs are not showing upagardner2-94/+92
Remove and then re-add to see if we can get jjb merge to work Change-Id: Iff380b38bbc5a69e2850cd91a99267b6d5b1128f Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-03-08Nothing change to apex job to kick it into workingagardner2-2/+2
Change-Id: I88f33b7dcdf8f4d0a3aa3f8d46a07f10c62e6ae9 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-03-08Merge "fuel: Add functest and yardstick as downstream jobs"Fatih Degirmenci1-36/+22
2018-03-08functest: Enable functest daily jobsFatih Degirmenci1-1/+1
Change-Id: I1ce9e727a7f1448f657652a0f8d4bbab144b3ab9 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-08fuel: Add functest and yardstick as downstream jobsFatih Degirmenci1-36/+22
Change-Id: I90f42dc36ed0555788b517572088b5f09c1569fb Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-08Add patrole and parser in Functest daily jobsCédric Ollivier1-0/+11
Change-Id: Iad86593d0b2711505999d5b0446d241cf56d5c8b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-08Merge "Update Functest jobs (please vote an do not merge)"Aric Gardner1-40/+216
2018-03-08Merge "jjb: xci: xci-start-new-vm: Switch to pre-built bifrost OS images"Markos Chandras1-0/+1
2018-03-08Merge "Run patrole test in Jenkins"Fatih Degirmenci1-2/+2
2018-03-08xci: Set options in run-functest.shFatih Degirmenci1-0/+3
Functest healthcheck job actually fails but due to not setting options properly in run-functest.sh, we failed to notice this. Please note that this patch will enable changes to be blocked since creation of external network and associated subnet fail, due to an upstream issue. This causes functest healthcheck to fail which in turn results in Verified-1 on Gerrit. Change-Id: I32eeb422895930d039d3289ffb65e10763db9c4b Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-08jjb: xci: xci-start-new-vm: Switch to pre-built bifrost OS imagesMarkos Chandras1-0/+1
Change-Id: I19e60eea65b01ec22bb32c0efcdc6b071b22ca34 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-03-07Update Functest jobs (please vote an do not merge)agardner1-40/+216
We are going to try this again. Once this is merged, I will need to delete all the jobs that change job type and then re-merge releng merge will be broken during this short window. --- original commit message --- Add support for functest tier with multijob Add publishers separate for fetures and all other functest tiers Run functest features suits in a mutijob Since there are no arm specific requirements, remove arm-daily builders and jobs Original patch by Delia Popescu <delia.popescu@enea.com> Change-Id: I43422463c442ff6a18f6a98ab9909fc6c88e0259 JIRA: FUNCTEST-917 Signed-off-by: agardner <agardner@linuxfoundation.org>
2018-03-07jjb: xci: Add postbuild publisher script to remove clean VMMarkos Chandras5-2/+36
The clean VM normally stays around after the job is completed or killed due to timeout. Unless a job for the same distro is scheduled on the same node, that VM will state around for a while consuming valuable system resources. As such, we should remove it after the job finishes to free up resources for the new jobs. Change-Id: I88b5e32797969d9378588199a7ddb013bbe740c9 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-03-07Update return value from postbuildscriptJulien3-5/+26
PostBuildScript plugin's result affects Jenkins pipeline, so we should return the original job running status in the postbuildscript in the end Update macros: 1. from $POD_NAME to $NODE_NAME 2. from $SCENARIO to $DEPLOY_SCENARIO 2. {installer} to $INSTALLER_TYPE for {installer} is not existed in trigger job 3. add parameters definition for they can not be used in trigger jobs by predefined-parameters 4. missing TIMESTAMP_END Change-Id: I354be3d5ad02e53bb988995adc09b59e92a1640a Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-03-07Update include-raw tagJulien1-2/+2
replace `include-raw-escape` with `include-raw` for no jjb macros in the bash file. Change-Id: I6125779f23a5aafd7fed0f5017c4280394624bcd Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
2018-03-06Merge "Bugfix of the wrong regrex for Dovetail Jobs"Aric Gardner2-4/+4
2018-03-06Merge "Build functest-patrole in Functest multijob"Morgan Richomme1-0/+7
2018-03-06Merge "barometer_docker: add barometer-snmp to build"Fatih Degirmenci1-0/+5
2018-03-06Merge "[fuel, armband] Add os-ovn-nofeature-ha scenario"Fatih Degirmenci2-8/+36
2018-03-06Merge "[compass4nfv] add the docker images build"mei mei1-0/+6
2018-03-06Bugfix of the wrong regrex for Dovetail Jobsxudan2-4/+4
Change-Id: I5823f763d2f321a0b2505ca3ecd042e928b5a42c Signed-off-by: xudan <xudan16@huawei.com>
2018-03-06[fuel, armband] Add os-ovn-nofeature-ha scenarioAlexandru Avadanii2-8/+36
While at it, cleanup useless ovn/Euphrates jobs, we didn't have OVN in E release of Fuel@OPNFV. JIRA: FUEL-329 Change-Id: I4a9b476c292a05cf0b9cadaa3102ebccf2baa10a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-06Merge "container4nfv: run scenarios on arm baremetal"mei mei2-8/+28
2018-03-05Merge "[pharos] Run verify job for utils/*.py changes"Aric Gardner1-3/+3
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-03-05container4nfv: run scenarios on arm baremetalYibo Cai2-8/+28
Change-Id: I3ee659fafcf37b84f261444844af9c421d6843ca Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2018-03-05Merge "Report the result to TestAPI"Serena Feng2-15/+30