releng.git
6 years agoBug-fix: add support for buid_tag reporting 97/41297/1
Yang Yu [Thu, 7 Sep 2017 11:08:09 +0000 (19:08 +0800)]
Bug-fix: add support for buid_tag reporting

JIRA: BOTTLENECK-158

It seems the build_tag is not automatedly passed to docker.
This patch is to try to pass build_tag to Bottlenecks docker.

Change-Id: I783d6f0702040449b0385d11bca709f8cdbdd58a
Signed-off-by: Yang Yu <Gabriel.yuyang@huawei.com>
6 years agoMerge "Rectify inter-job blocking strategy"
Serena Feng [Thu, 7 Sep 2017 01:37:43 +0000 (01:37 +0000)]
Merge "Rectify inter-job blocking strategy"

6 years agoMerge "hide cas ticket from web portal"
Serena Feng [Thu, 7 Sep 2017 01:03:43 +0000 (01:03 +0000)]
Merge "hide cas ticket from web portal"

6 years agoMerge changes from topic 'fuel-armband-verify-sync'
Trevor Bramwell [Wed, 6 Sep 2017 23:20:02 +0000 (23:20 +0000)]
Merge changes from topic 'fuel-armband-verify-sync'

* changes:
  fuel, armband: Move GS_URL to installer params
  fuel, armband: Move SSH_KEY outside /tmp
  fuel, armband: verify jobs: Enable virtual deploy

6 years agoIgnore All Changes to non-XCI Directories 37/41237/2
Trevor Bramwell [Wed, 6 Sep 2017 22:50:23 +0000 (15:50 -0700)]
Ignore All Changes to non-XCI Directories

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>
6 years agoMerge "Update XCI Forbidden Paths to include all READMEs"
Fatih Degirmenci [Wed, 6 Sep 2017 22:07:31 +0000 (22:07 +0000)]
Merge "Update XCI Forbidden Paths to include all READMEs"

6 years agoUpdate XCI Forbidden Paths to include all READMEs 33/41233/1
Trevor Bramwell [Wed, 6 Sep 2017 22:03:16 +0000 (15:03 -0700)]
Update XCI Forbidden Paths to include all READMEs

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>
6 years agofunctest: verify job should be multijob 21/41221/1
Alexandru Avadanii [Wed, 6 Sep 2017 20:02:33 +0000 (22:02 +0200)]
functest: verify job should be multijob

Change-Id: I3b62e855be9205326fee1fa8b2b56cb2276c689c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agofunctest: verify: build-timeout, ssh-agent-wrapper 15/41215/1
Alexandru Avadanii [Wed, 6 Sep 2017 19:22:56 +0000 (21:22 +0200)]
functest: verify: build-timeout, ssh-agent-wrapper

Change-Id: I2754c7d5502a05ef0fa1dec9dbd14b4c97b70f11
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Apex: remove file-paths from triggers for verify"
Aric Gardner [Wed, 6 Sep 2017 19:15:35 +0000 (19:15 +0000)]
Merge "Apex: remove file-paths from triggers for verify"

6 years agoMerge "functest: Move verify back to opnfv-build-ubuntu"
Aric Gardner [Wed, 6 Sep 2017 19:15:16 +0000 (19:15 +0000)]
Merge "functest: Move verify back to opnfv-build-ubuntu"

6 years agoApex: remove file-paths from triggers for verify 13/41213/1
Tim Rozet [Wed, 6 Sep 2017 19:12:30 +0000 (15:12 -0400)]
Apex: remove file-paths from triggers for verify

Change-Id: I0c6e54ce4caf0b6889bac62b25afcee2706ca75f
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agofunctest: Move verify back to opnfv-build-ubuntu 11/41211/1
Alexandru Avadanii [Wed, 6 Sep 2017 19:03:25 +0000 (21:03 +0200)]
functest: Move verify back to opnfv-build-ubuntu

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>
6 years agoApex: fixes verify with only unit test changes 09/41209/1
Tim Rozet [Wed, 6 Sep 2017 18:41:37 +0000 (14:41 -0400)]
Apex: fixes verify with only unit test changes

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>
6 years agofunctest: Fix verify job trigger 29/41129/2
Alexandru Avadanii [Wed, 6 Sep 2017 00:22:21 +0000 (02:22 +0200)]
functest: Fix verify job trigger

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>
6 years agohide cas ticket from web portal 47/41147/4
SerenaFeng [Wed, 6 Sep 2017 06:21:23 +0000 (14:21 +0800)]
hide cas ticket from web portal

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>
6 years agoApex: fixes image dir for deploy with dev builds 07/41107/1
Tim Rozet [Tue, 5 Sep 2017 21:42:35 +0000 (17:42 -0400)]
Apex: fixes image dir for deploy with dev builds

Change-Id: I59523b6233ca48c2eb2d4b4934263f0114d8e7a8
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Align Compass with CI Evolution Phase 1"
Trevor Bramwell [Tue, 5 Sep 2017 19:44:04 +0000 (19:44 +0000)]
Merge "Align Compass with CI Evolution Phase 1"

6 years agoMerge "Move apex build jobs into 'apex-project-jobs' file"
Tim Rozet [Tue, 5 Sep 2017 19:33:33 +0000 (19:33 +0000)]
Merge "Move apex build jobs into 'apex-project-jobs' file"

6 years agoMerge "multiarch: Add functest x86_64, aarch64 verify jobs"
Aric Gardner [Tue, 5 Sep 2017 19:18:52 +0000 (19:18 +0000)]
Merge "multiarch: Add functest x86_64, aarch64 verify jobs"

6 years agoMerge "Apex: Removes calling apex ci scripts for build/test/deploy"
Tim Rozet [Tue, 5 Sep 2017 18:50:29 +0000 (18:50 +0000)]
Merge "Apex: Removes calling apex ci scripts for build/test/deploy"

6 years agoxci: Stop triggering the verify job if there is no code change 37/40737/3
Fatih Degirmenci [Thu, 31 Aug 2017 07:26:19 +0000 (09:26 +0200)]
xci: Stop triggering the verify job if there is no code change

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>
6 years agoMerge "Just some job that lightly monitors slaves"
Aric Gardner [Tue, 5 Sep 2017 18:10:00 +0000 (18:10 +0000)]
Merge "Just some job that lightly monitors slaves"

6 years agoJust some job that lightly monitors slaves 85/40785/3
agardner [Thu, 31 Aug 2017 19:33:49 +0000 (15:33 -0400)]
Just some job that lightly monitors slaves

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>
6 years agofuel: Enable OPNFV CI gate security 31/40931/2
Alexandru Avadanii [Sun, 3 Sep 2017 02:34:38 +0000 (04:34 +0200)]
fuel: Enable OPNFV CI gate security

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>
6 years agoMerge "Refactored docker watchdog code"
Morgan Richomme [Tue, 5 Sep 2017 12:19:25 +0000 (12:19 +0000)]
Merge "Refactored docker watchdog code"

6 years agoMerge "hide create_pod function from anonymous user"
Serena Feng [Tue, 5 Sep 2017 12:08:46 +0000 (12:08 +0000)]
Merge "hide create_pod function from anonymous user"

6 years agobugfix: TestAPI start failed due to config.ini not found 53/41053/1
SerenaFeng [Tue, 5 Sep 2017 09:14:16 +0000 (17:14 +0800)]
bugfix: TestAPI start failed due to config.ini not found

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>
6 years agoMerge "Set volume_device_name=vdb for apex"
Jun Li [Tue, 5 Sep 2017 08:32:25 +0000 (08:32 +0000)]
Merge "Set volume_device_name=vdb for apex"

6 years agoMerge "bugfix: leverage data_files to stop hacking setup.py"
Serena Feng [Tue, 5 Sep 2017 08:24:46 +0000 (08:24 +0000)]
Merge "bugfix: leverage data_files to stop hacking setup.py"

6 years agomultiarch: Add functest x86_64, aarch64 verify jobs 29/33129/20
Catalina Focsa [Fri, 7 Apr 2017 15:22:57 +0000 (17:22 +0200)]
multiarch: Add functest x86_64, aarch64 verify jobs

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>
6 years agobugfix: container start failed due to config_file set to Nonetype 33/41033/1
SerenaFeng [Tue, 5 Sep 2017 03:45:45 +0000 (11:45 +0800)]
bugfix: container start failed due to config_file set to Nonetype

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>
6 years agoMerge "improve: discard venv support for official product"
Serena Feng [Tue, 5 Sep 2017 02:00:33 +0000 (02:00 +0000)]
Merge "improve: discard venv support for official product"

6 years agofuel, armband: Move GS_URL to installer params 29/40929/2
Alexandru Avadanii [Sun, 3 Sep 2017 01:51:27 +0000 (03:51 +0200)]
fuel, armband: Move GS_URL to installer params

JIRA: FUEL-278

Change-Id: I9f5496d02097c2a6ae1db73b8a5df20b75ce728d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agofuel, armband: Move SSH_KEY outside /tmp 27/40927/2
Alexandru Avadanii [Sun, 3 Sep 2017 01:03:31 +0000 (03:03 +0200)]
fuel, armband: Move SSH_KEY outside /tmp

JIRA: FUEL-280

Change-Id: Ia96986e3f289739914de6b7e63abfb0172b8e6b5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agofuel, armband: verify jobs: Enable virtual deploy 25/40925/3
Alexandru Avadanii [Sat, 2 Sep 2017 22:07:24 +0000 (00:07 +0200)]
fuel, armband: verify jobs: Enable virtual deploy

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>
6 years agoMerge changes from topic 'fuel-armband-deploy-sync'
Fatih Degirmenci [Mon, 4 Sep 2017 22:54:31 +0000 (22:54 +0000)]
Merge changes from topic 'fuel-armband-deploy-sync'

* 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

6 years agoAdd 2 files forgotten in previous commit for vsperf integration 01/41001/1
Morgan Richomme [Mon, 4 Sep 2017 12:19:45 +0000 (14:19 +0200)]
Add 2 files forgotten in previous commit for vsperf integration

Change-Id: Ibfd36814ac09d16ba4b3d365e04bf3b39a1ef7db
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoMerge "Add vsperf in reporting"
Morgan Richomme [Mon, 4 Sep 2017 12:15:44 +0000 (12:15 +0000)]
Merge "Add vsperf in reporting"

6 years agoRefactored docker watchdog code 93/40993/5
Sakala Venkata Krishna Rohit [Mon, 4 Sep 2017 11:29:05 +0000 (16:59 +0530)]
Refactored docker watchdog code

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>
6 years agobugfix: leverage data_files to stop hacking setup.py 81/40981/3
SerenaFeng [Mon, 4 Sep 2017 07:57:23 +0000 (15:57 +0800)]
bugfix: leverage data_files to stop hacking setup.py

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>
6 years agohide create_pod function from anonymous user 85/40985/1
SerenaFeng [Mon, 4 Sep 2017 10:09:49 +0000 (18:09 +0800)]
hide create_pod function from anonymous user

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>
6 years agoimprove: discard venv support for official product 83/40983/1
SerenaFeng [Mon, 4 Sep 2017 08:46:30 +0000 (16:46 +0800)]
improve: discard venv support for official product

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>
6 years agoAdd vsperf in reporting 71/40371/2
Morgan Richomme [Mon, 28 Aug 2017 09:34:45 +0000 (11:34 +0200)]
Add vsperf in reporting

fix some pep8 errors in other projects

Change-Id: Iea68b0d495f7fbe892ec866fb70b8354ad9ff3c2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoSet volume_device_name=vdb for apex 59/40959/1
xudan [Mon, 4 Sep 2017 02:54:24 +0000 (22:54 -0400)]
Set volume_device_name=vdb for apex

Change-Id: I40a8359ea8ef868f79a02dcb824e80cd8b3385d1
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoclarify obsoleted test configuration files 75/40675/3
SerenaFeng [Wed, 30 Aug 2017 08:33:31 +0000 (16:33 +0800)]
clarify obsoleted test configuration files

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>
6 years agoMerge "leverage LFID as Authentication"
Serena Feng [Mon, 4 Sep 2017 01:08:34 +0000 (01:08 +0000)]
Merge "leverage LFID as Authentication"

6 years agofuel, armband: Remove/disable artifact download 19/40919/1
Alexandru Avadanii [Fri, 1 Sep 2017 20:30:42 +0000 (22:30 +0200)]
fuel, armband: Remove/disable artifact download

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>
6 years agofuel, armband: Remove build jobs and scripts 85/40885/2
Alexandru Avadanii [Fri, 1 Sep 2017 19:13:00 +0000 (21:13 +0200)]
fuel, armband: Remove build jobs and scripts

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>
6 years agofuel, armband: Drop armband-deploy.sh 75/40875/2
Alexandru Avadanii [Fri, 1 Sep 2017 18:46:31 +0000 (20:46 +0200)]
fuel, armband: Drop armband-deploy.sh

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>
6 years agofuel, armband: Sync deploy scripts, cleanup 87/40787/2
Alexandru Avadanii [Thu, 31 Aug 2017 20:20:50 +0000 (22:20 +0200)]
fuel, armband: Sync deploy scripts, cleanup

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>
6 years agoApex: re-enable storperf on os-nosdn-nofeature-ha 15/40915/1
Tim Rozet [Sat, 2 Sep 2017 13:45:26 +0000 (09:45 -0400)]
Apex: re-enable storperf on os-nosdn-nofeature-ha

Change-Id: Ia48b95589e6365102fef54444a8e334a80301dd2
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "jjb: xci: Update openSUSE release to 42.3"
Markos Chandras [Sat, 2 Sep 2017 06:50:39 +0000 (06:50 +0000)]
Merge "jjb: xci: Update openSUSE release to 42.3"

6 years agoMerge "xci: Fix the list of blocking jobs for osa-periodic jobs"
Fatih Degirmenci [Fri, 1 Sep 2017 23:00:23 +0000 (23:00 +0000)]
Merge "xci: Fix the list of blocking jobs for osa-periodic jobs"

6 years agoApex: Need to use sudo for virsh for fetch creds 77/40877/1
Tim Rozet [Fri, 1 Sep 2017 18:54:14 +0000 (14:54 -0400)]
Apex: Need to use sudo for virsh for fetch creds

Change-Id: I28e259bf8cdc7431a99227ba3e1eb8615744851e
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoxci: Fix the list of blocking jobs for osa-periodic jobs 39/40739/2
Fatih Degirmenci [Thu, 31 Aug 2017 07:52:23 +0000 (09:52 +0200)]
xci: Fix the list of blocking jobs for osa-periodic jobs

Change-Id: I2f60bac555571d4fddbde63bf8002aae2df47de3
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
6 years agoMerge "Add watchdog into testresults server to restart docker containers."
Aric Gardner [Fri, 1 Sep 2017 18:17:22 +0000 (18:17 +0000)]
Merge "Add watchdog into testresults server to restart docker containers."

6 years agoFix Yamllint Violations for jjb/dpacc 07/40607/2
Trevor Bramwell [Fri, 7 Jul 2017 23:50:19 +0000 (16:50 -0700)]
Fix Yamllint Violations for jjb/dpacc

JIRA: RELENG-254

Change-Id: I9f2d554f44b2291a8a7bbda7fab21a98110e7c04
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "xci: Create daily virtual jobs for sfc"
Aric Gardner [Fri, 1 Sep 2017 18:05:56 +0000 (18:05 +0000)]
Merge "xci: Create daily virtual jobs for sfc"

6 years agoMerge "migrate openretriever to container4nfv"
Aric Gardner [Fri, 1 Sep 2017 18:04:43 +0000 (18:04 +0000)]
Merge "migrate openretriever to container4nfv"

6 years agoMerge "Initial Auto Project Jobs"
Aric Gardner [Fri, 1 Sep 2017 18:04:12 +0000 (18:04 +0000)]
Merge "Initial Auto Project Jobs"

6 years agoxci: Create daily virtual jobs for sfc 29/38529/2
Fatih Degirmenci [Tue, 1 Aug 2017 14:26:01 +0000 (16:26 +0200)]
xci: Create daily virtual jobs for sfc

Change-Id: I18105f9289f67f634431013d08b24608380f00e4
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
6 years agoMove apex build jobs into 'apex-project-jobs' file 19/40519/2
Trevor Bramwell [Mon, 28 Aug 2017 20:12:32 +0000 (13:12 -0700)]
Move apex build jobs into 'apex-project-jobs' file

Since these jobs don't deal with scenarios they can safely be moved to
another file without the need to duplicate the scenario listings.

Fixes a bug with 'concurrent-builds' not being set due to missing
quotation marks.

JIRA: RELENG-287

Change-Id: Icce39620521c7d25476553115efbaa9063ca2e17
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoApex: Removes calling apex ci scripts for build/test/deploy 61/40861/1
Tim Rozet [Fri, 1 Sep 2017 15:01:27 +0000 (11:01 -0400)]
Apex: Removes calling apex ci scripts for build/test/deploy

We dont need to use the apex/ci directory anymore and the ci scripts
should be in releng.  A follow up patch will remove the ci/clean script
usage.

Change-Id: Ib2c7bd3d2dfee360bb13b42852ff2010a691a018
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoApex: fix find command for rpms 43/40843/1
Tim Rozet [Fri, 1 Sep 2017 12:57:22 +0000 (08:57 -0400)]
Apex: fix find command for rpms

Change-Id: I75bd15be3e68fa630a59cd30a0da72b8f17b8b84
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Apex, Yardstick: Fixes fetching creds"
Tim Rozet [Fri, 1 Sep 2017 12:50:07 +0000 (12:50 +0000)]
Merge "Apex, Yardstick: Fixes fetching creds"

6 years agoMerge "Missing "-y" when install docker.io"
Jun Li [Fri, 1 Sep 2017 12:06:09 +0000 (12:06 +0000)]
Merge "Missing "-y" when install docker.io"

6 years agojjb: xci: Update openSUSE release to 42.3 25/40825/1
Markos Chandras [Fri, 1 Sep 2017 09:08:38 +0000 (10:08 +0100)]
jjb: xci: Update openSUSE release to 42.3

openSUSE Leap 42.3 is the latest release so update the CI jobs to make
use of it.

Change-Id: I875bf924be9c84607d4b859a72f5eade4ca5f36d
Signed-off-by: Markos Chandras <mchandras@suse.de>
6 years agoMerge "Add a dovetail test job on huawei-pod4 to test Apex danube branch"
Jun Li [Fri, 1 Sep 2017 08:32:48 +0000 (08:32 +0000)]
Merge "Add a dovetail test job on huawei-pod4 to test Apex danube branch"

6 years agoMerge "cleanup of obsolete non-CI arm PODs"
Morgan Richomme [Fri, 1 Sep 2017 07:51:05 +0000 (07:51 +0000)]
Merge "cleanup of obsolete non-CI arm PODs"

6 years agoMerge "bug fix: reporting Tempest"
Morgan Richomme [Fri, 1 Sep 2017 07:03:15 +0000 (07:03 +0000)]
Merge "bug fix: reporting Tempest"

6 years agoApex: Removes cleaning from unit tests 13/40813/1
Tim Rozet [Fri, 1 Sep 2017 05:07:35 +0000 (01:07 -0400)]
Apex: Removes cleaning from unit tests

There should be no reason to clean as the unit tests should be local to
the code. This was deleting some of our undercloud vms in daily
deployment causing deployment to fail.

Change-Id: I22abc57ea1a3f10cb91451e7005aa23d9715acc5
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoApex: fixes always downloading RPMs in daily deploy 11/40811/1
Tim Rozet [Fri, 1 Sep 2017 04:18:15 +0000 (00:18 -0400)]
Apex: fixes always downloading RPMs in daily deploy

Change-Id: I30bc270c1ae9c648ec184e446a712bd304ad1230
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Added the validation for name field in create pod function"
Serena Feng [Fri, 1 Sep 2017 01:17:40 +0000 (01:17 +0000)]
Merge "Added the validation for name field in create pod function"

6 years agoMissing "-y" when install docker.io 03/40803/1
chenjiankun [Fri, 1 Sep 2017 00:55:53 +0000 (00:55 +0000)]
Missing "-y" when install docker.io

Change-Id: I1c94d148bf62aba6e21fcabe1908931c6732327f
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
6 years agoMerge "Remove final ' placed at the end of each line by sed"
Aric Gardner [Thu, 31 Aug 2017 20:16:55 +0000 (20:16 +0000)]
Merge "Remove final ' placed at the end of each line by sed"

6 years agocleanup of obsolete non-CI arm PODs 73/40673/16
Charalampos Kominos [Wed, 30 Aug 2017 08:38:25 +0000 (10:38 +0200)]
cleanup of obsolete non-CI arm PODs

Change-Id: I134feba421d12c4ca428b098aaa2bf52b3dec0ca

6 years agoAdd a dovetail test job on huawei-pod4 to test Apex danube branch 43/40743/1
xudan [Thu, 31 Aug 2017 08:34:32 +0000 (04:34 -0400)]
Add a dovetail test job on huawei-pod4 to test Apex danube branch

1. Apex doesn't have danube jobs now.
2. Dovetail is based on opnfv danube branch, so it should be tested
   against Apex danube deployment.
3. Huawei-pod4 deployed with Apex danube (os-nosdn-nofeature-ha) and
   can be used to test.

JIRA: DOVETAIL-494

Change-Id: Ic3251585503c15fb416c6d9497e8acfc977ebe3e
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoAdd 2 fuel danube jobs on zte-pod1 and one nosdn-nofeature job on fuel master 01/39301/4
xudan [Tue, 15 Aug 2017 03:41:20 +0000 (23:41 -0400)]
Add 2 fuel danube jobs on zte-pod1 and one nosdn-nofeature job on fuel master

Dovetail release is based on opnfv danube release, so it needs to be tested
on deployment of danube branch.

Add 2 fuel danube jobs on zte-pod1:
1. os-odl_l2-bgpvpn-ha triggerd on Monday, Wednesday and Friday 2am.
2. os-nosdn-nofeature-ha triggered on Saturday 2am.

Add 1 nosdn-nofeature job on fuel master.

JIRA: DOVETAIL-481

Change-Id: I6b419e84b0aad3e6212e26c8a8a1ea5bd02610b8
Signed-off-by: xudan <xudan16@huawei.com>
6 years agobug fix: reporting Tempest 35/40735/1
Morgan Richomme [Thu, 31 Aug 2017 07:07:06 +0000 (09:07 +0200)]
bug fix: reporting Tempest

not updated since Colorado and data model changed

 - minor fixes to match data model
 - pep8/pylint correction

Change-Id: I3a0a9ea689d25b3cfff35cb1ec39329981627bc6
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoUsing juju ssh command to run kubernetes test case 29/40729/1
chenjiankun [Thu, 31 Aug 2017 03:17:25 +0000 (03:17 +0000)]
Using juju ssh command to run kubernetes test case

On joid kubernetes deployment we can't ssh container from jumpserver.
So we need to start yardstick on kubernetes master node.

Change-Id: I9a1308d401cdacef63690088ac22bd555927bea3
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
6 years agoleverage LFID as Authentication 53/40653/7
SerenaFeng [Wed, 30 Aug 2017 03:59:46 +0000 (11:59 +0800)]
leverage LFID as Authentication

delete openid authentication
add LFID authentication

Change-Id: Iead144b5130bce51448024e65092fdea3bb2f07a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
6 years agoMerge "Add repository archiver for compliance checks"
Trevor Bramwell [Wed, 30 Aug 2017 16:58:53 +0000 (16:58 +0000)]
Merge "Add repository archiver for compliance checks"

6 years agoApex: fixes trigger for gate job 03/40703/1
Tim Rozet [Wed, 30 Aug 2017 13:18:24 +0000 (09:18 -0400)]
Apex: fixes trigger for gate job

Change-Id: I0bd9f2bac11b4161da4b6cdfa0a0c6d444020944
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Apex: Detect deploy scenario for functest on gate job"
Tim Rozet [Wed, 30 Aug 2017 13:09:21 +0000 (13:09 +0000)]
Merge "Apex: Detect deploy scenario for functest on gate job"

6 years agoMerge "SFC: Adds initial SFC verify job"
Tim Rozet [Wed, 30 Aug 2017 13:03:29 +0000 (13:03 +0000)]
Merge "SFC: Adds initial SFC verify job"

6 years agoApex: Detect deploy scenario for functest on gate job 95/40695/2
Tim Rozet [Wed, 30 Aug 2017 12:39:39 +0000 (08:39 -0400)]
Apex: Detect deploy scenario for functest on gate job

Change-Id: I3f0119db7b7cade3ddd2dbeaa97e03e1fea58798
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Set timeout of Dovetail jobs to be 240 and don't remove the stable images"
Jun Li [Wed, 30 Aug 2017 09:57:08 +0000 (09:57 +0000)]
Merge "Set timeout of Dovetail jobs to be 240 and don't remove the stable images"

6 years agoSet timeout of Dovetail jobs to be 240 and don't remove the stable images 69/40669/1
xudan [Wed, 30 Aug 2017 08:11:01 +0000 (04:11 -0400)]
Set timeout of Dovetail jobs to be 240 and don't remove the stable images

1. Jobs on Compass are always built time out and aborted.
2. Dovetail needs about 2 hours for all the test cases.
3. However, due to the slow internet speed, it will take a long time to pull
   releng source code and dovetail docker image.
4. Extend the time to 240 minutes.
5. Don't remove the stable docker images, so it don't need to pull every time.

JIRA: DOVETAIL-491

Change-Id: I9c7255a89eebf5770c0854224cd65e7413916078
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoAdded the validation for name field in create pod function 81/40581/2
thuva4 [Tue, 29 Aug 2017 10:30:58 +0000 (16:00 +0530)]
Added the validation for name field in create pod function

Change-Id: I18a072c7b2677794a64693135904cf97eb7b3349
Signed-off-by: thuva4 <tharma.thuva@gmail.com>
6 years agoBugfix: Bad substitution wthen run shell script 43/40643/1
chenjiankun [Wed, 30 Aug 2017 01:15:21 +0000 (01:15 +0000)]
Bugfix: Bad substitution wthen run shell script

When run yardstick-get-k8s-conf.sh, there is an error:
    /tmp/hudson2171423090360971912.sh: 6:
    /tmp/hudson2171423090360971912.sh: Bad substitution

To solve this problem, we need set using /bin/bash to run script.
If we do not set it, it will using /bin/sh by default.

Change-Id: Ic3aa58dfad009c42974f98ea4366b6e5f50752ca
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
6 years agoInitial Auto Project Jobs 29/40629/1
Trevor Bramwell [Tue, 29 Aug 2017 23:21:53 +0000 (16:21 -0700)]
Initial Auto Project Jobs

Create a noop job for the Auto project so they can begin submitting
changes.

Change-Id: If7c80c283a07d3d8e008f566bff8bfe473a93aed
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoMerge "[fuel] Handle os cacert for baremetal deployments"
Trevor Bramwell [Tue, 29 Aug 2017 21:03:02 +0000 (21:03 +0000)]
Merge "[fuel] Handle os cacert for baremetal deployments"

6 years agoFix Yamllint Violations for jjb/global 39/40039/4
Trevor Bramwell [Fri, 7 Jul 2017 23:45:12 +0000 (16:45 -0700)]
Fix Yamllint Violations for jjb/global

Includes a default .yamllint configuration file with line-length
producing a warning (instead of the default error) after 120 characters.

JIRA: RELENG-254

Change-Id: Ia46ec6451201c5e91d98901a6ff65360079b2c81
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoSFC: Adds initial SFC verify job 01/40601/1
Tim Rozet [Tue, 29 Aug 2017 17:09:25 +0000 (13:09 -0400)]
SFC: Adds initial SFC verify job

Change-Id: I9c212a0a5eca233d39b91b5394b952a70be87c78
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoApex, Yardstick: Fixes fetching creds 91/40591/1
Tim Rozet [Tue, 29 Aug 2017 13:57:48 +0000 (09:57 -0400)]
Apex, Yardstick: Fixes fetching creds

There is a bug where by default the INSTALLER_IP is set to 192.168.X.X
and in yardstick the IP is never found for Apex before trying to fetch,
so fetching fails to an invalid IP address.

This patch makes fetch os creds more robust to check if the INSTALLER_IP
is valid and if not, then attempt to find the correct IP for Apex.

Change-Id: Ie18d6e70f77ccff3592fb37c6d0b6e87b6435cf8
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoAdd watchdog into testresults server to restart docker containers. 81/39381/7
Sakala Venkata Krishna Rohit [Wed, 16 Aug 2017 03:44:04 +0000 (09:14 +0530)]
Add watchdog into testresults server to restart docker containers.

Unexpected crashing of docker containers were occuring. So, a cron script
is to be run in regular intervals which will check for status of the
deployments and restart docker if necessary. Docker restart is seen
as a solution to solve majority of crashes.

Suggest if there is a better approach.

Change-Id: I40d56180350844b4a0f766e1b10a9fabfa02d3be
Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
6 years agoDo not redirect errors in ${redirect} 63/40563/2
Cédric Ollivier [Tue, 29 Aug 2017 08:22:04 +0000 (10:22 +0200)]
Do not redirect errors in ${redirect}

${redirect} can be equal to /dev/null.

Change-Id: Ie66ee7ca2da92270de8619399a7f362acff8873a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "bug fix for qtip reporting"
Morgan Richomme [Tue, 29 Aug 2017 07:41:36 +0000 (07:41 +0000)]
Merge "bug fix for qtip reporting"

6 years agoMerge "Fetch admin.conf from master on kubernetes scenario"
Jun Li [Tue, 29 Aug 2017 02:04:18 +0000 (02:04 +0000)]
Merge "Fetch admin.conf from master on kubernetes scenario"