releng.git
7 years agoprototypes: bifrost: Add keystone roles 69/34169/4
Markos Chandras [Wed, 3 May 2017 18:36:23 +0000 (19:36 +0100)]
prototypes: bifrost: Add keystone roles

The os_client_config Ansible module used by all the ironic-* roles
depends on the keystone roles so we need to make use of them even
though they do not affect the end result. This fixes the following
OPNFV CI problem due to not having a clouds.yaml file present to
be consumed by the os_client_config Ansible module.

fatal: [controller00]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
  File "/tmp/ansible_ApkCUQ/ansible_module_os_client_config.py", line 75, in <module>
    main()
  File "/tmp/ansible_ApkCUQ/ansible_module_os_client_config.py", line 63, in main
    for cloud in config.get_all_clouds():
  File "/usr/lib/python2.7/site-packages/os_client_config/config.py", line 798, in get_all_clouds
    cloud, region_name=region['name']))
  File "/usr/lib/python2.7/site-packages/os_client_config/config.py", line 1071, in get_one_cloud
    auth_plugin = loader.load_from_options(**config['auth'])
  File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 162, in load_from_options
    raise exceptions.MissingRequiredOptions(missing_required)
keystoneauth1.exceptions.auth_plugins.MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url
fatal: [opnfv]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}

Moreover, we cleanup the ~/openstack directory which may contain some
bifrost artifacts such as a clouds.yaml file.

Finally, we use 'sudo -H' because for the keystone roles we need the HOME
variable to be set properly.

Change-Id: I45b08bd33dd8ea9505fe10eb4b2b10956b3b683c

7 years agoMerge "Support opera test in functest releng"
Jun Li [Wed, 3 May 2017 09:39:06 +0000 (09:39 +0000)]
Merge "Support opera test in functest releng"

7 years agoSupport opera test in functest releng 05/32405/4
Harry Huang [Thu, 30 Mar 2017 08:09:48 +0000 (16:09 +0800)]
Support opera test in functest releng

Because opera vnf test requires Open-O msb ip and the independency
of this test case, set specific docker env vars for compass4nfv
os-nosdn-openo-ha scenario.

Change-Id: I486e3896dc86d29cf93818b317675c088c1c5198
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
7 years agoBugfix: wrong work directory 17/34117/1
xudan [Wed, 3 May 2017 08:56:39 +0000 (08:56 +0000)]
Bugfix: wrong work directory

JIRA: DOVETAIL-420

CI wrong with:
Archiving artifacts
WARN: No artifacts found that match the file pattern "results/*/". Configuration error?
WARN: ?results/*/? doesn?t match anything, but ?*/? does. Perhaps that?s what you mean?

Change-Id: Ia548cb4e3b5e34f43c130c2860892364bffad233
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Trigger Functest VNF test case for opera"
Jun Li [Wed, 3 May 2017 08:50:22 +0000 (08:50 +0000)]
Merge "Trigger Functest VNF test case for opera"

7 years agoMerge "dovetail: docker tag support"
Jun Li [Wed, 3 May 2017 08:48:38 +0000 (08:48 +0000)]
Merge "dovetail: docker tag support"

7 years agoTrigger Functest VNF test case for opera 95/34095/11
helenyao [Wed, 3 May 2017 03:30:34 +0000 (11:30 +0800)]
Trigger Functest VNF test case for opera

Change-Id: I313dc0661b41556a6b9cb4cc3ba0d79db9c16c88
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agodovetail: docker tag support 43/34043/4
MatthewLi [Tue, 2 May 2017 08:07:57 +0000 (04:07 -0400)]
dovetail: docker tag support

JIRA: DOVETAIL-419

since dovetal has no A/B/C/D branch, only have master,
need docker image name sth like opnfv/dovetail:plugfest_april_2017
rather than opnfv/dovetail:<release>.1.0, etc.
then when RELEASE_VERSION is empty, generate opnfv/dovetail:latest
ortherwise opnfv/dovetail:<RELEASE_VERSION>

Change-Id: I92573bee35da16305074393401e5e5da65aaa22c
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
7 years agoBugfix: Permission denied when pip install virtualenv 03/34103/1
xudan [Wed, 3 May 2017 06:31:20 +0000 (06:31 +0000)]
Bugfix: Permission denied when pip install virtualenv

JIRA: DOVETAIL-420

Collecting virtualenv
Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB)
Installing collected packages: virtualenv
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 223, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 308, in run
strip_file_prefix=options.strip_file_prefix,
File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 646, in install
**kwargs
File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 816, in install
strip_file_prefix=strip_file_prefix
File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 1013, in move_wheel_files
strip_file_prefix=strip_file_prefix,
File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 339, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 317, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/virtualenv.py'

Change-Id: I7c387013739252402fa3774b1a2df241a09f24c0
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "dovetail: create file pod.yaml for running HA test cases"
Jun Li [Wed, 3 May 2017 01:00:23 +0000 (01:00 +0000)]
Merge "dovetail: create file pod.yaml for running HA test cases"

7 years agoMerge "Apex: enable ha for os-odl_l3-fdio"
Tim Rozet [Tue, 2 May 2017 19:31:34 +0000 (19:31 +0000)]
Merge "Apex: enable ha for os-odl_l3-fdio"

7 years agoApex: enable ha for os-odl_l3-fdio 59/34059/1
Tim Rozet [Tue, 2 May 2017 19:28:37 +0000 (15:28 -0400)]
Apex: enable ha for os-odl_l3-fdio

Change-Id: If23c52437b45806526c0b38e6176ab040715a70e
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agodovetail: create file pod.yaml for running HA test cases 17/33917/4
xudan [Thu, 27 Apr 2017 06:53:32 +0000 (06:53 +0000)]
dovetail: create file pod.yaml for running HA test cases

JIRA: DOVETAIL-407

1. HA test cases need a file pod.yaml giving the info of the pod
   (node's ip, username, password/key_file).
2. Dovetail client has finished the adaption JIRA: DOVETAIL-405.
3. CI uses create_pod_file.py to generate /home/opnfv/dovetail/userconfig/pod.yaml
4. If INSTALLER_TYPE is fuel, fetch it's jumpserver key to
   /home/opnfv/dovetail/userconfig/id_rsa

Change-Id: Iaf6afbdfb8e4331ae9a10ea3df060c37e9010a0a
Signed-off-by: xudan <xudan16@huawei.com>
7 years agoMerge "Add set -o to daisy4nfv-build.sh"
Fatih Degirmenci [Fri, 28 Apr 2017 07:15:45 +0000 (07:15 +0000)]
Merge "Add set -o to daisy4nfv-build.sh"

7 years agoMerge "Rename arm-pod3-2 to arm-pod4"
Fatih Degirmenci [Thu, 27 Apr 2017 15:23:01 +0000 (15:23 +0000)]
Merge "Rename arm-pod3-2 to arm-pod4"

7 years agoneed to escape <, so move to include raw and shell script 57/33957/1
agardner [Thu, 27 Apr 2017 13:57:14 +0000 (15:57 +0200)]
need to escape <, so move to include raw and shell script

Change-Id: I7b54d303bffcbc2fefce6db135ad9efefa0e9ed3
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoJob is not triggering, 55/33955/6
agardner [Thu, 27 Apr 2017 13:10:06 +0000 (15:10 +0200)]
Job is not triggering,

did something wrong with builders

Change-Id: I55818fa155e33362a47bd9651ea8733e301f9c0b
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoCheck all jinja templates against all lab files 53/33953/1
agardner [Thu, 27 Apr 2017 12:53:05 +0000 (14:53 +0200)]
Check all jinja templates against all lab files

Dont use zte files as they are not valid yaml
(ill fix that later)

Change-Id: I5a21edb774a64ef134dd3f49c552f33b0d13f01e
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoslave reqires this build to be concurrent true 49/33949/1
agardner [Thu, 27 Apr 2017 12:06:29 +0000 (14:06 +0200)]
slave reqires this build to be concurrent true

Also trigger on changes to yaml files

Change-Id: Idfc2a45fbf5e6e6e9583912d43af005ae2cf30a0
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoMerge "Syntax Check for jinja2 files"
Aric Gardner [Thu, 27 Apr 2017 11:47:40 +0000 (11:47 +0000)]
Merge "Syntax Check for jinja2 files"

7 years agoSyntax Check for jinja2 files 67/33867/2
agardner [Wed, 26 Apr 2017 13:31:26 +0000 (15:31 +0200)]
Syntax Check for jinja2 files

Just something basic, theres no real logic yet

Change-Id: I37efa8ffbe44981100d6849120d0900b8fb9280c
Signed-off-by: agardner <agardner@linuxfoundation.org>
7 years agoMerge "leverage executor to test_token/version.py in TestAPI"
Morgan Richomme [Thu, 27 Apr 2017 09:31:35 +0000 (09:31 +0000)]
Merge "leverage executor to test_token/version.py in TestAPI"

7 years agoMerge changes from topics 'unittest_executor', 'import_absolute'
Morgan Richomme [Thu, 27 Apr 2017 09:30:15 +0000 (09:30 +0000)]
Merge changes from topics 'unittest_executor', 'import_absolute'

* changes:
  impl executor and leverage to test_pod.py in TestAPI
  import from absolute path in TestAPI unit

7 years agoRename arm-pod3-2 to arm-pod4 83/33483/2
Cristina Pauna [Tue, 18 Apr 2017 13:31:56 +0000 (16:31 +0300)]
Rename arm-pod3-2 to arm-pod4

Arm-pod3-2 is a second jenkins slave for arm-pod3.
This slave is arm while the old jenkins slave is x86.
Fatih requested for this slave to be renamed to arm-pod4
instead of arm-pod3-2, even if it's a slave for an existing pod

JIRA: ARMBAND-252

Change-Id: I5645edd7d774f763e5e72115851c7061bfafd344
Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
7 years agoMerge "AArch64 Dovetail docker creation job"
Jun Li [Wed, 26 Apr 2017 00:52:11 +0000 (00:52 +0000)]
Merge "AArch64 Dovetail docker creation job"

7 years agoApex: fixes iso verify 85/33785/1
Tim Rozet [Tue, 25 Apr 2017 11:44:13 +0000 (07:44 -0400)]
Apex: fixes iso verify

Change-Id: Id22995b49d12fdb2a5d5d7532d1459f3ac4338f2
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoxci: Ensure ansible is bootstrapped as last step 81/33781/2
Fatih Degirmenci [Tue, 25 Apr 2017 09:39:31 +0000 (11:39 +0200)]
xci: Ensure ansible is bootstrapped as last step

Role requirements file is used during ansible bootstrap on opnfv
host so we must ensure the right ansible role requirements is there
in advance.

Change-Id: I2c5a1edd82a51cbbe1469c31f37b5d638d32ec27
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoAdd set -o to daisy4nfv-build.sh 57/33757/1
Zhijiang Hu [Tue, 25 Apr 2017 09:23:19 +0000 (05:23 -0400)]
Add set -o to daisy4nfv-build.sh

By using set -o, this can prevent CI from uploading *.properties
files without *.bin to artifact.opnfv.org if build was failed.

This once happened to [1].

[1] http://artifacts.opnfv.org/daisy/opnfv-2017-04-25_06-57-05.properties

Change-Id: I26c3112af1d73a84df05c3852038c99d7070ab59
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoxci: Always use pinned versions of openstack-ansible-requirements 75/33775/1
Juan Vidal [Tue, 25 Apr 2017 09:16:02 +0000 (11:16 +0200)]
xci: Always use pinned versions of openstack-ansible-requirements

Pinned versions used to be used only if XCI_LOOP == 'daily', but it
seems to be required, otherwise this is very likely to fail

Change-Id: I21f638bba75846a58b12373a903d414fa89b4bc6
Signed-off-by: Juan Vidal <juan.vidal.allende@ericsson.com>
7 years agoApex: fix iso verify 27/33727/1
Tim Rozet [Mon, 24 Apr 2017 22:31:40 +0000 (18:31 -0400)]
Apex: fix iso verify

Change-Id: Ia1d6da64fa245407c5c71f7a56bb6d372fb11ebc
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes iso verify/upload 81/33681/1
Tim Rozet [Mon, 24 Apr 2017 01:06:39 +0000 (21:06 -0400)]
Apex: fixes iso verify/upload

Change-Id: I25baff8b74bf26903e5196f31b9f47dab94fd048
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fix iso verify 73/33673/1
Tim Rozet [Sat, 22 Apr 2017 21:55:39 +0000 (17:55 -0400)]
Apex: fix iso verify

Change-Id: I212437ebec64aa8521ad95c5b57a7824476a4580
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoAArch64 Dovetail docker creation job 33/33633/2
Alexandru Nemes [Fri, 21 Apr 2017 13:47:26 +0000 (16:47 +0300)]
AArch64 Dovetail docker creation job

Add support for creating and pulling Dovetail docker container
for aarch64 platform

Change-Id: I1e6f2b677e4c972cd80ad2c6f2cd304f0d4d8cad
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
7 years agoMerge "dovetail: Change CI jobs to run test suite "proposed_tests" instead of "debug""
Jun Li [Fri, 21 Apr 2017 09:26:36 +0000 (09:26 +0000)]
Merge "dovetail: Change CI jobs to run test suite "proposed_tests" instead of "debug""

7 years agoMerge "[doctor] fix test case name"
Ryota Mibu [Thu, 20 Apr 2017 16:25:56 +0000 (16:25 +0000)]
Merge "[doctor] fix test case name"

7 years agoMerge "Make arm-virtual1 pod not available for CI jobs"
Aric Gardner [Thu, 20 Apr 2017 15:25:24 +0000 (15:25 +0000)]
Merge "Make arm-virtual1 pod not available for CI jobs"

7 years agoApex: more fixes for iso verify 63/33563/1
Tim Rozet [Thu, 20 Apr 2017 03:33:25 +0000 (23:33 -0400)]
Apex: more fixes for iso verify

Change-Id: Ie1a59806b20072f27adc2f7248c4244e53a5f2bb
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years agoApex: fixes iso verify 51/33551/3
Tim Rozet [Wed, 19 Apr 2017 17:10:45 +0000 (13:10 -0400)]
Apex: fixes iso verify

Change-Id: I2aeca682d6543b36cd8b28f78580c4194db85453
Signed-off-by: Tim Rozet <trozet@redhat.com>
7 years ago[doctor] fix test case name 25/33525/1
Ryota MIBU [Wed, 19 Apr 2017 10:06:37 +0000 (10:06 +0000)]
[doctor] fix test case name

See, https://gerrit.opnfv.org/gerrit/#/c/33099/ .

Change-Id: I3bf5bbeef88445512b70fc47be08ecc481c42c2a
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
7 years agoMerge "unify data existence check"
Serena Feng [Wed, 19 Apr 2017 07:56:29 +0000 (07:56 +0000)]
Merge "unify data existence check"

7 years agodovetail: Change CI jobs to run test suite "proposed_tests" instead of "debug" 09/33509/1
MatthewLi [Wed, 19 Apr 2017 06:17:32 +0000 (02:17 -0400)]
dovetail: Change CI jobs to run test suite "proposed_tests" instead of "debug"

JIRA: DOVETAIL-397

now, team decide to use proposed_tests suite instead of debug

Change-Id: Iff8ec0b32a24e51bc2d2536605c9867b94f8921c
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
7 years agoAdding iso verify to Apex builds 45/32645/12
Dan Radez [Fri, 31 Mar 2017 01:34:49 +0000 (21:34 -0400)]
Adding iso verify to Apex builds

JIRA: APEX-377

Change-Id: I1e02fc602e8258e76f9447d05b09b17e55d0d25a
Signed-off-by: Dan Radez <dradez@redhat.com>
7 years agoMerge "xci: Merge configure-targethosts.yml playbooks into one"
Fatih Degirmenci [Tue, 18 Apr 2017 14:51:27 +0000 (14:51 +0000)]
Merge "xci: Merge configure-targethosts.yml playbooks into one"

7 years agoxci: Fix nfs server ip for glance 79/33479/1
Fatih Degirmenci [Tue, 18 Apr 2017 12:27:31 +0000 (14:27 +0200)]
xci: Fix nfs server ip for glance

Change-Id: Iebb9945bfd9cad9ebfda127f130542f4a6334aec
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMake arm-virtual1 pod not available for CI jobs 39/33439/2
Alexandru Nemes [Thu, 13 Apr 2017 13:41:42 +0000 (16:41 +0300)]
Make arm-virtual1 pod not available for CI jobs

Change-Id: I1ae47f2105744bfea8c8c589f41282d1c4ae2159
Signed-off-by: Alexandru Nemes <alexandru.nemes@enea.com>
7 years agoxci: Merge configure-targethosts.yml playbooks into one 61/33461/1
Fatih Degirmenci [Tue, 18 Apr 2017 09:49:19 +0000 (11:49 +0200)]
xci: Merge configure-targethosts.yml playbooks into one

They are exactly same now after moving nfs to compute00.

Change-Id: I9d9d2f037aa3684ba130ae0a4f9aef2e733f2d2e
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoxci: Change cinder backend and move nfs to compute00 57/33457/3
Fatih Degirmenci [Tue, 18 Apr 2017 08:53:21 +0000 (10:53 +0200)]
xci: Change cinder backend and move nfs to compute00

This change
- switches cinder backend from lvm to nfs as examplified in [1].
- moves nfs shares from compute01 to compute00 in order to merge
configure-targethosts.yml playbook in upcoming change.
- updates openstack_user_config.yml to reflect the switch to nfs
and move of nfs server to compute00.
- removes exports file due to switching to lineinfile module.

[1] https://docs.openstack.org/project-deploy-guide/openstack-ansible/draft/app-config-prod.html

Change-Id: I0715c98a89ab124256e3857c1047e374f261e39b
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoxci: Force sync time 51/33451/2
Fatih Degirmenci [Tue, 18 Apr 2017 08:37:37 +0000 (10:37 +0200)]
xci: Force sync time

For some reason, when the nodes are provisioned, they are out
of sync time-wise. This prevents neutron agents on compute nodes
from starting and then everything fails.

This change restarts chrony after the network configuration is updated
and the nodes have internet access and force synchs time on nodes.

Change-Id: Ib27b1fa0313223b52fa2e6229d5a179581d62686
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoxci: Fix network configuration 49/33449/2
Fatih Degirmenci [Tue, 18 Apr 2017 08:04:48 +0000 (10:04 +0200)]
xci: Fix network configuration

This change
- sets static IP for controller nodes' vxlan bridges as stated
in osa documentation: compute and network hosts must have an IP [1]
- configures IPs for controller nodes' vxlan bridges.
- removes the additional vlan ip from compute nodes as it seems to
be there for all in one.
- removes glean.rules as they mess with the network configuration once
the network changes are applied.
- removes the contents of interfaces.d as osa populates config for
lxc bridges and includes this config in interfaces file thus all the
files in interfaces.d must be removed in order not to mess with the
network configuration.
- updates modules appropriately.

[1] https://docs.openstack.org/project-deploy-guide/openstack-ansible/draft/app-config-prod.html

Change-Id: I84d5f07216c8d0246da06080fb0ed19f917d6637
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoKVMFORNFV: Disabling kvmfornfv daily danube job. 09/33409/1
kalyanreddy [Mon, 17 Apr 2017 06:59:44 +0000 (12:29 +0530)]
KVMFORNFV: Disabling kvmfornfv daily danube job.

This patch is used to temporarily disable kvmfornfv daily danube
job from triggering as Intel-pod10 is currently not available for
executing daily danube test cases.

Note: Will enable the kvmfornfv daily danube job once Intel-pod10
is available for executing test cases.

Change-Id: I26cb1e360962a895b2e3ced3ccadfc1f770a5663
Signed-off-by: Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com>
7 years agoMerge "Revert "Cleanup dirty daisy build workspace directory""
Serena Feng [Fri, 14 Apr 2017 07:15:15 +0000 (07:15 +0000)]
Merge "Revert "Cleanup dirty daisy build workspace directory""

7 years agoleverage executor to test_token/version.py in TestAPI 37/33337/2
SerenaFeng [Thu, 13 Apr 2017 09:07:59 +0000 (17:07 +0800)]
leverage executor to test_token/version.py in TestAPI

Change-Id: Ia1e6b0e787d477a19c78b56ff249d544b49a087b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoimpl executor and leverage to test_pod.py in TestAPI 69/33169/3
SerenaFeng [Mon, 10 Apr 2017 03:03:29 +0000 (11:03 +0800)]
impl executor and leverage to test_pod.py in TestAPI

implement executor.py
leverage executor to test_pod.py

Change-Id: Ief70a28a935c86430e26f90f35112a7bab9fa81b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "Do not run docker with -t option"
Tim Rozet [Wed, 12 Apr 2017 21:12:04 +0000 (21:12 +0000)]
Merge "Do not run docker with -t option"

7 years agoDo not run docker with -t option 15/33315/1
Jamo Luhrsen [Wed, 12 Apr 2017 21:01:34 +0000 (14:01 -0700)]
Do not run docker with -t option

Change-Id: I33fc01c36b6e290cc47464087a1e84da35a8c56a
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
7 years agoMerge "Bugfix: Convert the string list to list"
Jose Lausuch [Wed, 12 Apr 2017 13:21:48 +0000 (13:21 +0000)]
Merge "Bugfix: Convert the string list to list"

7 years agochange the url 77/33277/2
wutianwei [Wed, 12 Apr 2017 00:41:56 +0000 (08:41 +0800)]
change the url

we need download the package from the http://artifacts.opnfv.org,
instead of http://205.177.226.237.

Change-Id: Ibf6b1caa8d0ad27aa144fd25aeb6dd8f3004067a
Signed-off-by: wutianwei <wutianwei1@huawei.com>
7 years agoRevert "Cleanup dirty daisy build workspace directory" 21/33221/2
Zhijiang Hu [Tue, 11 Apr 2017 01:45:38 +0000 (01:45 +0000)]
Revert "Cleanup dirty daisy build workspace directory"

This reverts commit 3ede21905ba5df94df06952e90d89ec0c16e7bb7.

The deleted line in daisy4nfv-basic.sh in this PS was used exclusively
by a job to clean up files with wrong ownership in workspace previously.
Now, daisy4nfv-basic.sh is used combind with build/test scripts in job,
so we need to delete this line, otherwise, we encountered workspace was
wiped which resulted in build/test scripts failed to run.

Change-Id: I8812a495db789838c3a88510a05956a11e8227d5
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
7 years agoAdd flake8 examination to Bottlenecks 33/33233/2
yuyang [Tue, 11 Apr 2017 07:26:30 +0000 (15:26 +0800)]
Add flake8 examination to Bottlenecks

JIRA: RELENG-211

Add flake8 examination to CI pipeline for Bottlenecks.

Change-Id: I14d8bd4fe288d1dedb7c23dd158fc8c3765bf309
Signed-off-by: yuyang <Gabriel.yuyang@huawei.com>
7 years agoBugfix: Convert the string list to list 25/33225/2
helenyao [Tue, 11 Apr 2017 02:12:38 +0000 (10:12 +0800)]
Bugfix: Convert the string list to list

Compass information failed to be printed as the roles were string list

Change-Id: I38037dae099862a040b817b690d451951e0bb23b
Signed-off-by: helenyao <yaohelan@huawei.com>
7 years agoMerge "xci: Fix images directory permissions"
Fatih Degirmenci [Mon, 10 Apr 2017 09:05:39 +0000 (09:05 +0000)]
Merge "xci: Fix images directory permissions"

7 years agoimport from absolute path in TestAPI unit 67/33167/1
SerenaFeng [Mon, 10 Apr 2017 02:27:37 +0000 (10:27 +0800)]
import from absolute path in TestAPI unit

Change-Id: Ic42db22d825229713b38c75c141af7742ca65dd3
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "change not_found to forbidden when db not exist"
Serena Feng [Mon, 10 Apr 2017 01:08:55 +0000 (01:08 +0000)]
Merge "change not_found to forbidden when db not exist"

7 years agoMerge "unify error message in TestAPI"
Serena Feng [Mon, 10 Apr 2017 01:08:48 +0000 (01:08 +0000)]
Merge "unify error message in TestAPI"

7 years agounify data existence check 21/33121/3
SerenaFeng [Fri, 7 Apr 2017 10:36:20 +0000 (18:36 +0800)]
unify data existence check

Change-Id: I2ee4c3be6f34ce12530450cd22f2561c458685f9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoxci: Fix images directory permissions 57/33157/2
Fatih Degirmenci [Sat, 8 Apr 2017 18:52:02 +0000 (20:52 +0200)]
xci: Fix images directory permissions

Change-Id: Ibc1b9662bb9865c0e309128327d620324ddca85c
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoAPEX: Change virtual compute ram to 7gb 43/33143/1
Feng Pan [Sat, 8 Apr 2017 01:27:52 +0000 (21:27 -0400)]
APEX: Change virtual compute ram to 7gb

Change-Id: I6f42ffe5fad41ac90830784d8a4ec8ee04eae7d2
Signed-off-by: Feng Pan <fpan@redhat.com>
7 years agoMerge "xci: Exclude aodh, ceilometer, and gnocchi from deployments"
Fatih Degirmenci [Fri, 7 Apr 2017 21:13:00 +0000 (21:13 +0000)]
Merge "xci: Exclude aodh, ceilometer, and gnocchi from deployments"

7 years agoAPEX: Remove setting of hugepages 41/33141/1
Feng Pan [Fri, 7 Apr 2017 20:52:12 +0000 (16:52 -0400)]
APEX: Remove setting of hugepages

Change-Id: Ic482f75bb905082f503958c1be01c9cd7e68566a
Signed-off-by: Feng Pan <fpan@redhat.com>
7 years agoxci: Exclude aodh, ceilometer, and gnocchi from deployments 87/33087/1
Fatih Degirmenci [Thu, 6 Apr 2017 17:46:36 +0000 (10:46 -0700)]
xci: Exclude aodh, ceilometer, and gnocchi from deployments

Aodh is broken on the master branch due to use of conflicting
sqlAlhcemy package, causing issues during osa repo_build.

This patch disables aodh and the related services ceilometer
and gnocchi since the reason for us to have these 2 is to get
aodh.

See the failure from
https://build.opnfv.org/ci/job/xci-deploy-virtual-xenial-daily-master/26/consoleFull

Change-Id: Ic6b74328cf1692b5e26c5f30b3eb3799240c7117
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoAPEX: reduce hugepages and ram for virtual fdio/ovs deployments 81/33081/1
Feng Pan [Thu, 6 Apr 2017 15:27:27 +0000 (11:27 -0400)]
APEX: reduce hugepages and ram for virtual fdio/ovs deployments

Change-Id: Ifeea80111dd55785acbc6697ae216da4c8d3670a
Signed-off-by: Feng Pan <fpan@redhat.com>
7 years agoMerge "[WIP]:jobs to deploy danube and run dovetail from master"
mei mei [Thu, 6 Apr 2017 09:25:40 +0000 (09:25 +0000)]
Merge "[WIP]:jobs to deploy danube and run dovetail from master"

7 years agochange not_found to forbidden when db not exist 53/33053/1
SerenaFeng [Thu, 6 Apr 2017 08:59:19 +0000 (16:59 +0800)]
change not_found to forbidden when db not exist

Change-Id: I1aa61c5d1b057b5a53cf6369b26605867a4d092e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agounify error message in TestAPI 91/32991/4
SerenaFeng [Wed, 5 Apr 2017 08:23:03 +0000 (16:23 +0800)]
unify error message in TestAPI

Change-Id: I994feb7bf340c9e48bebe9fdf3dc3a76bc254652
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoMerge "xci: Introduce XCI_LOOP variable to control what to do properly"
Fatih Degirmenci [Thu, 6 Apr 2017 05:20:27 +0000 (05:20 +0000)]
Merge "xci: Introduce XCI_LOOP variable to control what to do properly"

7 years ago[WIP]:jobs to deploy danube and run dovetail from master 31/33031/1
MatthewLi [Thu, 6 Apr 2017 02:57:47 +0000 (22:57 -0400)]
[WIP]:jobs to deploy danube and run dovetail from master

JIRA: DOVETAIL-180

Change-Id: Ia8d44b609c53696c141eced747e3855c67faccb5
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
7 years agoAPEX: Reduce virtual ram on compute nodes for fdio/ovs scenarios 21/33021/1
Feng Pan [Thu, 6 Apr 2017 00:54:49 +0000 (20:54 -0400)]
APEX: Reduce virtual ram on compute nodes for fdio/ovs scenarios

Change-Id: I7df2c6a6a940f49268146334cb7f77d3fffeb665
Signed-off-by: Feng Pan <fpan@redhat.com>
7 years agojjb: xci: bifrost-cleanup-job: Fix undefined variable 19/33019/1
Markos Chandras [Wed, 5 Apr 2017 16:55:31 +0000 (17:55 +0100)]
jjb: xci: bifrost-cleanup-job: Fix undefined variable

Variable 'i' does not exist. It should be 'try_to_rm' instead.

Change-Id: Ic2aa5a1115715851379e2c7ba5c11699cb8e7407
Signed-off-by: Markos Chandras <mchandras@suse.de>
7 years agoMerge "xci: Log info about provisioned VMs to console"
Fatih Degirmenci [Wed, 5 Apr 2017 16:49:42 +0000 (16:49 +0000)]
Merge "xci: Log info about provisioned VMs to console"

7 years agoMerge "xci: Start developer documentation"
Fatih Degirmenci [Wed, 5 Apr 2017 16:49:29 +0000 (16:49 +0000)]
Merge "xci: Start developer documentation"

7 years agoxci: Log info about provisioned VMs to console 17/33017/1
Fatih Degirmenci [Wed, 5 Apr 2017 16:40:07 +0000 (09:40 -0700)]
xci: Log info about provisioned VMs to console

Change-Id: If29aaf0be6ddd860450eeb10432fe75e12b1d03b
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoxci: SHA bump as of April 4 71/32971/3
Fatih Degirmenci [Tue, 4 Apr 2017 16:04:32 +0000 (09:04 -0700)]
xci: SHA bump as of April 4

The bifrost, osa, and ansible role requirements sha1s are bumped
based on the HEAD of the master of the projects on April 4.

designate is also disabled based on the comment the osa commit
mentions.

https://review.openstack.org/gitweb?p=openstack/openstack-ansible.git;a=commit;h=d9e1330c7ff9d72a604b6b4f3af765f66a01b30e

Change-Id: Ib47515490c799d3b1d2b4b319277c8900cd37328
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "Compass Adapter to get deployment information"
Jose Lausuch [Wed, 5 Apr 2017 05:55:25 +0000 (05:55 +0000)]
Merge "Compass Adapter to get deployment information"

7 years agoxci: Introduce XCI_LOOP variable to control what to do properly 63/32963/4 danube.1.0
Fatih Degirmenci [Tue, 4 Apr 2017 16:18:54 +0000 (09:18 -0700)]
xci: Introduce XCI_LOOP variable to control what to do properly

XCI has different jobs/loops to run
- patchset verification jobs (currently bifrost and osa in future)
- periodic jobs (bifrost and osa)
- daily jobs (for OPNFV platform deployment and testing)

The same scripts/playbooks used by XCI will also be used by developers.

We need to do different things depending on the context the scripts
and playbooks are executed.
- periodic jobs will use latest of everything to find working versions
of the components. (periodic osa will use unpinned role requirements
for example)
- daily jobs will use pinned versions in order to bring up the platform
and run OPNFV testing against it. (daily deployment will use pinned
versions and role requirements for example)
- developers might choose to use pinned versions or latest

Depending on what loop we are running, we need to do things differently
in scripts and playbooks. This variable will help us to do this in easy way.

We can of course do pattern matching of the job name but it will not
work if the scripts are used outside of Jenkins.

The default loop for non-Jenkins execution is set to daily as we want
developers to use working versions unless they change it to something
else intentionally.

Change-Id: Iff69c77ae3d9db2c14de1783ce098da9e9f0c83d
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "xci: Do not log info to console if running daily deployment"
Fatih Degirmenci [Tue, 4 Apr 2017 16:09:41 +0000 (16:09 +0000)]
Merge "xci: Do not log info to console if running daily deployment"

7 years agoxci: Do not log info to console if running daily deployment 57/32957/1
Fatih Degirmenci [Tue, 4 Apr 2017 15:40:06 +0000 (08:40 -0700)]
xci: Do not log info to console if running daily deployment

Periodic and daily jobs use same script and we should not log
info about osa sha1 to pin into console if it is not run as
part of periodic job.

Change-Id: I8203a822638603af92fd046d8038a3b4122dbf37
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoxci: Fix build blocker so downstream jobs can be started 55/32955/1
Fatih Degirmenci [Tue, 4 Apr 2017 14:14:37 +0000 (07:14 -0700)]
xci: Fix build blocker so downstream jobs can be started

Change-Id: Ie33bcbbe1d4c4fd2166c8931bd9f135cf4200263
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoxci: Fix the haproxy service and gnocchi db sync problem 27/32827/3
Fatih Degirmenci [Fri, 31 Mar 2017 20:55:45 +0000 (22:55 +0200)]
xci: Fix the haproxy service and gnocchi db sync problem

This patch reflects the fix Tianwei found for the keystone and gnocchi
issues with HA deployment.

https://gerrit.opnfv.org/gerrit/#/c/32367/

The keystone issue should be fixed upstream but until that happens, we
can use the patch here to move us forward.

Previously removed OpenStack services have also been enabled to
try as close deployment as possible to upstream openstack-ansible.

Change-Id: Ib7b1cfe0f363381466b43a3249667c638c09d9fd
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "xci: Create periodic osa jobs to find working version"
Fatih Degirmenci [Tue, 4 Apr 2017 13:42:50 +0000 (13:42 +0000)]
Merge "xci: Create periodic osa jobs to find working version"

7 years agoxci: Adjust and fix jobs and scripts 99/32899/6
Fatih Degirmenci [Sun, 2 Apr 2017 17:08:41 +0000 (10:08 -0700)]
xci: Adjust and fix jobs and scripts

This change
- fixes GIT_BASE in jobs
- adjusts build blockers
- fixes where the flavor vars should be sourced from
- sources flavor vars for bifrost periodic jobs
- renames the xcimaster node to opnfv to be consistent
- removes obsolete xci-provision.sh script
- enable additional openstack services including tempest to
  ensure the deployment is sane

Change-Id: Ifdce1da52d68a26c2b87e1bd3b1996ec119d8d90
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "Removing _l3 from Apex scenario names in master"
Tim Rozet [Mon, 3 Apr 2017 16:08:51 +0000 (16:08 +0000)]
Merge "Removing _l3 from Apex scenario names in master"

7 years agoMerge "Updating Apex ENV Var Names"
Tim Rozet [Mon, 3 Apr 2017 15:43:53 +0000 (15:43 +0000)]
Merge "Updating Apex ENV Var Names"

7 years agoChange Danube image for reporting 03/32903/1
Morgan Richomme [Mon, 3 Apr 2017 06:51:05 +0000 (08:51 +0200)]
Change Danube image for reporting

to be sync with communication

Change-Id: I7747416ab73f85d979d405afd9b87d57faac2bf0
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
7 years agoxci: Create periodic osa jobs to find working version 25/32825/7
Fatih Degirmenci [Fri, 31 Mar 2017 20:20:17 +0000 (22:20 +0200)]
xci: Create periodic osa jobs to find working version

These jobs run periodically against the HEAD of master and stable/ocata
branches in order to attempt deployment and help us to find more
recent working versions to pin.

In perfect world, these jobs should be run post-merge, helping us
to move faster but lack of resources prevent us doing that.

One thing to note here is that we use the pinned version of bifrost
in order to make sure we change one thing at a time to reduce the
delta.

Change-Id: Ieaff7e80581c7577b253b3646ca386313295a45a
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
7 years agoMerge "xci: Create periodic bifrost jobs to find working version"
Fatih Degirmenci [Sun, 2 Apr 2017 16:59:23 +0000 (16:59 +0000)]
Merge "xci: Create periodic bifrost jobs to find working version"

7 years agoMerge "xci: Configure daily job to use xci scripts"
Fatih Degirmenci [Sun, 2 Apr 2017 16:51:15 +0000 (16:51 +0000)]
Merge "xci: Configure daily job to use xci scripts"

7 years agoMerge "Dial in docker and ssh environment"
Tim Rozet [Sat, 1 Apr 2017 16:00:17 +0000 (16:00 +0000)]
Merge "Dial in docker and ssh environment"

7 years agochange openrc file path to /etc/yardstick/openstack.creds 61/32861/1
chenjiankun [Sat, 1 Apr 2017 09:09:16 +0000 (09:09 +0000)]
change openrc file path to /etc/yardstick/openstack.creds

JIRA: YARDSTICK-623

Now almost yardstick openrc file is in /etc/yardstick/openstack.creds.
But only in prepare_env.sh it is /home/opnfv/openrc.
So I unified it and change it to /etc/yardstick/openstack.creds in the
follow patch:
https://gerrit.opnfv.org/gerrit/#/c/32005/
Also there is some adapt work to do in releng.

Change-Id: I7764582dec1d9a8f74e53b23e23d98021a20589b
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
7 years agoadd daisy unittest verify job 39/32739/3
SerenaFeng [Fri, 31 Mar 2017 08:35:39 +0000 (16:35 +0800)]
add daisy unittest verify job

Change-Id: Iab5b7126f72efa942e6e1a25d0a1af67c4c52aa6
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
7 years agoUpdate block parameters 49/32849/3
Julien [Sat, 1 Apr 2017 03:42:19 +0000 (11:42 +0800)]
Update block parameters

Fix issue:
1. father job block child jobs
2. deploy the env in daisy-virtual slaves

Change-Id: Idcda4b8ca5fcf9abbfae3c60bf656a0901a20e02
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>