Page MenuHomeFreeBSD

igoro (Igor Ostapenko)
User

Projects

User Details

User Since
Mar 2 2023, 11:30 AM (116 w, 2 d)

Recent Activity

Yesterday

igoro accepted D50499: kyua: increase cleanup_timeout to 300s.
Sat, May 24, 11:28 AM

Fri, May 23

igoro added a comment to D50476: tests/sys/net: run if_bridge_test in a jail.

The combinatorics seems to be as follows:

Fri, May 23, 9:08 PM

Sat, May 17

igoro committed rG6b8222793fbb: kyua: Add "kyua debug -p" option (authored by igoro).
kyua: Add "kyua debug -p" option
Sat, May 17, 9:33 AM
igoro closed D49463: kyua: Add "kyua debug -p" option.
Sat, May 17, 9:33 AM
igoro added inline comments to D49463: kyua: Add "kyua debug -p" option.
Sat, May 17, 9:28 AM

Sun, May 11

igoro added inline comments to D49463: kyua: Add "kyua debug -p" option.
Sun, May 11, 4:57 PM
igoro updated the diff for D49463: kyua: Add "kyua debug -p" option.

Improve the man page wording

Sun, May 11, 4:56 PM

Sat, May 10

igoro accepted D50267: atf: Don't be deterred by weird umasks..

It looks fine that atf-check wants to verify that its temporary dir has enough access rights as it needs to store output files beneath. Why does it add so many code to handle it explicitly? Probably, a usual noperm file system error does not propagate nicely and leaves a test result reader guessing about the actual root cause. Why doesn't it "escape" the current umask instead (as this patch proposes)? Maybe, there was another reason to obey the current umask when ATF was just a separate project before Kyua introduction and it was invoked directly. I do not see answers in the code parts I've read.

Sat, May 10, 11:47 PM
igoro added a comment to D49463: kyua: Add "kyua debug -p" option.

This feature can be refined, but I don’t want to get in the way of the utility of this change for folks like @kp, who need the debuggability. Let’s go forward with this change and refine things/sand down rough edges on GitHub.

Sat, May 10, 8:06 PM
igoro added inline comments to D49463: kyua: Add "kyua debug -p" option.
Sat, May 10, 7:39 PM
igoro updated the diff for D49463: kyua: Add "kyua debug -p" option.

Fix the man page format

Sat, May 10, 7:38 PM
igoro added inline comments to D49463: kyua: Add "kyua debug -p" option.
Sat, May 10, 6:20 PM
igoro added inline comments to D49463: kyua: Add "kyua debug -p" option.
Sat, May 10, 6:18 PM

Apr 21 2025

igoro committed rGe64978ad5d7c: tests.7: Bump the date and improve the format (authored by igoro).
tests.7: Bump the date and improve the format
Apr 21 2025, 6:53 PM
igoro closed D49798: tests.7: Bump the date and improve the format.
Apr 21 2025, 6:53 PM

Apr 16 2025

igoro added a comment to D49788: lutok: Switch from std::auto_ptr<> to std::unique_ptr<>.

I remember ngie@ agreed in some past cases to go directly to the src while the expected vendor path could go in parallel at its own pace. The vendor branch seems to be non-updated since its import back in 2020, so the vendor path may face obstacles and could take time. I mention this just in case if there is a need to hit src sooner, so that an exception agreement could be considered.

Apr 16 2025, 9:13 AM
igoro accepted D49788: lutok: Switch from std::auto_ptr<> to std::unique_ptr<>.
Apr 16 2025, 8:58 AM

Apr 13 2025

igoro added a comment to D49798: tests.7: Bump the date and improve the format.

for format/typo changes, I don't bump the date.

Sorry for the oversight, this is correct. We should not bump the date here.

Apr 13 2025, 4:56 PM

Apr 12 2025

igoro requested review of D49798: tests.7: Bump the date and improve the format.
Apr 12 2025, 11:47 AM

Apr 8 2025

igoro closed D49586: Status/2025Q1/jailmeta.adoc: Add report.
Apr 8 2025, 12:02 PM
igoro committed R9:13aa8b9d6db4: Status/2025Q1/jailmeta.adoc: Add report (authored by igoro).
Status/2025Q1/jailmeta.adoc: Add report
Apr 8 2025, 12:02 PM

Apr 5 2025

igoro added a comment to D49586: Status/2025Q1/jailmeta.adoc: Add report.

Many thanks for review! It was a rush to meet the deadline, and there weren't enough rounds of self-check.

Apr 5 2025, 10:34 AM
igoro updated the diff for D49586: Status/2025Q1/jailmeta.adoc: Add report.

Fix format and style

Apr 5 2025, 10:28 AM
igoro retitled D49586: Status/2025Q1/jailmeta.adoc: Add report from Status/2025Q1: Add jailmeta report to Status/2025Q1/jailmeta.adoc: Add report.
Apr 5 2025, 10:28 AM

Apr 2 2025

igoro accepted D49633: tests: Require allow_network_access for tests needing name resolution.

It seems that as a temporary solution it is good to have them explicitly "tagged" to easily find the ones which need revising to avoid external dependencies.

Apr 2 2025, 2:28 PM

Apr 1 2025

igoro added a comment to D49594: tests.7: Announce allow_network_access test suite conf variable.

I am happy to see allow_network_access feature has been added to the test framework. I believe it would be useful in some cases that network access is mandatory. However, in the case of DNS resolving, I suggest we just using the built-in local unbound for a simple local resolver to serve the test needs.

Apr 1 2025, 10:00 PM
igoro added a comment to D49594: tests.7: Announce allow_network_access test suite conf variable.

Sorry for being late to this (well, the window is quite short and I have been busy with other things recently...)

While ideally tests should not depend on external things as much as possible to have more reproducible nature, some of them may require to reach external resources, let's say to fetch something or to talk to the world services like DNS, etc.

Indeed and that's also why I am still hesitated to enable internet access on the jails in builder (when doing builds with the patches come from external) and when running the tests in VM. It's not only the security reason but also the matter of tests stability and reliability.

Apr 1 2025, 9:50 PM
igoro committed rGea1e4a7dd9bc: tests.7: Announce allow_network_access test suite conf variable (authored by igoro).
tests.7: Announce allow_network_access test suite conf variable
Apr 1 2025, 5:10 PM
igoro closed D49594: tests.7: Announce allow_network_access test suite conf variable.
Apr 1 2025, 5:10 PM

Mar 31 2025

igoro added a comment to D49594: tests.7: Announce allow_network_access test suite conf variable.

We can do it later, but if you mark these variables up as It Va instead of It, they become searchable; e.g. apropos Va=allow_network.

Mar 31 2025, 9:18 PM
igoro added a reviewer for D49594: tests.7: Announce allow_network_access test suite conf variable: tests.
Mar 31 2025, 8:17 PM
igoro added a comment to D49594: tests.7: Announce allow_network_access test suite conf variable.

While ideally tests should not depend on external things as much as possible to have more reproducible nature, some of them may require to reach external resources, let's say to fetch something or to talk to the world services like DNS, etc.

Mar 31 2025, 8:17 PM
igoro requested review of D49594: tests.7: Announce allow_network_access test suite conf variable.
Mar 31 2025, 8:03 PM
igoro updated the diff for D49586: Status/2025Q1/jailmeta.adoc: Add report.

Add dch as a point of contact

Mar 31 2025, 9:53 AM
igoro requested review of D49586: Status/2025Q1/jailmeta.adoc: Add report.
Mar 31 2025, 9:48 AM
igoro closed D47668: jail: Add meta and env parameters.
Mar 31 2025, 9:20 AM
igoro committed rG30e6e008bc06: jail: Add meta and env parameters (authored by igoro).
jail: Add meta and env parameters
Mar 31 2025, 9:20 AM
igoro added a comment to D47668: jail: Add meta and env parameters.

Thank you, it was an interesting journey.

Mar 31 2025, 9:08 AM

Mar 30 2025

igoro added a comment to D47668: jail: Add meta and env parameters.

I'm not sure what the point of the soft/hard size limits is. I imagine I could find it in the code, but could you explain it to me? Something more than the one comment about it, but less detail than the code itself :-).

Mar 30 2025, 8:36 PM
igoro added a comment to D47668: jail: Add meta and env parameters.

I don't disagree that the way the character set is limited is efficient and doesn't add much to the code base. It's just the entire direction that I don't like. There are many places where sloppy text interpretation can cause problems. Environment variables come to mind - they too are passed between processes in the kernel. But user-level string injection has never been considered a kernel problem, and I don't see why it should start now. That's just not the kernel's job.

I you want to continue to push for this, I would suggest separating it from the main feature, adding another revision just for that. I like the general meta/env feature, but you'll just have to look elsewhere for buy-in to that one part.

Mar 30 2025, 7:45 PM
igoro updated the diff for D47668: jail: Add meta and env parameters.

Remove meta_allowedchars mechanism

Mar 30 2025, 7:37 PM

Mar 29 2025

igoro added a comment to D47668: jail: Add meta and env parameters.

Thanks for the confirmation.

Mar 29 2025, 1:23 AM

Mar 24 2025

igoro added a comment to D49463: kyua: Add "kyua debug -p" option.
  • Could you please verify that this doesn't regress Linux/MacOS?
Mar 24 2025, 10:46 PM
igoro updated the diff for D49463: kyua: Add "kyua debug -p" option.

Polish and apply the suggestions

Mar 24 2025, 10:24 PM
igoro added a comment to D49463: kyua: Add "kyua debug -p" option.

Well, it was a quick one hour patch, now it's time for polishing.

Mar 24 2025, 10:23 PM

Mar 23 2025

igoro added a comment to D49463: kyua: Add "kyua debug -p" option.

Whoa, nice. :)

What happens if tests are running in parallel? The behaviour I would naively expect is that other running tests will keep going, but new ones will not be scheduled until kyua is resumed.

Mar 23 2025, 11:19 PM
igoro updated the diff for D49463: kyua: Add "kyua debug -p" option.

Report test work dir

Mar 23 2025, 11:08 PM
igoro requested review of D49463: kyua: Add "kyua debug -p" option.
Mar 23 2025, 6:42 PM

Mar 16 2025

igoro committed rG40a8746a775c: kyua: Pass unprivileged user config prop to ATF using all known names (authored by igoro).
kyua: Pass unprivileged user config prop to ATF using all known names
Mar 16 2025, 10:57 AM

Mar 10 2025

igoro accepted D49277: net-mgmt/simplomon: NEW PORT - radically simple availability monitoring.

LGTM

Mar 10 2025, 10:47 AM

Mar 4 2025

igoro committed rG9383629ffc92: kyua: Support require.diskspace ATF metadata (authored by igoro).
kyua: Support require.diskspace ATF metadata
Mar 4 2025, 10:06 PM

Mar 2 2025

igoro added a comment to D48087: kyua: Add "prepare" command.

Could requires be used instead of the term prepare? I think that would align the concept and the command more with what is being reported on.

Mar 2 2025, 8:03 PM
igoro added a comment to D47668: jail: Add meta and env parameters.

I'm glad that turned out to be a workable option - thanks for adding it.

As to your comment that return an empty value for a nonexistent key instead of stopping the whole thing up with ENOENT, I see your point. But now I see another way: the NULL value, this time in the other direction. From the kernel interface side, it would be just the same as the setting direction, where receiving a NULL indicated attempted retrieval of a nonexistent key, while an empty string would only be for a key with an empty value.

It gets trickier on the user end though, where jls(8) only sometimes allows for a distinction. In particular, "jls -n meta.foo" or "jls -s meta.foo" could be made to show the same distinction between meta.foo="" and just meta.foo, but without the option there would be no way to tell. That's probably sufficient for those who care, though.

Mar 2 2025, 4:50 PM
igoro updated the diff for D47668: jail: Add meta and env parameters.

Communicate back a missing key

Mar 2 2025, 4:35 PM

Feb 27 2025

igoro committed rGdb06c8fd7f5b: kyuafile.5: ATF metadata mapping reference (authored by igoro).
kyuafile.5: ATF metadata mapping reference
Feb 27 2025, 9:49 PM

Feb 23 2025

igoro closed D49039: kyua: Pass unprivileged user config prop to ATF using all known names.
Feb 23 2025, 10:50 AM
igoro committed rG51a8eb641046: kyua: Pass unprivileged user config prop to ATF using all known names (authored by igoro).
kyua: Pass unprivileged user config prop to ATF using all known names
Feb 23 2025, 10:49 AM

Feb 22 2025

igoro updated the summary of D47668: jail: Add meta and env parameters.
Feb 22 2025, 6:32 PM
igoro added a comment to D47668: jail: Add meta and env parameters.

A few observations from actually running this:

Feb 22 2025, 6:30 PM
igoro updated the diff for D47668: jail: Add meta and env parameters.

Add key removal mechanism using NULL value as a trigger

Feb 22 2025, 5:21 PM

Feb 18 2025

igoro updated the diff for D49039: kyua: Pass unprivileged user config prop to ATF using all known names.

Add the respective code comment

Feb 18 2025, 11:22 PM
igoro added a comment to D49039: kyua: Pass unprivileged user config prop to ATF using all known names.

LGTM. Except that the commit message contains a typo: "uprivileged_user" => "unprivileged_user"

Feb 18 2025, 11:21 PM

Feb 17 2025

igoro added a comment to D49039: kyua: Pass unprivileged user config prop to ATF using all known names.

I guess it could be helpful for a couple of test cases from tests/sys/netinet/fibs_multibind_test.c and/or tests/sys/netinet/socket_afinet.c.

Feb 17 2025, 11:25 PM
igoro added a reviewer for D49039: kyua: Pass unprivileged user config prop to ATF using all known names: tests.
Feb 17 2025, 11:23 PM
igoro requested review of D49039: kyua: Pass unprivileged user config prop to ATF using all known names.
Feb 17 2025, 11:16 PM

Feb 13 2025

igoro added a comment to D48087: kyua: Add "prepare" command.

@ngie , it would be appreciated if you could find time to consider this. It seems that your opinion is necessary to move forward.

Feb 13 2025, 11:46 PM

Feb 2 2025

igoro committed rG6befd3511105: kyua: Support require.diskspace ATF metadata (authored by igoro).
kyua: Support require.diskspace ATF metadata
Feb 2 2025, 7:54 PM
igoro closed D48333: kyua: Support require.diskspace ATF metadata.
Feb 2 2025, 7:54 PM

Jan 26 2025

igoro updated the diff for D48333: kyua: Support require.diskspace ATF metadata.

Update kyuafile.5 after landing of D48190

Jan 26 2025, 5:54 PM
igoro committed rG68206add1173: kyuafile.5: ATF metadata mapping reference (authored by igoro).
kyuafile.5: ATF metadata mapping reference
Jan 26 2025, 5:36 PM
igoro closed D48190: kyuafile.5: ATF metadata mapping reference.
Jan 26 2025, 5:36 PM

Jan 25 2025

igoro committed rGb40ca26721d7: kyua: Support is_exclusive metadata coming from an ATF test case (authored by igoro).
kyua: Support is_exclusive metadata coming from an ATF test case
Jan 25 2025, 7:47 PM

Jan 24 2025

igoro added a watcher for ZFS: igoro.
Jan 24 2025, 8:43 AM
igoro added a member for DTrace: igoro.
Jan 24 2025, 8:40 AM

Jan 23 2025

igoro added inline comments to D47668: jail: Add meta and env parameters.
Jan 23 2025, 10:06 PM
igoro updated the diff for D47668: jail: Add meta and env parameters.

Improve the comment regarding the retry mechansim

Jan 23 2025, 10:04 PM

Jan 22 2025

igoro added inline comments to D47668: jail: Add meta and env parameters.
Jan 22 2025, 8:35 AM

Jan 6 2025

igoro added a reviewer for D47668: jail: Add meta and env parameters: jamie.
Jan 6 2025, 6:25 PM
igoro updated the diff for D47668: jail: Add meta and env parameters.

tests: Use recently added support of is.exclusive coming from ATF side

Jan 6 2025, 6:12 PM
igoro added a comment to D48333: kyua: Support require.diskspace ATF metadata.

This is a follow-up to https://reviews.freebsd.org/D48190, where it was discovered that this support is missing. It's obvious that our test suite does not use it, and this patch is for consistency and not to say "not mapped" in the kyuafile.5. Also, I found that Kyua 0.11 release notes state that it should work, so actually this is a fix.

Jan 6 2025, 12:22 PM
igoro requested review of D48333: kyua: Support require.diskspace ATF metadata.
Jan 6 2025, 12:17 PM
igoro added a comment to D48190: kyuafile.5: ATF metadata mapping reference.

I think submitting this upstream (freebsd/kyua) and filing an issue capturing the feedback/concerns would probably be ok.

Jan 6 2025, 10:01 AM
igoro added a comment to D48087: kyua: Add "prepare" command.
In D48087#1096440, @kp wrote:

One trivial remark about 'pip? # e.g. to have scapy installed'. We have a scapy package and that's how I've always installed it. Right now it's py311-scapy-2.6.1.

Jan 6 2025, 9:48 AM

Dec 27 2024

igoro added a comment to D48190: kyuafile.5: ATF metadata mapping reference.

It honestly seems like this documentation should live in another place, e.g., a "test driver" [1] (kyua-atf-driver(4)?) manpage. Putting all of this information in a single manpage seems like it would really clutter up what's being explained here, and the more "test drivers" get bolted on to kyua, the more complex the documentation will become.

  1. I'm not sold on the name "test driver", but it's the best I can offer for the concept right now.
Dec 27 2024, 7:42 PM

Dec 24 2024

igoro added a comment to D48190: kyuafile.5: ATF metadata mapping reference.

This is a follow-up to https://reviews.freebsd.org/D47671, where we discussed documenting of the mapping.

Dec 24 2024, 12:06 PM
igoro requested review of D48190: kyuafile.5: ATF metadata mapping reference.
Dec 24 2024, 12:03 PM
igoro added a comment to D47671: kyua: Support is_exclusive metadata coming from an ATF test case.

If you could commit it directly to the freebsd/src:main, that would be helpful :) (I think it's better to get it in sooner so it gets some bake time on FreeBSD).

Dec 24 2024, 8:43 AM
igoro closed D47671: kyua: Support is_exclusive metadata coming from an ATF test case.
Dec 24 2024, 8:40 AM
igoro committed rG2ed24e28d1d9: kyua: Support is_exclusive metadata coming from an ATF test case (authored by igoro).
kyua: Support is_exclusive metadata coming from an ATF test case
Dec 24 2024, 8:40 AM

Dec 22 2024

igoro updated the diff for D48087: kyua: Add "prepare" command.

Now the wording is away from the internals and closer to the end users:

> ./kyua help | grep prepare
  prepare                 Prepare env and resolve requirements before testing.
Dec 22 2024, 7:12 PM
igoro added a comment to D48087: kyua: Add "prepare" command.

My current favorite is the prepare term proposed by Kristof. So, I've changed it in the latest version of the patch for the sake of further testing and discussion. Everything is open for renaming. The internals still use requirement resolver terminology, I could not quickly find the replacement and probably it's not needed due to "prepare" is kind of higher level, anyway this is the encapsulated part with the only exposure via CLI help output.

Dec 22 2024, 3:46 PM
igoro updated the diff for D48087: kyua: Add "prepare" command.

Rename "kyua rr" to "kyua prepare"; Drop "kyua test --rr"

Dec 22 2024, 3:11 PM
igoro retitled D48087: kyua: Add "prepare" command from kyua: Add requirement resolver concept to kyua: Add "prepare" command.
Dec 22 2024, 3:10 PM

Dec 20 2024

igoro updated the diff for D47668: jail: Add meta and env parameters.

Make keyvalue_contention test case more accurate

Dec 20 2024, 9:24 PM
igoro updated the diff for D47668: jail: Add meta and env parameters.

Tiny code improvements, no functional change

Dec 20 2024, 9:15 PM

Dec 19 2024

igoro updated the diff for D47668: jail: Add meta and env parameters.

Add keyvalue_contention test case

Dec 19 2024, 3:01 PM

Dec 18 2024

igoro updated the diff for D47668: jail: Add meta and env parameters.

Fix jm_h_cut_occurrences() logic

Dec 18 2024, 9:01 PM
igoro updated the diff for D47668: jail: Add meta and env parameters.

libjail: Correctly differentiate no<boolparam> from keyvalue-based ones

Dec 18 2024, 5:22 PM
igoro updated the summary of D47668: jail: Add meta and env parameters.
Dec 18 2024, 4:14 PM
igoro updated the diff for D47668: jail: Add meta and env parameters.

Each buffer can be handled as a set of key=value\n strings

Dec 18 2024, 4:11 PM