summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-24Merge "[Compass]master daily CI don't download iso from artifacts"Jun Li2-18/+35
2017-07-21Revert "Comment Pending JJB Changes on Patchset"Trevor Bramwell2-72/+0
There are obviously way more issues than expected with this change and it is currently blocking releng verification. This reverts commit 97b70892a76351da03f981ff4559aabfed0e0840. Change-Id: I871e35fc0dd36dbdee315b6efbe3d7fb99e38463 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-07-21Merge "Comment Pending JJB Changes on Patchset"Trevor Bramwell2-0/+72
2017-07-21query date from oldest to newestSerenaFeng1-11/+20
Change-Id: I3d0345bb85967f48617c485bbee1dfe6fa04a644 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-21separate db methods from handler.pySerenaFeng9-54/+60
db methods are mingled in handler, which is not well structured Change-Id: I639679d3fc05a0b6528158186b8bf89e0cd10596 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-21Merge "decouple the mutual-dependence of config.py and server.py"Jose Lausuch11-68/+75
2017-07-21[Functest] Add huawei-virtual5 for alpine testingLinda Wang2-0/+13
Change-Id: I5ce29cbb0786e83fbdf5bd014daf6686ec435562 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-21[Compass]master daily CI don't download iso from artifactswutianwei2-18/+35
Sometime compass build ISO failed, and didn't upload the iso to artifacts. So daily CI didn't use the latest code. We want the daily CI run the latest code, and we will build ISO when deploying Change-Id: Ic2af2987119fe5e9eb772a710ba4b4620cb9ee65 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-20Use dovetail cvp.0.3.0 imagexudan1-1/+1
JIRA: DOVETAIL-468 Change-Id: Ie2a700719cfbf9ceac0063444f910eedb1bff4f9 Signed-off-by: xudan <xudan16@huawei.com>
2017-07-21Merge "modify url to relative path to fit with testresults.opnfv.org/test"Jun Li1-3/+3
2017-07-20Merge "dovetail: proposed_test run against apex"Tim Rozet3-5/+42
2017-07-20decouple the mutual-dependence of config.py and server.pySerenaFeng11-68/+75
Currently server.py relies on CONF while starting the service, and config.py's config_fie is set in server.py, which is wrongly bi-depended this patch aims to let Config parse the sys.argv personally, just as oslo.config do, so that decouple the mutual-dependency Change-Id: I46887d122a98d478caebe9eeb7ab038941ce1f6b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-20modify url to relative path to fit with testresults.opnfv.org/testgrakiss1-3/+3
Change-Id: Ia600fe310404a1ba45e9571d611eedcdc669dbc7 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-07-20Merge "[Functest] Wget download_images.sh to support Alpine on Danube jobs"Jose Lausuch1-2/+8
2017-07-20remove Danube jobs.Narinder Gupta1-155/+10
Remove Danube jobs so that can concentrate on master for E release. Change-Id: I952dfa6e4000fc6b6c7b90d28acf6ca19cbc7b68 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-07-20role based access control and result uploadgrakiss14-21/+225
1. add role for user 2. user can upload test results Change-Id: I1c5370be7818edb0394f05e8b81f975deb98b286 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-07-20Merge "Compass4NFV add new scenario nosdn-kvm"Jun Li1-2/+2
2017-07-20Compass4NFV add new scenario nosdn-kvmwutianwei1-2/+2
Compass4NFV has integrated KVM. We add this scenario to CI Change-Id: I9e0625147f5c5f8adb46e4bf0f645a2fb3de3634 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-19dovetail: proposed_test run against apexMatthewLi3-5/+42
JIRA: DOVETAIL-359 1)run againt scenarios: os-nosdn-nofeature-ha os-nosdn-kvm-ha os-odl_l3-fdio-ha 2)stream: master 3)details see https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool Change-Id: Ief6f85faa955b59c2229a5fdffd73f83480fc214 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2017-07-19Apex: fix missing job for testsuiteTim Rozet2-0/+2
Change-Id: Ica77eb12fccfbb45479bbd75bbd8d3154f16a17b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19Apex: Fixes daily result reportingTim Rozet2-2/+120
Breaks testing up into its own mulitjob, which allows us to condtionally set status for the job due to failures, which will be set to unstable if only test suites fail. Change-Id: I5d886b98e437bf100b1d5546aebfcd046b0238cb Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19Apex: throttles scenario jobs to only 1 per nodeTim Rozet2-0/+10
Change-Id: Ia155e3c60be35c0cdd31d6ddb0705dc5c3f6ad42 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19Merge "prototypes: bifrost: Do not use tmpfs for dib builds"Markos Chandras1-0/+2
2017-07-19Apex: adds slave params to deploy jobTim Rozet2-0/+2
Change-Id: I56002eea4b626fa9616d3a6dac7b230058121d96 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19Merge "Apex: updates for post-danube"Tim Rozet3-108/+143
2017-07-19Apex: updates for post-danubeTim Rozet3-108/+143
Changes Include: - Functest in daily only executes on successful deployment - os-odl-bgpvpn-ha added to daily master - daily sub-job renamed to match CI evolution Change-Id: If34d013416b6d6c7fdfb4d0cdff652222e02462e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-19[Functest] Wget download_images.sh to support Alpine on Danube jobsjose.lausuch1-2/+8
Change-Id: I70cf598a09def6c62dd4c32ed819e818833a6ff2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19Merge "[Functest] Add presetup and fetch credentials for Alpine job"Jose Lausuch1-1/+4
2017-07-19Merge "bugfix: pagination raise exception when no records returned"Serena Feng1-13/+14
2017-07-19Merge "bugfix: query doesn't work well with period=1"Serena Feng3-7/+35
2017-07-19Merge "bugfix: mix order of Arno results"Serena Feng2-2/+2
2017-07-19Merge "leverage openstack's requirements rule"Serena Feng2-11/+11
2017-07-19[Functest] Add presetup and fetch credentials for Alpine jobjose.lausuch1-1/+4
Change-Id: I8633353f3ca9bbf854e0d67760e6504524309d74 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19[Functest] Add docker run command to execute the testsjose.lausuch1-1/+2
Change-Id: Ie9a56a7786de841d720b9902e8d3b5aabd79dd7e Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19bugfix: pagination raise exception when no records returnedSerenaFeng1-13/+14
if no records returned, it will raise 'Request page > total_pages' error. this patch is submitted to fix this JIRA: RELENG-281 Change-Id: I447247c55c64674d44d21d6f4ac8bb3ef725cfb0 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-19Merge "[Functest] Add script for running new Alpine containers"Jose Lausuch3-0/+134
2017-07-19[Functest] Add script for running new Alpine containersjose.lausuch3-0/+134
Change-Id: I96c7144578ee2e1f842e4bd22ffb79b9e1e54e4c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-19Fix document review job for QTIPYujun Zhang1-2/+44
- missing '/' in upload path - missing build result report to gerrit - notebook review job should be limited for changes in example/** folder Change-Id: I83d09157077306128a6db66429d8a402f2e7c69e Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-07-19Merge "doctor: workaround for bug of set-functest-env.sh"Serena Feng1-0/+5
2017-07-19Merge "Add support for review jupyter notebook from nbviewer"Serena Feng1-0/+75
2017-07-19bugfix: query doesn't work well with period=1SerenaFeng3-7/+35
when querying by date, if $lt is not provided, the empty/None/null/'' results will also be returned, the patch aims to fix this issue by adding $lt = datetime.now() if not provided JIRA: RELENG-212 Change-Id: Ida1e7d386a88d4ab640441df161c1fe134593f82 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-19bugfix: mix order of Arno resultsSerenaFeng2-2/+2
because start_date is not always in the same format or timezone, sort by start_date will be misordered some times, in this patch leverage '_id' to do the sort, it is generated by mongodb itself, always upscend. JIRA: FUNCTEST-694 JIRA: RELENG-213 Change-Id: Ie0ed5cd09c3f7abb1803d72abe5ecab440c1569c Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-07-19armband-deploy: rm translation of virtual POD nameAlexandru Avadanii1-4/+0
Old Fuel deploy scripts required the virtual POD name to be virtual_kvm, which needed to be translated at CI level after source enviroment specific configuration. New Fuel deploy scripts no longer need this translation, so drop it. Change-Id: I18164e77895bbb03a1ca7798e3c0ba78c34d1c65 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-18prototypes: bifrost: Do not use tmpfs for dib buildsMarkos Chandras1-0/+2
Using tmpfs seems somewhat unstable. For example the following error is observed on openSUSE hosts ERROR: failed to umount the /tmp/dib_image.RJBbahUd tmpfs As such, we set the dib_notmpfs variable to 'true' which mimics what upstream OpenStack scripts are doing already in project-config:tools/build-image.sh Change-Id: If050ab70303b3556fc1880a956f0ba1505d62050 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-07-18[fuel]reschedule fuel daily job on zte podszhihui wu1-192/+3
- delete fuel ci jobs on zte-pod2 - according to Euphrates scenario fuel supports[1], disable kvm scenario on zte-pod3, and enable ovs scenario on zte-pod1. [1] https://wiki.opnfv.org/display/SWREL/Euphrates+Scenario+Status Change-Id: Ia84e11d52583a477a105a00691e07eb765f1fae3 Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
2017-07-18Revert "armband-deploy.sh: Inherit env vars for sudo"Alexandru Avadanii1-1/+1
Using sudo triggers a chain of dependencies in our infrastructure, ranging from issues cleaning up the Jenkins workspace to deploy-time permission issues. As it turns out, cleaning all looses ends after that change is not a trivial task, and the remaining work outweights the benefits of using sudo in the first place. The original motivation for using sudo was a superposition of: - hardcoded check for running as root in Fuel's ci/deploy.sh; - the ability to install packages on the hosts via apt-get/yum; - the ability to spawn VMs using virt-manager; All of the above can be mitigated by imposing a series of restrictions for the Jenkins slave / jump server workstation and the jenkins user: - check for sudo rights instead of running as root user; - explicitly use sudo for package installation and/or system-level changes; - add jenkins user to "kvm" and "libvirtd" groups; So, revert using sudo when calling the deploy script, and limit sudo actions to package installation in Armband's deploy script. To compensate running as a regular user, a series of small changes is required in Armband project itself, together with the appropiate Jenkins slave user configuration on the machines running this script. This reverts commit 67d8bac7b2a97531ad465f275747b3dc455d4fe4. Change-Id: I88df6db1a43b93b7314ceca53d353f9000f15153 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-17armband-deploy.sh: Inherit env vars for sudoAlexandru Avadanii1-1/+1
Previous commit adding sudo for ci/deploy.sh call breaks Armband deploys, since ci/deploy.sh relies on $WORKSPACE env var being set. Change-Id: I948c8e3c00b430e0c186c0a727e1b7e027d7a089 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-17armband-deploy.sh: sudo ci/deploy.shAlexandru Avadanii1-1/+1
New MCP deploy scripts have a hard requirement on running as root. Bring back sudo for the `ci/deploy.sh` invocation, aligning with Fuel@OPNFV. NOTE: This can be later avoided/reverted if we can guarantee the "jenkins" user has sudo rights, even without a tty present. Change-Id: Ibec7b14e9174a7f482609890e5e68912931a8d05 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-07-17doctor: workaround for bug of set-functest-env.shRyota MIBU1-0/+5
`set-functest-env.sh' is expected to run with functest jobs, so it need one of the files in functest repo placed under WORKSPACE. This patch avoiding this bug by getting functest repo in pre section of functest trigger. Change-Id: Ib266781005bab18f34fa0cdfe50e0facb95d27ef Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-07-17Merge "[Functest] Adapt set-functest-env to download OS images"Jose Lausuch1-2/+2