Skip to content

Commit

Permalink
DO-NOT-MERGE: mptcp: add CI support
Browse files Browse the repository at this point in the history
Currently supported:

- Github Actions:
  - build-validation: check different combinations of validation
  - checkpatch: use checkpatch.pl to validate new commits
  - notif: send notifications to the IRC channel and emails
  - Update TopGit tree: sync with net and net-next and then override the
    export branches.

- Cirrus:
  - Run tests in a KVM: selftests, kunit, packetdrill, etc.

Signed-off-by: Matthieu Baerts <[email protected]>
  • Loading branch information
matttbe committed Jan 3, 2025
1 parent 942c4f8 commit 553a3b4
Show file tree
Hide file tree
Showing 10 changed files with 1,399 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github: [matttbe]
liberapay: matttbe
patreon: matttbe
thanks_dev: u/gh/matttbe
104 changes: 104 additions & 0 deletions .github/ISSUE_TEMPLATE/01-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
name: Bug Report
description: Create a report to help us improve
labels: ["bug", "triage"]
body:
- type: markdown
attributes:
value: |
Thanks for helping us improve! 🙏
Please answer these questions and provide as much information as possible about your problem.
- type: checkboxes
id: pre-req
attributes:
label: Pre-requisites
description: "Before opening this ticket, I checked that:"
options:
- label: "A similar [issue](https://github.com/multipath-tcp/mptcp_net-next/issues/) has not been reported before."
- label: "[mptcp.dev](https://www.mptcp.dev) website does not cover my case."
- label: "An up-to-date kernel is being used."
- label: "This case is not fixed with the latest stable (or LTS) version listed on [kernel.org](https://kernel.org)"

- type: textarea
id: what-did-you-do
attributes:
label: "What did you do?"
description: "If possible, provide a recipe for reproducing the error."
placeholder: |
Steps to reproduce the behavior:
1.
2.
validations:
required: true

- type: textarea
id: actual-behavior
attributes:
label: "What happened?"
description: Prefer copying text output over using screenshots.
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: "What did you expect to have?"
description: Why is the current behavior incorrect, and any additional context we may need to understand the issue.
validations:
required: true

- type: textarea
id: system-client
attributes:
label: "System info: Client"
description: |
Output of these commands executed on the **client** side:
```
uname -a
cat /etc/os-release
sysctl net.mptcp
ip mptcp endpoint show
ip mptcp limits show
```
placeholder: |
$ uname -a
Linux my-client 6.12.24-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.24-1 (2025-02-01) x86_64 GNU/Linux
(...)
render: shell
validations:
required: true

- type: textarea
id: system-server
attributes:
label: "System info: Server"
description: |
Output of these commands executed on the **server** side:
```
uname -a
cat /etc/os-release
sysctl net.mptcp
ip mptcp endpoint show
ip mptcp limits show
```
placeholder: |
$ uname -a
Linux my-server 6.12.24-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.24-1 (2025-02-01) x86_64 GNU/Linux
(...)
render: shell
validations:
required: true

- type: textarea
id: additional-context
attributes:
label: "Additional context"
description: |
Add any other context about the problem here.
Note: It might help to get the output of `ip mptcp monitor` while reproducing the issue, in addition to the output from these commands executed just before **and** after the issue:
```
ss -ManiH
nstat
```
Packet traces (TCPDump / WireShark), configured IP addresses and routing can be helpful too. Check [here](https://www.mptcp.dev/debugging.html) for more details.
mptcpd's [`/usr/libexec/mptcp-get-debug`](https://raw.githubusercontent.com/multipath-tcp/mptcpd/refs/heads/main/scripts/mptcp-get-debug) script (mptcpd >= 0.13) can help to collect such infos.
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/02-feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Feature Request
description: Suggest an idea for this project
labels: ["enhancement", "triage"]
body:
- type: markdown
attributes:
value: |
Thanks for helping us improve! 🙏
Please answer these questions and provide as much information as possible about your idea.
- type: checkboxes
id: pre-req
attributes:
label: Pre-requisites
description: "Before opening this ticket, I checked that:"
options:
- label: "A similar [idea](https://github.com/multipath-tcp/mptcp_net-next/issues?q=label%3Aenhancement) has not been reported before."
- label: "[mptcp.dev](https://www.mptcp.dev) website does not cover my case."
- label: "The [wiki](https://github.com/multipath-tcp/mptcp_net-next/wiki) doesn't cover my case."

- type: textarea
id: description
attributes:
label: "Description"
description: "A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]"
validations:
required: true

- type: textarea
id: solution
attributes:
label: "Solution"
description: "A clear and concise description of what you want to have."
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: "Considered alternatives"
description: "A clear and concise description of any alternative solutions or features you've considered."
validations:
required: true

- type: textarea
id: additional-context
attributes:
label: "Additional context"
description: "Add any other context or screenshots about the feature request here."
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/03-question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Question
description: Ask any questions not related to an issue or a feature request here
labels: ["question", "triage"]
body:
- type: markdown
attributes:
value: |
Thanks for helping us improve! 🙏
Please answer these questions and provide as much information as possible about your idea.
- type: checkboxes
id: pre-req
attributes:
label: Pre-requisites
description: "Before opening this ticket, I checked that:"
options:
- label: "A similar [question](https://github.com/multipath-tcp/mptcp_net-next/issues?q=label%3question) has not been reported before."
- label: "[mptcp.dev](https://www.mptcp.dev) website does not cover my case."
- label: "The [wiki](https://github.com/multipath-tcp/mptcp_net-next/wiki) doesn't cover my case."
- label: "This is not a question related to the current behavior, an issue or a feature requst: if it is, please use [another template](https://github.com/multipath-tcp/mptcp_net-next/issues/new/choose) **even if it is a question**: we will need details about your system: kernel version, config, etc."

- type: textarea
id: question
attributes:
label: "My question"
description: "A clear and concise description of your question"
validations:
required: true
Loading

0 comments on commit 553a3b4

Please sign in to comment.