Skip to content

Commit 9dd47e0

Browse files
authored
Add separate issue templates for bug, enhancement, test gap and regression (sonic-net#17310)
Add a separate issue template for Bug, Enhancement, Test Gap, Regression. What is the motivation for this PR? Enhance issue template. How did you do it? Modify issue template How did you verify/test it? https://github.com/opcoder0/sonic-mgmt-issue/issues
1 parent a085b79 commit 9dd47e0

File tree

5 files changed

+274
-115
lines changed

5 files changed

+274
-115
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
name: Issue Report for Bug, Enhancement or Test Gap
2-
description: File a test gap, bug report or enhancement for a test case.
3-
title: "[Bug|Enhancement|Test Gap]:"
4-
labels: []
1+
name: Report a bug
2+
description: File a bug report
3+
title: "Bug:"
4+
labels: ['Bug']
55
projects: ["sonic-mgmt"]
66
body:
77
- type: markdown
@@ -14,106 +14,90 @@ body:
1414
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will however, reopen it if you later provide the information.
1515
1616
For more information about reporting issues, see [SONiC Issue Reporting Page](https://github.com/sonic-net/SONiC/wiki#report-issues)
17+
1718
- type: markdown
18-
id: tc-contact-links
19+
id: tc-bug-contact-links
1920
attributes:
2021
value: |
2122
Please ask and answer questions here at the [SONiC Support Forums](https://groups.google.com/forum/#!forum/sonicproject)
23+
2224
- type: dropdown
23-
id: tc-issue-type
25+
id: tc-bug-platform
2426
attributes:
25-
label: Issue Type
27+
label: Is it platform specific
28+
description: Platform name
2629
options:
27-
- Test Gap
28-
- Bug Report
29-
- Enhancement
30+
- generic
31+
- barefoot
32+
- broadcom
33+
- cavium
34+
- centec
35+
- innovium
36+
- marvell
37+
- mellanox
38+
- nephos
39+
default: 0
3040
validations:
3141
required: true
32-
- type: textarea
33-
id: tc-description
42+
43+
- type: dropdown
44+
id: tc-bug-severity
3445
attributes:
35-
label: Description
36-
description: Description of the bug, test gap or enhancement
37-
placeholder: Description of the bug, test gap or enhancement
46+
label: Importance or Severity
47+
options:
48+
- Critical
49+
- High
50+
- Medium
51+
- Low
3852
validations:
3953
required: true
40-
- type: markdown
41-
id: tc-note-1
42-
attributes:
43-
value: |
44-
## Field information:
45-
- For a **Bug Report** provide **Steps to Reproduce** the issue
46-
- For a **Test Gap** provide **Affected Area**
47-
- For an **Enhancement** provide **Current Behavior**
54+
4855
- type: textarea
49-
id: tc-step-area-cb
56+
id: tc-bug-description
5057
attributes:
51-
label: Issue Details
52-
description: Issue Details
58+
label: Description of the bug
59+
description: Description of the bug
60+
placeholder: Description of the bug
5361
validations:
5462
required: true
55-
- type: markdown
56-
id: tc-note-2
57-
attributes:
58-
value: |
59-
## Field information:
60-
- For a **Bug Report** provide the **Actual and expected behavior**
61-
- For a **Test Gap** provide **Impact of missing tests and proposed tests**
62-
- For an **Enhancement** provide **Proposed Behavior and use case**
63+
6364
- type: textarea
64-
id: tc-eb-impact-pb
65+
id: tc-bug-steps-to-reproduce
6566
attributes:
66-
label: Impact or Proposed Behavior
67-
description: Impact or Proposed Behavior
67+
label: Steps to Reproduce
68+
description: Steps to Reproduce
6869
validations:
6970
required: true
70-
- type: dropdown
71-
id: tc-severity
72-
attributes:
73-
label: Importance or Severity
74-
options:
75-
- Critical
76-
- High
77-
- Medium
78-
- Low
79-
validations:
80-
required: true
81-
- type: dropdown
82-
id: tc-platform
71+
72+
- type: textarea
73+
id: tc-bug-actual-behavior-expected-behavior
8374
attributes:
84-
label: Is it platform specific
85-
description: Platform name
86-
options:
87-
- generic
88-
- barefoot
89-
- broadcom
90-
- cavium
91-
- centec
92-
- innovium
93-
- marvell
94-
- mellanox
95-
- nephos
96-
default: 0
75+
label: Actual Behavior and Expected Behavior
76+
description: Actual Behavior and Expected Behavior
9777
validations:
9878
required: true
79+
9980
- type: textarea
100-
id: tc-logs
81+
id: tc-bug-logs
10182
attributes:
10283
label: Relevant log output
10384
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
10485
render: shell
86+
10587
- type: textarea
106-
id: tc-output
88+
id: tc-bug-output
10789
attributes:
10890
label: Output of `show version`
10991
description: Please copy and paste output of `show version`. This will be automatically formatted into code, so no need for backticks
11092
render: shell
93+
11194
- type: markdown
112-
id: tc-attach-logs
95+
id: tc-bug-attach-logs
11396
attributes:
11497
value: |
11598
Attach debug file (if any) from: `sudo generate_dump` or other logs.
99+
116100
- type: textarea
117-
id: tc-attachments
101+
id: tc-bug-attachments
118102
attributes:
119103
label: Attach files (if any)
+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Enhancement Request
2+
description: Enhancement Request
3+
title: "Enhancement:"
4+
labels: ['Enhancement']
5+
projects: ["sonic-mgmt"]
6+
body:
7+
- type: markdown
8+
id: tc-en-contact-links
9+
attributes:
10+
value: |
11+
If you have questions about a product feature please ask and answer questions here at the [SONiC Support Forums](https://groups.google.com/forum/#!forum/sonicproject)
12+
13+
- type: dropdown
14+
id: tc-en-platform
15+
attributes:
16+
label: Is it platform specific
17+
description: Platform name
18+
options:
19+
- generic
20+
- barefoot
21+
- broadcom
22+
- cavium
23+
- centec
24+
- innovium
25+
- marvell
26+
- mellanox
27+
- nephos
28+
default: 0
29+
validations:
30+
required: true
31+
32+
- type: dropdown
33+
id: tc-en-severity
34+
attributes:
35+
label: Importance or Severity
36+
options:
37+
- Critical
38+
- High
39+
- Medium
40+
- Low
41+
validations:
42+
required: true
43+
44+
- type: textarea
45+
id: tc-en-description
46+
attributes:
47+
label: Description of the enhancement
48+
description: Description of the enhancement
49+
placeholder: Description of the enhancement
50+
validations:
51+
required: true
52+
53+
- type: textarea
54+
id: tc-en-cb
55+
attributes:
56+
label: Current Behavior
57+
description: Current Behavior
58+
validations:
59+
required: true
60+
61+
- type: textarea
62+
id: tc-en-pb
63+
attributes:
64+
label: Proposed Behavior
65+
description: Proposed Behavior
66+
validations:
67+
required: true

.github/ISSUE_TEMPLATE/03-testgap.yml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Report a Test Gap
2+
description: Report a Test Gap
3+
title: "Test Gap:"
4+
labels: ["Test gap"]
5+
projects: ["sonic-mgmt"]
6+
body:
7+
- type: dropdown
8+
id: tc-tg-platform
9+
attributes:
10+
label: Is it platform specific
11+
description: Platform name
12+
options:
13+
- generic
14+
- barefoot
15+
- broadcom
16+
- cavium
17+
- centec
18+
- innovium
19+
- marvell
20+
- mellanox
21+
- nephos
22+
default: 0
23+
validations:
24+
required: true
25+
26+
- type: dropdown
27+
id: tc-tg-severity
28+
attributes:
29+
label: Importance or Severity
30+
options:
31+
- Critical
32+
- High
33+
- Medium
34+
- Low
35+
validations:
36+
required: true
37+
38+
- type: textarea
39+
id: tc-tg-description
40+
attributes:
41+
label: Description of the test gap
42+
description: Description of the test gap
43+
validations:
44+
required: true
45+
46+
- type: textarea
47+
id: tc-tg-aa
48+
attributes:
49+
label: Affected Area
50+
description: Affected Area
51+
validations:
52+
required: true
53+
54+
- type: textarea
55+
id: tc-tg-impact-pb
56+
attributes:
57+
label: Impact of missing tests and proposed tests
58+
description: Impact of missing tests and proposed tests
59+
validations:
60+
required: true
+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
name: Report a regression
2+
description: Report a regression issue
3+
title: "Regression:"
4+
labels: [regression, Bug]
5+
projects: ["sonic-mgmt"]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
Thanks for taking the time to fill out this report!
11+
12+
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
13+
14+
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will however, reopen it if you later provide the information.
15+
16+
For more information about reporting issues, see [SONiC Issue Reporting Page](https://github.com/sonic-net/SONiC/wiki#report-issues)
17+
18+
- type: dropdown
19+
id: tc-reg-platform
20+
attributes:
21+
label: Is it platform specific
22+
description: Platform name
23+
options:
24+
- generic
25+
- barefoot
26+
- broadcom
27+
- cavium
28+
- centec
29+
- innovium
30+
- marvell
31+
- mellanox
32+
- nephos
33+
default: 0
34+
validations:
35+
required: true
36+
37+
- type: dropdown
38+
id: tc-reg-severity
39+
attributes:
40+
label: Importance or Severity
41+
options:
42+
- Critical
43+
- High
44+
- Medium
45+
- Low
46+
validations:
47+
required: true
48+
49+
- type: input
50+
id: tc-reg-previous-working-version
51+
attributes:
52+
label: Previous Working Version
53+
description: Specify the last known version where the functionality worked as expected
54+
placeholder: e.g., 202311 or Git SHA
55+
validations:
56+
required: true
57+
58+
- type: textarea
59+
id: tc-reg-str
60+
attributes:
61+
label: Steps to Reproduce
62+
description: Steps to Reproduce
63+
validations:
64+
required: true
65+
66+
- type: textarea
67+
id: tc-reg-impact
68+
attributes:
69+
label: Impact of this regression
70+
description: Impact of this regression
71+
validations:
72+
required: true
73+
74+
- type: textarea
75+
id: tc-reg-logs
76+
attributes:
77+
label: Relevant log output
78+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
79+
render: shell
80+
81+
- type: textarea
82+
id: tc-reg-output
83+
attributes:
84+
label: Output of `show version`
85+
description: Please copy and paste output of `show version`. This will be automatically formatted into code, so no need for backticks
86+
render: shell
87+
88+
- type: markdown
89+
id: tc-reg-attach-logs
90+
attributes:
91+
value: |
92+
Attach debug file (if any) from: `sudo generate_dump` or other logs.
93+
- type: textarea
94+
id: tc-reg-attachments
95+
attributes:
96+
label: Attach files (if any)

0 commit comments

Comments
 (0)