History log of /freebsd-current/cddl/usr.sbin/dtrace/tests/tools/exclude.sh
Revision Date Author Comments
# d0b2dbfa 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line sh pattern

Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/


# 0088bc44 23-Mar-2022 Li-Wen Hsu <lwhsu@FreeBSD.org>

DTrace test: skip flakey common.misc.t_dtrace_contrib.tst_dynopt_d in CI

PR: 237641
Sponsored by: The FreeBSD Foundation


# e62aee66 23-Mar-2022 Li-Wen Hsu <lwhsu@FreeBSD.org>

DTrace test: Add a new keyword SKIPCI to gentest.sh

This is for marking a test case is flakey and should not be executed in
the CI environment.

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34635


# d2d16e56 20-Aug-2020 Mark Johnston <markj@FreeBSD.org>

Enable creation of static userspace probes in incremental builds.

To define USDT probes, dtrace -G makes use of relocations for undefined
symbols: the target address is overwritten with NOPs and the location is
recorded in the DOF section of the output object file. To avoid link
errors, the original relocation is destroyed. However, this means that
the same input object file cannot be processed multiple times, as
happens during incremental rebuilds. Instead, only set the relocation
type to NONE, so that all information required to reconstruct USDT
probes is preserved.

Reported by: bdrewery
MFC after: 3 weeks
Sponsored by: The FreeBSD Foundation


# b155807e 29-Apr-2020 Bryan Drewery <bdrewery@FreeBSD.org>

dtrace tests: Support globbing for excludes

Downstream this makes skipping tests like common/ip/tst.*sctp*.ksh simpler.

Reviewed by: vangyzen, cem, markj
Sponsored by: Dell EMC
Differential Revision: https://reviews.freebsd.org/D24608


# 1e88cc8b 22-Aug-2018 Michael Tuexen <tuexen@FreeBSD.org>

Add support for send, receive and state-change DTrace providers for
SCTP. They are based on what is specified in the Solaris DTrace manual
for Solaris 11.4.

Reviewed by: 0mp, dteske, markj
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D16839


# 7bda9663 31-Jul-2018 Michael Tuexen <tuexen@FreeBSD.org>

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 UDP
provider.
Thanks to dteske@ for providing the dwatch module.

Reviewed by: dteske@, markj@, rrs@
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D16377


# 53e09111 22-Jul-2018 Michael Tuexen <tuexen@FreeBSD.org>

Improve TCP related tests for dtrace.

Ensure that the TCP connections are terminated gracefully as expected
by the test. Use appropriate numbers for sent/received packets.
In addition, enable tst.localtcpstate.ksh, which should pass, but
doesn't until https://reviews.freebsd.org/D16369 is committed.

Reviewed by: markj@
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D16288


# dc9f20b3 15-Jul-2018 Michael Tuexen <tuexen@FreeBSD.org>

Fix the UDP tests for dtrace.

The code imported from opensolaris was depending on ping supporting
UDP for sending probes. Since this is not supported by ping on FreeBSD
use a perl script instead.
The remote test requires the usage of ksh93, so state that in the
sheband.
Enable the local test, but keep the remote test disabled, since it
requires a remote machine on the LAN.

Reviewed by: markj@, gnn@
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D16268


# d678ce4b 14-Jan-2018 Mark Johnston <markj@FreeBSD.org>

Remove tst.zonename.d from the list of expected failures.

X-MFC with: r327888


# 7c370190 15-Dec-2017 Mark Johnston <markj@FreeBSD.org>

Mark uctf/err.user64mode.ksh as EXFAIL for now.

MFC after: 1 week


# 483f7100 22-Nov-2017 Mark Johnston <markj@FreeBSD.org>

Annotate pragma/err.invalidlibdep.ksh as EXFAIL.

The test creates a D library with a "depends_on library" pragma
referencing a non-existent library, and expects compilation to fail.
However, as far as I can tell, libdtrace is supposed simply abort
compilation of the library in this case, and continue. This behaviour
is desirable when adding libraries which depend on optional KLDs, for
example.

MFC after: 1 week


# 7c72b109 21-Nov-2017 Mark Johnston <markj@FreeBSD.org>

Annotate usdt/tst.eliminate.ksh as EXFAIL.

It appears to depend on some behaviour specific to the Sun link editor.

MFC after: 1 week


# 9ebaf5f8 18-May-2017 Mark Johnston <markj@FreeBSD.org>

Remove the EXFAIL annotation for tests which pass as of r309596.

Reported by: bdrewery
Sponsored by: Dell EMC Isilon


# 90556839 14-Dec-2016 Mark Johnston <markj@FreeBSD.org>

Skip a ustack test that triggers an assertion on INVARIANTS kernels.

Reported by: ngie
Sponsored by: Dell EMC Isilon
X-MFC-With: r309698


# d78e7e3b 08-Dec-2016 Mark Johnston <markj@FreeBSD.org>

err.D_PROC_CREATEFAIL.many.d passes, so remove the EFAIL annotation.

MFC after: 1 week
Sponsored by: Dell EMC Isilon


# 31768cc1 16-Oct-2016 Mark Johnston <markj@FreeBSD.org>

tst.kpriv.ksh fails because DTrace privilege levels are unimplemented.

MFC after: 1 week


# ed12504a 15-Aug-2016 Mark Johnston <markj@FreeBSD.org>

dtraceUtil/tst.DataModel32.d.ksh passes on amd64.


# 6bd8f7ee 17-May-2015 Mark Johnston <markj@FreeBSD.org>

Fix a typo that snuck in with r283024, and remove the EXFAIL annotation from
a test which now passes as a result of that change.


# 4ddbe5ac 28-Feb-2015 Mark Johnston <markj@FreeBSD.org>

Add infrastructure to integrate the DTrace test suite with Kyua.

For each test category, we generate a script containing ATF test cases for
the tests under that category. Each test case simply runs dtest.pl (the
upstream test harness) with the corresponding test files. The exclude.sh
script is used to record info about tests which should be skipped or are
expected to fail; it is used to generate atf_skip and atf_expect_fail calls.
The genmakefiles.sh script can be used to regenerate the test makefiles when
new tests are brought it from upstream.

The test suite is currently not connected to the build as there is a small
number of lingering test issues which still need to be worked out. In the
meantime however, the test suite can be easily built and installed
manually from cddl/usr.sbin/dtrace/tests.

Reviewed by: ngie
Sponsored by: EMC / Isilon Storage Division