blob: c91360dbd57f17023240290d4f60e2a75b388e49 [file]
// Copyright 2023 The Fuchsia Authors.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
{
actions: [
{
type: "skip",
matchers: [
// TODO(https://fxbug.dev/42080092): This test causes the test suite to fail on NUC.
"RestartRead.ReadFromPipeRestarts",
// TODO(https://fxbug.dev/493672905): Bug in Starnix invalidation handling.
"FuseServerTest.InvalidateMountDir",
// TODO(https://fxbug.dev/391599171): Some features of userfaultfd that Starnix
// can't support with its current implementation. Enable as support is extended.
"UffdTest.PopulateFromAnotherUffd",
"UffdTest.NoSigBusOnAccessedPage",
// TODO(https://fxbug.dev/365540067)
// TODO(https://fxbug.dev/365971179): deflake and re-enable
"PidFdTest.PollWaitsForSecondaryThreadsToo",
// TODO(https://fxbug.dev/394934526)
"PtraceTest.PtraceAttachesToParentThread",
"PtraceTest.ExitKillFromThread",
// TODO(https://fxbug.dev/519695798): This test fails because signal handlers aren't
// executed when the signal is delivered while the thread is blocked in ppoll and
// the signal is allowed by the temporary signal mask. However, there is a race
// condition that allows it to pass sometimes.
"PtraceTest.PtraceAttachesDuringPpoll",
// TODO(https://fxbug.dev/439799293)
// Before marking this as passing, remove the timeout from the test and let the overall
// test timeout catch any future failures.
"PtraceTest.PtraceAttachSendSigstop",
// TODO(https://fxbug.dev/418965139)
"ThreadGroupLifeCycleTest.EndMainThreadFirst",
// TODO(https://fxbug.dev/489528448) re-enable after flake rate is reduced
"SignalHandling.SignalDeliveryWakesOnlyOneFutex",
// TODO(https://fxbug.dev/297440106)
// TODO(https://fxbug.dev/365540067)
"PidFdTest.PidFdOpenAfterZombification",
"ZombieProcTest.*",
// TODO(https://fxbug.dev/493895527): Hangs; Fix and re-enable.
"PerfEventOpenTest.SampleIdIsValid",
// TODO(https://fxbug.dev/522500185): Enable after reparenting races are fixed.
"WaitpidExitSignalTest.StoppedChildInOrphanedGroup",
],
},
{
type: "expect_failure",
matchers: [
// TODO(https://fxbug.dev/351037863)
"AshmemTest.SetNameOverflow",
// TODO(https://fxbug.dev/527579086): Starnix VFS casefold dentry cache coherence & flag inheritance.
"FsCasefold/FsCasefoldTest.RenameExchangeSwapsEntriesAcrossCaseVariants/fxfs",
// TODO(https://fxbug.dev/544902575): Non-UTF-8 and Unicode normalization support.
"FsCasefold/FsCasefoldTest.NonUtf8NameMatchesExactOpaqueBytes/fxfs",
"FsCasefold/FsCasefoldTest.NonUtf8BytesSuppressCasefoldingForName/fxfs",
"FsCasefold/FsCasefoldTest.UnicodeLookupGivenNameExceedingNameMaxMatchesNormalizedName/*",
// TODO(https://fxbug.dev/507966123): Check fd access mode in BPF_MAP_* subcommands.
"BpfMapTest.CannotUpdatePinnedMapWithReadOnlyFd",
"BpfMapTest.CannotLookUpPinnedMapWithWriteOnlyFd",
// TODO(https://fxbug.dev/507976628): Write at most the requested size in the BPF_OBJ_GET_INFO_BY_FD command.
"BpfMapTest.ObjGetInfoByFdOnlyWritesRequestedSize",
// TODO(https://g-issues.fuchsia.dev/issues/318701791)
"MemfdFaultTest/FaultFileTest.ReadV/0",
"TmpfsFaultTest/FaultFileTest.ReadV/0",
"SocketFault/SocketFault.ReadV/2",
"SocketFault/SocketFault.WriteV/2",
// TODO(https://fxbug.dev/307595538)
"SndRcvBufSockOpt/SndRcvBufSockOpt.DoubledOnGet/*",
// TODO(https://fxbug.dev/328270498)
"ProcSelfMemProts.CanWriteToPrivateAnonymousMappings/Execute",
"ProcSelfMemProts.CanWriteToPrivateAnonymousMappings/None",
"ProcSelfMemProts.CanWriteToPrivateAnonymousMappings/Read",
"ProcSelfMemProts.CanWriteToPrivateAnonymousMappings/ReadExecute",
// TODO(https://fxbug.dev/333132302)
"Madvise.MadvRemoveZeroesMemory",
// TODO(https://fxbug.dev/419882465): Need a more granular API to report these values correctly
"MMapProcTest.SmapsRssSplitMappingsStrict",
"MlockProcTest.MlockOnePageIncreasesVmLck",
// TODO(https://fxbug.dev/423010702)
"Task.KillZombieEPERM",
// TODO(https://fxbug.dev/297440106)
"ZombieTest.Setpgid",
// TODO(https://fxbug.dev/495916611)
"ProcfsTest.ProcSysNetInvalidWriteReturnsEinval",
// TODO(https://fxbug.dev/394934526)
"PtraceThreadTracerTest.SiblingThreadCannotIssuePtraceCommands",
"PtraceThreadTracerTest.TraceeDetachesWhenTracerThreadExits",
"PtraceThreadTracerTest.TraceeKilledWhenTracerThreadExitsWithExitKill",
// TODO(https://fxbug.dev/445790710): Implement ptrace poke across 2 mappings.
"PtraceTest.PokeAcrossMappings",
// TODO(https://fxbug.dev/555727179): Implement PTRACE_SINGLESTEP.
"SingleStepTest.InstructionPointerAdvances",
"SingleStepTest.ConsecutiveSteps",
// TODO(https://fxbug.dev/498681252)
"PipeTest.PolloutFragmentation",
// TODO(https://fxbug.dev/369889180): Remount rw to ro should fail with open files.
"MountTest.RemountBindReadWriteToReadOnlyWithOpenWriterToBindFails",
"MountTest.RemountFilesystemReadWriteToReadOnlyWithOpenWriterToBindFails",
"MountTest.RemountReadWriteToReadOnlyWithOpenWriterFails",
// Starnix does not currently support this feature (see https://fxbug.dev/322874526)
// If it ever does, implementing `security::mmap_addr` will be necessary.
"MmapTest.MmapMinAddr",
// Starnix write handlers for these nodes currently either lack Linux's bounds/format
// validation or improperly succeed on writes that should be natively rejected.
"SysctlTest/SysctlNodeTest.CapDacOverrideHasNoEffectOnRootWrite/kernel_pid_max",
"SysctlTest/SysctlNodeTest.RootCanWriteWithoutCapDacOverrideAndNetAdmin/kernel_pid_max",
"SysctlTest/SysctlNodeTest.CapDacOverrideHasNoEffectOnRootWrite/kernel_printk",
"SysctlTest/SysctlNodeTest.RootCanWriteWithoutCapDacOverrideAndNetAdmin/kernel_printk",
// These nodes currently utilize BytesFile implementations which emit ENOSYS on write.
"SysctlTest/SysctlNodeTest.CapDacOverrideHasNoEffectOnRootWrite/kernel_core_pattern",
"SysctlTest/SysctlNodeTest.RootCanWriteWithoutCapDacOverrideAndNetAdmin/kernel_core_pattern",
"SysctlTest/SysctlNodeTest.CapDacOverrideHasNoEffectOnRootWrite/kernel_overflowgid",
"SysctlTest/SysctlNodeTest.RootCanWriteWithoutCapDacOverrideAndNetAdmin/kernel_overflowgid",
"SysctlTest/SysctlNodeTest.CapDacOverrideHasNoEffectOnRootWrite/kernel_overflowuid",
"SysctlTest/SysctlNodeTest.RootCanWriteWithoutCapDacOverrideAndNetAdmin/kernel_overflowuid",
"SysctlTest/SysctlNodeTest.CapDacOverrideHasNoEffectOnRootWrite/kernel_threads_max",
"SysctlTest/SysctlNodeTest.RootCanWriteWithoutCapDacOverrideAndNetAdmin/kernel_threads_max",
// modules_disabled is a StubBytesFile instead of a strict security toggle and therefore
// quietly succeeds on writes instead of issuing EINVAL.
"SysctlTest/SysctlNodeTest.CapDacOverrideHasNoEffectOnRootWrite/kernel_modules_disabled",
"SysctlTest/SysctlNodeTest.RootCanWriteWithoutCapDacOverrideAndNetAdmin/kernel_modules_disabled",
// TODO(https://fxbug.dev/565365826): Unlinking the watched hard link first still pins its
// DirEntryHandle in InotifyState::watches.
"InotifyTest.UnlinkWatchedHardLinkFirstEmitsDeleteSelfOnLastUnlink",
// TODO(https://fxbug.dev/391599171): Starnix cannot currently mprotect
// userfaultfd-registered ranges due to how it implements userfaultfd page fault
// interception by removing VMAR protections.
"UffdTest.MprotectRegisteredRange",
],
},
],
}