Commit Graph

24 Commits

Author SHA1 Message Date
ArkadyKanevsky de96ee2d12 Reorganize guidelines and improve consistency.sh
Reorganize guidelines into guidelines directory and create
current_guideline that is softlink to the latest approved guideline.
The same with add-ons guidelines - they are moved to guidelines
directory within add-ons one and soft links are created pointing
to the latest guidelines for each add-on.

Also cleaned up some tooling that hardwired where guidelines lived.

Change-Id: I5ad4b91b1afb44a0a6987b339f7efba14f395302
2021-06-29 22:16:59 +00:00
Martin Kopec c730eee368 Revert "Reorganize guidelines and improve consistency.sh"
This reverts commit a9fbc452a6.

Reason for revert: refstack server gives 404 on the guidelines: https://refstack.openstack.org/#/guidelines .. seems like https://review.opendev.org/c/osf/refstack/+/790940 didn't handle the update of the guidelines location everywhere - I suspect that some changes in refstack-ui are needed as well, ah

Change-Id: I2685eb8fccb4dbdcf42683f168ee2cb316137196
2021-05-25 13:27:13 +00:00
ArkadyKanevsky a9fbc452a6 Reorganize guidelines and improve consistency.sh
Reorganize guidelines into previous_guideline directory
and current_guideline that is softlink to the latest approved guideline.
Cleaned up some tooling that hardwired where guidelines lived.

Change-Id: Ia6be9ca6326718488ee5668df3806da5f76dc456
2021-05-23 10:02:02 +00:00
Artem Goncharov 6a5adfc915 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I16040e384b553ffb7d19dcda2363f3f07ce7855e
2019-05-08 12:20:31 +00:00
Mark T. Voelker 02698b5411 Fix "superceded" typo in schema
Clouds are hard.  English, doubly so.  We have a longstanding
spelling error in the schema: "superceded" should be spelled
"superseded".  This patch corrects it and updates all the documents
the typo was propagated to over time.

Change-Id: I72f24bf026919f4ccce0ce0c42e1c33c4042aca4
2017-09-12 09:38:36 -06:00
Mark T. Voelker 16668dddea Approve 2016.08, supersede 2015.07
This commit changes the 2015.07 Guideline from "approved"
to "superseded" and changes the 2016.08 Guideline from "draft"
to "approved" status.  This patch should not be merged until
the Board of Directors has approved the 2016.08 Guideline.  Voting
is planned for the August 23 Board meeting.

Note: this change also regenerates documentation for all other
superceded Guidelines.

Change-Id: I630978bdff9c166a4a3340f8c26bcdcbf7013cbf
2016-08-22 17:59:23 -04:00
Jenkins ddcfc7a468 Merge "Flag Compute tests which depend on the os-networks extension" 2016-07-14 23:39:11 +00:00
Daryl Walleck b17276497f Flag Compute tests which depend on the os-networks extension
Certain Compute tests [1] require the fixed_network_name
configuration to be set or for a provider network to be
defined. Setting either of these triggers a code path
that uses the os-networks extension to look up the
network's id. If this extension is not enabled, then
any test that creates a server will fail. The credential
provider needs additional logic to handle the case
where this extension is not enabled.

[1] https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_list_server_filters.py#L270

Change-Id: I34b8cc50f35d7207d12c73f980966066eddbcf81
Related-Bug: #1592173
Related-Bug: #1600349
2016-07-14 17:50:20 -05:00
Jenkins f70240de66 Merge "Update gate tests to capture 2015.07 and 2016.01" 2016-07-13 15:13:04 +00:00
Jenkins 08de1db24d Merge "Update test cases corresponding to the class(execution path)" 2016-07-06 16:43:18 +00:00
Chris Hoge fcb533a6eb compute-image flags were not carried to 2015.07
Between 2015.05 and 2016.01 the compute-image flags were not
carried forward. This patch reconciles the lost flags and fixes
other errors in the existing guidelines, as well as next.

Partial-Bug: 1585773
Partial-Bug: 1599563
Change-Id: Ie405d3f24e0754a99f274aedcbd6b56adabaa5b6
2016-07-06 08:51:23 -07:00
Chris Hoge cc4ae436a1 Update gate tests to capture 2015.07 and 2016.01
Following the July 2016 board meeting, add minor update to guidelines
to move them to version 1.5 of the DefCore schema and add json
schema validation to gate job.

Change-Id: Iac667f8a87b50a15f4dfe13c1ef69efa61c10059
2016-06-29 09:52:22 -07:00
xuchao 62e3c49d69 Update test cases corresponding to the class(execution path)
Change-Id: Ic443bdc4cd5ce80029271cefbd7bef505847eb48
Closes-Bug: #1592239
2016-06-15 17:09:56 +08:00
Chris Hoge 8d9630c939 Fix guideline errors
Fix errors in 2015.07.json, 2016.01.json, and next.json
guidelines. Fixes include removal of trailing commas,
changing empty lists to empty sets for consistency across
designated sections, and removal of duplicate test entries
from capabilities.

Co-Authored-By: Catherine Diep <cdiep@us.ibm.com>
Change-Id: Ib1a046b732f3807cabfd0c448a2cbf698a5cf44c
2016-06-02 00:21:12 -07:00
Chris Hoge 1acbbb2006 Flag tests scheduled for removal from Tempest
Flag tests that have been removed from the Tempest test
suite[1]. Capabilities are covered by other tests. Tests
to be permanently removed from future guidelines.

compute-auth-* capabilities removed because of empty
test sets.

[1] https://review.openstack.org/#/c/271467

Change-Id: Ib6b8ca03f39c7590163a9db710e5ca8aa373d659
2016-04-21 16:05:45 -07:00
Chris Hoge 184ff3e19e Flag tests requiring multiple tenants and users
Guiding core priciple number 7 from the DefCore core
definition is [1]:

"7. Tests can be remotely or self-administered"

Tests that require multiple tenants and users
create a barrier to remote adminstration and
independent verification of test results. Requiring
users to enroll for multiple tenant-isolated accounts
on a public cloud creates a resource cost that
may be insurmountable for end users, especially
when comparing multiple public clouds.

In addition, tenant isolation is less a capability
for writing interoperable applications, and more
a security concern for cloud implementers. While
important, the goal of interopearbility is
orthgonal to the security goals of tenant isolation.

The flagged tests in this patch require multiple
tenant-isloated accounts, and are marked to
to be fixed where possible, or removed where not
possible.

This list was determined by successfully running
the defcore suite against a test cloud[2], then
re-running the tests configured with only one
account against the same test cloud[3].

At the January QA meetup, this test list was
refined by refactoring Server Negative tests
into two classes, one that requires multi-tenant
access, one one that does not[4]. This significantly
reduced the number of flagged tests.[5]

[1] https://github.com/openstack/defcore/blob/master/doc/source/process/CoreDefinition.rst
[2] https://refstack.openstack.org/#/results/0b8ac51d-3288-42d8-b276-4a54046e41bd
[3] https://refstack.openstack.org/#/results/01f29358-8870-4e15-8f7a-f6a082d44e29
[4] https://review.openstack.org/#/c/283819/
[5] https://etherpad.openstack.org/p/multi-tenant-defcore-tests

Change-Id: I5ec801ae48e8220abdaecebe43e77465684e8b5b
2016-04-08 09:57:40 -07:00
Catherine Diep 235ecf7d2b Flag Tempest skipped test.
Flag test "test_list_servers_filtered_by_ip_regex" which was skipped
by Tempest on Feb 2, 2016 [1] due to bug [2].

[1] https://review.openstack.org/#/c/274907/
[2] https://bugs.launchpad.net/tempest/+bug/1540645

Change-Id: Ie41ee2a8be54fd255b01301d9545eece0d8b3753
2016-03-31 14:05:54 -07:00
cdiep e368c9e3ba Add alias to handle test name changed.
"test_rebuild_reboot_deleted_server" was renamed to
"test_rebuild_deleted_server" in patch [1] which was merged on
December 5, 2015.

[1] https://review.openstack.org/#/c/239710/

Change-Id: If64855268c167ae39661b6396d82658872309b92
2015-12-17 15:58:16 -08:00
Mark T. Voelker 112c7449b0 Migrate 2015.07 to Schema 1.4
At the DefCore workshop at the OpenStack Summit in Tokyo, we
discussed the need to migrate our older specs to a newer version
of the schema.  Doing so would make it easier to deal with tests
that have been renamed, and would mean fewer schemas for RefStack
to have to parse.

This patch migrates 2015.07 from schema 1.3 to 1.4.  Older Guidelines
are currently in schemas 1.2 or older and are therefore a bit more
complex to migrate--so those will be dealt with in a separate patch.

Change-Id: I2090166eefeb9157636ecb34a78b061422662c60
2015-11-02 12:09:11 -05:00
Jenkins 71d9b99f42 Merge "Flag change pwd test in 2015.07 & remove in .next" 2015-09-08 18:49:57 +00:00
Mark T. Voelker e91213ef76 Fix Schema 1.3 violations in 2015.07 and .next
In the 2015.07 Guideline, we switched to a new schema [1].  However,
as published today, the 2015.07 Guideline contains a couple of
schema violations.  Namely, it uses strings where it should use
booleans for the "admin" key [2] and it lacks the "status" key for
individual capabilities [3].  This patch corrects both problems, and
also applies them to 2015.next so we don't fall into the same trap
again next time around.

[1]
http://git.openstack.org/cgit/openstack/defcore/tree/doc/source/schema/1.3.rst
[2]
http://git.openstack.org/cgit/openstack/defcore/tree/doc/source/schema/1.3.rst#n65
[3]
http://git.openstack.org/cgit/openstack/defcore/tree/doc/source/schema/1.3.rst#n66

Change-Id: I66949a28efce6f23e6c3371c8ef8356866752beb
2015-08-26 14:15:24 -04:00
Mark T. Voelker 58a3ee4f95 Flag change pwd test in 2015.07 & remove in .next
Chagne password is not widely supported across hypervisors
(in fact, it only currently works with Xen [1]) and therefore
fails to meet DefCore criteria.  This test has also been flagged
in previous Guidelines [2] and we've discussed removing it entirely
since it's extremely unlikely that all other backends will ever
implement this capability.

This patch carries forward the flag from previous Guidelines and
removes the test completely from .next.json so we don't have to
re-flag it again in subsequent Guidelines.

[1]
http://docs.openstack.org/developer/nova/support-matrix.html#operation_set_admin_password
[2] https://review.openstack.org/#/c/196153/3

Change-Id: I13ed481324cf1b0b62c7c02886bdf02906550cbf
2015-08-26 12:18:23 -04:00
Mark T. Voelker 081a8f5f5c Fix flagged blocks in 2015.07 spec
In the 2015.07 spec we moved to schema 1.3 [1] which changes the structure
of flags in the JSON documents.  Currently a few tests with flags
have a key of "flag" where schema 1.3 dictates they have a key of
"flagged".  This patch corrects those sections.

[1]
http://git.openstack.org/cgit/openstack/defcore/tree/doc/source/schema/1.3.rst#n75

Change-Id: Ic4fbd81662f8ff63abccca09b3f4a0e778cd5234
2015-08-20 15:56:00 -04:00
Rob Hirschfeld 1a1495ccc1 2015.07 Guideline to be approved by Board in July 2015
This change was larger than expected because the
capabilities listed in the components did not match the
actual capabilities.

Change-Id: I085d92ef11c399b487e0a827cde00e83df14fbe4
2015-07-24 09:47:35 -05:00