Page MenuHomeFreeBSD

igoro (Igor Ostapenko)
User

Projects

User Details

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

Recent Activity

Sat, Sep 5

igoro added a comment to D59276: kyua: Add execution plan concept.

My only concern is that it might eliminate some randomness from the test scheduling that helps probabilistically catch problems. I have not looked at all at the patch yet, nor at the existing scheduler: how does the patch affect determinism in the test scheduler?

Sat, Sep 5, 5:53 PM
igoro updated the diff for D59276: kyua: Add execution plan concept.

Remove debug code leftovers, make execplan=none do nothing with profiles, revise licensing

Sat, Sep 5, 5:52 PM

Thu, Sep 3

igoro added a comment to D59346: contrib/kyua: fix -Wshadow error.

@igoro when the time comes, could you please submit this upstream as well along with the prepare support?

Thu, Sep 3, 4:49 PM
igoro accepted D59346: contrib/kyua: fix -Wshadow error.

LGTM. The funny thing is that originally it was h.

Thu, Sep 3, 4:48 PM

Mon, Aug 31

igoro updated the summary of D59276: kyua: Add execution plan concept.
Mon, Aug 31, 12:37 PM

Sun, Aug 30

igoro requested review of D59276: kyua: Add execution plan concept.
Sun, Aug 30, 9:23 PM

Thu, Aug 27

igoro committed rG36afb137b699: netpfil tests: Make divapp packet loop handling opt-in (authored by igoro).
netpfil tests: Make divapp packet loop handling opt-in
Thu, Aug 27, 11:55 AM
igoro closed D59067: netpfil tests: Make divapp packet loop handling opt-in.
Thu, Aug 27, 11:55 AM
igoro added inline comments to D59067: netpfil tests: Make divapp packet loop handling opt-in.
Thu, Aug 27, 11:53 AM

Sun, Aug 23

igoro committed rGedb230c4af49: kyua: Add "prepare" command (authored by igoro).
kyua: Add "prepare" command
Sun, Aug 23, 11:58 PM
igoro closed D48087: kyua: Add "prepare" command.
Sun, Aug 23, 11:58 PM

Fri, Aug 21

igoro added a comment to D59016: tests/pf: Make divapp more general.

Probably a simple parameter like in the following patch could be good enough and a bit more descriptive: https://reviews.freebsd.org/D59067.

Fri, Aug 21, 11:35 AM
igoro requested review of D59067: netpfil tests: Make divapp packet loop handling opt-in.
Fri, Aug 21, 11:33 AM
igoro added a comment to D59016: tests/pf: Make divapp more general.

I've stumbled upon that if (npkt >= 20) condition, and now I recall why it's there. Originally, this app was created to test a fix of a defect where a packet could end up in a loop. So, the divert-to.sh test sends a single packet (ping -c1) and the divapp is programmed to catch not only the first one and break a loop eventually. This also explains the strict check at the end to expect a single packet only, if (npkt != 1).

Fri, Aug 21, 12:43 AM

Jun 6 2026

igoro added a comment to D57316: src.opts.mk: enable OPENSSL_KTLS by default on riscv64.
In D57316#1314576, @des wrote:

This "fixes" the issue, but the tests should also be intelligent enough to understand when the OPENSSL_KTLS feature isn't present and skip the tests if the feature isn't present in the kernel (see ATF_REQUIRE_FEATURE, etc).

ATF_REQUIRE_FEATURE is awfully unidiomatic, we should implement a require.features property instead.

I agree.. just not sure how to handle it yet with other platforms where this feature might not be available. Probably should just push forward with the OS-specific handler behavior in kyua for FreeBSD started by @igoro .

Jun 6 2026, 8:45 PM

Jun 2 2026

igoro added a comment to D57016: routing: Add tests for metric.

It seems the main goal here was not about parallelism, so maybe it's not so important, but I just wanted to mention that the newly added test cases are still marked as exclusive as the Makefile makes it so for all of them:

# cat /usr/tests/sys/net/routing/Kyuafile
-- Automatically generated by bsd.test.mk.
Jun 2 2026, 12:11 PM

Mar 18 2026

igoro added a comment to D55859: kyua: Add external setup and teardown mechanism.

Thanks a lot for working on that! I miss the feature a lot.

Sorry if a dumb question. Trying to understand the Makefile logic. The statement

${PACKAGE}SCRIPTS+=     demo.setup \
                        demo.atfsh_like_setup

does it apply to all tests in the Makefile or there is some magic that makes the first word before the dot to limit application only to a test that is named as this word? Where does this logic live?

Mar 18 2026, 2:13 PM
igoro added reviewers for D55859: kyua: Add external setup and teardown mechanism: markj, tests.
Mar 18 2026, 2:10 PM

Mar 14 2026

igoro added a comment to D55859: kyua: Add external setup and teardown mechanism.

There is an additional idea to think of in the future to add a new metadata named like execenv_jail_attachto=<jail_name> or so. The goal is, if an external setup configures a complex set of jails and the test is expected to be running within a specific child jail only, then such metadata would ask Kyua to do so.

Mar 14 2026, 11:44 PM
igoro added a comment to D55859: kyua: Add external setup and teardown mechanism.

The idea is to have an external setup/teardown files which could be implemented much simpler compared to the test itself. For example, setup is done with usual shell and tools from the base, while the test itself could be written in C.

Mar 14 2026, 11:32 PM
igoro requested review of D55859: kyua: Add external setup and teardown mechanism.
Mar 14 2026, 11:21 PM

Mar 6 2026

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

@ngie , is anything else required to be changed or we are ready to land it?

Mar 6 2026, 8:27 PM

Jan 24 2026

igoro accepted D54847: pf: Pass v6 packets to the divert socket.
Jan 24 2026, 3:49 PM
igoro accepted D54845: pf: Rationalize the ip_divert_ptr test.
Jan 24 2026, 3:44 PM
igoro accepted D54848: divert: Update divert.4 to mention pf.
Jan 24 2026, 3:40 PM
igoro accepted D54846: pf tests: Set require.kmods in divert-to tests.
Jan 24 2026, 3:29 PM

Jan 11 2026

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

@ngie , it seems we could land it, and copyright topic could be revised for entire project with separate commit(s). What do you think?

Jan 11 2026, 2:42 PM
igoro updated the diff for D48087: kyua: Add "prepare" command.

Throw std::system_error instead of std::runtime_error upon kldload failure

Jan 11 2026, 2:38 PM
igoro committed rG8a21c17ccfec: kyua: Add "debug -x|--execute cmd" option (authored by igoro).
kyua: Add "debug -x|--execute cmd" option
Jan 11 2026, 1:45 PM
igoro closed D52642: kyua: Add "debug -x|--execute cmd" option.
Jan 11 2026, 1:45 PM
igoro updated the diff for D52642: kyua: Add "debug -x|--execute cmd" option.

Explicitly describe execenv involvement in "kyua help debug"

Jan 11 2026, 1:42 PM

Dec 27 2025

igoro added a reviewer for D52642: kyua: Add "debug -x|--execute cmd" option: ngie.
Dec 27 2025, 12:20 PM
igoro updated the diff for D52642: kyua: Add "debug -x|--execute cmd" option.

Make it skip writing stdout/stderr to tmp files, as "debug -p" does

Dec 27 2025, 12:19 PM

Dec 26 2025

igoro added inline comments to D48087: kyua: Add "prepare" command.
Dec 26 2025, 9:46 PM
igoro updated the diff for D48087: kyua: Add "prepare" command.

Communicate kldload issues via exceptions

Dec 26 2025, 9:45 PM
igoro committed rG350f31973189: kyua: Make "debug -p" skip writing stdout/stderr to tmp files (authored by igoro).
kyua: Make "debug -p" skip writing stdout/stderr to tmp files
Dec 26 2025, 8:08 PM
igoro closed D54363: kyua: Make "debug -p" skip writing stdout/stderr to tmp files.
Dec 26 2025, 8:08 PM

Dec 25 2025

igoro added a comment to D52642: kyua: Add "debug -x|--execute cmd" option.

This works almost exactly how I want, thank you. I have one "complaint": when I use this mode, kyua 1) drops me in the shell, 2) waits for the shell to exit, 3) prints the debug output, e.g., executed commands and the test failure string. The -p mode is basically the same. It is more useful to do 3) first, then 1) and 2). Is it hard to make this change?

Dec 25 2025, 9:05 PM
igoro added reviewers for D54363: kyua: Make "debug -p" skip writing stdout/stderr to tmp files: kp, markj, ngie, tests.
Dec 25 2025, 9:02 PM
igoro updated the summary of D54363: kyua: Make "debug -p" skip writing stdout/stderr to tmp files.
Dec 25 2025, 8:59 PM
igoro requested review of D54363: kyua: Make "debug -p" skip writing stdout/stderr to tmp files.
Dec 25 2025, 8:45 PM
igoro committed rGecb58f931d45: kyua: Fix prompt of "debug -p" command (authored by igoro).
kyua: Fix prompt of "debug -p" command
Dec 25 2025, 8:45 PM
igoro updated the diff for D48087: kyua: Add "prepare" command.

Resolved review comments

Dec 25 2025, 6:14 PM
igoro added inline comments to D48087: kyua: Add "prepare" command.
Dec 25 2025, 6:12 PM

Dec 19 2025

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

Hi @ngie. It seems your time budget is very limited. Thank you for all the comments you provided for this patch, it helped polishing the things and making it better. I'm going to land it soon so that we could start actual testing of the idea. Fortunately, it's an opt-in helper tool for a developer and nothing depends on it. Anyway, before it can be useful we need to continue labelling the tests with required_kmods declarations.

Dec 19 2025, 11:17 AM

Dec 16 2025

igoro added reviewers for D54105: kyua: Add flaky metadata: ngie, tests.
Dec 16 2025, 10:28 AM
igoro added inline comments to D54105: kyua: Add flaky metadata.
Dec 16 2025, 10:04 AM

Dec 14 2025

igoro accepted D54162: netlink: Optimize growing the snl_writer message buffer.

LGTM. The same testing passed on my side, with the same build and test env. The only obstacle I had is this:

In file included from netlink_netlink_snl_route_parsers.c:1:
In file included from /home/igoro/src/sys/netlink/netlink_snl_route_parsers.h:30:
/home/igoro/src/sys/netlink/netlink_snl.h:122:12: error: comparison of integers of different signs: 'int' and 'uint32_t' (aka 'unsigned int') [-Werror,-Wsign-compare]
  122 |         if (delta > lb->size - lb->offset)
      |             ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** [netlink_netlink_snl_route_parsers.o] Error code 1
Dec 14 2025, 11:53 AM

Dec 13 2025

igoro updated the summary of D54105: kyua: Add flaky metadata.
Dec 13 2025, 8:08 PM
igoro updated the diff for D54105: kyua: Add flaky metadata.

Implement x/y flaky spec

Dec 13 2025, 8:08 PM

Dec 10 2025

igoro added a comment to D54148: netlink: Don't overwrite existing data in a linear buffer in snl_writer.
In D54148#1237012, @jhb wrote:

Igor, are you able to test this again on your armv7 setup btw?

Dec 10 2025, 10:09 AM

Dec 9 2025

igoro accepted D54148: netlink: Don't overwrite existing data in a linear buffer in snl_writer.

LGTM. That's an important point regarding the other data allocated from the snl_state.

Dec 9 2025, 9:34 AM

Dec 6 2025

igoro added a reviewer for D54105: kyua: Add flaky metadata: kp.
Dec 6 2025, 6:42 PM
igoro requested review of D54105: kyua: Add flaky metadata.
Dec 6 2025, 6:40 PM

Dec 1 2025

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

It seems to be ready for landing to slowly start actual testing and adoption.

Dec 1 2025, 4:33 AM

Nov 15 2025

igoro added a comment to D53697: netlink: Fix overallocation of netlink message buffers.
In D53697#1226388, @jhb wrote:

@igoro would you be able to test this on your workload (armv7) to ensure it still does the correct thing?

Nov 15 2025, 9:08 PM

Nov 11 2025

igoro accepted D53697: netlink: Fix overallocation of netlink message buffers.

Now I remember that the latest fix's key goal was to add missing nw->size maintenance not to realloc again-and-again when it's actually not needed, i.e. after each realloc we still think that nw->size is only 256. And the motivation was to avoid overlapping buffers appeared to be there as a consequence of missing nw->size maintenance.

Nov 11 2025, 11:54 PM

Oct 11 2025

igoro committed rG21716b6c3ed6: kyua: Make "test" command actually report about workdir cleanup issues (authored by igoro).
kyua: Make "test" command actually report about workdir cleanup issues
Oct 11 2025, 1:17 PM
igoro closed D51136: kyua: Make "test" command actually report about workdir cleanup issues.
Oct 11 2025, 1:17 PM
igoro committed rG771ee17c8810: mit-krb5.pc: Add missing -lkrb5profile (authored by igoro).
mit-krb5.pc: Add missing -lkrb5profile
Oct 11 2025, 11:04 AM
igoro committed rG2d9fd2c573c3: mit-krb5.pc: Add missing -lkrb5profile (authored by igoro).
mit-krb5.pc: Add missing -lkrb5profile
Oct 11 2025, 10:24 AM
igoro closed D52910: mit-krb5.pc: Add missing -lkrb5profile.
Oct 11 2025, 10:24 AM

Oct 10 2025

igoro added a comment to D52910: mit-krb5.pc: Add missing -lkrb5profile.
In D52910#1211188, @ivy wrote:

i'm not opposed to this, but i don't understand why it's required. is this an upstream bug, or are we building libkrb5 wrongly?

Oct 10 2025, 9:35 AM

Oct 5 2025

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

Thanks for your time and review.

Oct 5 2025, 7:52 PM
igoro updated the diff for D48087: kyua: Add "prepare" command.

Tiny improvements

Oct 5 2025, 7:50 PM

Oct 4 2025

igoro added reviewers for D52910: mit-krb5.pc: Add missing -lkrb5profile: cy, security, dch.
Oct 4 2025, 10:48 PM
igoro added a comment to D52910: mit-krb5.pc: Add missing -lkrb5profile.

This seems to be revealed with the recent switch to MIT version. For example, 15-CURRENT back in March had this:

# ldd /usr/lib/libkrb5.so
/usr/lib/libkrb5.so:
        libasn1.so.11 => /usr/lib/libasn1.so.11 (0x36e32d570000)
        libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x36e309956000)
        libcrypt.so.5 => /lib/libcrypt.so.5 (0x36e30a44a000)
        libcrypto.so.30 => /lib/libcrypto.so.30 (0x36e30a600000)
        libhx509.so.11 => /usr/lib/libhx509.so.11 (0x36e339780000)
        libroken.so.11 => /usr/lib/libroken.so.11 (0x36e30ac5a000)
        libwind.so.11 => /usr/lib/libwind.so.11 (0x36e33bec0000)
        libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x36e30834e000)
        libprivateheimipcc.so.11 => /usr/lib/libprivateheimipcc.so.11 (0x36e30ba76000)
        libc.so.7 => /lib/libc.so.7 (0x36e308e00000)
        libmd.so.7 => /lib/libmd.so.7 (0x36e30c885000)
        libthr.so.3 => /lib/libthr.so.3 (0x36e30d741000)
        libsys.so.7 => /lib/libsys.so.7 (0x36e318150000)
Oct 4 2025, 10:45 PM
igoro requested review of D52910: mit-krb5.pc: Add missing -lkrb5profile.
Oct 4 2025, 10:32 PM

Sep 21 2025

igoro added a reviewer for D52642: kyua: Add "debug -x|--execute cmd" option: tests.
Sep 21 2025, 4:15 PM

Sep 20 2025

igoro added a reviewer for D52642: kyua: Add "debug -x|--execute cmd" option: markj.
Sep 20 2025, 3:52 PM
igoro added a comment to D52642: kyua: Add "debug -x|--execute cmd" option.

The prototype has the following logic currently:

Sep 20 2025, 3:52 PM
igoro updated the diff for D52642: kyua: Add "debug -x|--execute cmd" option.

Always attempt to use $SHELL

Sep 20 2025, 3:49 PM
igoro requested review of D52642: kyua: Add "debug -x|--execute cmd" option.
Sep 20 2025, 3:35 PM

Sep 6 2025

igoro updated the summary of D48087: kyua: Add "prepare" command.
Sep 6 2025, 12:35 AM

Sep 5 2025

igoro added a comment to D51136: kyua: Make "test" command actually report about workdir cleanup issues.

What was the behavior prior to this change?

It's turned out that kyua test catches issues with temporary dir/files cleanup but does not propagate it -- that's obvious from the code where test_result is not used actually. As a result, a test is marked as passed leaving garbage behind (tmp dirs/files), while by design and code comments it is expected to be broken instead.

Will this cause false positives with cleanup failures?

Sep 5 2025, 11:56 PM
igoro updated the diff for D48087: kyua: Add "prepare" command.

Rebase onto the latest kyua changes and rework from rr to prepare

Sep 5 2025, 11:49 PM

Aug 24 2025

igoro committed rG3eeeaf9cfbc1: pf tests: Improve assertion messaging of mbuf tests (authored by igoro).
pf tests: Improve assertion messaging of mbuf tests
Aug 24 2025, 7:49 PM
igoro closed D51716: pf tests: Improve assertion messaging of mbuf tests.
Aug 24 2025, 7:49 PM

Aug 16 2025

igoro committed rG939fec44a793: kyua: Improve required_kmods metadata (authored by igoro).
kyua: Improve required_kmods metadata
Aug 16 2025, 11:23 PM

Aug 3 2025

igoro added reviewers for D51716: pf tests: Improve assertion messaging of mbuf tests: kp, tests.
Aug 3 2025, 2:45 PM
igoro added a comment to D51716: pf tests: Improve assertion messaging of mbuf tests.

A minuscule improvement to get the following upon atf_check_equal failure:

Error Message:
1 != $(jexec alcatraz sysctl -n net.dummymbuf.hits) (1 != 2)

instead of this:

Error Message:
1 != 2 (1 != 2)
Aug 3 2025, 2:44 PM
igoro requested review of D51716: pf tests: Improve assertion messaging of mbuf tests.
Aug 3 2025, 2:38 PM

Aug 1 2025

igoro accepted D51680: kyua: Stop using readdir_r().

LGTM

Aug 1 2025, 10:56 PM

Jul 18 2025

igoro accepted D51408: pf tests: make mbuf:inet6_in_mbuf_len more robust.

Thank you very much for identifying the root cause. I've been monitoring the false positives on the CI since Oct-2024 -- 25 of them so far. And my TODO list is too deep.

Jul 18 2025, 1:45 PM

Jul 13 2025

igoro committed R11:5c085794be29: devel/git-extras: Update to 7.4.0 (authored by igoro).
devel/git-extras: Update to 7.4.0
Jul 13 2025, 10:49 AM

Jul 12 2025

igoro added a comment to D51136: kyua: Make "test" command actually report about workdir cleanup issues.

What was the behavior prior to this change?

Jul 12 2025, 5:42 PM

Jul 9 2025

igoro accepted D51229: kyua: Try harder to delete directories..

LGTM. And I had a successful testing on my side.

Jul 9 2025, 8:26 PM

Jul 2 2025

igoro added reviewers for D51136: kyua: Make "test" command actually report about workdir cleanup issues: ngie, tests.
Jul 2 2025, 9:56 PM
igoro requested review of D51136: kyua: Make "test" command actually report about workdir cleanup issues.
Jul 2 2025, 9:56 PM
igoro accepted D51034: atf: atf-check: stop using a sentinel to convey 'empty' status checks.

LGTM

Jul 2 2025, 4:31 PM
igoro added a comment to D51035: atf: libatf-c: widen our process status capabilities.

Please submit this upstream. We need to work through the porting issues with Linux/MacOS in order to land this to avoid having multiple different forks/mutations of this (ATF) code.

Jul 2 2025, 4:24 PM
igoro accepted D51035: atf: libatf-c: widen our process status capabilities.

LGTM

Jul 2 2025, 4:12 PM

Jun 8 2025

igoro accepted D50734: atf-c(3): fill in prototypes for functions.
Jun 8 2025, 11:34 AM

May 24 2025

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

May 23 2025

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

The combinatorics seems to be as follows:

May 23 2025, 9:08 PM

May 17 2025

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

May 11 2025

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

Improve the man page wording

May 11 2025, 4:56 PM