summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-07fuel-deploy.sh: Preserve env vars in sudo callAlexandru Avadanii1-1/+1
SSH_KEY and other env vars set by Jenkins should be preserved when using sudo to invoke the Fuel deploy script. JIRA: FUEL-280 Change-Id: I495589a4a0519b3a5052cd5e5dc3122f9e49c215 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-07fuel, armband: Move mcp.rsa to /var/lib/opnfvAlexandru Avadanii1-1/+1
JIRA: FUEL-280 Change-Id: I95559dcafbd179e5b7305dd0f23a7b3d89056888 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-07Merge "armband: Enable docker build/push for yardstick"Aric Gardner1-0/+9
2017-09-07Merge "armband: Re-enable baremetal scenario triggers"Aric Gardner1-2/+2
2017-09-07Merge "cleanup: Rename ODL-L3 to ODL, drop ODL-L2"Aric Gardner4-262/+34
2017-09-07Merge "fuel, armband: Use include-raw in macros"Aric Gardner2-2/+2
2017-09-07Add file-paths **agardner2-2/+10
this should make forbidden-file-paths work Change-Id: I18d63bffb92abd916eae54c7aafe9a8e1e98926f Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-09-07Apex: temporarily disable strict forbidden file pathTim Rozet2-2/+2
Change-Id: I360cd5ba894022cd30cf7237e8338ab2e213c940 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-07Move back to opnfv/functest-* for alpine containersMorgan Richomme1-1/+1
Temporary solutions relied on ollivier/functest-* but now opnfv/functest-* are well produced and can be used as official reference for CI Change-Id: I02b5a03929d5b31df0db2a6c4722edf62b920df9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-07Merge "Rectify inter-job blocking strategy"Serena Feng3-2/+6
2017-09-07Merge "hide cas ticket from web portal"Serena Feng6-47/+49
2017-09-07cleanup: Rename ODL-L3 to ODL, drop ODL-L2Alexandru Avadanii4-262/+34
JIRA: FUEL-279 Change-Id: Ie87ecaee17d6bb29776c3056274c59c1264762de Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-07fuel, armband: Use include-raw in macrosAlexandru Avadanii2-2/+2
Using include-raw-escape inside macros adds extra curly braces, which breaks bash scripts. JIRA: FUEL-287 Change-Id: If1e5f528e76aff78d2c9b99530b72070b6731f75 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-06Merge changes from topic 'fuel-armband-verify-sync'Trevor Bramwell10-233/+79
* changes: fuel, armband: Move GS_URL to installer params fuel, armband: Move SSH_KEY outside /tmp fuel, armband: verify jobs: Enable virtual deploy
2017-09-06Ignore All Changes to non-XCI DirectoriesTrevor Bramwell1-4/+5
We only care to trigger builds based on changes under xci/, not including xci/README.rst Change-Id: I347e0d7ef658c41322b7c3e25740fa4d2f960bdc Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-06Merge "Update XCI Forbidden Paths to include all READMEs"Fatih Degirmenci1-1/+1
2017-09-06Update XCI Forbidden Paths to include all READMEsTrevor Bramwell1-1/+1
There is no 'README.rst' at the root of the repo, but there are README.rst under xci, bifrost, etc. Changes to these READMEs shouldn't trigger builds. Change-Id: I6a09388cf40b35211d58413b45b5ac8c596a2dc7 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-09-06functest: verify job should be multijobAlexandru Avadanii1-0/+2
Change-Id: I3b62e855be9205326fee1fa8b2b56cb2276c689c Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-06functest: verify: build-timeout, ssh-agent-wrapperAlexandru Avadanii1-0/+5
Change-Id: I2754c7d5502a05ef0fa1dec9dbd14b4c97b70f11 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-09-06Merge "Apex: remove file-paths from triggers for verify"Aric Gardner2-22/+4
2017-09-06Merge "functest: Move verify back to opnfv-build-ubuntu"Aric Gardner1-1/+1
2017-09-06Apex: remove file-paths from triggers for verifyTim Rozet2-22/+4
Change-Id: I0c6e54ce4caf0b6889bac62b25afcee2706ca75f Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-06functest: Move verify back to opnfv-build-ubuntuAlexandru Avadanii1-1/+1
Recent rework changed the label for the verify jobs from "opnfv-build-ubuntu" to just "opnfv-build", trying to make it more OS-agnostic. Since verify jobs fail after the rework, try reverting the label change, hopefully it will fix the failure as well. Change-Id: I15d139d8dc2d2f940a1af2c1b5fb218d6be19f82 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
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-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-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>