blob: 2140a5be1cd7d8ab5560bc490b2ecb4c550f5624 [file] [log] [blame]
Joey Armstrong3980d702023-08-23 10:57:18 -04001Jira tickets for code changes
2=============================
3
4Please open a `jira ticket <https://jira.opencord.org/projects/VOL>`_ describing the issue/feature.
5
6- For large or multi-part features create a containing ticket with several
7 sub-tickets tracking individual features or problems.
Joey Armstrong704dd6d2023-08-24 08:01:47 -04008
Joey Armstrong864db882023-08-24 15:01:35 -04009.. list-table:: Multi-part ticket with subtask
10 :widths: 10, 10, 40
11 :header-rows: 1
Joey Armstrong704dd6d2023-08-24 08:01:47 -040012
Joey Armstrong864db882023-08-24 15:01:35 -040013 * - Jira
14 - Type
15 - Problem
16 * - `VOL-5125 <https://jira.opencord.org/browse/VOL-5125>`_
17 - Epic
18 - Tracking ticket for bbsim failures in jenkins vip job view.
19 * - `VOL-5024 <https://jira.opencord.org/browse/VOL-5024>`_
20 - sub-task
21 - bbsim unit test job reporting status=UNSTABLE
22 * - `VOL-5157 <https://jira.opencord.org/browse/VOL-5157>`_
23 - sub-task
24 - verify_bbsim_unit-test failures in history
25 * - `VOL-5154 <https://jira.opencord.org/browse/VOL-5154>`_
26 - sub-task
27 - Triage test failure in periodic-voltha-unitag-subscriber-tt-test-bbsim
Joey Armstrong704dd6d2023-08-24 08:01:47 -040028
29- Description - include relevant information
Joey Armstrong3980d702023-08-23 10:57:18 -040030
31 - Error messages
Joey Armstrong864db882023-08-24 15:01:35 -040032
33 - Use preformatting to improve readability (else message becomes a run-on sentence).
34 - In ticket description click plus icon on the right side.
35 - Select preformatted
36 - Copy and patest text into the preformatted box to retain structure.
37
Joey Armstrong3980d702023-08-23 10:57:18 -040038 - Reproduction step(s) for problems
39 - Web URLs, links to jenkins job logs are very helpful.
40
41 - Note: Jenkins job logs will age out and disappear over time.
42 - To prevent this view the job history panel in jenkins UI
43
Joey Armstrong704dd6d2023-08-24 08:01:47 -040044 - `View a jenkins job page <https://jenkins.opencord.org/view/vip/job/verify_bbsim_unit-test>`_
45 - Two links are available in history (lower left corner), colored icon on the left and #job on the right.
Joey Armstrong3980d702023-08-23 10:57:18 -040046 - Click the #job link to view job.
47 - Top right corner will contain a clickable button "Keep this build forever".
Joey Armstrong704dd6d2023-08-24 08:01:47 -040048 - At some point in the future after a ticket has been resolved
49 remember to revisit the job log and unfreeze it (click button:
50 Do not keep this build forever)
Joey Armstrong3980d702023-08-23 10:57:18 -040051
52- Assign field ``Fix Version/s:`` VOLTHA-X.Y
53
54 - This will enables searching for feature by release.
55 - Leveraged during release to document fixes and enhancements in release notes.
56- While viewing a jira ticket, the 'More' navigation pulldown menu at the top
57 is useful for creating sub tickets or creating links to external resources.
58
Joey Armstrong579b9522023-12-20 15:50:51 -050059
60Suggestions: Additional ticket documentation
61--------------------------------------------
62
63.. list-table:: Persistent resources for reproduction
64 :widths: 20,80
65 :header-rows: 1
66
67 * - Resource
68 - Notes
69 * - `VOL-5214 <https://jira.opencord.org/browse/VOL-5214>`__
70 - Jira ticket
71 * - `jenkins <https://jenkins.opencord.org/view/VOLTHA-2.X-Tests/job/periodic-voltha-etcd-test/>`_
72 - Capture job URLs to document errors and log messages.
73 * - `gerrit:34854 <https://gerrit.opencord.org/c/ci-management/+/34854>`_
74 - Capture gerrit patch URLs for state and job reconstruction.
75
76- NOTE: Jenkins logs become unavailable due to aging
77
78 - Jenkins job logs become inaccessible over time after growing old or
79 due to volume job runs. To avoid lost problem reproduction steps always
80 include a gerrit patch link which can be used to reproduce state or job
81 results when original job logs disappear.
82
83- Document as links VS textual comments.
84
85 - Visit jira `VOL-5214 <https://jira.opencord.org/browse/VOL-5214>`__
86 - Select [M]ore from the menu above Description and Details.
87 - Select [L]ink
88 - Select Web Link in the left margin
89 - Paste a gerrit or jenkins URL into the URL text box.
90 - Enter a summry in the link text box -- job number or gerrit ID.
91 - Click the [Link] butotn.
92
93- Example `VOL-5009 <https://jira.opencord.org/browse/VOL-5009>`_
94
95 - Items added as linked URLs will appear in the "Issue Links" section
96 beneath the description where they are easily found.
97
Joey Armstrong3980d702023-08-23 10:57:18 -040098See Also
99--------
100
101- https://jira.opencord.org
102- `jira :: VOLTHA <https://jira.opencord.org/projects/VOL/issues/VOL-4470?filter=allopenissuse>`_