summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-06Apex: fixes verify with only unit test changesTim Rozet2-2/+8
If we make changes to apex/tests path it is only unit tests and we do not want to trigger apex-verify-stream. Change-Id: I42ef56330883ea6e9643f24567eaee3d5fa36071 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-06armband: Enable docker build/push for yardstickCatalina Focsa1-0/+9
Change-Id: I33f719578baadc70571832c5b7e7f146516c3020 Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-09-06functest: Fix verify job triggerAlexandru Avadanii1-2/+6
Commit 27f5d5c refactored the functest verify jobs, but also introduced an issue triggering said job by not passing project and branch parameters to the new trigger macros. Change-Id: I7a61a1f85df345c090813b5060959fa79d294f9b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-06update Readme.rst to be consistent with current implementationSerenaFeng1-36/+65
Change-Id: Ie8abeca5901cce635f54f0c01496a7181287d0cd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-06hide cas ticket from web portalSerenaFeng6-47/+49
In the previous implementation, when login the url will shown as: http://localhost:8000/?ticket=ST-5WzYs6SD2A#/ this patch aims to hide the ticket mechanism. 1) add /api/v1/auth/signin_return to process login verify 2) refactor code, leverage SignBaseHanlder() to manage casclient Change-Id: I62e23eb69ee52304c30753e861b4f0a4e0d45541 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-05Apex: fixes image dir for deploy with dev buildsTim Rozet1-1/+1
Change-Id: I59523b6233ca48c2eb2d4b4934263f0114d8e7a8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-05Add functest-healthcheck alpine to xci-verify-healthcheck-macroMorgan Richomme3-6/+15
- add the rc file retrieval in fetch_os.sh - adapt alpine to split healtcheck from daily (healthcheck + smoke + features) - adapt the xci builder Change-Id: I38836814240a1d769d379a10c9ef14def7e6df97 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-05Merge "Align Compass with CI Evolution Phase 1"Trevor Bramwell1-2/+2
2017-09-05Merge "Move apex build jobs into 'apex-project-jobs' file"Tim Rozet3-214/+127
2017-09-05Merge "multiarch: Add functest x86_64, aarch64 verify jobs"Aric Gardner1-46/+150
2017-09-05Merge "Apex: Removes calling apex ci scripts for build/test/deploy"Tim Rozet3-27/+33
2017-09-05xci: Stop triggering the verify job if there is no code changeFatih Degirmenci1-5/+1
The job doesn't need to be triggered if there is no code change, eg commit message updates. The remnants of previous directory structure is also removed from gerrit trigger/forbidden-file-paths. Change-Id: I68b9e70d0d70253d7fbad95f8dedaaa63fb2b26e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-05Merge "Just some job that lightly monitors slaves"Aric Gardner2-0/+123
2017-09-05Just some job that lightly monitors slavesagardner2-0/+123
I would like to remove slaves that are offline eg: after one month. This script doesn't remove anthing, or email anyone, but you can look at its output if you are interested. Counts how long slaves have been online or offline not sure why jenkins doesn't come with this functionality. I just threw the script on the master node into /opt/jenkins-ci/slavemonitor Script writes data to be read the next day, and I don't want to worry about the workspace getting wiped. you can look at the scipt here: https://gist.github.com/Aricg/d770f7d0a4e88d149ddb6715dc4ad0ba But I don't recommend it. Example of what output looks like: JUST WENT OFFLINE arm-build3 JUST WENT OFFLINE arm-pod5 JUST WENT OFFLINE ericsson-build3 JUST WENT OFFLINE ericsson-virtual5 OFFLINE cengn-pod1 FOR 7 ITERATIONS OFFLINE cisco-virtual1 FOR 7 ITERATIONS OFFLINE ericsson-virtual8 FOR 7 ITERATIONS OFFLINE ericsson-virtual9 FOR 7 ITERATIONS OFFLINE intel-pod3 FOR 7 ITERATIONS OFFLINE intel-pod6 FOR 7 ITERATIONS OFFLINE intel-pod8 FOR 7 ITERATIONS OFFLINE intel-virtual1 FOR 7 ITERATIONS ONLINE lf-build1 for 6 iterations ONLINE lf-build2 for 6 iterations ONLINE lf-pod1 for 6 iterations ONLINE lf-pod2 for 6 iterations ONLINE lf-virtual1 for 6 iterations ONLINE lf-virtual2 for 6 iterations ONLINE lf-virtual3 for 6 iterations ONLINE zte-pod1 for 6 iterations ONLINE zte-pod2 for 6 iterations ONLINE zte-pod3 for 6 iterations ONLINE zte-pod4 for 6 iterations ONLINE zte-virtual1 for 6 iterations ONLINE zte-virtual2 for 6 iterations ONLINE zte-virtual3 for 6 iterations ONLINE zte-virtual4 for 6 iterations removing online status from arm-build3. slave was online for 1 iterations removing online status from arm-pod5. slave was online for 1 iterations removing online status from ericsson-build3. slave was online for 1 iterations removing online status from ericsson-virtual5. slave was online for 1 iterations Change-Id: I652ef5460cb1ce45ff4e87828eb779da7febe8b4 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-09-05fuel: Enable OPNFV CI gate securityAlexandru Avadanii1-1/+1
Fuel project was left out of the list of projects against which security audit jobs should run, so enable it. Change-Id: I6d59197f78dfaf381d634c9d1821a7383506276c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-05Merge "Refactored docker watchdog code"Morgan Richomme1-38/+25
2017-09-05Merge "hide create_pod function from anonymous user"Serena Feng2-7/+8
2017-09-05bugfix: TestAPI start failed due to config.ini not foundSerenaFeng2-2/+2
not specifying abspath, so that the config.ini is installed under /usr/local/etc/opnfv_testapi/config.ini Change-Id: If9f4d1ab2d6a67a4aa5b5d481f46e9eddb4a2cbb Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-05Merge "Set volume_device_name=vdb for apex"Jun Li1-1/+1
2017-09-05Merge "bugfix: leverage data_files to stop hacking setup.py"Serena Feng8-27/+11
2017-09-05multiarch: Add functest x86_64, aarch64 verify jobsCatalina Focsa1-46/+150
Add a verify job for each architecture. JIRA: https://jira.opnfv.org/browse/ARMBAND-233 Change-Id: Ia99292504ac54d6b2870bd2a490e9d5f09c3f49a Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-09-05bugfix: container start failed due to config_file set to NonetypeSerenaFeng1-1/+1
Traceback (most recent call last): File "/usr/local/bin/opnfv-testapi", line 6, in <module> from opnfv_testapi.cmd.server import main File "/usr/local/lib/python2.7/dist-packages/opnfv_testapi/cmd/server.py", line 34, in <module> from opnfv_testapi.common.config import CONF File "/usr/local/lib/python2.7/dist-packages/opnfv_testapi/common/config.py", line 67, in <module> CONF = Config() File "/usr/local/lib/python2.7/dist-packages/opnfv_testapi/common/config.py", line 21, in __init__ self._parse() File "/usr/local/lib/python2.7/dist-packages/opnfv_testapi/common/config.py", line 29, in _parse if not os.path.exists(self.config_file): File "/usr/lib/python2.7/genericpath.py", line 18, in exists os.stat(path) TypeError: coercing to Unicode: need string or buffer, NoneType found Change-Id: Ifa26b5b52e7f1c19a773b02ecc1c45b59b5dc09b Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-05Merge "improve: discard venv support for official product"Serena Feng1-13/+2
2017-09-05fuel, armband: Move GS_URL to installer paramsAlexandru Avadanii7-89/+22
JIRA: FUEL-278 Change-Id: I9f5496d02097c2a6ae1db73b8a5df20b75ce728d Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-05fuel, armband: Move SSH_KEY outside /tmpAlexandru Avadanii1-1/+1
JIRA: FUEL-280 Change-Id: Ia96986e3f289739914de6b7e63abfb0172b8e6b5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-05fuel, armband: verify jobs: Enable virtual deployAlexandru Avadanii9-143/+56
Enable virtual deploy phase for verify multijob for both projects. Since fuel-defaults already define SSH_KEY param, drop it from individual jobs. Fuel: - drop merge jobs, which used to perform virtual deploys based on ISO created during verify job; - cleanup fuel-download-artifact (rm support for merge/verify); Armband: - while at it, remove "opnfv-build-enea-defaults", preparing for arm-build2's retirement. JIRA: FUEL-278 JIRA: FUEL-287 Change-Id: I354d72d88187e41070f44c723ccc651a0bb9b021 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-04armband: Re-enable baremetal scenario triggersAlexandru Avadanii1-3/+3
Cleanup commit c0ba4a5 removed the timed triggers for Armband baremetal scenarios, bring them back. Change-Id: I8b8d8d366ecf95594e26f30c1392b26692504021 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-04Merge changes from topic 'fuel-armband-deploy-sync'Fatih Degirmenci16-1029/+77
* changes: fuel, armband: Remove/disable artifact download fuel, armband: Remove build jobs and scripts fuel, armband: Drop armband-deploy.sh fuel, armband: Sync deploy scripts, cleanup
2017-09-04Add 2 files forgotten in previous commit for vsperf integrationMorgan Richomme2-0/+138
Change-Id: Ibfd36814ac09d16ba4b3d365e04bf3b39a1ef7db Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-04Merge "Add vsperf in reporting"Morgan Richomme6-110/+282
2017-09-04Refactored docker watchdog codeSakala Venkata Krishna Rohit1-38/+25
Removed start_containers fix as it was redundant. Checking jenkins job status for each module separately as deployment of one module doesn't depend on other module. Change-Id: I8ce34b9b7458ac56c9b866b5add539ad304095ed Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-09-04bugfix: leverage data_files to stop hacking setup.pySerenaFeng8-27/+11
1) leverage data_files to distribute ui related files, and dispatch them under /usr/local/share/opnfv_testapi 2) delete hacking coding, no more extra processes 3) utilize MANIFEST.in to include 3rd_party when producing a source distribution Change-Id: Idb83a02be11f6b24610191e9f85e0db80d92e972 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-04hide create_pod function from anonymous userSerenaFeng2-7/+8
Querying pods is open to everybody But only login users are allowed to create the new pod Change-Id: I1c722580c2c51a8a8b0f84f1ffac451dff20b086 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-04improve: discard venv support for official productSerenaFeng1-13/+2
virtual env is only to facilitate the development, not be used in official product, thus delete the support, let the developer manage their own development env. Change-Id: I33af882ab257e88b1e7a316d1d78197d6279933d Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-04Add vsperf in reportingMorgan Richomme6-110/+282
fix some pep8 errors in other projects Change-Id: Iea68b0d495f7fbe892ec866fb70b8354ad9ff3c2 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-03Set volume_device_name=vdb for apexxudan1-1/+1
Change-Id: I40a8359ea8ef868f79a02dcb824e80cd8b3385d1 Signed-off-by: xudan <xudan16@huawei.com>
2017-09-04clarify obsoleted test configuration filesSerenaFeng7-83/+3
delete noparam.ini/nosection.ini/notboolean.ini/notint.ini/normal.ini substitute normal.ini with etc/config.ini Change-Id: I7e2fa331736a2f9bf807814416a3118be5f613e5 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-09-04Merge "leverage LFID as Authentication"Serena Feng14-204/+104
2017-09-02fuel, armband: Remove/disable artifact downloadAlexandru Avadanii5-87/+2
Armband no longer requires any artifact before starting a deployment. Fuel (master and stable/E) no longer requires the artifact either, but since there are some stable/danube deploy jobs on ZTE PODs, we will hold off removing <fuel-download-artifact.sh> for a while. Deprecation warning: fuel-download-artifact.sh will be removed later. JIRA: ARMBAND-295 Change-Id: I3b26733a1120306879eff83b9fac3390b3f5c7b8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-02fuel, armband: Remove build jobs and scriptsAlexandru Avadanii12-760/+2
While at it, cleanup obsolete parameters specific to build ops. JIRA: FUEL-277 JIRA: FUEL-278 Change-Id: Id45dfe6855c95c425ac9aa771519d450ba9da3b5 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-02fuel, armband: Drop armband-deploy.shAlexandru Avadanii3-136/+22
Since armband-deploy.sh is merely a clone of fuel-deploy.sh, which we recently synced, drop armband-deploy.sh in favor of an universal fuel-deploy.sh, which will handle deploys for both projects. Change-Id: I653b4e67d9246951a284671e0cf559394661a1ad Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-02fuel, armband: Sync deploy scripts, cleanupAlexandru Avadanii2-102/+107
Run shellcheck on touched files, fix minor warnings. Prepare for upcoming changes: - ISO artifact will be obsoleted (later); - Fuel and Armband should use the same deploy script; Fuel: - rename securedlab local copy to lab-config; Armband: - drop deploy cache, Danube jobs can work without it, master/next jobs no longer use it; - move TMPDIR to $HOME (was in $WORKSPACE), so it's persistent; Change-Id: I9f8c47f9ca50de3c53c62ca6a08df0cc3a73abd3 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-02Apex: re-enable storperf on os-nosdn-nofeature-haTim Rozet2-24/+26
Change-Id: Ia48b95589e6365102fef54444a8e334a80301dd2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-02Merge "jjb: xci: Update openSUSE release to 42.3"Markos Chandras3-3/+3
2017-09-01Merge "xci: Fix the list of blocking jobs for osa-periodic jobs"Fatih Degirmenci1-2/+4
2017-09-01Apex: Need to use sudo for virsh for fetch credsTim Rozet1-1/+1
Change-Id: I28e259bf8cdc7431a99227ba3e1eb8615744851e Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-01xci: Fix the list of blocking jobs for osa-periodic jobsFatih Degirmenci1-2/+4
Change-Id: I2f60bac555571d4fddbde63bf8002aae2df47de3 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-09-01Merge "Add watchdog into testresults server to restart docker containers."Aric Gardner1-0/+178
2017-09-01Fix Yamllint Violations for jjb/dpaccTrevor Bramwell1-38/+39
JIRA: RELENG-254 Change-Id: I9f2d554f44b2291a8a7bbda7fab21a98110e7c04 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-01Merge "xci: Create daily virtual jobs for sfc"Aric Gardner1-6/+6