BPF List
 help / color / mirror / Atom feed
* [LSF/MM/BPF TOPIC] development/troubleshooting workflows for BPF
@ 2024-02-29  4:24 Manu Bretelle
  2024-03-14 10:15 ` Muhammad Usama Anjum
  0 siblings, 1 reply; 2+ messages in thread
From: Manu Bretelle @ 2024-02-29  4:24 UTC (permalink / raw)
  To: lsf-pc; +Cc: bpf

Hi all,

Building upon the learnings and knowledge of BPF CI [0], I would like to present
ways that can help developpers make their workflow easier, and improve their
development and troubleshooting velocity.

While there is probably thousand different ways to get to the same result, and
people may have their personal preferences, I will be presenting an approach
which is close to what is used by the CI.
Feedback and suggestions would be greatly appreciated.


Some topics I have in mind:

- Reproducing CI error in CI environemt. Until recently, it was challenging to
  Re-using artifacts produced by the CI, how to reproduce
  the issue within the CI environment, and poke at the system.
- Building and running tests for a foreign architecture. Method to cross-compile
  and run tests for a foreign architecture.
- local development workflow. While most people may already have their own setup,
  here I am proposing a workflow which is simple and allow for fast iteration.
- bisecting issues: leveraging bpf selftests and vm testing, how to leverage
  `git bisect run` to "quickly", or at least with less friction, identify a bad
  commit.

Thanks,

Manu

[0]: https://github.com/kernel-patches/bpf

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LSF/MM/BPF TOPIC] development/troubleshooting workflows for BPF
  2024-02-29  4:24 [LSF/MM/BPF TOPIC] development/troubleshooting workflows for BPF Manu Bretelle
@ 2024-03-14 10:15 ` Muhammad Usama Anjum
  0 siblings, 0 replies; 2+ messages in thread
From: Muhammad Usama Anjum @ 2024-03-14 10:15 UTC (permalink / raw)
  To: Manu Bretelle, lsf-pc; +Cc: bpf

On Wed, 2024-02-28 at 20:24 -0800, Manu Bretelle wrote:
> Hi all,
> 
> Building upon the learnings and knowledge of BPF CI [0], I would like to present
> ways that can help developpers make their workflow easier, and improve their
> development and troubleshooting velocity.
> 
> While there is probably thousand different ways to get to the same result, and
> people may have their personal preferences, I will be presenting an approach
> which is close to what is used by the CI.
> Feedback and suggestions would be greatly appreciated.
> 
> 
> Some topics I have in mind:
> 
> - Reproducing CI error in CI environemt. Until recently, it was challenging to
>   Re-using artifacts produced by the CI, how to reproduce
>   the issue within the CI environment, and poke at the system.
I've been looking into the BPF CI. Sometimes vmtest.sh isn't effective
in reproducing the failures from BPF CI. I've shared this info over
the mailing list. But I've not got any response over what should be
done when vmtest.sh doesn't reproduce the same results as the BPF CI.
So if we can discuss what are the possible ways to circumvent this
problem, it would be very beneficial.

> - Building and running tests for a foreign architecture. Method to cross-compile
>   and run tests for a foreign architecture.
> - local development workflow. While most people may already have their own setup,
>   here I am proposing a workflow which is simple and allow for fast iteration.
It would be beneficial as well. vmtest.sh solves some problems. But
there may be even faster way to test regressions?

> - bisecting issues: leveraging bpf selftests and vm testing, how to leverage
>   `git bisect run` to "quickly", or at least with less friction, identify a bad
>   commit.
> 
> Thanks,
> 
> Manu
> 
> [0]: https://github.com/kernel-patches/bpf


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-14 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29  4:24 [LSF/MM/BPF TOPIC] development/troubleshooting workflows for BPF Manu Bretelle
2024-03-14 10:15 ` Muhammad Usama Anjum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox