1# $FreeBSD$ 2 3# This file lists DTrace tests which are known to fail or hang/crash the 4# system. They were pulled from the legacy DTrace test infrastructure in 5# tools/tests/dtrace and may be out of date. 6# 7# Tests are listed here generally because one or more of the following is true: 8# 9# 1) The test is broken (usually because it assumes it's running on Solaris and 10# the test encodes some sort of Solarisism). 11# 2) The functionality being tested is buggy (often but not always the result 12# of a FreeBSD-specific bug). 13# 3) The test relies on DTrace functionality that's not yet available in FreeBSD 14# (e.g. tests for a specific SDT provider that we don't have). 15# 16# An end goal is to remove this file, concentrating first on instances of 17# 1) and 2). 18# 19# The SKIP variable contains tests that should not be executed at all. The 20# EXFAIL variable contains tests that are expected to fail when run. Please 21# avoid adding tests to SKIP unless it really is necessary; with EXFAIL, tests 22# that begin passing as the result of a change are visible in the test summary. 23 24exclude() 25{ 26 eval $1=\"\$$1\\n$2\" 27} 28 29exclude EXFAIL common/aggs/tst.subr.d 30exclude EXFAIL common/dtraceUtil/tst.ELFGenerationOut.d.ksh 31exclude EXFAIL common/dtraceUtil/tst.ELFGenerationWithO.d.ksh 32exclude EXFAIL common/funcs/tst.copyin.d 33exclude EXFAIL common/funcs/tst.copyinto.d 34exclude EXFAIL common/funcs/tst.ddi_pathname.d 35exclude EXFAIL common/io/tst.fds.d 36exclude EXFAIL common/mdb/tst.dtracedcmd.ksh 37exclude EXFAIL common/misc/tst.dofmax.ksh 38exclude EXFAIL common/misc/tst.include.ksh 39exclude EXFAIL common/safety/tst.copyin2.d 40exclude EXFAIL common/safety/tst.msgdsize.d 41exclude EXFAIL common/safety/tst.msgsize.d 42exclude EXFAIL common/scalars/tst.misc.d 43exclude EXFAIL common/scalars/tst.selfarray2.d 44exclude EXFAIL common/sched/tst.enqueue.d 45exclude EXFAIL common/speculation/tst.SpecSizeVariations3.d 46exclude EXFAIL common/tracemem/err.D_TRACEMEM_ADDR.badaddr.d 47exclude EXFAIL common/translators/tst.TestTransStability2.ksh 48exclude EXFAIL common/types/tst.struct.d 49exclude EXFAIL common/types/tst.typedef.d 50 51# We don't have a cpc provider. 52exclude SKIP common/cpc/err.D_PDESC_ZERO.lowfrequency.d 53exclude SKIP common/cpc/err.D_PDESC_ZERO.malformedoverflow.d 54exclude SKIP common/cpc/err.D_PDESC_ZERO.nonexistentevent.d 55exclude SKIP common/cpc/err.cpcvscpustatpart1.ksh 56exclude SKIP common/cpc/err.cpcvscpustatpart2.ksh 57exclude SKIP common/cpc/err.cputrackfailtostart.ksh 58exclude SKIP common/cpc/err.cputrackterminates.ksh 59exclude SKIP common/cpc/err.toomanyenablings.d 60exclude SKIP common/cpc/tst.allcpus.ksh 61exclude SKIP common/cpc/tst.genericevent.d 62exclude SKIP common/cpc/tst.platformevent.ksh 63 64# We don't have a mib provider. 65exclude EXFAIL common/mib/tst.icmp.ksh 66exclude EXFAIL common/mib/tst.tcp.ksh 67exclude EXFAIL common/mib/tst.udp.ksh 68 69# At the moment dtrace(1) always needs to run as root. 70exclude SKIP common/privs/tst.fds.ksh 71exclude SKIP common/privs/tst.func_access.ksh 72exclude SKIP common/privs/tst.getf.ksh 73exclude SKIP common/privs/tst.kpriv.ksh 74exclude SKIP common/privs/tst.op_access.ksh 75exclude SKIP common/privs/tst.procpriv.ksh 76exclude SKIP common/privs/tst.providers.ksh 77exclude SKIP common/privs/tst.unpriv_funcs.ksh 78 79# These tests hang for reasons unknown. 80exclude SKIP common/buffering/tst.ring3.d 81exclude SKIP common/funcs/tst.chill.ksh 82exclude SKIP common/funcs/tst.index.d 83 84# No Java support at the moment. 85exclude EXFAIL common/java_api/tst.Abort.ksh 86exclude EXFAIL common/java_api/tst.Bean.ksh 87exclude EXFAIL common/java_api/tst.Close.ksh 88exclude EXFAIL common/java_api/tst.Drop.ksh 89exclude EXFAIL common/java_api/tst.Enable.ksh 90exclude EXFAIL common/java_api/tst.FunctionLookup.ksh 91exclude EXFAIL common/java_api/tst.GetAggregate.ksh 92exclude EXFAIL common/java_api/tst.MaxConsumers.ksh 93exclude EXFAIL common/java_api/tst.MultiAggPrinta.ksh 94exclude EXFAIL common/java_api/tst.ProbeData.ksh 95exclude EXFAIL common/java_api/tst.ProbeDescription.ksh 96exclude EXFAIL common/java_api/tst.StateMachine.ksh 97exclude EXFAIL common/java_api/tst.StopLock.ksh 98 99# Expects specific formatting from banner(6). 100exclude EXFAIL common/aggs/tst.aggpackbanner.ksh 101 102# Test assumes we're running on a Solaris kernel. 103exclude EXFAIL common/misc/tst.roch.d 104exclude EXFAIL common/predicates/tst.argsnotcached.d 105exclude EXFAIL common/safety/tst.vahole.d 106 107# Tests that depend on the plockstat provider. 108exclude EXFAIL common/plockstat/tst.available.d 109exclude EXFAIL common/plockstat/tst.libmap.d 110exclude EXFAIL common/usdt/tst.andpid.ksh 111 112# Depends on java. 113exclude SKIP common/drops/drp.DTRACEDROP_STKSTROVERFLOW.d 114 115# Interrupt priority isn't relevant on FreeBSD. 116exclude SKIP common/builtinvar/tst.ipl.d 117exclude SKIP common/builtinvar/tst.ipl1.d 118 119# These tests rely on being able to find a host via broadcast pings. 120exclude EXFAIL common/ip/tst.ipv4remotetcp.ksh 121exclude EXFAIL common/ip/tst.ipv4remoteudp.ksh 122exclude EXFAIL common/ip/tst.ipv6remoteicmp.ksh 123exclude EXFAIL common/ip/tst.ipv4remoteicmp.ksh 124 125# FreeBSD never places tcpcbs in the TIME_WAIT state, so the probe never fires. 126exclude EXFAIL common/ip/tst.localtcpstate.ksh 127exclude EXFAIL common/ip/tst.remotetcpstate.ksh 128 129# Tries to enable pid$target:libc::entry, though there's no "libc" module. 130# Currently unsure as to whether this might be a libproc bug. 131exclude EXFAIL common/pid/tst.probemod.ksh 132 133# Assumes date(1) has a pid$target::main:return probe. 134exclude EXFAIL common/pid/tst.newprobes.ksh 135 136# libproc+librtld_db don't handle dlopen(2) yet. 137exclude EXFAIL common/pid/tst.provregex2.ksh 138exclude EXFAIL common/pid/tst.provregex4.ksh 139 140# This test appears to be invalid. dtrace is supposed to press on if a 141# depends_on pragma cannot be satisfied, per the comment above 142# dt_load_libs_dir() in libdtrace. 143exclude EXFAIL common/pragma/err.invalidlibdep.ksh 144 145# This test checks for a leading tab on a line before #define. That is illegal 146# on Solaris, but the clang pre-processor on FreeBSD is happy with code like 147# that. 148exclude EXFAIL common/preprocessor/err.D_PRAGCTL_INVAL.tabdefine.d 149 150# This test uses proc:::signal-handle, which we don't appear to have. 151exclude EXFAIL common/proc/tst.signal.ksh 152 153# This test uses proc:::lwp-start, which we don't appear to have. 154exclude EXFAIL common/proc/tst.startexit.ksh 155 156# This test causes a panic at the moment because fbt instruments the lock class' 157# lc_owned method. 158exclude SKIP common/safety/tst.rw.d 159 160# Depends on some implementation details of the runtime linker. 161exclude EXFAIL common/vars/tst.ucaller.ksh 162 163# These rely on process attributes that FreeBSD doesn't carry. 164exclude EXFAIL common/scripting/tst.projid.ksh 165exclude EXFAIL common/scripting/tst.taskid.ksh 166 167# Depends on tst.chasestrings.exe being ELF32. See r326181 and r326285. 168exclude EXFAIL common/uctf/err.user64mode.ksh 169 170# This test expects its test program to be installed without CTF data, but 171# the rest of the programs for this feature need CTF data. Not yet sure how 172# to build that. 173exclude EXFAIL common/uctf/tst.libtype.ksh 174 175# libproc doesn't have linkmap support yet. 176exclude EXFAIL common/uctf/tst.linkmap.ksh 177 178# Uses Sun-specific compiler options. 179exclude EXFAIL common/usdt/tst.badguess.ksh 180exclude EXFAIL common/usdt/tst.guess32.ksh 181exclude EXFAIL common/usdt/tst.guess64.ksh 182 183# Depends on non-standard static linker behaviour. 184exclude EXFAIL common/usdt/tst.eliminate.ksh 185 186# Generated headers include <sys/sdt.h>, so _DTRACE_VERSION is always defined. 187exclude EXFAIL common/usdt/tst.nodtrace.ksh 188 189# The second dtrace -G invocation returns an error with "no probes found," which 190# makes sense to me. Not yet sure what the expected behaviour is here. 191exclude EXFAIL common/usdt/tst.static2.ksh 192 193# Uses the Solaris-specific ppriv(1). 194exclude EXFAIL common/usdt/tst.user.ksh 195 196# Triggers a lock assertion by using the raise() action from a profile probe. 197exclude SKIP common/ustack/tst.spin.ksh 198