ggate tests: Use unique ports among testsThis helps avoid failures when running tests in parallel.MFC after: 1 week
Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
gnop tests: SerializeSome of these tests make use of test disk devices, but then they can'trun in parallel.MFC after: 2 weeks
virstor: basic functional testReviewed by: asomers, markjSponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D45535
geli: allocate a UMA pool earlierThe functions g_eli_init_uma and g_eli_fini_uma are used to tracethe number of devices in GELI. There is an issue where the g_eli_createfunction may fail before g
geli: allocate a UMA pool earlierThe functions g_eli_init_uma and g_eli_fini_uma are used to tracethe number of devices in GELI. There is an issue where the g_eli_createfunction may fail before g_eli_init_uma is called, howeverg_eli_fini_uma is still executed in the fail path. This canincorrectly decrease the device count to zero, potentially leading tothe UMA pool being freed. Accessing the device after the pool has beenfreed causes a system panic.This commit resolves the issue by ensuring devices count is increassedeariler.PR: 278828Reported by: Andre Albsmeier <mail@fbsd2.e4m.org>Reviewed by: asomersMFC after: 3 daysDifferential Revision: https://reviews.freebsd.org/D45225
show more ...
tests: don't run atf_* in a subshellShell limitation is that a classic function call via $() is a subshelland atf-sh(3) commands won't work as epxected there. Subsequently,atf_skip inside a func
tests: don't run atf_* in a subshellShell limitation is that a classic function call via $() is a subshelland atf-sh(3) commands won't work as epxected there. Subsequently,atf_skip inside a function won't skip a test. The test will fail later.A working approach is to pass desired variable name as argument toa function and don't run subshell.Reviewed by: ngieDifferential Revision: https://reviews.freebsd.org/D42646Fixes: ea82362219ee715cfbb195b2114e73fdc8599fa5
Add tests for gunion(8)Reviewed by: mckusick (earlier version)MFC after: 3 daysSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D41645
geli tests: Use shorter passphrases in setkey_passphraseThere is an undocumented limit on the length of a GELI passphrase, andthe test exceeded that. Most of the time it worked because a nulterm
geli tests: Use shorter passphrases in setkey_passphraseThere is an undocumented limit on the length of a GELI passphrase, andthe test exceeded that. Most of the time it worked because a nulterminator would appear early enough in the string.Reported by: JenkinsFixes: 2b7b09ac9675 ("geli tests: Add a regression test for geli setkey -J")
tests: Skip all tests that require mdconfig when /dev/mdctl missingWhen run in a jail, /dev/mdctl is missing. So skip any tests that usemdconfig or mdmfs with md in this case: they can't possibly
tests: Skip all tests that require mdconfig when /dev/mdctl missingWhen run in a jail, /dev/mdctl is missing. So skip any tests that usemdconfig or mdmfs with md in this case: they can't possibly work. Thisis in line with other tests that test for presence of required featuresand skip if they aren't present. I did this instead of checking forjails so they can still run in jails that allow creation of md devices.Sponsored by: Netflix
geli tests: Add a regression test for geli setkey -JMake sure that it can be used to change the passphrase of both attachedand detached providers.PR: 254966MFC after: 1 weekSponsored by: The
geli tests: Add a regression test for geli setkey -JMake sure that it can be used to change the passphrase of both attachedand detached providers.PR: 254966MFC after: 1 weekSponsored by: The FreeBSD Foundation
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c comment patternRemove /^/[*/]\s*\$FreeBSD\$.*\n/
Remove $FreeBSD$: one-line .h patternRemove /^\s*\*+\s*\$FreeBSD\$.*$\n/
ggate tests: Serialize
gmirror tests: Serialize
geli tests: Add a regression test for PR 271766This test case catches both of the bugs reported there.PR: 271766Reviewed by: impMFC after: 1 weekSponsored by: The FreeBSD FoundationDifferent
geli tests: Add a regression test for PR 271766This test case catches both of the bugs reported there.PR: 271766Reviewed by: impMFC after: 1 weekSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D40469
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
Skip sys.geom.class.multipath.failloop.failloop if dtrace fails to runThis test case depends on dtrace and sometimes gets affected if dtracehas issues. Make it report skipped instead of failure w
Skip sys.geom.class.multipath.failloop.failloop if dtrace fails to runThis test case depends on dtrace and sometimes gets affected if dtracehas issues. Make it report skipped instead of failure when dtrace failsto run.Sponsored by: The FreeBSD Foundation
gmultipath tests: Re-enable the failloop test in CISponsored by: The FreeBSD Foundation
Temporarily skip sys.geom.class.multipath.failloop.failloop in CIThis test case uses `dtrace -c` but it has some issues at the moment sodisable it until dtrace fixed.From markj:This is the CTF
Temporarily skip sys.geom.class.multipath.failloop.failloop in CIThis test case uses `dtrace -c` but it has some issues at the moment sodisable it until dtrace fixed.From markj:This is the CTF type ID limit which has come up quite a few timeslately. It'll be fixed with the introduction of CTFv3.PR: 258763Sponsored by: The FreeBSD Foundation
gmultipath tests: Re-enable the failloop test in CIPR: 258763MFC after: 2 weeksSponsored by: The FreeBSD Foundation
gmultipath failloop test: Put the dtrace sanity checker in right placeCheck if dtrace excution is successful or not right after execution.Sponsored by: The FreeBSD Foundation
Fix typoReported by: swillsSponsored by: The FreeBSD Foundation
Temporarily skip sys.geom.class.multipath.failloop.failloop in CIThis test case uses `dtrace -c` but it has some issues at the momentWhile here, add a checker for dtrace executes successfully or
Temporarily skip sys.geom.class.multipath.failloop.failloop in CIThis test case uses `dtrace -c` but it has some issues at the momentWhile here, add a checker for dtrace executes successfully or not to providea more informative error message.PR: 258763Sponsored by: The FreeBSD Foundation
Add a regression test for ggatec remote code executionTests that ggatec appropriately handles unsupported BIO operations,rather than overflowing a buffer.Submitted by: Johannes Bruelltuete <joha
Add a regression test for ggatec remote code executionTests that ggatec appropriately handles unsupported BIO operations,rather than overflowing a buffer.Submitted by: Johannes Bruelltuete <johannes@jo-t.de>PR: 213479Reviewed by: asomersDifferential Revision: https://reviews.freebsd.org/D31318
12345