dtrace tests: Fix loading of the test kernel moduleThe old way is racy and can cause two instances, running in parallel, toattempt to load dtrace_test, and only one will succeed. This causederro
dtrace tests: Fix loading of the test kernel moduleThe old way is racy and can cause two instances, running in parallel, toattempt to load dtrace_test, and only one will succeed. This causederrors when running dtrace tests in parallel.MFC after: 1 week(cherry picked from commit cb6b5e8ab9cfe3938855826fa3de0f58dacd364e)
show more ...
dtrace tests: Diff expected and actual output upon a miscompareThis makes quick diagnosis of test failures easier.MFC after: 1 week(cherry picked from commit a61d2c7fbd3c87126db93dfe83b9f96fea3
dtrace tests: Diff expected and actual output upon a miscompareThis makes quick diagnosis of test failures easier.MFC after: 1 week(cherry picked from commit a61d2c7fbd3c87126db93dfe83b9f96fea3156f8)
dtrace tests: Run ksh with -pIn particular, avoid loading the user's .profile file, since that canhave undesirable side effects. Most tests were already careful to dothis.MFC after: 1 week(c
dtrace tests: Run ksh with -pIn particular, avoid loading the user's .profile file, since that canhave undesirable side effects. Most tests were already careful to dothis.MFC after: 1 week(cherry picked from commit e25922b34ed2b7b4bf0ae4de2f7ec82b04153384)
dtrace: Remove $FreeBSD$ from genmakefiles.sh.$FreeBSD$ is gone in head, so this should be removed as well.Reviewed by: impDifferential Revision: https://reviews.freebsd.org/D41595(cherry pick
dtrace: Remove $FreeBSD$ from genmakefiles.sh.$FreeBSD$ is gone in head, so this should be removed as well.Reviewed by: impDifferential Revision: https://reviews.freebsd.org/D41595(cherry picked from commit 7a3af0a59b56078e88b8009824fdd99e8df3f625)Approved by: re (cperciva@)
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
DTrace test: skip flakey common.misc.t_dtrace_contrib.tst_dynopt_d in CIPR: 237641Sponsored by: The FreeBSD Foundation
DTrace test: Add a new keyword SKIPCI to gentest.shThis is for marking a test case is flakey and should not be executed inthe CI environment.Reviewed by: markjSponsored by: The FreeBSD Foundati
DTrace test: Add a new keyword SKIPCI to gentest.shThis is for marking a test case is flakey and should not be executed inthe CI environment.Reviewed by: markjSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D34635
Enable creation of static userspace probes in incremental builds.To define USDT probes, dtrace -G makes use of relocations for undefinedsymbols: the target address is overwritten with NOPs and the
Enable creation of static userspace probes in incremental builds.To define USDT probes, dtrace -G makes use of relocations for undefinedsymbols: the target address is overwritten with NOPs and the location isrecorded in the DOF section of the output object file. To avoid linkerrors, the original relocation is destroyed. However, this means thatthe same input object file cannot be processed multiple times, ashappens during incremental rebuilds. Instead, only set the relocationtype to NONE, so that all information required to reconstruct USDTprobes is preserved.Reported by: bdreweryMFC after: 3 weeksSponsored by: The FreeBSD Foundation
dtrace tests: Support globbing for excludesDownstream this makes skipping tests like common/ip/tst.*sctp*.ksh simpler.Reviewed by: vangyzen, cem, markjSponsored by: Dell EMCDifferential Revisio
dtrace tests: Support globbing for excludesDownstream this makes skipping tests like common/ip/tst.*sctp*.ksh simpler.Reviewed by: vangyzen, cem, markjSponsored by: Dell EMCDifferential Revision: https://reviews.freebsd.org/D24608
DTrace: create an amd64 test suitCreate two tests checking if we can read urgs registers and if therax register returns a correct number.Reviewed by: markjDiscussed with: lwhsuMFC after: 2 wee
DTrace: create an amd64 test suitCreate two tests checking if we can read urgs registers and if therax register returns a correct number.Reviewed by: markjDiscussed with: lwhsuMFC after: 2 weeksDifferential Revision: https://reviews.freebsd.org/D20364
Make it possible to generate makefiles for arch-dependent DTrace tests.MFC after: 1 weekEvent: Waterloo Hackathon 2019
Add support for send, receive and state-change DTrace providers forSCTP. They are based on what is specified in the Solaris DTrace manualfor Solaris 11.4.Reviewed by: 0mp, dteske, markjRelnotes
Add support for send, receive and state-change DTrace providers forSCTP. They are based on what is specified in the Solaris DTrace manualfor Solaris 11.4.Reviewed by: 0mp, dteske, markjRelnotes: yesDifferential Revision: https://reviews.freebsd.org/D16839
Add a dtrace provider for UDP-Lite.The dtrace provider for UDP-Lite is modeled after the UDP provider.This fixes the bug that UDP-Lite packets were triggering the UDPprovider.Thanks to dteske@ f
Add a dtrace provider for UDP-Lite.The dtrace provider for UDP-Lite is modeled after the UDP provider.This fixes the bug that UDP-Lite packets were triggering the UDPprovider.Thanks to dteske@ for providing the dwatch module.Reviewed by: dteske@, markj@, rrs@Relnotes: yesDifferential Revision: https://reviews.freebsd.org/D16377
Improve TCP related tests for dtrace.Ensure that the TCP connections are terminated gracefully as expectedby the test. Use appropriate numbers for sent/received packets.In addition, enable tst.lo
Improve TCP related tests for dtrace.Ensure that the TCP connections are terminated gracefully as expectedby the test. Use appropriate numbers for sent/received packets.In addition, enable tst.localtcpstate.ksh, which should pass, butdoesn't until https://reviews.freebsd.org/D16369 is committed.Reviewed by: markj@Sponsored by: Netflix, Inc.Differential Revision: https://reviews.freebsd.org/D16288
Fix the UDP tests for dtrace.The code imported from opensolaris was depending on ping supportingUDP for sending probes. Since this is not supported by ping on FreeBSDuse a perl script instead.Th
Fix the UDP tests for dtrace.The code imported from opensolaris was depending on ping supportingUDP for sending probes. Since this is not supported by ping on FreeBSDuse a perl script instead.The remote test requires the usage of ksh93, so state that in thesheband.Enable the local test, but keep the remote test disabled, since itrequires a remote machine on the LAN.Reviewed by: markj@, gnn@Sponsored by: Netflix, Inc.Differential Revision: https://reviews.freebsd.org/D16268
Remove tst.zonename.d from the list of expected failures.X-MFC with: r327888
Mark uctf/err.user64mode.ksh as EXFAIL for now.MFC after: 1 week
Revert r326181 for now.We can't link an executable using -m32 until the lib32 phase of abuildworld, though the build works fine when executing make fromcddl/usr.sbin/dtrace/tests. Some other solu
Revert r326181 for now.We can't link an executable using -m32 until the lib32 phase of abuildworld, though the build works fine when executing make fromcddl/usr.sbin/dtrace/tests. Some other solution will need to be found.
Compile one of the uctf test programs with -m32.The err.user64mode.ksh test expects it to run as a 32-bit process.MFC after: 1 week
Annotate pragma/err.invalidlibdep.ksh as EXFAIL.The test creates a D library with a "depends_on library" pragmareferencing a non-existent library, and expects compilation to fail.However, as far
Annotate pragma/err.invalidlibdep.ksh as EXFAIL.The test creates a D library with a "depends_on library" pragmareferencing a non-existent library, and expects compilation to fail.However, as far as I can tell, libdtrace is supposed simply abortcompilation of the library in this case, and continue. This behaviouris desirable when adding libraries which depend on optional KLDs, forexample.MFC after: 1 week
Annotate usdt/tst.eliminate.ksh as EXFAIL.It appears to depend on some behaviour specific to the Sun link editor.MFC after: 1 week
The test case common.funcs.t_dtrace_contrib.tst_basename_d generates averifying script which needs being run to complete the test.While here, add missing shebang.Reviewed by: gnn, markj, ngieDi
The test case common.funcs.t_dtrace_contrib.tst_basename_d generates averifying script which needs being run to complete the test.While here, add missing shebang.Reviewed by: gnn, markj, ngieDifferential Revision: https://reviews.freebsd.org/D11716
Override the locale so that file lists get a consistent sort order.Reported by: avgMFC after: 1 week
Remove the EXFAIL annotation for tests which pass as of r309596.Reported by: bdrewerySponsored by: Dell EMC Isilon
Skip a ustack test that triggers an assertion on INVARIANTS kernels.Reported by: ngieSponsored by: Dell EMC IsilonX-MFC-With: r309698
12