xref: /freebsd/cddl/usr.sbin/dtrace/tests/tools/exclude.sh (revision 7c3701904ac97737bfbd867c82b227b421865954)
14ddbe5acSMark Johnston# $FreeBSD$
24ddbe5acSMark Johnston
34ddbe5acSMark Johnston# This file lists DTrace tests which are known to fail or hang/crash the
44ddbe5acSMark Johnston# system. They were pulled from the legacy DTrace test infrastructure in
54ddbe5acSMark Johnston# tools/tests/dtrace and may be out of date.
64ddbe5acSMark Johnston#
74ddbe5acSMark Johnston# Tests are listed here generally because one or more of the following is true:
84ddbe5acSMark Johnston#
94ddbe5acSMark Johnston# 1) The test is broken (usually because it assumes it's running on Solaris and
104ddbe5acSMark Johnston#    the test encodes some sort of Solarisism).
114ddbe5acSMark Johnston# 2) The functionality being tested is buggy (often but not always the result
124ddbe5acSMark Johnston#    of a FreeBSD-specific bug).
134ddbe5acSMark Johnston# 3) The test relies on DTrace functionality that's not yet available in FreeBSD
144ddbe5acSMark Johnston#    (e.g. tests for a specific SDT provider that we don't have).
154ddbe5acSMark Johnston#
164ddbe5acSMark Johnston# An end goal is to remove this file, concentrating first on instances of
174ddbe5acSMark Johnston# 1) and 2).
184ddbe5acSMark Johnston#
194ddbe5acSMark Johnston# The SKIP variable contains tests that should not be executed at all. The
204ddbe5acSMark Johnston# EXFAIL variable contains tests that are expected to fail when run. Please
214ddbe5acSMark Johnston# avoid adding tests to SKIP unless it really is necessary; with EXFAIL, tests
224ddbe5acSMark Johnston# that begin passing as the result of a change are visible in the test summary.
234ddbe5acSMark Johnston
244ddbe5acSMark Johnstonexclude()
254ddbe5acSMark Johnston{
264ddbe5acSMark Johnston    eval $1=\"\$$1\\n$2\"
274ddbe5acSMark Johnston}
284ddbe5acSMark Johnston
294ddbe5acSMark Johnstonexclude EXFAIL common/aggs/tst.subr.d
304ddbe5acSMark Johnstonexclude EXFAIL common/dtraceUtil/tst.ELFGenerationOut.d.ksh
314ddbe5acSMark Johnstonexclude EXFAIL common/dtraceUtil/tst.ELFGenerationWithO.d.ksh
324ddbe5acSMark Johnstonexclude EXFAIL common/funcs/tst.copyin.d
334ddbe5acSMark Johnstonexclude EXFAIL common/funcs/tst.copyinto.d
344ddbe5acSMark Johnstonexclude EXFAIL common/funcs/tst.ddi_pathname.d
354ddbe5acSMark Johnstonexclude EXFAIL common/io/tst.fds.d
364ddbe5acSMark Johnstonexclude EXFAIL common/ip/tst.ipv4localudp.ksh
374ddbe5acSMark Johnstonexclude EXFAIL common/mdb/tst.dtracedcmd.ksh
384ddbe5acSMark Johnstonexclude EXFAIL common/misc/tst.dofmax.ksh
394ddbe5acSMark Johnstonexclude EXFAIL common/misc/tst.include.ksh
404ddbe5acSMark Johnstonexclude EXFAIL common/safety/tst.copyin2.d
414ddbe5acSMark Johnstonexclude EXFAIL common/safety/tst.msgdsize.d
424ddbe5acSMark Johnstonexclude EXFAIL common/safety/tst.msgsize.d
434ddbe5acSMark Johnstonexclude EXFAIL common/safety/tst.zonename.d
444ddbe5acSMark Johnstonexclude EXFAIL common/scalars/tst.misc.d
454ddbe5acSMark Johnstonexclude EXFAIL common/scalars/tst.selfarray2.d
464ddbe5acSMark Johnstonexclude EXFAIL common/sched/tst.enqueue.d
474ddbe5acSMark Johnstonexclude EXFAIL common/speculation/tst.SpecSizeVariations3.d
484ddbe5acSMark Johnstonexclude EXFAIL common/tracemem/err.D_TRACEMEM_ADDR.badaddr.d
494ddbe5acSMark Johnstonexclude EXFAIL common/translators/tst.TestTransStability2.ksh
504ddbe5acSMark Johnstonexclude EXFAIL common/types/tst.struct.d
514ddbe5acSMark Johnstonexclude EXFAIL common/types/tst.typedef.d
524ddbe5acSMark Johnston
534ddbe5acSMark Johnston# We don't have a cpc provider.
544ddbe5acSMark Johnstonexclude SKIP common/cpc/err.D_PDESC_ZERO.lowfrequency.d
554ddbe5acSMark Johnstonexclude SKIP common/cpc/err.D_PDESC_ZERO.malformedoverflow.d
564ddbe5acSMark Johnstonexclude SKIP common/cpc/err.D_PDESC_ZERO.nonexistentevent.d
574ddbe5acSMark Johnstonexclude SKIP common/cpc/err.cpcvscpustatpart1.ksh
584ddbe5acSMark Johnstonexclude SKIP common/cpc/err.cpcvscpustatpart2.ksh
594ddbe5acSMark Johnstonexclude SKIP common/cpc/err.cputrackfailtostart.ksh
604ddbe5acSMark Johnstonexclude SKIP common/cpc/err.cputrackterminates.ksh
614ddbe5acSMark Johnstonexclude SKIP common/cpc/err.toomanyenablings.d
624ddbe5acSMark Johnstonexclude SKIP common/cpc/tst.allcpus.ksh
634ddbe5acSMark Johnstonexclude SKIP common/cpc/tst.genericevent.d
644ddbe5acSMark Johnstonexclude SKIP common/cpc/tst.platformevent.ksh
654ddbe5acSMark Johnston
664ddbe5acSMark Johnston# We don't have a mib provider.
674ddbe5acSMark Johnstonexclude EXFAIL common/mib/tst.icmp.ksh
684ddbe5acSMark Johnstonexclude EXFAIL common/mib/tst.tcp.ksh
694ddbe5acSMark Johnstonexclude EXFAIL common/mib/tst.udp.ksh
704ddbe5acSMark Johnston
714ddbe5acSMark Johnston# At the moment dtrace(1) always needs to run as root.
724ddbe5acSMark Johnstonexclude SKIP common/privs/tst.fds.ksh
734ddbe5acSMark Johnstonexclude SKIP common/privs/tst.func_access.ksh
744ddbe5acSMark Johnstonexclude SKIP common/privs/tst.getf.ksh
7531768cc1SMark Johnstonexclude SKIP common/privs/tst.kpriv.ksh
764ddbe5acSMark Johnstonexclude SKIP common/privs/tst.op_access.ksh
774ddbe5acSMark Johnstonexclude SKIP common/privs/tst.procpriv.ksh
784ddbe5acSMark Johnstonexclude SKIP common/privs/tst.providers.ksh
794ddbe5acSMark Johnstonexclude SKIP common/privs/tst.unpriv_funcs.ksh
804ddbe5acSMark Johnston
814ddbe5acSMark Johnston# These tests hang for reasons unknown.
824ddbe5acSMark Johnstonexclude SKIP common/buffering/tst.ring3.d
834ddbe5acSMark Johnstonexclude SKIP common/funcs/tst.chill.ksh
844ddbe5acSMark Johnstonexclude SKIP common/funcs/tst.index.d
854ddbe5acSMark Johnston
864ddbe5acSMark Johnston# No Java support at the moment.
874ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.Abort.ksh
884ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.Bean.ksh
894ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.Close.ksh
904ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.Drop.ksh
914ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.Enable.ksh
924ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.FunctionLookup.ksh
934ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.GetAggregate.ksh
944ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.MaxConsumers.ksh
954ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.MultiAggPrinta.ksh
964ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.ProbeData.ksh
974ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.ProbeDescription.ksh
984ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.StateMachine.ksh
994ddbe5acSMark Johnstonexclude EXFAIL common/java_api/tst.StopLock.ksh
1004ddbe5acSMark Johnston
1014ddbe5acSMark Johnston# Expects specific formatting from banner(6).
1024ddbe5acSMark Johnstonexclude EXFAIL common/aggs/tst.aggpackbanner.ksh
1034ddbe5acSMark Johnston
1044ddbe5acSMark Johnston# Test assumes we're running on a Solaris kernel.
1054ddbe5acSMark Johnstonexclude EXFAIL common/misc/tst.roch.d
1064ddbe5acSMark Johnstonexclude EXFAIL common/predicates/tst.argsnotcached.d
1074ddbe5acSMark Johnstonexclude EXFAIL common/safety/tst.vahole.d
1084ddbe5acSMark Johnston
1094ddbe5acSMark Johnston# Tests that depend on the plockstat provider.
1104ddbe5acSMark Johnstonexclude EXFAIL common/plockstat/tst.available.d
1114ddbe5acSMark Johnstonexclude EXFAIL common/plockstat/tst.libmap.d
1124ddbe5acSMark Johnstonexclude EXFAIL common/usdt/tst.andpid.ksh
1134ddbe5acSMark Johnston
1144ddbe5acSMark Johnston# Depends on java.
1154ddbe5acSMark Johnstonexclude SKIP common/drops/drp.DTRACEDROP_STKSTROVERFLOW.d
1164ddbe5acSMark Johnston
1174ddbe5acSMark Johnston# Interrupt priority isn't relevant on FreeBSD.
1184ddbe5acSMark Johnstonexclude SKIP common/builtinvar/tst.ipl.d
1194ddbe5acSMark Johnstonexclude SKIP common/builtinvar/tst.ipl1.d
1204ddbe5acSMark Johnston
1214ddbe5acSMark Johnston# These tests rely on being able to find a host via broadcast pings.
1224ddbe5acSMark Johnstonexclude EXFAIL common/ip/tst.ipv4remotetcp.ksh
1234ddbe5acSMark Johnstonexclude EXFAIL common/ip/tst.ipv4remoteudp.ksh
1244ddbe5acSMark Johnstonexclude EXFAIL common/ip/tst.ipv6remoteicmp.ksh
1254ddbe5acSMark Johnstonexclude EXFAIL common/ip/tst.ipv4remoteicmp.ksh
1264ddbe5acSMark Johnston
1274ddbe5acSMark Johnston# FreeBSD never places tcpcbs in the TIME_WAIT state, so the probe never fires.
1284ddbe5acSMark Johnstonexclude EXFAIL common/ip/tst.localtcpstate.ksh
1294ddbe5acSMark Johnstonexclude EXFAIL common/ip/tst.remotetcpstate.ksh
1304ddbe5acSMark Johnston
1314ddbe5acSMark Johnston# Tries to enable pid$target:libc::entry, though there's no "libc" module.
1324ddbe5acSMark Johnston# Currently unsure as to whether this might be a libproc bug.
1334ddbe5acSMark Johnstonexclude EXFAIL common/pid/tst.probemod.ksh
1344ddbe5acSMark Johnston
1354ddbe5acSMark Johnston# Assumes date(1) has a pid$target::main:return probe.
1364ddbe5acSMark Johnstonexclude EXFAIL common/pid/tst.newprobes.ksh
1374ddbe5acSMark Johnston
1384ddbe5acSMark Johnston# libproc+librtld_db don't handle dlopen(2) yet.
1394ddbe5acSMark Johnstonexclude EXFAIL common/pid/tst.provregex2.ksh
1404ddbe5acSMark Johnstonexclude EXFAIL common/pid/tst.provregex4.ksh
1414ddbe5acSMark Johnston
142483f7100SMark Johnston# This test appears to be invalid. dtrace is supposed to press on if a
143483f7100SMark Johnston# depends_on pragma cannot be satisfied, per the comment above
144483f7100SMark Johnston# dt_load_libs_dir() in libdtrace.
145483f7100SMark Johnstonexclude EXFAIL common/pragma/err.invalidlibdep.ksh
146483f7100SMark Johnston
1474ddbe5acSMark Johnston# This test checks for a leading tab on a line before #define. That is illegal
1484ddbe5acSMark Johnston# on Solaris, but the clang pre-processor on FreeBSD is happy with code like
1494ddbe5acSMark Johnston# that.
1504ddbe5acSMark Johnstonexclude EXFAIL common/preprocessor/err.D_PRAGCTL_INVAL.tabdefine.d
1514ddbe5acSMark Johnston
1524ddbe5acSMark Johnston# This test uses proc:::signal-handle, which we don't appear to have.
1534ddbe5acSMark Johnstonexclude EXFAIL common/proc/tst.signal.ksh
1544ddbe5acSMark Johnston
1554ddbe5acSMark Johnston# This test uses proc:::lwp-start, which we don't appear to have.
1564ddbe5acSMark Johnstonexclude EXFAIL common/proc/tst.startexit.ksh
1574ddbe5acSMark Johnston
1584ddbe5acSMark Johnston# This test causes a panic at the moment because fbt instruments the lock class'
1594ddbe5acSMark Johnston# lc_owned method.
1604ddbe5acSMark Johnstonexclude SKIP common/safety/tst.rw.d
1614ddbe5acSMark Johnston
1624ddbe5acSMark Johnston# Depends on some implementation details of the runtime linker.
1634ddbe5acSMark Johnstonexclude EXFAIL common/vars/tst.ucaller.ksh
1644ddbe5acSMark Johnston
1654ddbe5acSMark Johnston# These rely on process attributes that FreeBSD doesn't carry.
1664ddbe5acSMark Johnstonexclude EXFAIL common/scripting/tst.projid.ksh
1674ddbe5acSMark Johnstonexclude EXFAIL common/scripting/tst.taskid.ksh
1684ddbe5acSMark Johnston
169*7c370190SMark Johnston# Depends on tst.chasestrings.exe being ELF32. See r326181 and r326285.
170*7c370190SMark Johnstonexclude EXFAIL common/uctf/err.user64mode.ksh
171*7c370190SMark Johnston
1724ddbe5acSMark Johnston# This test expects its test program to be installed without CTF data, but
1734ddbe5acSMark Johnston# the rest of the programs for this feature need CTF data. Not yet sure how
1744ddbe5acSMark Johnston# to build that.
1754ddbe5acSMark Johnstonexclude EXFAIL common/uctf/tst.libtype.ksh
1764ddbe5acSMark Johnston
1774ddbe5acSMark Johnston# libproc doesn't have linkmap support yet.
1784ddbe5acSMark Johnstonexclude EXFAIL common/uctf/tst.linkmap.ksh
1794ddbe5acSMark Johnston
1804ddbe5acSMark Johnston# Uses Sun-specific compiler options.
1814ddbe5acSMark Johnstonexclude EXFAIL common/usdt/tst.badguess.ksh
1824ddbe5acSMark Johnstonexclude EXFAIL common/usdt/tst.guess32.ksh
1834ddbe5acSMark Johnstonexclude EXFAIL common/usdt/tst.guess64.ksh
1844ddbe5acSMark Johnston
1857c72b109SMark Johnston# Depends on non-standard static linker behaviour.
1867c72b109SMark Johnstonexclude EXFAIL common/usdt/tst.eliminate.ksh
1877c72b109SMark Johnston
1884ddbe5acSMark Johnston# Generated headers include <sys/sdt.h>, so _DTRACE_VERSION is always defined.
1894ddbe5acSMark Johnstonexclude EXFAIL common/usdt/tst.nodtrace.ksh
1904ddbe5acSMark Johnston
1914ddbe5acSMark Johnston# The second dtrace -G invocation returns an error with "no probes found," which
1924ddbe5acSMark Johnston# makes sense to me. Not yet sure what the expected behaviour is here.
1934ddbe5acSMark Johnstonexclude EXFAIL common/usdt/tst.static2.ksh
1944ddbe5acSMark Johnston
1954ddbe5acSMark Johnston# Uses the Solaris-specific ppriv(1).
1964ddbe5acSMark Johnstonexclude EXFAIL common/usdt/tst.user.ksh
19790556839SMark Johnston
19890556839SMark Johnston# Triggers a lock assertion by using the raise() action from a profile probe.
19990556839SMark Johnstonexclude SKIP common/ustack/tst.spin.ksh
200