Page MenuHomeFreeBSD
Feed Advanced Search

Sep 14 2023

xmj removed a member for Python: xmj.
Sep 14 2023, 7:09 AM

Mar 29 2023

matthew added a member for Python: matthew.
Mar 29 2023, 8:08 AM

Mar 16 2023

vishwin added a member for Python: vishwin.
Mar 16 2023, 5:39 PM

Feb 20 2023

melifaro added a comment to D38053: ping: Add ATF-Python tests.

Yes, please!
In the meantime, I'll keep updating this "BASE" revision.
Changes:

  • Add the ability doctor IHL fields
  • Add the ability to remove inner packet load

I'm sorry for the delay, was focusing on fixing staff for the upcoming 13.2 release.

Feb 20 2023, 10:36 AM · Python
melifaro added a reverting change for D38053: ping: Add ATF-Python tests: rG3d360ca49cf8: Revert "ping: Add ATF-Python tests".
Feb 20 2023, 10:35 AM · Python
melifaro closed D38053: ping: Add ATF-Python tests.
Feb 20 2023, 10:33 AM · Python

Feb 11 2023

jlduran_gmail.com updated the diff for D38053: ping: Add ATF-Python tests.

Yes, please!
In the meantime, I'll keep updating this "BASE" revision.
Changes:

  • Add the ability doctor IHL fields
  • Add the ability to remove inner packet load
Feb 11 2023, 9:35 PM · Python

Feb 10 2023

melifaro added a comment to D38053: ping: Add ATF-Python tests.

This revision is up for a while. What do you folks think of committing some or all of these tests that don't fail or current ping?
Nothing stops us from committing the other tests (or fixing some of the current tests) along with the ping changes or separately.

Feb 10 2023, 3:37 PM · Python
jlduran_gmail.com updated the diff for D38053: ping: Add ATF-Python tests.
  • Add a missing extra white space

The output was originally taken from a branch that has code that trims these extra spaces. Let's leave those cosmetic changes for last.

Feb 10 2023, 12:44 AM · Python

Feb 9 2023

jlduran_gmail.com updated the diff for D38053: ping: Add ATF-Python tests.
  • Do not shadow opts var
  • Disable net.inet.ip.process_options for RR options as well (this was discovered by randomizing the tests, as this sysctl was set by the previous tests)
Feb 9 2023, 7:34 PM · Python

Feb 7 2023

jlduran_gmail.com updated the diff for D38053: ping: Add ATF-Python tests.

Updates:

  • Use ToolsHelper.set_sysctl
  • Use type hints
  • Skip failing tests
  • Remove tests of features not yet implemented
Feb 7 2023, 4:41 PM · Python

Feb 6 2023

ngie added a comment to D38053: ping: Add ATF-Python tests.
In D38053#872961, @ngie wrote:
  1. An atf_get_srcdir-equivalent to eventually read files relative to the source directory, however I think the idea is to disassociate from ATF later on.

This one slipped through the cracks, thanks for reminding! Will add in a day or two.

I thought of passing it via wrapper initially, but ended up with a bit more natural way - getting it from pytest itself.
I committed an example here.

Ha, very nice! I tend to prefer the f-string format (i.e., print(f" {k}: {v}"), is there a preference in style?

f-strings are fine given the FreeBSD v cpython support matrix, as long as you use 3.8+ only extensions to f-strings.

Feb 6 2023, 4:06 PM · Python
jlduran_gmail.com added a comment to D38053: ping: Add ATF-Python tests.

@ngie Thank you for your suggestions, I'll try to implement them!
I also plan to update this file, hopefully this week, I'll remove/skip the tests for D37930 (as it hasn't landed yet), and start submitting the proposed fixes for the utility itself. I don't think all of them will be able to make it to the upcoming release, so there isn't really a time constraint, but I would like to start receiving feedback on that as well. Admittedly, having nice tests usually facilitates it!

Feb 6 2023, 2:10 PM · Python
ngie added a comment to D38053: ping: Add ATF-Python tests.
  1. An atf_get_srcdir-equivalent to eventually read files relative to the source directory, however I think the idea is to disassociate from ATF later on.

This one slipped through the cracks, thanks for reminding! Will add in a day or two.

I thought of passing it via wrapper initially, but ended up with a bit more natural way - getting it from pytest itself.
I committed an example here.

Ha, very nice! I tend to prefer the f-string format (i.e., print(f" {k}: {v}"), is there a preference in style?

Feb 6 2023, 4:52 AM · Python

Jan 26 2023

jlduran_gmail.com added a comment to D38053: ping: Add ATF-Python tests.
  1. An atf_get_srcdir-equivalent to eventually read files relative to the source directory, however I think the idea is to disassociate from ATF later on.

This one slipped through the cracks, thanks for reminding! Will add in a day or two.

I thought of passing it via wrapper initially, but ended up with a bit more natural way - getting it from pytest itself.
I committed an example here.

Jan 26 2023, 12:14 PM · Python

Jan 25 2023

jlduran_gmail.com added a comment to D38053: ping: Add ATF-Python tests.
  1. In the meantime the kernel delayed object reclamation model issue is fixed, maybe adapt 80fc25025ffcb0d369fc0b6d4d272ad6fd3f53c3 ?

Committed in 20ea7f26e413 .

Jan 25 2023, 4:50 PM · Python
jlduran_gmail.com added a comment to D38053: ping: Add ATF-Python tests.
  1. An atf_get_srcdir-equivalent to eventually read files relative to the source directory, however I think the idea is to disassociate from ATF later on.

This one slipped through the cracks, thanks for reminding! Will add in a day or two.

I thought of passing it via wrapper initially, but ended up with a bit more natural way - getting it from pytest itself.
I committed an example here.

Ha, very nice! I tend to prefer the f-string format (i.e., print(f" {k}: {v}"), is there a preference in style?

Jan 25 2023, 4:49 PM · Python