BPF List
 help / color / mirror / Atom feed
From: Muhammad Usama Anjum <musamaanjum@gmail.com>
To: Manu Bretelle <chantr4@gmail.com>, lsf-pc@lists.linux-foundation.org
Cc: bpf@vger.kernel.org
Subject: Re: [LSF/MM/BPF TOPIC] development/troubleshooting workflows for BPF
Date: Thu, 14 Mar 2024 15:15:04 +0500	[thread overview]
Message-ID: <d70edf15e42fe7e75d2ba8ef3a3a8181facab9e6.camel@gmail.com> (raw)
In-Reply-To: <ZeAG7EYG/JwFEYg2@surya>

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


      reply	other threads:[~2024-03-14 10:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d70edf15e42fe7e75d2ba8ef3a3a8181facab9e6.camel@gmail.com \
    --to=musamaanjum@gmail.com \
    --cc=bpf@vger.kernel.org \
    --cc=chantr4@gmail.com \
    --cc=lsf-pc@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox