Persistency Requirements Inspection Checklist
status: draft
security: YES
safety: ASIL_B
tags: persistency
version: 2

Persistency Requirement Inspection Checklist#

Purpose#

The purpose of this requirement inspection checklist is to collect the topics to be checked during requirements inspection.

Conduct#

As described in the concept doc_concept__wp_inspections the following “inspection roles” are expected to be filled:

Checklist#

It is mandatory to fill in the “passed” column with “yes” or “no” for each checklist item and additionally to add in the remarks why it is passed or not passed. In case of “no” an issue link to the issue tracking system has to be added in the last column (if not solved in the same issue). See also doc_concept__wp_inspections for further information about reviews in general and inspection in particular.

Note

Pre-check for the re-inspection (version 2)

The columns “Passed”, “Remarks” and “Issue link” contain a pre-check prepared by the safety manager as a basis for discussion. “Proposal: YES/NO” is not an inspection result; the inspection participants confirm or correct each entry, the moderator replaces the proposals by the final results.

Version 1 of this checklist (#960) was passed without findings. Since then the feature requirements were changed:

The pre-check covers all feature requirements listed below, with focus on the changed and new ones.

Table 10 Persistency Feature Requirement Inspection Checklist#

Review ID

Acceptance Criteria

Guidance

Passed

Remarks

Issue link

REQ_01_01

Is the requirement formulation template used?

see gd_temp__req_formulation, this includes the use of “shall”.

Proposal: NO

new issue to be created after inspection

REQ_02_01

Is the requirement description comprehensible ?

If you think the requirement is hard to understand, comment here.

Proposal: NO

new issue to be created after inspection

REQ_02_02

Is the requirement description unambiguous ?

Especially search for “weak words” like “about”, “etc.”, “relevant” and others (see the internet documentation on this). This check shall be supported by tooling.

Proposal: NO

new issue to be created after inspection

REQ_02_03

Is the requirement description atomic ?

A good way to think about this is to consider if the requirement may be tested by one (positive) test case or needs more of these. The requirement formulation template should also avoid being non-atomic already. Note that there are cases where also non-atomic requirements are the better ones, for example if those are better understandable.

Proposal: YES

REQ_02_04

Is the requirement description feasible ?

If at the time of the inspection the requirement has already some implementation, the answer is yes. This can be checked via traces, but also gd_req__req_attr_impl shows this. In case the requirement has no implementation at the time of inspection (i.e. not implemented at least as “proof-of-concept”), a development expert should be invited to the Pull-Request review to explicitly check this item.

Proposal: YES

REQ_02_05

Is the requirement description independent from implementation ?

This checkpoint should improve requirements definition in the sense that the “what” is described and not the “how” - the latter should be described in architecture/design derived from the requirement. But there can also be a good reason for this, for example we would require using a file format like JSON and even specify the formatting standard already on stakeholder requirement level because we want to be compatible. A finding in this checkpoint does not mean there is a safety problem in the requirement.

Proposal: NO

new issue to be created after inspection

REQ_03_01

Is the linkage to the parent requirement correct?

Linkage to correct levels and ASIL attributes is checked automatically, but it needs checking if the child requirement implements (at least) a part of the parent requirement.

Proposal: YES

REQ_04_01

Is the requirement internally and externally consistent?

Does the requirement contradict other requirements within the same or higher levels? One may restrict the search to the feature for component requirements, for features to other features using same components. Is the description of the requirement consistent with all its attributes (if not already part of another check, e.g. does the title fit?).

Proposal: NO

new issue to be created after inspection

REQ_05_01

Do the software requirements consider timing constraints?

This checkpoint encourages to think about timing constraints even if those are not explicitly mentioned in the parent requirement. If the reviewer of a requirement already knows or suspects that the code execution will be consuming a lot of time, one should think of the expectation of a “user”.

Proposal: YES

REQ_06_01

Does the requirement consider external interfaces?

The SW platform’s external interfaces (to the user) are defined in the Feature Architecture, so the Feature and Component Requirements should determine the input data use and setting of output data for these interfaces. Are all output values defined?

Proposal: YES

REQ_07_01

Is the safety attribute set correctly?

Derived requirements are checked automatically, see gd_req__req_linkage_safety. But for the top level requirements (and also all AoU) this needs to be checked manually for correctness.

Proposal: YES

REQ_07_02

Is the attribute security set correctly?

For component requirements this checklist item is supported by automated check: “Every requirement which satisfies a feature requirement with security attribute set to YES inherits this”. But the component requirements/architecture may additionally also be subject to a wp__sw_component_security_analysis.

Proposal: YES

REQ_08_01

Is the requirement verifiable?

If at the time of the inspection already tests are created for the requirement, the answer is yes. This can be checked via traces, but also gd_req__req_attr_test_covered shows this. In case the requirement is not sufficiently traced to test cases already, a test expert is invited to the inspection to give their opinion whether the requirement is formulated in a way that supports test development and the available test infrastructure is sufficient to perform the test.

Proposal: NO

new issue to be created after inspection

REQ_08_02

Is the requirement verifiable by design or code review in case it is not feasibly testable?

In very rare cases a requirement may not be verifiable by test cases, for example a specific non-functional requirement. In this case a requirement analysis verifies the requirement by design/code review. If such a requirement is in scope of this inspection, please check this here and link to the respective review record. A test expert is invited to the inspection to confirm their opinion that the requirement is not testable.

Proposal: NO

new issue to be created after inspection

REQ_09_01

Do the requirements that define a safety mechanism specify the error reaction leading to a safe state?

Alternatively to the safe state there could also be “repair” mechanisms. Also do not forget to consider REQ_05_01 for these.

Proposal: NO

new issue to be created after inspection

REQ_10_01

Is the requirement description complete ?

For every requirement in the inspection, follow to its parent (stakeholder) requirement(s) and then check if this/these are fulfilled completely by its/their linked children (feature requirements, including those which are not in scope of the inspection).

Proposal: YES

Note: If a Review ID is not applicable for your requirement, then state “n/a” in status and comment accordingly in remarks.

The following requirements in “valid_inspected” state are in the scope of this inspection:

ID

Status

Tags

feat_req__persistency__multiple_app

valid

persistency

feat_req__persistency__async_api

valid

persistency

feat_req__persistency__atomic_store

valid

persistency

feat_req__persistency__bounded_execution

valid

persistency

feat_req__persistency__cpp_rust

valid

persistency

feat_req__persistency__cached_access

valid

persistency

feat_req__persistency__confidential_storage

valid

persistency

feat_req__persistency__cfg

valid

config; persistency

feat_req__persistency__cfg_priority

valid

config; persistency

feat_req__persistency__default_values

valid

persistency

feat_req__persistency__dynamic_memory_alloc

valid

persistency

feat_req__persistency__integrity_check

valid

persistency

feat_req__persistency__concurrency

valid

persistency

feat_req__persistency__load_data

valid

persistency

feat_req__persistency__multiple_kvs

valid

persistency

feat_req__persistency__storage_backends

valid

persistency

feat_req__persistency__os_agnostic

valid

persistency

feat_req__persistency__default_value_file

valid

persistency

feat_req__persistency__fast_access

valid

persistency

feat_req__persistency__recovery_from_reset

valid

persistency

feat_req__persistency__reset_resistant

valid

persistency

feat_req__persistency__reset_to_default

valid

persistency

feat_req__persistency__default_value_get

valid

persistency

feat_req__persistency__access_control

valid

persistency

feat_req__persistency__async_completion

valid

persistency

feat_req__persistency__snapshot_create

valid

persistency

feat_req__persistency__snapshot_remove

valid

persistency

feat_req__persistency__snapshot_restore

valid

persistency

feat_req__persistency__store_data

valid

persistency

feat_req__persistency__support_datatype_keys

valid

persistency

feat_req__persistency__support_datatype_value

valid

persistency; persistency

feat_req__persistency__tooling

valid

persistency

feat_req__persistency__update_mechanism

valid

persistency

feat_req__persistency__variant_management

valid

persistency

feat_req__persistency__versioning

valid

persistency

feat_req__persistency__write_amplification

valid

persistency

And also the following AoUs in “valid_inspected” state (for these please answer the questions above as if the AoUs are requirements, except question REQ_03_01):

No needs passed the filters

Note

The feature level AoUs of the Persistency (aou_req__persistency__*) are maintained in the persistency module (docs/features/persistency/safety_analysis/aou_requirements.rst) and are therefore not listed in the table above. They are inspected together with the component requirements in doc__kvs_req_inspection.