Page MenuHomeFreeBSD

ngie (Enji Cooper)
User

Projects (4)

User Details

User Since
Aug 2 2014, 8:08 AM (642 w, 6 d)

Recent Activity

Today

ngie updated the summary of D61462: net: traverse interface groups under the network epoch.
Sat, Nov 28, 1:40 AM · network
ngie accepted D62159: acpi_ibm: handle ThinkPad programmable star key.
Sat, Nov 28, 1:34 AM

Yesterday

ngie added a comment to D62141: tests/pfsync_upd_c: only import necessary scapy modules.

There are a lot of other tests that still use import scapy.all as sp. Should they move to this pattern as well?

Yes, I think we should move to a pattern of importing only what's necessary. I'll investigate that in subsequent patches, but for now, this patch will help fix the testcase in CI.

[commit description change]

I do not prefer commit messages with link that look like this: '[link text][link num]'. I am not writing commit messages for a particular git forge, and it all depends on the forge implementation. Neither Github nor Forgejo render these correctly, and it just looks ugly. See your commit here https://ron-dev.freebsd.org/FreeBSD/src/commit/a1e3c85b0684e1a1896fbf811a894a45e658ec83 and https://github.com/freebsd/freebsd-src/commit/a1e3c85b0684e1a1896fbf811a894a45e658ec83.

Furthermore, this is an accepted style when documenting long form text with lots of long URLs. Commit messages are not proper markdown or anything, so it should be fine to do it the way I originally did it.

I will revert the description changes to what I have in my local commit.

Fri, Nov 27, 6:49 PM
ngie accepted D62141: tests/pfsync_upd_c: only import necessary scapy modules.

There are a lot of other tests that still use import scapy.all as sp. Should they move to this pattern as well?

Fri, Nov 27, 4:26 PM
ngie updated the summary of D62141: tests/pfsync_upd_c: only import necessary scapy modules.
Fri, Nov 27, 4:23 PM
ngie committed rGf7c709b3d7e8: contrib/lutok: upgrade to 0.7.0.
Fri, Nov 27, 5:01 AM
ngie committed rGa1e3c85b0684: lutok: import lutok-0.7.0.
Fri, Nov 27, 4:47 AM
ngie added inline comments to D61625: nvme: do not submit Abort commands with the qpair lock held.
Fri, Nov 27, 1:12 AM

Thu, Nov 26

ngie abandoned D61898: contrib/atf: fix atf_tc_require_kmod.

@des: I looked at the latest CI run and your fix addressed the issue that was resulting in all of the failures: https://ci.freebsd.org/job/FreeBSD-main-amd64-test/lastCompletedBuild/testReport/ (only 1 failure was reported with the entire CI run).
Thank you for addressing the underlying problem - I really appreciate it.

Thu, Nov 26, 10:01 PM
ngie retitled D62034: lib/libc/tests/{nss,resolv}: Require `allow_network_access` from lib/libc/tests/{nss,resolv}: Require `allow_network_access` config to be set
Thu, Nov 26, 5:32 PM
ngie updated the summary of D62034: lib/libc/tests/{nss,resolv}: Require `allow_network_access`.
Thu, Nov 26, 5:31 PM
ngie retitled D62034: lib/libc/tests/{nss,resolv}: Require `allow_network_access` from lib/libc/tests/nss: Require `allow_network_access` config to be set to lib/libc/tests/{nss,resolv}: Require `allow_network_access` config to be set.
Thu, Nov 26, 5:30 PM

Wed, Nov 25

ngie committed rG87fac2e0c073: contrib/atf: upgrade to 0.26.1.
Wed, Nov 25, 9:19 PM
ngie committed rGbd8d548676ba: atf: import atf-0.26.1.
Wed, Nov 25, 9:09 PM
ngie added a comment to D62034: lib/libc/tests/{nss,resolv}: Require `allow_network_access`.

https://ci.freebsd.org/job/FreeBSD-main-amd64-test/30029/testReport/lib.libc.nss/ the tests already pass though, why are we trying to skip them in the CI environments that don't have allow_network_access set? They also pass when I test locally, without this patch.

Wed, Nov 25, 8:41 PM
ngie committed rG8b1d5cbcbeab: usr.bin/lockf/tests: Add require.progs="kdump".
Wed, Nov 25, 4:14 PM
ngie updated the summary of D62041: usr.bin/lockf/tests: Add require.progs="kdump".
Wed, Nov 25, 8:01 AM
ngie updated the test plan for D62041: usr.bin/lockf/tests: Add require.progs="kdump".
Wed, Nov 25, 8:01 AM
ngie requested review of D62041: usr.bin/lockf/tests: Add require.progs="kdump".
Wed, Nov 25, 8:00 AM
ngie updated the diff for D62034: lib/libc/tests/{nss,resolv}: Require `allow_network_access`.

Add require_network_access requirement to resolv_test as well

Wed, Nov 25, 6:39 AM
ngie added a reviewer for D62034: lib/libc/tests/{nss,resolv}: Require `allow_network_access`: siva.
Wed, Nov 25, 6:19 AM
ngie requested review of D62034: lib/libc/tests/{nss,resolv}: Require `allow_network_access`.
Wed, Nov 25, 6:18 AM
ngie added inline comments to D62023: nullfs: Allow a file or socket to be mounted again.
Wed, Nov 25, 3:22 AM
ngie added a comment to D62023: nullfs: Allow a file or socket to be mounted again.

Is this related to the iocage issue? If so, based on the description, it feels like unionfs might be best suited to the task that they're trying to achieve instead of having a R/W nullfs mount mounted over a R/O mount.

Wed, Nov 25, 3:21 AM
ngie updated subscribers of D62024: nullfs: Add an ephemeral name for a missing file.

I'm not really clued in to VFS/VOP stuff as much right now, so it'd take me a while to get up to speed on things. Maybe @bdrewery, @kib, @markj, or @mckusick could help?

Wed, Nov 25, 3:18 AM

Tue, Nov 24

ngie abandoned D60907: lib/libexecinfo/sigtramp_test: expect failure on all architectures.

Agreed!

Tue, Nov 24, 6:44 PM
ngie updated the summary of D61898: contrib/atf: fix atf_tc_require_kmod.
Tue, Nov 24, 7:04 AM
ngie updated the diff for D61898: contrib/atf: fix atf_tc_require_kmod.

Handle the filename case more gracefully using kldfind(2) in addition to
modfind(2).

Tue, Nov 24, 7:00 AM
ngie added a comment to D61898: contrib/atf: fix atf_tc_require_kmod.

@des: If I'm understanding your concerns correctly, adding kldfind(..) as a backup after modfind(..) would probably be good enough for covering the case where someone passed in a filename:

% ~/mod_loaded netlink 2>/dev/null     
Is `netlink` loaded?
Old method: yes
modfind method: yes
kldfind method: no
% ~/mod_loaded epair.ko 2>/dev/null
Is `epair.ko` loaded?
Old method: no
modfind method: no
kldfind method: yes
% ~/mod_loaded if_epair.ko 2>/dev/null
Is `if_epair.ko` loaded?
Old method: no
modfind method: no
kldfind method: no
% ~/mod_loaded if_epair 2>/dev/null 
Is `if_epair` loaded?
Old method: no
modfind method: yes
kldfind method: no

(The output above is from a slightly modified version of the original program)

Tue, Nov 24, 6:52 AM
ngie committed rG49e8ec6ea7ca: secure: Add ssh-sk-client to all consumers of libssh (authored by jhb).
Tue, Nov 24, 12:34 AM
ngie committed rGf3d13e071740: tarfs: tests: Increase timeout (again) (authored by jlduran).
Tue, Nov 24, 12:25 AM
ngie committed rG8976206bfb10: tarfs: tests: Increase timeout (again 2) (authored by jlduran).
Tue, Nov 24, 12:25 AM
ngie committed rGb308cbd55841: pf tests: give rules_counter:4G more time (authored by kp).
Tue, Nov 24, 12:25 AM
ngie committed rGb596b02a98d7: tests: Increase timeout (authored by jlduran).
Tue, Nov 24, 12:25 AM
ngie committed rGec5fcc711384: makefs: tests: Double the timeout of ZFS compression test (authored by jlduran).
Tue, Nov 24, 12:22 AM
ngie committed rG95f994ed7bb0: makefs: tests: Double the timeout of ZFS file_extend test (authored by jlduran).
Tue, Nov 24, 12:22 AM

Mon, Nov 23

ngie committed rGa1c255f69aaf: crypto/openssl: sync manpages with current release.
Mon, Nov 23, 10:28 PM
ngie committed rGcb354d6a5a75: crypto/openssl: correct messages printed out when copying manpages.
Mon, Nov 23, 10:28 PM
ngie committed rG905120141436: fusefs tests: Use memcpy to work around a -Wstrlcpy-strlcast-size warning (authored by jhb).
Mon, Nov 23, 10:08 PM
ngie updated the summary of D61898: contrib/atf: fix atf_tc_require_kmod.
Mon, Nov 23, 9:41 PM
ngie added a comment to D61898: contrib/atf: fix atf_tc_require_kmod.
In D61898#1419428, @des wrote:
  1. The commit message is incorrect; the existing code works just fine with if_epair.

Have you looked at the CI runs? The code in ATF is broken today as mentioned by @siva .

Also.. here's the exact ATF code as exists in the repo (https://reviews.freebsd.org/P726), which is clearly broken:

% cc -o ~/mod_loaded -Wall -W mod_loaded.c
% ~/mod_loaded if_epair.ko 2>&1 | tail -n 1
mod_loaded: if_epair.ko not loaded
% ~/mod_loaded if_epair 2>&1 | tail -n 1 
mod_loaded: if_epair not loaded

The problem is that the code implemented in ATF only works for resolving symbols linked in to the kernel, but it doesn't iterate through the remainder of the kernel symbols like other utilities, such as kldstat(8), do (AFAICT, this is where the original logic came from).

  1. Using modfind(2) may result in false negatives for modules whose file name does not match the module name, since the current code matches either while modfind(2) will only match the latter.

The original code may have covered this case properly, but it probably also needs augmenting for the scenario I noted above. I'll try demoing the scenario you're mentioning.

Mon, Nov 23, 9:30 PM
ngie created P727 Command-Line Input.
Mon, Nov 23, 9:27 PM
ngie updated the summary of D61898: contrib/atf: fix atf_tc_require_kmod.
Mon, Nov 23, 9:01 PM
ngie added a comment to D61898: contrib/atf: fix atf_tc_require_kmod.

I'm a little surprised that the answer isn't reverting f992c0819019c and doing the appropriate Q/A to make sure we're not going to find more deficiencies after. Are we certain this is the only fallout?

Mon, Nov 23, 8:57 PM
ngie added a comment to D61898: contrib/atf: fix atf_tc_require_kmod.
In D61898#1419428, @des wrote:
  1. The commit message is incorrect; the existing code works just fine with if_epair.
Mon, Nov 23, 6:54 PM
ngie created P726 Command-Line Input.
Mon, Nov 23, 6:54 PM
ngie committed rG806d881109aa: atf-sh: fix comment typo (authored by igoro).
Mon, Nov 23, 6:20 AM
ngie committed rG70a30af2e0f2: contrib/kyua: update config.h for 0.15.1 -> 0.15.2.
Mon, Nov 23, 5:59 AM
ngie committed rG62664f2f0940: contrib/kyua: update to 0.15.2.
Mon, Nov 23, 5:58 AM
ngie committed rGe39fcd57b839: tests/sys/capsicum: Fix -Wshadow issue with `fd_set`.
Mon, Nov 23, 5:58 AM
ngie committed rGf8dc8330cf0c: capsicum-test: Disable `HAVE_SEND_RECV_MMSG` again.
Mon, Nov 23, 5:58 AM
ngie committed rG90bdd1e79a98: capsicum-test: make the code WARNS=6 clean.
Mon, Nov 23, 5:58 AM
ngie committed rG2ca11a16475a: tests/sys/capsicum: restore test coverage with root user.
Mon, Nov 23, 5:58 AM
ngie committed rG906dced78237: GoogleTest: run several tests as plain C++ tests.
Mon, Nov 23, 5:58 AM
ngie committed rG0fb56a7b2991: [tests] switch GoogleTest tests to `googletest` interface.
Mon, Nov 23, 5:58 AM
ngie committed rGda8acc240c75: contrib/kyua: update to 0.15.1.
Mon, Nov 23, 5:57 AM
ngie committed rGa84a3e2bc368: capsicum-tests: remove Linux support (authored by asomers).
Mon, Nov 23, 5:50 AM
ngie committed rG5e5687aac4e0: src: Use gnu++17 as the default C++ standard (authored by jhb).
Mon, Nov 23, 5:50 AM
ngie committed rG78dba31e477c: tests: sys/capsicum/functional requires mqueuefs (authored by asomers).
Mon, Nov 23, 5:50 AM
ngie committed rG952a75f511d5: MAINTAINERS, CODEOWNERS: Update capsicum-test (authored by emaste).
Mon, Nov 23, 5:50 AM
ngie committed rG01d8317dda8c: capsicum-test: Move out of contrib (authored by emaste).
Mon, Nov 23, 5:50 AM
Herald added a reviewer for D49223: src: Use gnu++17 as the default C++ standard: ali_mashtizadeh.com.
Mon, Nov 23, 5:50 AM
ngie committed rG5f1cc74b81c7: CODEOWNERS: Add myself to capsicum-test (authored by emaste).
Mon, Nov 23, 5:49 AM
ngie committed rGa8d121f489b8: Don't some prune empty dirs created by BSD.tests.dist.
Mon, Nov 23, 2:08 AM
ngie committed rGbd794b9b77ec: Remove CDDL and ctfconvert tests when their controlling knobs are disabled.
Mon, Nov 23, 2:08 AM
ngie committed rGa1c9248d20bb: Remove Dtrace/ZFS tests if their knobs are disabled.
Mon, Nov 23, 2:08 AM
ngie committed rGa0e5c02ffebe: Remove CDDL and ctfconvert tests when their controlling knobs are disabled.
Mon, Nov 23, 2:08 AM
ngie committed rG6109c35c328c: Don't some prune empty dirs created by BSD.tests.dist.
Mon, Nov 23, 2:08 AM
ngie committed rG3926aba7c6cd: Remove Dtrace/ZFS tests if their knobs are disabled.
Mon, Nov 23, 2:08 AM
ngie committed rG3c87cbb74994: net/ieee_oui.h: clarify how `OUI_FREEBSD_BASE` is managed.
Mon, Nov 23, 2:06 AM
ngie committed rG25b8f5350bcc: net/ieee_oui.h: clarify how `OUI_FREEBSD_BASE` is managed.
Mon, Nov 23, 2:05 AM
ngie committed rG755406d1679d: usr.bin/diff/tests/diff_test: add SPDX ID.
Mon, Nov 23, 2:05 AM
ngie committed rG55da3d8b5254: usr.bin/diff/tests/diff_test: add SPDX ID.
Mon, Nov 23, 2:05 AM
ngie committed rG246b08ec16f7: libsys/ppoll.2: fix .Dd modification to manpage.
Mon, Nov 23, 2:02 AM
ngie committed rG64a648b8ecd8: libsys/poll.2: bump .Dd for the prior change.
Mon, Nov 23, 2:02 AM
ngie committed rG2a25b514f1c6: poll.2: document that poll is not restarted after signals (authored by _ov4 <ov4@ov4.org>).
Mon, Nov 23, 2:02 AM
ngie committed rG005e2e59079c: capsicum: add tests for copy_file_range (authored by oshogbo).
Mon, Nov 23, 1:58 AM
ngie committed rGc92c1d38ecd6: kyua: Fixes after vendor merge (authored by igoro).
Mon, Nov 23, 1:41 AM
ngie committed rGf46766b0190c: atf, lutok, kyua: compile with CXXSTD=gnu++20.
Mon, Nov 23, 1:41 AM
ngie committed rG62b649e7dca2: contrib/kyua: commit generated files.
Mon, Nov 23, 1:41 AM
ngie committed rGc0e03beeee8c: contrib/kyua: fix -Wshadow error (authored by siva).
Mon, Nov 23, 1:41 AM
ngie committed rG540eaf68d99e: contrib/kyua: commit Makefile changes for version update.
Mon, Nov 23, 1:41 AM
ngie committed rGf203a6264f00: kyua: Add "prepare" command (authored by igoro).
Mon, Nov 23, 1:41 AM
ngie committed rG1c503e031aa7: contrib/kyua: update to 0.15.0.
Mon, Nov 23, 1:41 AM
ngie committed rGdb951ba365a4: kyua-debug: Add -P option (authored by des).
Mon, Nov 23, 1:41 AM
ngie committed rGfb62ef32e6ca: kyua: Add "debug -x|--execute cmd" option (authored by igoro).
Mon, Nov 23, 1:41 AM
ngie committed rG5ffb27477ba0: kyua: Make "debug -p" skip writing stdout/stderr to tmp files (authored by igoro).
Mon, Nov 23, 1:40 AM
ngie committed rG5a6495835e45: kyua: Fix prompt of "debug -p" command (authored by igoro).
Mon, Nov 23, 1:40 AM
ngie committed rGda0015f4e55b: kyua: Make "test" command actually report about workdir cleanup issues (authored by igoro).
Mon, Nov 23, 1:40 AM
ngie committed rG1d9dc50bf98c: kyua: Add "kyua debug -p" option (authored by igoro).
Mon, Nov 23, 1:39 AM
ngie committed rG652eb5e0ba14: contrib/kyua: Merge vendor import (authored by bofh).
Mon, Nov 23, 1:32 AM
Herald added a reviewer for D43475: contrib/kyua: Merge vendor import: ngie.
Mon, Nov 23, 1:32 AM · tests
ngie committed rGcf6c2bf648a1: kyua: Make "test" command actually report about workdir cleanup issues (authored by igoro).
Mon, Nov 23, 1:21 AM
ngie committed rG281f1610f178: contrib/kyua: fix -Wshadow error (authored by siva).
Mon, Nov 23, 1:21 AM
ngie committed rGd0322012f076: kyua: Add "prepare" command (authored by igoro).
Mon, Nov 23, 1:21 AM
ngie committed rG7687d4ca4600: atf, lutok, kyua: compile with CXXSTD=gnu++20.
Mon, Nov 23, 1:21 AM
ngie committed rG6c5fc2ba4239: contrib/kyua: update config.h for 0.15.1 -> 0.15.2.
Mon, Nov 23, 1:21 AM
ngie committed rG77c26601e625: contrib/kyua: update to 0.15.2.
Mon, Nov 23, 1:20 AM
ngie committed rG22ba656e3a8a: kyua: Fixes after vendor merge (authored by igoro).
Mon, Nov 23, 1:20 AM
ngie committed rG349720311347: tests/sys/capsicum: Fix -Wshadow issue with `fd_set`.
Mon, Nov 23, 1:20 AM