Skip to content

Commit fa0f2ef

Browse files
authored
Merge pull request #438 from etas-contrib/improvement_safety_linkage_and_checklist_improvement
Improvement safety linkage and checklist improvement
2 parents a940189 + 88f2b90 commit fa0f2ef

File tree

14 files changed

+224
-40
lines changed

14 files changed

+224
-40
lines changed

process/folder_templates/features/feature_name/architecture/chklst_arc_inspection.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,23 @@ Checklist
162162
-
163163
-
164164
-
165+
* - ARC_04_01
166+
- If software partitioning (different operating system processes) is used to implement freedom from interference between the processes with different rating (QM/ASIL), is effectiveness evidence generated during integration and verification tests?
167+
168+
Note: see ISO 26262-6, 7.4.9 and Annex D for partitioning
169+
- manual
170+
-
171+
a) the usage of shared resources (cpu time, shared memory, ...) are checked in a wao that freedom from interference between the processes is ensured,
172+
b) check if the operating system supports freedom from interference between the processes
173+
-
174+
-
175+
-
176+
* - ARC_04_02
177+
- Is an upper estimation of the required resources (RAM, ROM, non volatile memory, communication) available and documented?
178+
179+
Note: see ISO 26262-6, 7.4.11
180+
- manual
181+
-
182+
-
183+
-
184+
-

process/folder_templates/features/feature_name/requirements/chklst_req_inspection.rst

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@ Requirement Inspection Checklist
9494
-
9595
-
9696
* - REQ_03_01
97-
- For stakeholder requirements: Is the *rationale* correct?
98-
- Rationales explain why the top level requirements were created. Do those cover the requirement?
99-
-
100-
-
101-
-
102-
* - REQ_03_02
10397
- Is the *linkage to the parent requirement* correct?
10498
- 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.
10599
-
@@ -130,7 +124,7 @@ Requirement Inspection Checklist
130124
-
131125
-
132126
* - REQ_07_02
133-
- Is the attribute *security* set correctly?
127+
- Is the *security* attribute set correctly?
134128
- For feature requirements this checklist item is supported by automated check: "Every requirement which satisfies a stakeholder requirement with security attribute set to YES inherits this". But the feature requirements/architecture may additionally also be subject to a :ref:`Software Security Analysis <security_analysis>`.
135129
-
136130
-
@@ -142,12 +136,6 @@ Requirement Inspection Checklist
142136
-
143137
-
144138
* - REQ_09_01
145-
- For stakeholder requirements: Do those cover assumed safety mechanisms needed by the hardware and system?
146-
- Note that stakeholder requirements covering safety mechanisms come from rationales, whereas feature requirements are covering safety mechanisms coming from :need:`gd_chklst__safety_analysis`
147-
-
148-
-
149-
-
150-
* - REQ_09_02
151139
- Do the feature requirements defining a safety mechanism contain the error reaction leading to a safe state?
152140
- Alternatively to the safe state there could also be "repair" mechanisms. Also do not forget to consider REQ_05_01 for these.
153141
-

process/folder_templates/modules/module_name/component_name/docs/requirements/chklst_req_inspection.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,6 @@ Requirement Inspection Checklist
9494
-
9595
-
9696
* - REQ_03_01
97-
- For stakeholder requirements: Is the *rationale* correct?
98-
- Rationales explain why the top level requirements were created. Do those cover the requirement?
99-
-
100-
-
101-
-
102-
* - REQ_03_02
10397
- Is the *linkage to the parent feature/component requirement* correct?
10498
- 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.
10599
-
@@ -142,12 +136,6 @@ Requirement Inspection Checklist
142136
-
143137
-
144138
* - REQ_09_01
145-
- Note that stakeholder requirements covering safety mechanisms come from rationales, whereas component requirements are covering safety mechanisms coming from :need:`gd_chklst__safety_analysis`
146-
-
147-
-
148-
-
149-
-
150-
* - REQ_09_02
151139
- Do the requirements that define a safety mechanism specify the error reaction leading to a safe state?
152140
- Alternatively to the safe state there could also be "repair" mechanisms. Also do not forget to consider REQ_05_01 for these.
153141
-

process/folder_templates/platform/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ Platform
2121
:hidden:
2222

2323
safety_analysis/platform_dfa.rst
24+
requirements/stakeholder/chklst_req_inspection.rst
2425
safety_planning/index.rst
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
..
2+
# *******************************************************************************
3+
# Copyright (c) 2025 Contributors to the Eclipse Foundation
4+
#
5+
# See the NOTICE file(s) distributed with this work for additional
6+
# information regarding copyright ownership.
7+
#
8+
# This program and the accompanying materials are made available under the
9+
# terms of the Apache License Version 2.0 which is available at
10+
# https://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# SPDX-License-Identifier: Apache-2.0
13+
# *******************************************************************************
14+
15+
16+
.. document:: [Your Stakeholder Name] Requirements Inspection Checklist
17+
:id: doc__stakeholder_name_req_inspection
18+
:status: draft
19+
:safety: ASIL_B
20+
:security: YES
21+
:realizes: wp__requirements_inspect
22+
:tags: template
23+
24+
.. attention::
25+
The above directive must be updated according to your Stakeholder.
26+
27+
- Modify ``Your Stakeholder Name`` to be your Stakeholder Name
28+
- Modify ``id`` to be your Stakeholder Name in lower snake case preceded by ``doc__`` and followed by ``_req_inspection``
29+
- Adjust ``status`` to be ``valid``
30+
- Adjust ``safety``, ``security`` and ``tags`` according to your needs
31+
32+
Stakeholder Requirement Inspection Checklist
33+
============================================
34+
35+
**Purpose**
36+
37+
The purpose of this requirement inspection checklist is to collect the topics to be checked during requirements inspection.
38+
39+
**Conduct**
40+
41+
As described in the concept :need:`doc_concept__wp_inspections` the following "inspection roles" are expected to be filled:
42+
43+
- author: these are the persons who did the last commits on the requirements in scope (can be derived from version mgt tool)
44+
- reviewer: these are all persons committing into this inspection document or giving a pull request verdict on it (can be derived from version mgt tool)
45+
- moderator: only needed for conflict resolution between author and reviewers, is the safety manager, security manager or quality manager called in as a reviewer (can be derived from version mgt tool)
46+
- test expert: <one of the reviewers explicitly named here, to cover REQ_08_01 as described>
47+
48+
**Checklist**
49+
50+
.. list-table:: Stakeholder Requirement Inspection Checklist
51+
:header-rows: 1
52+
:widths: 10,30,50,6,6,8
53+
54+
* - Review ID
55+
- Acceptance Criteria
56+
- Guidance
57+
- Passed
58+
- Remarks
59+
- Issue link
60+
* - REQ_01_01
61+
- Is the requirement formulation template used?
62+
- see :need:`gd_temp__req_formulation`, this includes the use of "shall".
63+
-
64+
-
65+
-
66+
* - REQ_02_01
67+
- Is the requirement description *comprehensible* ?
68+
- If you think the requirement is hard to understand, comment here.
69+
-
70+
-
71+
-
72+
* - REQ_02_02
73+
- Is the requirement description *unambiguous* ?
74+
- Especially search for "weak words" like "about", "etc.", "relevant" and others (see the internet documentation on this). This check shall be supported by tooling.
75+
-
76+
-
77+
-
78+
* - REQ_02_03
79+
- Is the requirement description *atomic* ?
80+
- 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.
81+
-
82+
-
83+
-
84+
* - REQ_02_04
85+
- Is the requirement description *feasible* ?
86+
- 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 :need:`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.
87+
-
88+
-
89+
-
90+
* - REQ_02_05
91+
- Is the requirement description *independent from implementation* ?
92+
- 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.
93+
-
94+
-
95+
-
96+
* - REQ_03_01
97+
- Is the *rationale* correct?
98+
- Rationales explain why the top level requirements were created. Do those cover the requirement?
99+
-
100+
-
101+
-
102+
* - REQ_03_02
103+
- Is the *linkage to the parent requirement* correct?
104+
- 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.
105+
-
106+
-
107+
-
108+
* - REQ_04_01
109+
- Is the requirement *internally and externally consistent*?
110+
- Does the requirement contradict other requirements within the same or higher levels?
111+
-
112+
-
113+
-
114+
* - REQ_05_01
115+
- Do the software requirements consider *timing constraints*?
116+
- 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".
117+
-
118+
-
119+
-
120+
* - REQ_06_01
121+
- Does the requirement consider *external interfaces*?
122+
- The SW platform's external interfaces (to the user and external systems) are defined, 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?
123+
-
124+
-
125+
-
126+
* - REQ_07_01
127+
- Is the *safety* attribute set correctly?
128+
- For the top level requirements (and also all AoU) this needs to be checked manually for correctness.
129+
-
130+
-
131+
-
132+
* - REQ_07_02
133+
- Is the *security* attribute set correctly?
134+
- For the top level requirements (and also all AoU) this needs to be checked manually for correctness.
135+
-
136+
-
137+
-
138+
* - REQ_08_01
139+
- Is the requirement *verifiable*?
140+
- 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 :need:`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 his opinion whether the requirement is formulated in a way that supports test development and the available test infrastructure is sufficient to perform the test.
141+
-
142+
-
143+
-
144+
* - REQ_09_01
145+
- Do those requirements cover assumed safety mechanisms needed by the hardware and system?
146+
- Note that stakeholder requirements covering safety mechanisms come from rationales.
147+
-
148+
-
149+
-
150+
151+
Note: If a Review ID is not applicable for your requirement, then state ""n/a" in status and comment accordingly in remarks. For example "no stakeholder requirement (no rationale needed)"
152+
153+
The following requirements in "valid" state and with "inspected" tag set are in the scope of this inspection:
154+
155+
.. needtable::
156+
:filter: "stakeholder_name" in docname and "requirements" in docname and docname is not None and status == "valid"
157+
:style: table
158+
:types: stkh_req
159+
:tags: stakeholder_name
160+
:columns: id;status;tags
161+
:colwidths: 25,25,25
162+
:sort: title
163+
164+
And also the following AoUs in "valid" state and with "inspected" tag set (for these please answer the questions above as if the AoUs are requirements, except questions REQ_03_01 and REQ_03_02):
165+
166+
.. needtable::
167+
:filter: "stakeholder_name" in docname and "requirements" in docname and docname is not None and status == "valid"
168+
:style: table
169+
:types: aou_req
170+
:tags: stakeholder_name
171+
:columns: id;status;tags
172+
:colwidths: 25,25,25
173+
:sort: title
174+
175+
.. attention::
176+
The above tables filtering must be updated according to your Stakeholder.
177+
178+
- Modify ``stakeholder_name`` to be your Stakeholder Name in lower snake case

process/process_areas/architecture_design/guidance/architecture_guideline.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Architecture Guideline
2020
.. gd_guidl:: Architectural Design
2121
:id: gd_guidl__arch_design
2222
:status: valid
23-
:complies: std_req__isopas8926__44411, std_req__isopas8926__44412, std_req__iso26262__software_745
23+
:complies: std_req__isopas8926__44411, std_req__isopas8926__44412, std_req__iso26262__software_744, std_req__iso26262__software_745
2424

2525
The guideline focuses on the steps which need to be performed in order to create the architectural design. The concept behind those steps is described in the :need:`[[title]] <doc_concept__arch_process>`.
2626

process/process_areas/architecture_design/guidance/architecture_inspection_checklist.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Inspection Checklist Template
2121
:id: gd_chklst__arch_inspection_checklist
2222
:status: valid
2323
:tags: architecture_design
24-
:complies: std_req__iso26262__software_647
24+
:complies: std_req__iso26262__software_647, std_req__iso26262__software_749, std_req__iso26262__software_7413
2525

2626
For the content see here:
2727

process/process_areas/architecture_design/guidance/architecture_process_reqs.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ Attributes of Architectural Elements
106106

107107
Each architectural element shall have a unique ID. It shall be in a format which is also human readable and consists of
108108

109-
* type of architectural element
110-
* structural element (e.g. some part of the feature tree, component acronym)
111-
* keyword describing the content of the architectural element
109+
* type of architectural element
110+
* structural element (e.g. some part of the feature tree, component acronym)
111+
* keyword describing the content of the architectural element
112112

113113
Check your project's naming conventions (should be called "doc__naming_conventions")
114114

@@ -120,8 +120,8 @@ Attributes of Architectural Elements
120120

121121
Each architectural element shall have a security relevance identifier:
122122

123-
* Yes
124-
* No
123+
* Yes
124+
* No
125125

126126
.. gd_req:: Architecture attribute: safety
127127
:id: gd_req__arch_attr_safety
@@ -132,8 +132,8 @@ Attributes of Architectural Elements
132132

133133
Each architectural element shall have a automotive safety integrity level (ASIL) identifier:
134134

135-
* QM
136-
* ASIL_B
135+
* QM
136+
* ASIL_B
137137

138138
.. gd_req:: Architecture attribute: status
139139
:id: gd_req__arch_attr_status
@@ -144,8 +144,8 @@ Attributes of Architectural Elements
144144

145145
Each architectural element shall have a status:
146146

147-
* valid
148-
* invalid
147+
* valid
148+
* invalid
149149

150150
Traceability to Requirements
151151
----------------------------
@@ -206,6 +206,7 @@ Checks for Architectural Design
206206
:status: valid
207207
:tags: prio_1_automation, attribute, check
208208
:satisfies: wf__cr_mt_featarch, wf__cr_mt_comparch
209+
:complies: std_req__iso26262__software_746, std_req__iso26262__software_748
209210

210211
It shall be checked that valid safety architectural elements (Safety != QM) can only be linked against valid safety architectural elements.
211212

process/process_areas/architecture_design/guidance/component_architecture_template.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ Component Architecture Template
1919
:id: gd_temp__arch_comp
2020
:status: valid
2121
:tags: architecture_design
22-
:complies: std_req__iso26262__software_741, std_req__iso26262__software_742, std_req__iso26262__software_743
22+
:complies: std_req__iso26262__software_741, std_req__iso26262__software_742, std_req__iso26262__software_743, std_req__iso26262__software_744
2323

2424
For the content see here: :ref:`component_architecture_template`

process/process_areas/implementation/guidance/detailed_design_template.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ Detailed Design Template
1919
.. gd_temp:: Detailed Design Templates
2020
:id: gd_temp__detailed_design
2121
:status: valid
22-
:complies: std_req__iso26262__software_542, std_req__iso26262__support_641, std_req__iso26262__support_6421, std_req__iso26262__support_6425
22+
:complies: std_req__iso26262__software_542, std_req__iso26262__support_641, std_req__iso26262__support_6421, std_req__iso26262__support_6425, std_req__iso26262__software_744
2323

2424
For the content see here: :ref:`component_detailed_design_template`

0 commit comments

Comments
 (0)