Skip to content

Commit 1aa5e82

Browse files
OPENR-146: Create article for reporting an issue and update triaging
1 parent 6fa317c commit 1aa5e82

4 files changed

Lines changed: 142 additions & 89 deletions

File tree

source/Contact.rst

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -33,52 +33,6 @@ If you see an issue on `Robotics Stack Exchange <https://robotics.stackexchange.
3333
Don't worry if you aren't sure if your response is correct.
3434
Simply say so, and other community members will jump in if necessary.
3535

36-
Issues
37-
------
38-
39-
If you identify bugs, have suggestions for improvements, or a question specific to one package, you can open an issue on GitHub.
40-
41-
For example, if you are following the :doc:`tutorials here <Tutorials>` and come across an instruction that doesn't work on your system,
42-
you can open an issue in the `ros2_documentation <https://github.com/ros2/ros2_documentation>`__ repo.
43-
44-
You can search for individual ROS 2 repositories on `ROS 2's GitHub <https://github.com/ros2>`__.
45-
46-
Before opening an issue, check if other users have reported similar issues by searching across the ros2 and ament GitHub organizations: `example search query <https://github.com/search?q=user%3Aros2+user%3Aament+turtlesim&type=Issues>`__.
47-
48-
Next, check `Robotics Stack Exchange <https://robotics.stackexchange.com/>`__ to see if someone else has asked your question or reported your issue.
49-
50-
If it has not been reported, feel free to open an issue in the appropriate repository tracker.
51-
If it's not clear which tracker to use for a particular issue, file it in the `ros2/ros2 repository <https://github.com/ros2/ros2/issues>`__ and we'll have a look at it.
52-
53-
When filing an issue, please make sure to:
54-
55-
* Include enough information for another person to understand the issue.
56-
57-
Describe exactly what you were doing or are trying to do, and exactly what, if anything, went wrong.
58-
If following a tutorial or online instructions provide a link to the specific instructions.
59-
60-
* Use a descriptive headline or subject line.
61-
Bad: "rviz doesn't work".
62-
Good: "Rviz crashing looking for missing ``.so`` after latest apt update"
63-
* Include information about the exact platform, software, versions, and environment relevant to the problem.
64-
This includes how you installed the software (from binaries or from source) and which ROS middleware/DDS vendor you are using (if you know it).
65-
* Any warnings or errors.
66-
Cut and paste them directly from the terminal window to which they were printed.
67-
Please do not re-type or include a screenshot.
68-
* In case of a bug consider providing a `short, self contained, correct (compilable), example <https://sscce.org/>`__.
69-
* When discussing any compiling/linking/installation issues, also provide the compiler version
70-
71-
As appropriate, also include your:
72-
73-
* ROS environment variables (env | grep ROS)
74-
* Backtraces
75-
* Relevant config files
76-
* Graphics card model and driver version
77-
* Ogre.log for rviz, if possible (run with rviz -l)
78-
* Bag files and code samples that can reproduce the problem
79-
* Gifs or movies to demonstrate the problem
80-
81-
8236
Pull requests
8337
-------------
8438

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,128 @@
11
Reporting an issue — how-to
22
===========================
33

4+
Issue reports help the ROS community identify bugs, suggest enhancements, improve documentation, and resolve package-specific problems.
5+
This article explains how to check whether an issue has already been reported and what information to provide in a new issue.
6+
With this information, you can provide clear, complete issue details in the right ROS repository.
7+
8+
**Area: community | Content-type: how-to | Experience: beginner, intermediate, expert**
9+
10+
.. contents:: Table of Contents
11+
:depth: 2
12+
:local:
13+
14+
Summary
15+
-------
16+
17+
* **Documentation issue tracker**: `ROS documentation repository <https://github.com/ros2/ros2_documentation/issues>`__.
18+
* **Code issues lists**: in a repository under the `ROS organisation <https://github.com/orgs/ros2/repositories>`__.
19+
* **Catch-all issues list**: `top level ROS repository <https://github.com/ros2/ros2/issues>`__.
20+
21+
Prerequisites
22+
-------------
23+
24+
There are no prerequisites.
25+
26+
Steps
27+
-----
28+
29+
1 Checking the issue
30+
^^^^^^^^^^^^^^^^^^^^
31+
32+
If you identify bugs, have suggestions for enhancements, or a question specific to one package, you can open an issue on GitHub.
33+
For example, if you are following the :doc:`/Tutorials` and come across an instruction that doesn't work on your system, you can open an issue in the `ROS documentation <https://github.com/ros2/ros2_documentation>`__ repo.
34+
35+
You can search for individual ROS repositories on `ROS GitHub <https://github.com/ros2>`__.
36+
37+
Before opening an issue:
38+
39+
#. Check if other users have reported similar issues by searching across the ``ros2`` and ``ament`` GitHub organizations using, for example, this search query: `<https://github.com/search?q=user%3Aros2+user%3Aament+turtlesim&type=Issues>`__.
40+
#. Check the `Robotics Stack Exchange <https://robotics.stackexchange.com/>`__ to see if someone else has already reported your issue.
41+
42+
If your issue has not been reported, you can open an issue in the appropriate repository's issue tracker.
43+
If it's not clear which tracker to use for a particular issue, create it in the `ros2/ros2 repository <https://github.com/ros2/ros2/issues>`__ and we'll have a look at it.
44+
45+
2 Reporting the issue
46+
^^^^^^^^^^^^^^^^^^^^^
47+
48+
When reporting an issue, use the following guidelines to make sure you include enough information for another person to understand and (where relevant) reproduce the issue.
49+
It's particularly helpful if you test for your issue with as many alternatives as you can in each category.
50+
51+
Required information
52+
""""""""""""""""""""
53+
54+
#. Use a descriptive **title** for the issue.
55+
56+
**Bad**: "rviz doesn't work".
57+
58+
**Good**: "Rviz crashing looking for missing ``.so`` after latest apt update"
59+
60+
#. Add steps to the issue **description** describing exactly how to reproduce the issue.
61+
If you are following a ROS tutorial or online instructions, provide a link to those specific instructions.
62+
63+
Issues are more likely to be resolved if others can reproduce them easily.
64+
65+
#. Include the following information:
66+
67+
* **Operating system and version**
68+
69+
ROS supports multiple platforms, and some bugs are specific to particular versions of operating systems/compilers.
70+
71+
* **Installation method**
72+
73+
Some issues only manifest if ROS has been installed from binary archives or from deb packages.
74+
This can help us determine if the issue is with the packaging process.
75+
76+
* **Specific version of ROS**
77+
78+
Some bugs may be present in a particular ROS release, but fixed in a later release.
79+
It is important to know if your installation includes these fixes.
80+
81+
* **DDS/RMW implementation** (see `this page </Concepts/Intermediate/About-Different-Middleware-Vendors>` for how to determine which one).
82+
83+
Communication issues may be specific to the underlying ROS middleware being used.
84+
85+
* **ROS client library**
86+
87+
This helps us narrow down the layer in the stack where the issue might be.
88+
89+
#. Include any warnings or errors which are displayed as part of the issue.
90+
91+
Cut and paste the warnings or errors directly from the terminal window to which they were printed.
92+
Please do not re-type the warnings or errors or use screenshots of the terminal.
93+
94+
Useful additional information
95+
"""""""""""""""""""""""""""""
96+
97+
* If you are reporting a bug, consider providing a `short, self contained, correct (compilable) example <https://sscce.org/>`__.
98+
* When discussing any compiling/linking/installation issues, provide the version number of your compiler.
99+
* If relevant to your issue, you can also include your:
100+
101+
* ROS environment variables (``env | grep ROS``)
102+
* Backtraces
103+
* Relevant config files
104+
* Graphics card model and driver version
105+
* ``Ogre.log`` for rviz, if possible (run with ``rviz -l``)
106+
* Bag files and code samples which reproduce the problem
107+
* GIFs or video clips to demonstrate the problem
108+
109+
* Also describe any troubleshooting which you have already attempted, for example:
110+
111+
* Upgrading to the latest version of the code, which may include bug fixes that have not been released yet.
112+
113+
For more information, see :ref:`building-from-source` and follow the instructions to get the ``rolling`` branch.
114+
115+
* Trying to reproduce your issue with a different RMW implementation.
116+
117+
For more information, see :doc:`../../../How-To-Guides/Working-with-multiple-RMW-implementations`.
118+
119+
Related content
120+
---------------
121+
122+
* :doc:`../../Contributing`
123+
* :doc:`Triaging-an-issue`
124+
125+
FAQs
126+
----
127+
4128
TBC

source/The-ROS2-Project/Contributing/Contributing-to-code/Triaging-an-issue.rst

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ With this information, you'll be able to route issues to the right place, with c
1414
Summary
1515
-------
1616

17-
* **Documentation issues list**: `ROS documentation repository <https://github.com/ros2/ros2_documentation/issues>`__.
18-
* **Code issues lists**: in a repository under the `ROS organisation <https://github.com/orgs/ros2/repositories>`__.
19-
* **Catch-all issues list**: `top level ROS repository <https://github.com/ros2/ros2>`__.
17+
* **Code issue trackers**: in a repository under the `ROS organization <https://github.com/orgs/ros2/repositories>`__.
18+
* **Documentation issue tracker**: `ROS documentation repository <https://github.com/ros2/ros2_documentation/issues>`__.
19+
* **Catch-all issue tracker**: `top level ROS repository <https://github.com/ros2/ros2>`__.
20+
21+
Prerequisites
22+
-------------
23+
24+
There are no prerequisites.
2025

2126
Steps
2227
-----
@@ -26,25 +31,27 @@ Steps
2631

2732
We encourage contributors to look at incoming issues on ROS repositories and triage the problems that users are having:
2833

29-
* To find documentation issues for triage, review the issues list in the `ROS documentation repository <https://github.com/ros2/ros2_documentation/issues>`__.
30-
* To find code issues for triage, review the issues list of a repository under the `ROS organisation <https://github.com/orgs/ros2/repositories>`__, for example the issues list in the `ROS CLI repo <https://github.com/ros2/ros2cli/issues/>`__.
31-
* If you're not sure where to start, review the issues list in the `top level ROS repository <https://github.com/ros2/ros2>`__ for triage.
34+
* To find code issues for triage, review the issues list of a repository under the `ROS organization <https://github.com/orgs/ros2/repositories>`__, for example the issues list in the `ROS CLI repository <https://github.com/ros2/ros2cli/issues/>`__.
35+
* To find documentation issues for triage, review the issues list in the `ROS documentation repository <https://github.com/ros2/ros2_documentation>`__.
36+
* If you're not sure where to start, review the issues list in the `top level ROS repository <https://github.com/ros2/ros2>`__.
37+
38+
When you have identified an issue for triage, add a comment to the issue to say that you are looking into it.
3239

3340
2 Confirming and reproducing the issue
3441
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3542

3643
When you have found an issue to triage, confirm that the issue is genuinely an issue (a bug or a request for enhancement) and has been created with the expected information.
3744

38-
For more information about the information which the reporter of the issue is expected to provide, see :doc:`./Reporting-an-issue`.
45+
For more information about the information the reporter of the issue is expected to provide, see :doc:`./Reporting-an-issue`.
3946

4047
#. If the issue ``Description`` is actually posing a question, close the issue and add a comment directing the user to the `Robotics Stack Exchange <https://robotics.stackexchange.com/>`__ to get help with their question.
41-
#. If the issue looks like a genuine issue (bug or enhancement), but is not relevant to the repo it has been raised in, transfer the issue to the appropriate ROS repository (`see the GitHub documentation for guidance <https://docs.github.com/en/issues/tracking-your-work-with-issues/administering-issues/transferring-an-issue-to-another-repository>`__).
48+
#. If the issue looks like a genuine issue (bug or enhancement), but is not relevant to the repository it has been raised in, transfer the issue to the appropriate ROS repository (`see the GitHub documentation for guidance about how to transfer between repositories <https://docs.github.com/en/issues/tracking-your-work-with-issues/administering-issues/transferring-an-issue-to-another-repository>`__).
4249
#. If the issue is a bug, try to reproduce the bug using the provided steps — if you cannot reproduce the bug, add a comment to the reporter asking for clarification.
4350

4451
3 Assigning and labelling the issue
4552
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4653

47-
After you've confirmed the issue is a genuine issue, and reproduced it (if the issue is a bug), assign and label the issue appropriately to allow work on the issue to begin by a developer.
54+
After you've confirmed the issue is a genuine issue, and reproduced it, assign and label the issue appropriately to allow work on the issue to begin by a developer.
4855

4956
#. Assign the issue to the appropriate developer for the ROS repository in question.
5057
#. Label the issue as a ``bug`` or ``enhancement``, as appropriate.
@@ -54,7 +61,8 @@ After you've confirmed the issue is a genuine issue, and reproduced it (if the i
5461
Related content
5562
---------------
5663

57-
* :doc:`/The-ROS2-Project/Contributing`
64+
* :doc:`../../Contributing`
65+
* :doc:`Reporting-an-issue`
5866

5967
FAQs
6068
----

source/The-ROS2-Project/Contributing/Developer-Guide.rst

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -271,39 +271,6 @@ Some practices are common to all ROS 2 development.
271271

272272
These practices don't affect package quality level as described in `REP 2004 <https://reps.openrobotics.org/rep-2004/>`_, but are still highly recommended for the development process.
273273

274-
Issues
275-
^^^^^^
276-
277-
When filing an issue please make sure to:
278-
279-
- Include enough information for another person to understand the issue.
280-
In ROS 2, the following points are needed for narrowing down the cause of an issue.
281-
Testing with as many alternatives in each category as feasible will be especially helpful.
282-
283-
- **The operating system and version.**
284-
Reasoning: ROS 2 supports multiple platforms, and some bugs are specific to particular versions of operating systems/compilers.
285-
- **The installation method.**
286-
Reasoning: Some issues only manifest if ROS 2 has been installed from binary archives or from debs.
287-
This can help us determine if the issue is with the packaging process.
288-
- **The specific version of ROS 2.**
289-
Reasoning: Some bugs may be present in a particular ROS 2 release and later fixed.
290-
It is important to know if your installation includes these fixes.
291-
- **The DDS/RMW implementation being used** (see `this page <../../Concepts/Intermediate/About-Different-Middleware-Vendors>` for how to determine which one).
292-
Reasoning: Communication issues may be specific to the underlying ROS middleware being used.
293-
- **The ROS 2 client library being used.**
294-
Reasoning: This helps us narrow down the layer in the stack at which the issue might be.
295-
296-
- Include a list of steps to reproduce the issue.
297-
- In case of a bug consider to provide a `short, self contained, correct (compilable), example <http://sscce.org/>`__.
298-
Issues are much more likely to be resolved if others can reproduce them easily.
299-
300-
- Mention troubleshooting steps that have been tried already, including:
301-
302-
- Upgrading to the latest version of the code, which may include bug fixes that have not been released yet.
303-
See `this section <building-from-source>` and follow the instructions to get the "rolling" branches.
304-
- Trying with a different RMW implementation.
305-
See `this page <../../How-To-Guides/Working-with-multiple-RMW-implementations>` for how to do that.
306-
307274
Branches
308275
^^^^^^^^
309276

0 commit comments

Comments
 (0)