vvp/validation-scripts.git
4 years agoRemove unnecessary check for pytest.skip 46/98346/1
anushadasari [Wed, 13 Nov 2019 08:13:23 +0000 (13:43 +0530)]
Remove unnecessary check for pytest.skip

Issue-ID: VVP-288
Change-Id: I1c099ce6450401d324a6beb16256e758d83dd44a
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agochange if bad to assert not bad, message 44/98344/1
anushadasari [Wed, 13 Nov 2019 07:57:51 +0000 (13:27 +0530)]
change if bad to assert not bad, message

eliminates if statement

Issue-ID: VVP-295
Change-Id: Ifa4a6cbaf79bfcab089fe9da4893aac661d70230
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agoMerge "[VVP] Fix issue floating IP params for R-35666"
steven stark [Tue, 12 Nov 2019 21:52:48 +0000 (21:52 +0000)]
Merge "[VVP] Fix issue floating IP params for R-35666"

4 years agoMerge "[VVP] Handle intrinsic functions in prop_iterator"
steven stark [Tue, 12 Nov 2019 21:49:01 +0000 (21:49 +0000)]
Merge "[VVP] Handle intrinsic functions in prop_iterator"

4 years agoMerge "Remove unnecessary check for pytest.skip"
steven stark [Tue, 12 Nov 2019 21:44:52 +0000 (21:44 +0000)]
Merge "Remove unnecessary check for pytest.skip"

4 years agoMerge "Skip unnecessary resource/pytest.skip check"
steven stark [Tue, 12 Nov 2019 21:44:44 +0000 (21:44 +0000)]
Merge "Skip unnecessary resource/pytest.skip check"

4 years ago[VVP] Fix issue floating IP params for R-35666 36/98336/1
Lovett, Trevor [Tue, 12 Nov 2019 21:06:05 +0000 (15:06 -0600)]
[VVP] Fix issue floating IP params for R-35666

Change-Id: I5071958a0709ad2d9606eea8ab90247b6a3283b8
Issue-ID: VVP-340
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Handle intrinsic functions in prop_iterator 35/98335/1
Lovett, Trevor [Tue, 12 Nov 2019 21:18:58 +0000 (15:18 -0600)]
[VVP] Handle intrinsic functions in prop_iterator

Change-Id: I68131190f84b60276c56ad140d16a3792b764fdc
Issue-ID: VVP-336
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] updating oparent version to 2.1.0 63/98163/1
stark, steven [Thu, 7 Nov 2019 21:57:39 +0000 (13:57 -0800)]
[VVP] updating oparent version to 2.1.0

Issue-ID: VVP-324
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I0f661d015b6382b66b1e4658c27119cf67765e98

4 years agoRemove unnecessary check for pytest.skip 23/97923/1
anushadasari [Mon, 4 Nov 2019 17:54:39 +0000 (23:24 +0530)]
Remove unnecessary check for pytest.skip

Issue-ID: VVP-290
Change-Id: I81a67dc0a2574dd3bea2a1b86d4cc3f6644c28b2
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agoSkip unnecessary resource/pytest.skip check 22/97922/1
anushadasari [Mon, 4 Nov 2019 17:36:15 +0000 (23:06 +0530)]
Skip unnecessary resource/pytest.skip check

Issue-ID: VVP-295
Change-Id: Ia8b367859f4bbf9bc4366d2574f082ace863ef15
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agoSonar fix for vvp 291 and 292 65/97765/1
Mamtha [Wed, 30 Oct 2019 18:21:35 +0000 (23:51 +0530)]
Sonar fix for vvp 291 and 292

Issue-ID: VVP-291

Change-Id: I4d2eebbb9d4d96b17cc09a5de34e95e41cb9ec7d
Signed-off-by: Mamtha <mamtha.sabesan@in.ibm.com>
4 years ago[VVP] Make Preload Generation more reslient to failures 96/97696/1
Lovett, Trevor [Tue, 29 Oct 2019 16:33:26 +0000 (11:33 -0500)]
[VVP] Make Preload Generation more reslient to failures

Ensure that errors during preload do not prevent validation
report creation

Issue-ID: VVP-335
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Change-Id: I0cfd411b6a034422e349b96c462e68a4f0ceb876

4 years ago[VVP] Allow any_of and all_of in categories decorator 22/97222/1
Lovett, Trevor [Wed, 16 Oct 2019 21:34:17 +0000 (16:34 -0500)]
[VVP] Allow any_of and all_of in categories decorator

Change-Id: I76ff9ebd7108d2ef19a3f167c5a253a3ce5f07f7
Issue-ID: VVP-331
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Support any_of in categories decorator 06/97206/2
Lovett, Trevor [Wed, 16 Oct 2019 16:26:16 +0000 (11:26 -0500)]
[VVP] Support any_of in categories decorator

If specified, then the test will be selected if any of the passed
categories from the command line are in the tests categories.  This
is different than the default behavior where all categories must
match

Change-Id: Iee08556d6c07eac2663ff2ff2e89bcd7a18cd392
Issue-ID: VVP-330
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Flag duplicate parameters in .env files 48/96748/1
Lovett, Trevor [Tue, 8 Oct 2019 18:32:34 +0000 (13:32 -0500)]
[VVP] Flag duplicate parameters in .env files

Also some minor tweaks to preload generation so it doesn't fail on
partial heat templates

Change-Id: If39288dde645b0b53a338e7672336807ffa1b6d7
Issue-ID: VVP-284
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Enforce R-35666 by ensuring a network exists for int_ parameters 98/96698/1
Lovett, Trevor [Mon, 7 Oct 2019 21:06:17 +0000 (16:06 -0500)]
[VVP] Enforce R-35666 by ensuring a network exists for int_ parameters

Implements a basic sanity check that if parameters match the internal
network naming convention, then we ensure the network itself was
defined in a heat template.

Change-Id: I37c84e2c62745a51a90dd60f0aaeb213d784f003
Issue-ID: VVP-327
Signed-off-by: Lovett, Trevor (tl2972) <trevor.lovett@att.com>
4 years ago[VVP] Bug fix if resource value is hardcoded 39/96639/1
stark, steven [Fri, 4 Oct 2019 20:09:28 +0000 (13:09 -0700)]
[VVP] Bug fix if resource value is hardcoded

If the property value isn't a dictionary than the test run crashes

Issue-ID: VVP-313
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I926bc233909db245d5a051035f26fefaa39b5ede

4 years agoMerge "Refactor function to reduce Cognitive Complexity"
Steven Wright [Fri, 4 Oct 2019 17:40:30 +0000 (17:40 +0000)]
Merge "Refactor function to reduce Cognitive Complexity"

4 years agoMerge "Sonarfix in structures.py"
Steven Wright [Fri, 4 Oct 2019 17:11:21 +0000 (17:11 +0000)]
Merge "Sonarfix in structures.py"

4 years agoReduced coginitive compexity from 16 to 15 82/96582/3
Ezhilarasi [Thu, 3 Oct 2019 14:52:47 +0000 (20:22 +0530)]
Reduced coginitive compexity from 16 to 15

Change-Id: I416e39f80ede88365b748a2c5c4d46f439a79dd1
Issue-ID: VVP-313
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years agoSonarfix in structures.py 77/96577/3
Ezhilarasi [Thu, 3 Oct 2019 14:20:11 +0000 (19:50 +0530)]
Sonarfix in structures.py

Reduced cognitive complexity
Change-Id: I2f435ba1d5980405fed66bfb1e4f4ad543b0ba4e
Issue-ID: VVP-286
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years agoRefactor function to reduce Cognitive Complexity 26/96526/1
anushadasari [Wed, 2 Oct 2019 19:07:07 +0000 (00:37 +0530)]
Refactor function to reduce Cognitive Complexity

Issue-ID: VVP-314
Change-Id: I0843dde3cc01ef2efbb08a282b93c5e3414a1cd2
Signed-off-by: anushadasari <danush10@in.ibm.com>
4 years agoMerge "Sonarfix: Reduce cognitive complexity" elalto
Steven Wright [Tue, 1 Oct 2019 15:07:21 +0000 (15:07 +0000)]
Merge "Sonarfix: Reduce cognitive complexity"

4 years agoMerge "Sonarfix: Reduced cognitive compexity"
Steven Wright [Tue, 1 Oct 2019 14:26:59 +0000 (14:26 +0000)]
Merge "Sonarfix: Reduced cognitive compexity"

4 years agoMerge "[VVP] updating release version to 5.0.1"
Steven Wright [Tue, 1 Oct 2019 14:26:38 +0000 (14:26 +0000)]
Merge "[VVP] updating release version to 5.0.1"

4 years agoMerge "Reduce cognitive complexity"
Steven Wright [Tue, 1 Oct 2019 14:26:09 +0000 (14:26 +0000)]
Merge "Reduce cognitive complexity"

4 years agoMerge "Sonarfix: Reduce cognitive complexity"
Steven Wright [Tue, 1 Oct 2019 14:25:53 +0000 (14:25 +0000)]
Merge "Sonarfix: Reduce cognitive complexity"

4 years agoSonarfix: Reduce cognitive complexity 80/96280/3
Ezhilarasi [Thu, 26 Sep 2019 11:47:50 +0000 (17:17 +0530)]
Sonarfix: Reduce cognitive complexity

Reduced cognitive complexity in validate_metadata method
Change-Id: I195971985214f54a44c56a2e425825251a91c83b
Issue-ID: VVP-294
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years agoreduce cognitive complexity 65/96465/2
Ezhilarasi [Tue, 1 Oct 2019 09:51:51 +0000 (15:21 +0530)]
reduce cognitive complexity

Reduce cognitive complexity in test_network_format.py
Change-Id: I6f42192988f7b3361479b66740e287b8f9e6d887
Issue-ID: VVP-313
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years agoSonarfix: Reduced cognitive compexity 46/96346/2
Ezhilarasi [Fri, 27 Sep 2019 17:20:12 +0000 (22:50 +0530)]
Sonarfix: Reduced cognitive compexity

Reduced cognitive compexity by replacing if conditions
Change-Id: If198c2b82dd132c343bbe9db8cd3064750998785
Issue-ID: VVP-287
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years ago[VVP] updating release version to 5.0.1 45/96445/2
stark, steven [Mon, 30 Sep 2019 20:31:02 +0000 (13:31 -0700)]
[VVP] updating release version to 5.0.1

Issue-ID: VVP-305
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I5c07583d9e1286f4f3ca2290e7ead6c11ade173d

4 years ago[VVP] updating version, adding releases folder 45/96245/2
stark, steven [Wed, 25 Sep 2019 17:49:59 +0000 (10:49 -0700)]
[VVP] updating version, adding releases folder

Issue-ID: VVP-305
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I818c14325a5bcc274eef6359730738b028d85b97

4 years agoSonarfix: Reduce cognitive complexity 78/96278/1
Ezhilarasi [Thu, 26 Sep 2019 11:24:01 +0000 (16:54 +0530)]
Sonarfix: Reduce cognitive complexity

Change-Id: I18a9802c643f778c2aedb658848c091ff8a1587c
Issue-ID: VVP-296
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years agoReduce cognitive complexity 75/96275/1
Ezhilarasi [Thu, 26 Sep 2019 11:02:25 +0000 (16:32 +0530)]
Reduce cognitive complexity

Sonar fix to reduce cognitive complexity in method test_vm_type_assignments_on_nova_servers_only_use_get_param
Change-Id: I52d78ee4252cee5a6406406bc60629583ac0bfa3
Issue-ID: VVP-293
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years agoMerge "added Is_nova_server method to helpers"
Steven Wright [Tue, 24 Sep 2019 14:53:57 +0000 (14:53 +0000)]
Merge "added Is_nova_server method to helpers"

4 years agoMerge "[VVP] Misc tweaks and fixes to preload generation"
steven stark [Fri, 20 Sep 2019 15:03:14 +0000 (15:03 +0000)]
Merge "[VVP] Misc tweaks and fixes to preload generation"

4 years ago[VVP] Misc tweaks and fixes to preload generation 29/96029/2
Lovett, Trevor [Thu, 19 Sep 2019 19:03:55 +0000 (14:03 -0500)]
[VVP] Misc tweaks and fixes to preload generation

* Use VALUE_FOR if value is still CHANGE me in .env file
* Fix issues with improper parameters being put in VNF parameters in
  the preload
* Fix issue where lists of parameter values pulled from env file could
  only be put in one template
* Exclude platform provided parameters from VNF parameters in preload
* Fixed issues with parameter validations
* Updated heat requirements
* implemented missing test for new requirement that all incremental
  modules must have a nova server

Issue-ID: VVP-312
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Change-Id: I1a1225097544b690fb9b854c8a3d9e036f694d6a

4 years ago[VVP] Removed additional f-string for build-upload issue 45/96045/1
Lovett, Trevor [Thu, 19 Sep 2019 21:37:29 +0000 (16:37 -0500)]
[VVP] Removed additional f-string for build-upload issue

Also made heat req't json and req't mapping optional in checks.py

Change-Id: I38367e768de704cca3727bccb8f8bcdb04f9b193
Issue-ID: VVP-311
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] removing Information.txt from test csar files 00/96000/2
stark, steven [Thu, 19 Sep 2019 14:30:14 +0000 (07:30 -0700)]
[VVP] removing Information.txt from test csar files

Issue-ID: VVP-311
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I09275cb10ce59f0dcde506dc5594e586766e20d0

4 years agoMerge "[VVP] Replaced test.csar in preload_tests"
steven stark [Wed, 18 Sep 2019 17:07:27 +0000 (17:07 +0000)]
Merge "[VVP] Replaced test.csar in preload_tests"

4 years ago[VVP] Replaced test.csar in preload_tests 35/95935/1
Lovett, Trevor [Wed, 18 Sep 2019 16:59:28 +0000 (11:59 -0500)]
[VVP] Replaced test.csar in preload_tests

Issue-ID: VVP-311
Change-Id: I8b669a31511348a70915ccc91be597b8df097ae2
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years agoadded Is_nova_server method to helpers 33/95933/2 5.0.0 5.0.1
Ezhilarasi [Wed, 18 Sep 2019 15:44:44 +0000 (21:14 +0530)]
added Is_nova_server method to helpers

Added is_nova_server check to helpers to remove coginitve complexity in
test files
Change-Id: I20e68730947cc6472d693eca782bbee36a3c9e1b
Issue-ID: VVP-285
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years ago[VVP] Only install black on py 3.6 and up 79/95879/1
Lovett, Trevor [Tue, 17 Sep 2019 22:21:32 +0000 (17:21 -0500)]
[VVP] Only install black on py 3.6 and up

Issue-ID: VVP-310

Change-Id: I352773d923c0cd4a7a8cc146504520031ebb32e8
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Ensure Sonar coverage executes all tests 92/94692/6
Lovett, Trevor [Fri, 30 Aug 2019 15:07:40 +0000 (10:07 -0500)]
[VVP] Ensure Sonar coverage executes all tests

Today the Sonar coverage is only exercising the --self-tests which
excludes the tests written for other functionality such as GUIs,
helpers, and preload generation.  This change will ensure all tests
are executed by both verify jobs and Sonar coverage

Issue-ID: VVP-251

Change-Id: I291b578aef477bfaaa9d8d061c5b8a23614d514a
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years agoEnforce black code format via pre-commit hook 86/95186/1
Lovett, Trevor [Fri, 6 Sep 2019 20:34:12 +0000 (15:34 -0500)]
Enforce black code format via pre-commit hook

Issue-ID: VVP-203

Change-Id: If0de5b4bc1be0c9514decea1f4ff6f5ec79dc41b
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years agoFixed GUI not saving users' prior settings 54/95154/1
Lovett, Trevor [Fri, 6 Sep 2019 13:57:30 +0000 (08:57 -0500)]
Fixed GUI not saving users' prior settings

Change-Id: Id495e291ef6fe9f8ff024decfe27220a32e727ba
Issue-ID: VVP-298
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Preload Generation Enhancements and Fixes 39/95039/1
Lovett, Trevor [Thu, 5 Sep 2019 13:25:32 +0000 (08:25 -0500)]
[VVP] Preload Generation Enhancements and Fixes

- All values flow to preload env templates (availability
  zones were not)
- defaults.yaml should be in preload_env (includes vnf_name)
- Ensure SDC Model Identifiers are documented in VNF API format
  (ex: vnf-type, etc.)
- Ensure CSAR is used in VNF and GR API where appropriate and available
- Flag populated preload templates with _incomplete when they are not
  fully resolved
- If a value is still set to CHANGEME in the preload env, then revert
  to the original VALUE FOR from the blank preload template
- Ensure app_tests/preload_tests/sample_heat passes all vvp validations
- Added missing depedency (bandit) to requirements.txt

Change-Id: Idf1d5e6e5237debcf3e94bed5fcf7c15e41c9e82
Issue-ID: VVP-283
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years agoSonar issue fix in helpers.py 25/94825/1
Ezhilarasi [Tue, 3 Sep 2019 10:37:15 +0000 (16:07 +0530)]
Sonar issue fix in helpers.py

Change-Id: Ief18c717974498ea9b5f1fd2e2987db0d013b732
Issue-ID: VVP-172
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years agoSonarfix:Reduce coginitive complexity vmtype util 51/94451/8
Ezhilarasi [Wed, 28 Aug 2019 15:07:39 +0000 (20:37 +0530)]
Sonarfix:Reduce coginitive complexity vmtype util

Change-Id: I4b82df8587b98a142e86031700f8c73e922184d5
Issue-ID: VVP-172
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
4 years ago[VVP] Generated completed preload from env files 84/94384/1
Lovett, Trevor [Tue, 27 Aug 2019 17:40:36 +0000 (12:40 -0500)]
[VVP] Generated completed preload from env files

User can supply an optional directory containing .env files and/or
CSAR VSP which can be used to generate populated preloads in the
requested format.

The nested directories can be used to create sub-environments that
inherit their settings from the parent directories.

Optionally, values can be specified in a defaults.yaml and they will
be used if that value is not defined in the .env file.  This is useful
if the parameter name and value will be the same in all modules.

Issue-ID: VVP-278

Change-Id: Icd9846c63463537793db908be8ce5dba13c4bda3
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] test_environment_file_parameters violation fix 55/94055/2
stark, steven [Wed, 21 Aug 2019 18:12:39 +0000 (11:12 -0700)]
[VVP] test_environment_file_parameters violation fix

test_environment_file_parameters check for environment violation is checking the wrong variable.

Also doesn't handle environment files with no parameters gracefully.

Issue-ID: VVP-267
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I9fbedbb5af4c045037131a7e7a7ca7f6c8febb14

4 years agoMerge "[VVP] Adding preload generation functionality"
Steven Wright [Tue, 20 Aug 2019 17:22:38 +0000 (17:22 +0000)]
Merge "[VVP] Adding preload generation functionality"

4 years ago[VVP] Adding preload generation functionality 96/92296/6
Lovett, Trevor [Tue, 30 Jul 2019 15:50:48 +0000 (08:50 -0700)]
[VVP] Adding preload generation functionality

preload.py discovers and loads implementations of
AbstractPreloadGenerator from any module on sys.path prefixed with
preload_*

Initial support is provided for VNF-API and GR-API.  The templates
will provide a guide for users to provide their values.

Known limitations:
- No support for Contrail.  Preload will be created, but contrail
  parameters will be skipped. This will be addressed in the future.

Issue-ID: VVP-227
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I081d50ac379062fbf1bffebd687e920220d32571
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
4 years agoVNFRQTS - Update the rst table content 74/93474/1
Hagop Bozawglanian [Tue, 13 Aug 2019 18:39:15 +0000 (18:39 +0000)]
VNFRQTS - Update the rst table content

Issue-ID: VNFRQTS-651

Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
Change-Id: If4f535004e78cf3abaf0113eda3cbfa4e562fba1

4 years agoMerge "[VVP] All http URLs in requirement link"
steven stark [Fri, 26 Jul 2019 01:37:17 +0000 (01:37 +0000)]
Merge "[VVP] All http URLs in requirement link"

4 years ago[VVP] All http URLs in requirement link 57/92057/1
Lovett, Trevor [Thu, 25 Jul 2019 21:51:37 +0000 (16:51 -0500)]
[VVP] All http URLs in requirement link

Issue-ID: VVP-249

Change-Id: Ibfb8ccf735a8eaa29a6f1b1f6b2fbfd72d562feb
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Fixed ParameterCollector nested get_param 16/92016/1
Lovett, Trevor [Thu, 25 Jul 2019 14:37:55 +0000 (09:37 -0500)]
[VVP] Fixed ParameterCollector nested get_param

Issue-ID: VVP-248

Change-Id: I27d95c763cafe6d262ea8f6c03fbb3a7ba0f64dc
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years agoMerge "[VVP] Fixed issue in unused parameter detection"
steven stark [Wed, 24 Jul 2019 19:11:44 +0000 (19:11 +0000)]
Merge "[VVP] Fixed issue in unused parameter detection"

4 years agoMerge "[VVP] Tox support for installing Win pre-built libraries"
steven stark [Wed, 24 Jul 2019 19:06:47 +0000 (19:06 +0000)]
Merge "[VVP] Tox support for installing Win pre-built libraries"

4 years ago[VVP] Fixed issue in unused parameter detection 64/91964/1
Lovett, Trevor [Wed, 24 Jul 2019 18:34:59 +0000 (13:34 -0500)]
[VVP] Fixed issue in unused parameter detection

Issue-ID: VVP-247

Change-Id: I02e2da52fdfa31a1d056b9839063373453c8ace7
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Updating dependencies (except pytest) 62/91962/1
Lovett, Trevor [Wed, 24 Jul 2019 16:29:13 +0000 (11:29 -0500)]
[VVP] Updating dependencies (except pytest)

Bringing most dependencies to current except pytest which
will require changes to how self-test generates tests.

Will address that in a future release

Issue-ID: VVP-245

Change-Id: I20171ede15740087992b68e245dd9881d0bc5c78
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Tox support for installing Win pre-built libraries 52/91952/3
Lovett, Trevor [Wed, 24 Jul 2019 14:46:00 +0000 (09:46 -0500)]
[VVP] Tox support for installing Win pre-built libraries

Issue-ID: VVP-246

Change-Id: I4d416435423e69951e3c5d9154b60829984a9fb7
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years agoMerge "[VVP] updating oparent version"
Steven Wright [Wed, 24 Jul 2019 13:59:37 +0000 (13:59 +0000)]
Merge "[VVP] updating oparent version"

4 years agoMerge "[VVP] Adding bandit security scans and fixes"
steven stark [Wed, 24 Jul 2019 13:49:04 +0000 (13:49 +0000)]
Merge "[VVP] Adding bandit security scans and fixes"

4 years ago[VVP] Adding bandit security scans and fixes 08/91908/3
Lovett, Trevor [Tue, 23 Jul 2019 23:09:09 +0000 (18:09 -0500)]
[VVP] Adding bandit security scans and fixes

Issue-ID: VVP-244

Change-Id: Ia782f4cc7bf5a379ff8cdcce96cd2e7235998345
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] updating oparent version 09/91909/1
stark, steven [Wed, 24 Jul 2019 00:28:03 +0000 (17:28 -0700)]
[VVP] updating oparent version

Issue-ID: VVP-242
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: I206f0227a9602763bdfbebb04671d7644a408fd6

4 years ago[VVP] Update AZ tests to not apply to nested templates 66/91766/1
Lovett, Trevor [Fri, 19 Jul 2019 19:06:52 +0000 (14:06 -0500)]
[VVP] Update AZ tests to not apply to nested templates

Issue-ID: VVP-226

Change-Id: I91e97b1b73daf6be83c227ff2deeeb4e72213ed5
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Properly escape error messages in HTML output 52/91752/1
Lovett, Trevor [Fri, 19 Jul 2019 14:32:39 +0000 (09:32 -0500)]
[VVP] Properly escape error messages in HTML output

Issue-ID: VVP-159

Change-Id: I741e5abbc80fbcbbb5d7c0332e13217305532bfd
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Modifies uses_sr_iov function in structures.py to return sr_iov true when vnic_... 15/90815/1
Lokur, Manish [Tue, 2 Jul 2019 23:13:53 +0000 (23:13 +0000)]
[VVP] Modifies uses_sr_iov function in structures.py to return sr_iov true when vnic_type=direct

Issue-ID: VVP-231

Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
Change-Id: I9b42d682f9cca0b8ae68746c5472cf7903933558

4 years ago[VVP-230] Modified test_non_server_name_unique for non-server name uniqueness check 54/90754/2
Lokur, Manish [Mon, 1 Jul 2019 22:24:34 +0000 (22:24 +0000)]
[VVP-230] Modified test_non_server_name_unique for non-server name uniqueness check
Used heat_template argument which loops through for each base template
Created a list of base and it's nested templates for the test

Issue-ID: VVP-230

Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
Change-Id: I84d14ed61ac79d83894a47a79954f4ce8ac1615e

4 years ago[VVP] Bug fix in conftest.py 49/90749/1
Lokur, Manish [Mon, 1 Jul 2019 18:40:32 +0000 (18:40 +0000)]
[VVP] Bug fix in conftest.py
Relatived Path function failed if the value is an empty string.

Issue-ID: VVP-229

Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
Change-Id: I811234cfc7c3c438bd8934568a3ccbb02bac013a

4 years agoMerge "[VVP] Added support to display terms and force acceptance if desired"
steven stark [Wed, 19 Jun 2019 15:02:08 +0000 (15:02 +0000)]
Merge "[VVP] Added support to display terms and force acceptance if desired"

4 years ago[VVP] Added support to display terms and force acceptance if desired 69/90169/1
Lovett, Trevor [Tue, 18 Jun 2019 16:07:39 +0000 (11:07 -0500)]
[VVP] Added support to display terms and force acceptance if desired

Issue-ID: VVP-195
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Change-Id: Ia66e8deabdb5945a2acc7dc5a652ffdb2429945e

4 years agoMerge "[VVP] Allow multi-line error messages on error reports"
Steven Wright [Mon, 17 Jun 2019 12:48:28 +0000 (12:48 +0000)]
Merge "[VVP] Allow multi-line error messages on error reports"

4 years ago[VVP] Allow multi-line error messages on error reports 99/89899/1
Lovett, Trevor [Fri, 14 Jun 2019 13:39:16 +0000 (08:39 -0500)]
[VVP] Allow multi-line error messages on error reports

Issue-ID: VVP-225
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Change-Id: Iebee13d29f8025b3dd5c147f2024a484789464f7

4 years agoMerge "[VVP] Fix redundant errors: missing base module or nested dirs"
Steven Wright [Mon, 10 Jun 2019 13:48:04 +0000 (13:48 +0000)]
Merge "[VVP] Fix redundant errors: missing base module or nested dirs"

4 years agoMerge "[VVP] Improved readability of reports"
steven stark [Fri, 7 Jun 2019 18:52:10 +0000 (18:52 +0000)]
Merge "[VVP] Improved readability of reports"

4 years ago[VVP] Fix redundant errors: missing base module or nested dirs 54/89554/1
Lovett, Trevor [Fri, 7 Jun 2019 01:52:03 +0000 (20:52 -0500)]
[VVP] Fix redundant errors: missing base module or nested dirs

Change-Id: I50f9f3f0bd627124a679248b2cf630e818755c59
Issue-ID: VVP-218
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Improved readability of reports 49/89549/2
Lovett, Trevor [Thu, 6 Jun 2019 21:43:16 +0000 (16:43 -0500)]
[VVP] Improved readability of reports

- Removed resolution steps from all reports
- Added error number to all reports
- Only show base file names
- Add auto-filter to excel reports
- Shift test ID to right-most column of Excel
- Removed raw output from Excel and CSV

Change-Id: Ic022b0a14d53fbeab591def631b8743228e1d5c0
Issue-ID: VVP-184
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Adding resource ID to error message 46/89546/1
Lokur, Manish [Thu, 6 Jun 2019 21:12:48 +0000 (21:12 +0000)]
[VVP] Adding resource ID to error message

Issue-ID: VVP-224

Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
Change-Id: I36f5033220593ea574d96c991fb1a07994089ef4

4 years agoMerge "[VVP] removed fixtures for the deleted tests"
steven stark [Thu, 6 Jun 2019 17:30:34 +0000 (17:30 +0000)]
Merge "[VVP] removed fixtures for the deleted tests"

4 years agoMerge "[VVP] Removed yamllint library"
steven stark [Thu, 6 Jun 2019 14:23:12 +0000 (14:23 +0000)]
Merge "[VVP] Removed yamllint library"

4 years ago[VVP] Removed yamllint library 69/89469/1
Lovett, Trevor [Thu, 6 Jun 2019 04:00:10 +0000 (23:00 -0500)]
[VVP] Removed yamllint library

Change-Id: If2c26b8650e8aba0a183d0cf47b1b3744dbfaf95
Issue-ID: VVP-201
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] removed fixtures for the deleted tests 45/89445/2
Lokur, Manish [Wed, 5 Jun 2019 22:10:07 +0000 (22:10 +0000)]
[VVP] removed fixtures for the deleted tests

Issue-ID: VVP-223

Change-Id: I00def826ff322fa9ae6d308c1107e3cac659e061
Signed-off-by: Lokur, Manish <manish.shivakumar.lokur@att.com>
4 years ago[VVP] removing duplicate test from vvp 26/89426/1
aarjvi,desai [Wed, 5 Jun 2019 21:25:47 +0000 (21:25 +0000)]
[VVP] removing duplicate test from vvp
Issue-ID: VVP-223

Signed-off-by: aarjvi,desai <aarjvi.desai@att.com>
Change-Id: Iee4c666085cbe6fbef3ab37d2d85c9984b88f1d8

4 years agoMerge "[VVP] Performance Enhancements (report generation and test collection)"
steven stark [Wed, 5 Jun 2019 20:53:58 +0000 (20:53 +0000)]
Merge "[VVP] Performance Enhancements (report generation and test collection)"

4 years ago[VVP] Performance Enhancements (report generation and test collection) 86/89386/2
Lovett, Trevor [Wed, 5 Jun 2019 15:13:46 +0000 (10:13 -0500)]
[VVP] Performance Enhancements (report generation and test collection)

Issue-ID: VVP-222

Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Change-Id: I9dd3506097cb0d6e69bd1434b2d42f6d1965023b

4 years ago[VVP] updating dockerfile for with heat dependencies 85/89285/2
stark, steven [Tue, 4 Jun 2019 20:03:59 +0000 (13:03 -0700)]
[VVP] updating dockerfile for with heat dependencies

Issue-ID: VVP-221
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: Ie7cdcdbff0cf04d29808d8167b08f568b7d88e69

4 years ago[VVP] Exempt output section from nested get_param check 98/88898/1
Lovett, Trevor [Thu, 30 May 2019 13:51:43 +0000 (08:51 -0500)]
[VVP] Exempt output section from nested get_param check

Change-Id: Ib87b0fb1c70c5689fc7687a21a27ea60934096b1
Issue-ID: VVP-220
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years agoMerge "[VVP] Refine nested get_param test per R-10834 update"
Steven Wright [Tue, 28 May 2019 13:08:37 +0000 (13:08 +0000)]
Merge "[VVP] Refine nested get_param test per R-10834 update"

4 years ago[VVP] Refine nested get_param test per R-10834 update 05/88505/1
Lovett, Trevor [Fri, 24 May 2019 23:28:36 +0000 (18:28 -0500)]
[VVP] Refine nested get_param test per R-10834 update

R-10834 was updated via VNFRQTS-646 to better reflect SDC's level of
support

Change-Id: I5232e7dc88c8c20f076788abf368bf33f4f1e1cb
Issue-ID: VVP-219
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] adding heat template-validate test 13/88413/5
stark, steven [Thu, 23 May 2019 20:50:25 +0000 (13:50 -0700)]
[VVP] adding heat template-validate test

Issue-ID: VVP-218
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: If88f9b4b620aaffe61ead3b6f7d5c74dcfd14cba

4 years ago[VVP] updating version and pom for elalto release 91/88191/1
stark, steven [Tue, 21 May 2019 17:41:40 +0000 (10:41 -0700)]
[VVP] updating version and pom for elalto release

Issue-ID: VVP-210
Signed-off-by: stark, steven <steven.stark@att.com>
Change-Id: If9443595db21f229f9e52ff2e591fd7be979ac1e

4 years ago[VVP] Update validations based on VNFRQTS-637 23/88023/2 dublin
Lovett, Trevor [Mon, 13 May 2019 19:01:09 +0000 (14:01 -0500)]
[VVP] Update validations based on VNFRQTS-637

Update to the latest bundled requirements text
Update aap_exempt message to better reflect verbiage
Remove unneeded test: tests_neutron_port_addresses (requirement removed)
Map aap_exempt requirement to associated tests

Also adding new helper scripts to help detect divergences between
VNF Requirements and VVP as well as other VVP best practices:

checks.py - Pre-commit checks
- requirements are up-to-date with VNFRQTS
- all testable requirements have tests
- all non-testable requirements are *not* mapped to tests
- flake8 passes
- self-test passes

update_reqs.py - Updates the the contents of heat_requirements.json
with latest req'ts from VNFRQTS Nexus artifact

Change-Id: Ia197de3254a1a0369224939f66a5f98c601a314d
Issue-ID: VVP-216
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Add test for R-100260 and fix mapping 06/87906/1
Lovett, Trevor (tl2972) [Thu, 16 May 2019 16:31:07 +0000 (11:31 -0500)]
[VVP] Add test for R-100260 and fix mapping

Re-arranged some helper and util functions to more logical locations.

Added test to verify than an internal subnet parameter used in an
incremental module is defined in the base module.

Change-Id: I20369396b18820f0e321c0e75bd47446b0a7a39f
Issue-ID: VVP-215
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
4 years ago[VVP] R-100280, R-100290, and aap_exempt support 09/87709/5
Lovett, Trevor [Tue, 14 May 2019 21:30:42 +0000 (16:30 -0500)]
[VVP] R-100280, R-100290, and aap_exempt support

Change-Id: I732af13a22e8c1dadc5fbf622a6efd102146262b
Issue-ID: VVP-214
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Adding env file checks for contrail 90/87690/2
Lovett, Trevor [Tue, 14 May 2019 15:37:17 +0000 (10:37 -0500)]
[VVP] Adding env file checks for contrail

* Introduced helper method get_param to handle extracting param
  names from both get_params with string and list arguments
* Moved test files for environment tests to independent directories
  to make it easier to isolate unit tests
* Added contrail tests related to env file usage related to VNFRQTS-630

Change-Id: I3b44f0ce2d5657e9ab5290cd77f1422b36052b6a
Issue-ID: VVP-213
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
4 years ago[VVP] Adding tests for new reqs from VNFRQTS-630 98/87598/1
stark, steven [Mon, 13 May 2019 21:41:55 +0000 (14:41 -0700)]
[VVP] Adding tests for new reqs from VNFRQTS-630

Added tests for reqs:
R-100010, R-100030, R-100050, R-100070, R-100090, R-100110,
R-100130, R-100150, R-100200, R-100220, R-100240, R-100310,
R-100330, R-100360, R-100370, R-100260, R-100000, R-100190,
R-100350

Updated neutron param tests to re-use validation code for contrail tests

Change-Id: I84af725ca9de176dc690fffda01ffcad453213ea
Issue-ID: VVP-211
Signed-off-by: stark, steven <steven.stark@att.com>
4 years ago[VVP] updating version in pom and versions.py 80/87480/1
stark, steven [Fri, 10 May 2019 18:16:38 +0000 (11:16 -0700)]
[VVP] updating version in pom and versions.py

- version # is now representative of the official ONAP release version

Change-Id: I4dcf6190c427c5092b00a237fa6dc6b9f0fc73f8
Issue-ID: VVP-209
Signed-off-by: stark, steven <steven.stark@att.com>