releng.git
6 years agoSwitch daily job to Alpine containers 19/41519/1
Morgan Richomme [Mon, 11 Sep 2017 09:48:46 +0000 (11:48 +0200)]
Switch daily job to Alpine containers

The following alpine containers will be launched one after the others:
 - healthcheck
 - smoke
 - features
 - vnf

Old container is kept for suite (which could be refactored later)

Jenkins exit condition (return_value) and push_test_logs to be checkeded.

Regarding the return condition, I did not reapply the mechanism that returns false
when one of the test suite is FAIL. This was misleading for lots of people as
for them, red means functest is FAIL.The argument was, if functest jenkins status
is blue, people believe that tests are PASS and do not consider the results, which
may be FAIL, which may be also misleading...

Due to the refactoring I think we can be more Functest Centric and consider
that if we succeeded in running the test, our CI status shall be PASS (same
behavior than other test projects..HA test FAIL in yardstick do not prevent blue
 status).

Scenario owner must have a look at the reportign page to get more details.
Functest PASS means that tests have been succesfully launched, so they know that
there are available results
To summarize
previously Functest OK but 1 or more tests FAIL => red status in Jenkins
currently Functest OK but 1 or more tests FAIL => blue status in Jenkins

Regarding the push to artifacts, it should be transparent (volume) but the last
log links listed on huawei-virtual5 are broken [1]

[1]: https://build.opnfv.org/ci/view/functest/job/functest-alpine-compass-huawei-virtual5-daily-master/27/consoleFull

Change-Id: I4ed036dda3daae3d46726e5946f9d04897bab9bb
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoMerge "Change nginx configuration"
Morgan Richomme [Mon, 11 Sep 2017 08:29:57 +0000 (08:29 +0000)]
Merge "Change nginx configuration"

6 years agoMerge "Leverage on pbr (Python Build Reasonableness)"
Morgan Richomme [Mon, 11 Sep 2017 07:32:46 +0000 (07:32 +0000)]
Merge "Leverage on pbr (Python Build Reasonableness)"

6 years agoMerge "run Functest daily in xci"
Morgan Richomme [Mon, 11 Sep 2017 07:31:59 +0000 (07:31 +0000)]
Merge "run Functest daily in xci"

6 years agoChange nginx configuration 05/41505/1
chenjiankun [Mon, 11 Sep 2017 06:24:45 +0000 (06:24 +0000)]
Change nginx configuration

Since landing page have changed from reporting2 to testing,
the nginx configuration need some adoption.

If the pre url change again, we need to config the base_url when start
our docker container. For example:
    docker run -itd -p 8084:8000 -e SERVER_URL testresults.opnfv.org/xxx/api opnfv/reporting:latest

Change-Id: If3c9f9af76fcfc8047b5b9559fcc8bd45740d4d2
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
6 years agoMerge "Use dovetail cvp.0.6.0 to run Dovetail test"
Jun Li [Mon, 11 Sep 2017 02:47:20 +0000 (02:47 +0000)]
Merge "Use dovetail cvp.0.6.0 to run Dovetail test"

6 years agoMerge "Updating reporting url and fixed a bug"
Serena Feng [Mon, 11 Sep 2017 01:21:27 +0000 (01:21 +0000)]
Merge "Updating reporting url and fixed a bug"

6 years agoUse dovetail cvp.0.6.0 to run Dovetail test 89/41489/1
xudan [Mon, 11 Sep 2017 01:17:51 +0000 (21:17 -0400)]
Use dovetail cvp.0.6.0 to run Dovetail test

Change-Id: I63e361eebe1345a34086ecbe99aba4504cb0f5bc
Signed-off-by: xudan <xudan16@huawei.com>
6 years agoLeverage on pbr (Python Build Reasonableness) 55/41455/1
Cédric Ollivier [Sat, 9 Sep 2017 10:19:52 +0000 (12:19 +0200)]
Leverage on pbr (Python Build Reasonableness)

pbr can inject requirements into the install_requires, tests_require
and/or dependency_links arguments to setup.

It finishes cleaning the requirements management [1] for all OPNFV
projects integrated by Functest.

[1] https://wiki.opnfv.org/display/functest/Requirements+management

Change-Id: I30b76db8dcaba809e0b314fbd06ae04d24c8baca
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "installers: Use global macro 'clean-workspace'"
Aric Gardner [Fri, 8 Sep 2017 19:04:42 +0000 (19:04 +0000)]
Merge "installers: Use global macro 'clean-workspace'"

6 years agoMerge "Remove VNF catalogue from releng It has been transfered to sample vnf repo...
Aric Gardner [Fri, 8 Sep 2017 19:02:46 +0000 (19:02 +0000)]
Merge "Remove VNF catalogue from releng It has been transfered to sample vnf repo [1]"

6 years agoinstallers: Use global macro 'clean-workspace' 21/40921/5
Alexandru Avadanii [Sat, 2 Sep 2017 21:11:36 +0000 (23:11 +0200)]
installers: Use global macro 'clean-workspace'

Change-Id: I34a555697d963efc38064a7b53f25191d6bf1382
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Comment Pending JJB Changes on Patchset"
Trevor Bramwell [Fri, 8 Sep 2017 18:57:16 +0000 (18:57 +0000)]
Merge "Comment Pending JJB Changes on Patchset"

6 years agoMerge "fuel-deploy.sh: Add missing quotes in 'sudo -E'"
Trevor Bramwell [Fri, 8 Sep 2017 18:23:33 +0000 (18:23 +0000)]
Merge "fuel-deploy.sh: Add missing quotes in 'sudo -E'"

6 years agofuel-deploy.sh: Add missing quotes in 'sudo -E' 19/41419/1
Alexandru Avadanii [Fri, 8 Sep 2017 17:50:25 +0000 (19:50 +0200)]
fuel-deploy.sh: Add missing quotes in 'sudo -E'

Previous commit extended the SUDO variable to include '-E', but
failed to properly quote the full `sudo -E` string, resulting in
"command not found" errors.

Change-Id: I266aa5259f09c3605e1c5a7ad165397ce83be0bb
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "Apex: Explicitly define file paths"
Tim Rozet [Fri, 8 Sep 2017 17:47:49 +0000 (17:47 +0000)]
Merge "Apex: Explicitly define file paths"

6 years agoApex: Explicitly define file paths 17/41417/3
Tim Rozet [Fri, 8 Sep 2017 17:38:16 +0000 (13:38 -0400)]
Apex: Explicitly define file paths

Due to bug with forbidden file paths conflicting with file paths this
explicitly defines all the file paths in apex.  This isn't the greatest
solution in the case where someone adds a new folder, but chances are
they will also modify one of the other files as well.  Note it also
fixes a bug where unit tests woudl run twice because it would be
triggered as part of apex-verify-master and apex-unit-tests-master.

Change-Id: I6b10f8eb70c2cd7c8dd5c01363e06b7458c00127
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "fuel-deploy.sh: Preserve env vars in sudo call"
Trevor Bramwell [Fri, 8 Sep 2017 17:34:34 +0000 (17:34 +0000)]
Merge "fuel-deploy.sh: Preserve env vars in sudo call"

6 years agoMerge "fuel, armband: Move mcp.rsa to /var/lib/opnfv"
Trevor Bramwell [Fri, 8 Sep 2017 17:34:11 +0000 (17:34 +0000)]
Merge "fuel, armband: Move mcp.rsa to /var/lib/opnfv"

6 years agoMerge "storperf: Increase timeout for verify job"
Trevor Bramwell [Fri, 8 Sep 2017 17:24:56 +0000 (17:24 +0000)]
Merge "storperf: Increase timeout for verify job"

6 years agorun Functest daily in xci 17/40417/2
Morgan Richomme [Mon, 28 Aug 2017 13:58:48 +0000 (15:58 +0200)]
run Functest daily in xci

Functest daily is based on the functest alpine dockers:
 - healthcheck
 - smoke
 - features
 - vnf

Change-Id: I922f3a5946e8bc06229fb03a959abd2bfead132b
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoMerge "Add functest-healthcheck alpine to xci-verify-healthcheck-macro"
Morgan Richomme [Fri, 8 Sep 2017 08:34:05 +0000 (08:34 +0000)]
Merge "Add functest-healthcheck alpine to xci-verify-healthcheck-macro"

6 years agoMerge "Add traces to CI on fetch_os for compass"
Morgan Richomme [Fri, 8 Sep 2017 08:33:51 +0000 (08:33 +0000)]
Merge "Add traces to CI on fetch_os for compass"

6 years agoMerge "Bug-fix: add support for buid_tag reporting"
Jun Li [Fri, 8 Sep 2017 08:03:08 +0000 (08:03 +0000)]
Merge "Bug-fix: add support for buid_tag reporting"

6 years agoMerge "Add bottlenecks to reporting"
Morgan Richomme [Fri, 8 Sep 2017 07:49:38 +0000 (07:49 +0000)]
Merge "Add bottlenecks to reporting"

6 years agoRemove VNF catalogue from releng 69/41369/1
Morgan Richomme [Fri, 8 Sep 2017 06:43:19 +0000 (08:43 +0200)]
Remove VNF catalogue from releng
It has been transfered to sample vnf repo [1]

[1]: https://git.opnfv.org/samplevnf/tree/VNF_Catalogue

Change-Id: I418151bd24517efeb66fc0ae76cb9e091bd130f6
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoJobs on Compass often timeout 55/41355/2
xudan [Fri, 8 Sep 2017 02:26:44 +0000 (22:26 -0400)]
Jobs on Compass often timeout

1. Jobs on Compass often timeout
2. Apex jobs on huawei-pod4 will trigger 2 jobs at the same time. They will be
   conflict.

JIRA: DOVETAIL-491

Change-Id: I5297bfb01c45c15cce7ab1438d8eed3dd9c7ff07
Signed-off-by: xudan <xudan16@huawei.com>
6 years agostorperf: Increase timeout for verify job 49/41349/1
Alexandru Avadanii [Thu, 7 Sep 2017 22:50:24 +0000 (00:50 +0200)]
storperf: Increase timeout for verify job

AArch64 build runs inside a VM, which tends to be slow.
Until we move all AArch64 builders to baremetal, let's increase
the timeout from 30 min to 60.

Change-Id: I0e16d32ac1cbe8f13b24e3cadb87715f12360d7a
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoApex: adds daily flex job 41/41341/5
Tim Rozet [Thu, 7 Sep 2017 20:01:56 +0000 (16:01 -0400)]
Apex: adds daily flex job

Change-Id: I19fff409b5e8335ff44f0d9ba8167d3e882a9ad5
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoComment Pending JJB Changes on Patchset 63/38863/2
Trevor Bramwell [Fri, 19 May 2017 21:23:54 +0000 (14:23 -0700)]
Comment Pending JJB Changes on Patchset

Each time a patchset is created that has an effect on Jenkins jobs, a
non-voting job will trigger that comments to Gerrit which jobs are
added, modified, or deleted.

This should help developers judge the overall impact an individual
patchset may have on Jenkins since JJB macros can be expanded to
any number of jobs.

Change-Id: I99f9b68bc7933abfa39a941d6e65a73f62e58e56
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
6 years agoApex: Add daily flex job 37/41337/1
Tim Rozet [Thu, 7 Sep 2017 19:39:40 +0000 (15:39 -0400)]
Apex: Add daily flex job

Change-Id: Ide3c39d508d26be40e73cec13cd00eace984b6cc
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agofuel-deploy.sh: Preserve env vars in sudo call 35/41335/1
Alexandru Avadanii [Thu, 7 Sep 2017 19:22:46 +0000 (21:22 +0200)]
fuel-deploy.sh: Preserve env vars in sudo call

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>
6 years agofuel, armband: Move mcp.rsa to /var/lib/opnfv 29/41329/3
Alexandru Avadanii [Thu, 7 Sep 2017 18:32:39 +0000 (20:32 +0200)]
fuel, armband: Move mcp.rsa to /var/lib/opnfv

JIRA: FUEL-280

Change-Id: I95559dcafbd179e5b7305dd0f23a7b3d89056888
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agoMerge "armband: Enable docker build/push for yardstick"
Aric Gardner [Thu, 7 Sep 2017 15:31:42 +0000 (15:31 +0000)]
Merge "armband: Enable docker build/push for yardstick"

6 years agoMerge "armband: Re-enable baremetal scenario triggers"
Aric Gardner [Thu, 7 Sep 2017 15:31:23 +0000 (15:31 +0000)]
Merge "armband: Re-enable baremetal scenario triggers"

6 years agoMerge "cleanup: Rename ODL-L3 to ODL, drop ODL-L2"
Aric Gardner [Thu, 7 Sep 2017 15:31:00 +0000 (15:31 +0000)]
Merge "cleanup: Rename ODL-L3 to ODL, drop ODL-L2"

6 years agoMerge "fuel, armband: Use include-raw in macros"
Aric Gardner [Thu, 7 Sep 2017 15:30:22 +0000 (15:30 +0000)]
Merge "fuel, armband: Use include-raw in macros"

6 years agoUpdating reporting url and fixed a bug 03/39103/8
Sakala Venkata Krishna Rohit [Fri, 11 Aug 2017 04:42:12 +0000 (10:12 +0530)]
Updating reporting url and fixed a bug

Changing the url of the reporting to the original one.

Change-Id: I2973a4b7d28cbdd725a4764dffbf777c3fc2e937
Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
6 years agoAdd file-paths ** 17/41317/2
agardner [Thu, 7 Sep 2017 14:51:25 +0000 (10:51 -0400)]
Add file-paths **

this should make forbidden-file-paths work

Change-Id: I18d63bffb92abd916eae54c7aafe9a8e1e98926f
Signed-off-by: agardner <agardner@linuxfoundation.org>
6 years agoApex: temporarily disable strict forbidden file path 09/41309/1
Tim Rozet [Thu, 7 Sep 2017 14:16:24 +0000 (10:16 -0400)]
Apex: temporarily disable strict forbidden file path

Change-Id: I360cd5ba894022cd30cf7237e8338ab2e213c940
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoAdd traces to CI on fetch_os for compass 87/41287/2
Morgan Richomme [Thu, 7 Sep 2017 09:22:52 +0000 (11:22 +0200)]
Add traces to CI on fetch_os for compass

Functest CI logs have been FAIL with compass but the CI logs are not
explicit. Remove a redirection to /dev/null to get something more
explicit

Change-Id: Icdf17595b051ccba6c58cbe86ab546e5693375ab
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
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 agoMove back to opnfv/functest-* for alpine containers 89/41289/1
Morgan Richomme [Thu, 7 Sep 2017 09:28:28 +0000 (11:28 +0200)]
Move back to opnfv/functest-* for alpine containers

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>
6 years agoAdd bottlenecks to reporting 71/41271/1
Morgan Richomme [Thu, 7 Sep 2017 07:21:42 +0000 (09:21 +0200)]
Add bottlenecks to reporting

very basic approach based on 1 case posca_factor_ping
Give a feedback on the CI activity of bottlenecks

Change-Id: Iaa84abac6b00ba48a771250433a9f9a068de453f
Signed-off-by: Morgan Richomme <morgan.richomme@orange.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 agocleanup: Rename ODL-L3 to ODL, drop ODL-L2 23/41223/2
Alexandru Avadanii [Tue, 5 Sep 2017 18:46:46 +0000 (20:46 +0200)]
cleanup: Rename ODL-L3 to ODL, drop ODL-L2

JIRA: FUEL-279

Change-Id: Ie87ecaee17d6bb29776c3056274c59c1264762de
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
6 years agofuel, armband: Use include-raw in macros 43/41243/1
Alexandru Avadanii [Wed, 6 Sep 2017 23:43:20 +0000 (01:43 +0200)]
fuel, armband: Use include-raw in macros

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>
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 agoarmband: Enable docker build/push for yardstick 79/41179/1
Catalina Focsa [Wed, 6 Sep 2017 15:23:11 +0000 (17:23 +0200)]
armband: Enable docker build/push for yardstick

Change-Id: I33f719578baadc70571832c5b7e7f146516c3020
Signed-off-by: Catalina Focsa <catalina.focsa@enea.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 agoAdd functest-healthcheck alpine to xci-verify-healthcheck-macro 01/40401/6
Morgan Richomme [Mon, 28 Aug 2017 13:13:35 +0000 (15:13 +0200)]
Add functest-healthcheck alpine to xci-verify-healthcheck-macro

 - 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>
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 agoarmband: Re-enable baremetal scenario triggers 23/40923/2
Alexandru Avadanii [Sat, 2 Sep 2017 21:15:19 +0000 (23:15 +0200)]
armband: Re-enable baremetal scenario triggers

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>
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>