aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator
AgeCommit message (Collapse)AuthorFilesLines
2019-02-21[VVP] JSON report shows relative paths for "files"Lovett, Trevor1-2/+8
Template path is also normalized to Unix style path separators. Change-Id: I2961e09300ed5ab8487bb21b8a302c7b55594474 Issue-ID: VVP-169 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-20[VVP] Fix error msg on test_network_formatLovett, Trevor1-1/+1
Change-Id: I945f7f56c9457ec49f10cebe0fc45bbc1a2e7129 Issue-ID: VVP-174 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-18Merge "[VVP] remove tests for 88540, 20947, 54458"Steven Wright2-33/+0
2019-02-15[VVP] remove tests for 88540, 20947, 54458stark, steven2-33/+0
the reqs 88540, 20947, 54458 were removed from read the docs, the corresponding tests for these should also be removed. Change-Id: I1912321e6c68df34b41c32b62d0ae2a25873b959 Issue-ID: VVP-168 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-15[VVP] ports.py check port typestark, steven1-4/+7
get_invalid_ip_addresses needs to be enhanced to check the neutron port type (internal or external) before validating the IP parameter format. The IP parameter format should not be validated against both internal and external, it should only be validated against the formats for the ports type. Change-Id: Ic8b66b83729f6ea5d268d55816e03dcbbfec12fd Issue-ID: VVP-167 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-12VVP - Fix nested templateHagop Bozawglanian1-2/+2
Change-Id: I814804ccffaeb20cc758428c62a1d789868d7ff8 Issue-ID: VVP-166 Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
2019-02-12[VVP] Allow lists in test_availability_zoneLovett, Trevor2-53/+4
Change-Id: I590830db83b0c7dd5df2ac59992a7771483eab03 Issue-ID: VVP-165 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-08[VVP] Improved message on test_base_template_nameLovett, Trevor3-15/+134
Change-Id: I5974ed3b8ff6e20ab747b3e96af37f84a133ecbb Issue-ID: VVP-141 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-02-08[VVP] Fixing internal network checkLovett, Trevor5-211/+113
The test_neutron_port_internal_network test is intended to check that internal networks referenced in **incremental** modules are defined and exported in the base template. The current version of the test applies this check to nested modules as well causing false violations to be flagged. Issue-ID: VVP-163 Change-Id: I42cc81acf0cc2b6827ae8cf4e9a7faa4af91f9b4 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-06[VVP] Fix errors on tests with no fixturesLovett, Trevor1-5/+7
Change-Id: I4ad24979128902b4e0e502c76d6503e2876b960a Issue-ID: VVP-161 Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2019-02-06Merge "[VVP] revert nested resource section"Steven Wright3-6/+6
2019-02-05Merge "[VVP] Removing redundant requirements.json file"steven stark1-70933/+0
2019-02-05[VVP] Removing redundant requirements.json fileLovett, Trevor1-70933/+0
Change-Id: I640a35b4f3855bb36fa7c3fe62e359ad270bb856 Issue-ID: VVP-162 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-02-05[VVP] Removing invalid testsLovett, Trevor16-1768/+0
Change-Id: I9336fa834b08748cabb5ac49495f1591f15939f8 Issue-ID: VVP-150 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-02-05[VVP] revert nested resource sectionstark, steven3-6/+6
- R-40551 specifies nested templates MAY or MAY NOT contain a resource section - remove check for get_param in allowed_address_pairs, no requirement states get_param MUST be used Change-Id: If133b4ec4d39c25a95c77482b1743562e2ae74a8 Issue-ID: VVP-158 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-04[VVP] enhance tests for nested templatesstark, steven42-129/+129
Change-Id: I17047fa3df555fafcdae566fad50b8c19ddca16f Issue-ID: VVP-158 Signed-off-by: stark, steven <steven.stark@att.com>
2019-02-01[VVP] pseudo-parameters nested parametersstark, steven2-3/+10
Change-Id: Iff7630a6f62fa8b83c80048d6efc12d187037412 Issue-ID: VVP-157 Signed-off-by: stark, steven <steven.stark@att.com>
2019-01-31Merge "[VVP] Creating table for RST ingestion"Steven Wright1-0/+50
2019-01-31[VVP] Creating table for RST ingestionBozawglanian, Hagop (hb755d)1-0/+50
Issue-ID: VVP-155 Change-Id: I16b9c54121302b78d05cd6ee40a499a599a35f17 Signed-off-by: Bozawglanian, Hagop (hb755d) <hb755d@att.com>
2019-01-30[VVP] Removing unnecessary trademark linesLovett, Trevor447-589/+168
Issue-ID: VVP-152 Change-Id: I6b978768324f69adba50c75a187509c4a7605341 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-01-30Merge "[VVP] Add new columns to traceability report"Steven Wright1-46/+51
2019-01-30[VVP] Add new columns to traceability reportLovett, Trevor1-46/+51
Added the following columns: * Keyword - MUST, MUST NOT, etc. * Validation Mode - contents of :validation_mode: from vnfrqts * Is Testable - TRUE if requirement is testable based on keyword and validation mode, FALSE otherwise Also fixed issue following issues: * Traceability and mapping error reports were not going to the configured output directory if a custom value was provided * Removed duplicate rows from traceability report * Traceability report shows all Heat requirements Change-Id: I339b42e9e662f1681b78d1a49bd7e71e87cae21a Issue-ID: VVP-148 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-01-29Merge "[VVP] Fix failing test in app_tests"Steven Wright1-1/+1
2019-01-29[VVP] Fix failing test in app_testsLovett, Trevor1-1/+1
Change-Id: Ia90b2fd528af9e8da8052161e668a6e575652123 Issue-ID: VVP-147 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-01-29[VVP] Fixing mapping issuesLovett, Trevor1-35/+3
Updated to the latest version of the needs.json R-52530 was removed and replaced with R-511776 which is already covered by a different test. test_07_nested_template_in_same_directory: the only remaining purpose of this method was to test for the existence of the nested file, but this is already covered by test_valid_nesting I mapped the unmapped tests in test_inital_configuration to to the requirement that states the templates must be valid Heat Change-Id: Ia71d774df8873ebb4182f44eb66b108f9ff24d20 Issue-ID: VVP-142 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-01-29[VVP] Removing dynamic download of needs.jsonLovett, Trevor2-25/+3
Also resolving some flake8 failures Change-Id: I2de20975106de0308bc20c2a8944e3552f6f7cca Issue-ID: VVP-140 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
2019-01-29[VVP] stand alone tool, script updatesstark, steven83-1599/+4009
1) Validation script updates: Various bug fixes and script enhancements New tests for: R-18683 R-94669 R-304011 R-01455 R-86476 R-708564 R-85734 R-18683 R-94669 R-304011 R-01455 R-86476 R-86476 R-589037 Removed tests for: R-75202 R-62954 R-22441 R-49177 R-16576 R-86237 R-44491 R-70757 R-01896 R-26124 2) Stand Alone tool introduced 3) Added optional "categories" capability Change-Id: I193cd5c267750791d97b350e91fc36faa72d8d5f Issue-ID: VVP-143 Signed-off-by: stark, steven <steven.stark@att.com>
2019-01-22[VVP-132] Add new JSON output reportLovett, Trevor2-1725/+30964
Added a new JSON output format with complete results of the test run. This can be produced using the existing --report-format option and passing the json value to it. Additionally users can now customize where output files are written using the --output-directory option. Issue-ID: VVP-132 Change-Id: I7b8a01bd3d5179ecb75b1db588da3bb057b9b573 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com> Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2018-12-17[VVP] updating validation scripts in dublinstark, steven268-4652/+44536
- adding backlog of new validation scripts for dublin - updating existing tests - removing outdated tests Issue-ID: VVP-123 Change-Id: Ib8260889ac957c1dd28d8ede450fc8edc6fb0ec0 Signed-off-by: stark, steven <steven.stark@att.com>
2018-11-06[VVP] validation scripts warning functionstark, steven1-1/+1
Change-Id: Ib639b5eb271e48ded9d5c8bb8857b5e12260deed Issue-ID: VVP-116 Signed-off-by: stark, steven <steven.stark@att.com>
2018-09-17VVP - Fixing script for traceability csvBozawglanian, Hagop (hb755d)2-862/+871
Fixing try catch to account for service outage. Issue-ID: VNFRQTS-236 Change-Id: Ic7ef03215fa4ed6319d7b5e986828bc83c17465a Signed-off-by: Bozawglanian, Hagop (hb755d) <hb755d@att.com>
2018-09-14[VVP] udpating scripts for casablanca 2stark, steven86-1212/+3197
adding scripts updates adding docrators for sections 5.2.6 - end closes out VVP 80 Change-Id: Iecac476949aa3ae3982f8c77671869583eb313d6 Issue-ID: VVP-80 Signed-off-by: stark, steven <ss820f@att.com>
2018-09-13[VVP] udpating scripts for casablancastark, steven37-2080/+43122
adding new "infrastructure" scripts addresses bugs VVP-100, VVP-101, VVP-102 adding base tests updating tests where arguments have changed Adds traceability for task VVP-92 Change-Id: I067d8e80934403039e66fbc9fc93766587f67b4e Issue-ID: VVP-80 Signed-off-by: stark, steven <ss820f@att.com>
2018-09-13VVP - Fixing script for traceability csvBozawglanian, Hagop (hb755d)2-5/+20290
Fixed the conftest.py script so traceability wouldn't have repeats and it pulls the newest JSON it runs. Issue-ID: VNFRQTS-236 Change-Id: Id33965b64f939bed0a6bbb7ab3a9e692829b4603 Signed-off-by: Bozawglanian, Hagop (hb755d) <hb755d@att.com>
2018-08-30[VVP] pytest --self-test xfailstark, steven1-3/+7
validation scripts pytest --self-test "xfail" being skipped Issue-ID: VVP-108 Change-Id: I1bdb146db3de78b393315499491b3ad65597213c Signed-off-by: stark, steven <ss820f@att.com>
2018-08-22[VVP] Added new three new reportsLovett, Trevor (tl2972)288-1616/+24237
Resolves VVP-81 by introducing three new reports to the validation script output. Each report is written to the output directory under ice_validator. * mapping_errors.csv - each row represents an issue where a test is mapped to a requirement that does not exist in the requirement.json file * traceability.csv - Shows a mapping between all test cases and requirements. Rows will also be shown where a requirement does not have a tests, and where tests are not mapped to a requirement * report.{html|csv|xlsx} - Formatted error report that shows each failure that was detected and maps it to a the file name, requirement(s) violated if known, possible resolution steps, error message, and raw output from pytest. The report can be written in html, csv, or Excel format Other minor changes: * Replaced smart quotes with regular quotes to resolve issues with py3 * Updated copyright of modified files * Fixed Flake-8 errors Issue-ID: VVP-81 Change-Id: I659836cb20262ae44652c03639281a817dd051ae Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
2018-08-09[VVP] create new validation scriptsstark, steven39-148/+1910
- create validation scripts for R-04747, R-30804, R-11690, R-46839, R-98407 - other small script enhancements Change-Id: I12c42a43c83e5cb4217895c19fd0beef928dc955 Issue-ID: VVP-103 Signed-off-by: stark, steven <ss820f@att.com>
2018-07-31[VVP] Updating error reporting for helpersBozawglanian, Hagop (hb755d)3-56/+85
Change-Id: Ib93b6ff452613b2ee1f2804d958f4c6f66d6dee4 Issue-ID: VVP-80 Signed-off-by: Bozawglanian, Hagop (hb755d) <hb755d@att.com>
2018-07-27[VVP] decorators for 5.2.7 and 5.2.8stark, steven2-0/+4
update decorator for validation script corresponding to 5.2.8 of VNFRTQS update decorator for validation script corresponding to 5.2.7 of VNFRTQS Change-Id: Ibb5bb639908538c8ce07e2f2913a0fb447c27746 Issue-ID: VVP-94 Signed-off-by: stark, steven <ss820f@att.com>
2018-07-26[VVP] add decorators for heat 5.2.5.6stark, steven3-0/+14
Change-Id: I422fad86438380092254e46e3940f32fe6dc732f Issue-ID: VVP-92 Signed-off-by: stark, steven <ss820f@att.com>
2018-07-24[VVP] decorator [5.2.5.1 5.2.5.6) of VNFRTQSstark, steven6-0/+13
Change-Id: I2867bdcb2f86410e1c047d90e156471f84baf422 Issue-ID: VVP-92 Signed-off-by: stark, steven <ss820f@att.com>
2018-07-19[VNFRQTS] update decorator for validation scriptstark, steven12-59/+307
update decorator for validation script corresponding to 5.2.1 of VNFRTQS update decorator for validation script corresponding to 5.2.2 of VNFRTQS Change-Id: I063e799a27c76bb58c031273aca48031965849d9 Issue-ID: VVP-88 Signed-off-by: stark, steven <ss820f@att.com>
2018-07-11[VVP] add decorators to test casesstark, steven17-11/+35
Adding initial set of decorators Change-Id: I1d2064c94995fe30b607e7c7b8a0faebe7426f9b Issue-ID: VVP-80 Signed-off-by: stark, steven <ss820f@att.com>
2018-07-09[VVP] Track Requirements to Test Casesstark, steven2-0/+36
Change-Id: I35c7630d0aabb970e67323e1e895a57cbcb23fb2 Issue-ID: VVP-79 Signed-off-by: stark, steven <ss820f@att.com>
2018-06-21[VVP] test port resource idsstark, steven2-16/+17
test port resource ids regex and logic doesn't properly validate ports Change-Id: Iae9a83c65eb04a232fb229a97c944f0ac4d62497 Issue-ID: VVP-85 Signed-off-by: stark, steven <ss820f@att.com>
2018-04-23[VVP] add bug fixes and reserve port updatesstark, steven36-164/+1378
Adding test script updates and reserve port Change-Id: I2af5263a48a53117021f166d08395685e89fd122 Issue-ID: VVP-56 Signed-off-by: stark, steven <ss820f@att.com>
2017-09-14Commit test list join for availability_zoneedan-att11-4/+719
These changes were imported from upstream @ commit e38076e29ef8c86c510fca3141954d10602040bb - Updated `nested_iterables` to parse list_join if available in the templates - Updated `test_volume_resource_ids` to allow volume ids to be provided as a parameter list - Appropriate fixture additions and changes Change-Id: Ia2187fe4eb7a389c8df01061be229246262d9a24 Issue-Id: VVP-29 Signed-off-by: Edan Binshtok <eb578m@intl.att.com>
2017-09-05Commit seed code for validation-scriptsMichael F. Lamb286-0/+25695
This imports the initial seed code for validation scripts. These files were imported from a tarball with the SHA1SUM ce2ae49c82546b987c8ad2f68ac43d94b4934818. From the contents of the tarball, some errant .pyc files were removed, and a .gitignore file was added. The result matches exactly the contents of the origin private repository at hash 88c656e. Change-Id: I97d19b11495e116890ca6577e83037b0934519cc Issue-Id: VVP-11 Signed-off-by: Michael F. Lamb <mike@datagrok.org>