]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/usr.sbin/dtrace/tests/tools/exclude.sh
MFC r277912,r278738,r279418,r280835,r288416:
[FreeBSD/stable/10.git] / cddl / usr.sbin / dtrace / tests / tools / exclude.sh
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
24 exclude()
25 {
26     eval $1=\"\$$1\\n$2\"
27 }
28
29 exclude EXFAIL common/aggs/tst.subr.d
30 exclude EXFAIL common/dtraceUtil/tst.DataModel32.d.ksh
31 exclude EXFAIL common/dtraceUtil/tst.ELFGenerationOut.d.ksh
32 exclude EXFAIL common/dtraceUtil/tst.ELFGenerationWithO.d.ksh
33 exclude EXFAIL common/funcs/tst.copyin.d
34 exclude EXFAIL common/funcs/tst.copyinto.d
35 exclude EXFAIL common/funcs/tst.ddi_pathname.d
36 exclude EXFAIL common/io/tst.fds.d
37 exclude EXFAIL common/ip/tst.ipv4localudp.ksh
38 exclude EXFAIL common/mdb/tst.dtracedcmd.ksh
39 exclude EXFAIL common/misc/tst.dofmax.ksh
40 exclude EXFAIL common/misc/tst.include.ksh
41 exclude EXFAIL common/pragma/tst.libchain.ksh
42 exclude EXFAIL common/safety/tst.copyin2.d
43 exclude EXFAIL common/safety/tst.msgdsize.d
44 exclude EXFAIL common/safety/tst.msgsize.d
45 exclude EXFAIL common/safety/tst.zonename.d
46 exclude EXFAIL common/scalars/tst.misc.d
47 exclude EXFAIL common/scalars/tst.selfarray2.d
48 exclude EXFAIL common/sched/tst.enqueue.d
49 exclude EXFAIL common/speculation/tst.SpecSizeVariations3.d
50 exclude EXFAIL common/tracemem/err.D_TRACEMEM_ADDR.badaddr.d
51 exclude EXFAIL common/translators/tst.TestTransStability2.ksh
52 exclude EXFAIL common/types/tst.struct.d
53 exclude EXFAIL common/types/tst.typedef.d
54
55 # We don't have a cpc provider.
56 exclude SKIP common/cpc/err.D_PDESC_ZERO.lowfrequency.d
57 exclude SKIP common/cpc/err.D_PDESC_ZERO.malformedoverflow.d
58 exclude SKIP common/cpc/err.D_PDESC_ZERO.nonexistentevent.d
59 exclude SKIP common/cpc/err.cpcvscpustatpart1.ksh
60 exclude SKIP common/cpc/err.cpcvscpustatpart2.ksh
61 exclude SKIP common/cpc/err.cputrackfailtostart.ksh
62 exclude SKIP common/cpc/err.cputrackterminates.ksh
63 exclude SKIP common/cpc/err.toomanyenablings.d
64 exclude SKIP common/cpc/tst.allcpus.ksh
65 exclude SKIP common/cpc/tst.genericevent.d
66 exclude SKIP common/cpc/tst.platformevent.ksh
67
68 # We don't have a mib provider.
69 exclude EXFAIL common/mib/tst.icmp.ksh
70 exclude EXFAIL common/mib/tst.tcp.ksh
71 exclude EXFAIL common/mib/tst.udp.ksh
72
73 # At the moment dtrace(1) always needs to run as root.
74 exclude SKIP common/privs/tst.fds.ksh
75 exclude SKIP common/privs/tst.func_access.ksh
76 exclude SKIP common/privs/tst.getf.ksh
77 exclude SKIP common/privs/tst.op_access.ksh
78 exclude SKIP common/privs/tst.procpriv.ksh
79 exclude SKIP common/privs/tst.providers.ksh
80 exclude SKIP common/privs/tst.unpriv_funcs.ksh
81
82 # These tests hang for reasons unknown.
83 exclude SKIP common/buffering/tst.ring3.d
84 exclude SKIP common/funcs/tst.chill.ksh
85 exclude SKIP common/funcs/tst.index.d
86
87 # No Java support at the moment.
88 exclude EXFAIL common/java_api/tst.Abort.ksh
89 exclude EXFAIL common/java_api/tst.Bean.ksh
90 exclude EXFAIL common/java_api/tst.Close.ksh
91 exclude EXFAIL common/java_api/tst.Drop.ksh
92 exclude EXFAIL common/java_api/tst.Enable.ksh
93 exclude EXFAIL common/java_api/tst.FunctionLookup.ksh
94 exclude EXFAIL common/java_api/tst.GetAggregate.ksh
95 exclude EXFAIL common/java_api/tst.MaxConsumers.ksh
96 exclude EXFAIL common/java_api/tst.MultiAggPrinta.ksh
97 exclude EXFAIL common/java_api/tst.ProbeData.ksh
98 exclude EXFAIL common/java_api/tst.ProbeDescription.ksh
99 exclude EXFAIL common/java_api/tst.StateMachine.ksh
100 exclude EXFAIL common/java_api/tst.StopLock.ksh
101
102 # Expects specific formatting from banner(6).
103 exclude EXFAIL common/aggs/tst.aggpackbanner.ksh
104
105 # Test assumes we're running on a Solaris kernel.
106 exclude EXFAIL common/misc/tst.roch.d
107 exclude EXFAIL common/predicates/tst.argsnotcached.d
108 exclude EXFAIL common/safety/tst.vahole.d
109
110 # Tests that depend on the plockstat provider.
111 exclude EXFAIL common/plockstat/tst.available.d
112 exclude EXFAIL common/plockstat/tst.libmap.d
113 exclude EXFAIL common/usdt/tst.andpid.ksh
114
115 # Depends on java.
116 exclude SKIP common/drops/drp.DTRACEDROP_STKSTROVERFLOW.d
117
118 # Interrupt priority isn't relevant on FreeBSD.
119 exclude SKIP common/builtinvar/tst.ipl.d
120 exclude SKIP common/builtinvar/tst.ipl1.d
121
122 # These tests rely on being able to find a host via broadcast pings.
123 exclude EXFAIL common/ip/tst.ipv4remotetcp.ksh
124 exclude EXFAIL common/ip/tst.ipv4remoteudp.ksh
125 exclude EXFAIL common/ip/tst.ipv6remoteicmp.ksh
126 exclude EXFAIL common/ip/tst.ipv4remoteicmp.ksh
127
128 # FreeBSD never places tcpcbs in the TIME_WAIT state, so the probe never fires.
129 exclude EXFAIL common/ip/tst.localtcpstate.ksh
130 exclude EXFAIL common/ip/tst.remotetcpstate.ksh
131
132 # Depends on the number of probes in /bin/sh and the current DOF limit.
133 exclude EXFAIL common/pid/err.D_PROC_CREATEFAIL.many.d
134
135 # Tries to enable pid$target:libc::entry, though there's no "libc" module.
136 # Currently unsure as to whether this might be a libproc bug.
137 exclude EXFAIL common/pid/tst.probemod.ksh
138
139 # Assumes date(1) has a pid$target::main:return probe.
140 exclude EXFAIL common/pid/tst.newprobes.ksh
141
142 # libproc+librtld_db don't handle dlopen(2) yet.
143 exclude EXFAIL common/pid/tst.provregex2.ksh
144 exclude EXFAIL common/pid/tst.provregex4.ksh
145
146 # libproc doesn't properly handle probe sites that correspond to multiple
147 # symbols.
148 exclude EXFAIL common/pid/tst.weak1.d
149 exclude EXFAIL common/pid/tst.weak2.d
150
151 # This test checks for a leading tab on a line before #define. That is illegal
152 # on Solaris, but the clang pre-processor on FreeBSD is happy with code like
153 # that.
154 exclude EXFAIL common/preprocessor/err.D_PRAGCTL_INVAL.tabdefine.d
155
156 # This test uses proc:::signal-handle, which we don't appear to have.
157 exclude EXFAIL common/proc/tst.signal.ksh
158
159 # This test uses proc:::lwp-start, which we don't appear to have.
160 exclude EXFAIL common/proc/tst.startexit.ksh
161
162 # This test causes a panic at the moment because fbt instruments the lock class'
163 # lc_owned method.
164 exclude SKIP common/safety/tst.rw.d
165
166 # Depends on some implementation details of the runtime linker.
167 exclude EXFAIL common/vars/tst.ucaller.ksh
168
169 # These rely on process attributes that FreeBSD doesn't carry.
170 exclude EXFAIL common/scripting/tst.projid.ksh
171 exclude EXFAIL common/scripting/tst.taskid.ksh
172
173 # This test expects its test program to be installed without CTF data, but
174 # the rest of the programs for this feature need CTF data. Not yet sure how
175 # to build that.
176 exclude EXFAIL common/uctf/tst.libtype.ksh
177
178 # libproc doesn't have linkmap support yet.
179 exclude EXFAIL common/uctf/tst.linkmap.ksh
180
181 # Uses Sun-specific compiler options.
182 exclude EXFAIL common/usdt/tst.badguess.ksh
183 exclude EXFAIL common/usdt/tst.guess32.ksh
184 exclude EXFAIL common/usdt/tst.guess64.ksh
185
186 # Generated headers include <sys/sdt.h>, so _DTRACE_VERSION is always defined.
187 exclude 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.
191 exclude EXFAIL common/usdt/tst.static2.ksh
192
193 # Uses the Solaris-specific ppriv(1).
194 exclude EXFAIL common/usdt/tst.user.ksh