| // 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: "expect_pass", | |
| matchers: [ | |
| // The Starnix test runner may emit one or more synthetic test cases matching this pattern to capture logs for batches. | |
| // It will always pass, so we must mark it expect_pass or the blanket "skip" rule above will be incorrect. | |
| "fuchsia-pkg://*bionic_unit_tests_static*", | |
| "*", | |
| ], | |
| }, | |
| { | |
| type: "expect_failure", | |
| matchers: [ | |
| // Require PR_GET_TAGGED_ADDR_CTRL | |
| "heap_tagging_level.tagged_pointer_dies", | |
| "heap_tagging_level.sync_async_bad_accesses_die", | |
| "heap_tagging_level.tagging_level_transitions", | |
| "heap_tagging_level.tagging_level_transition_sync_none", | |
| // Our test runner doesn't understand DISABLED | |
| "android_mallopt.DISABLED_multiple_enable_gwp_asan", | |
| "__cxa_demangle.DISABLED_cxa_demangle_fuzz_167977068", | |
| // TODO(https://fxbug.dev/528339136): Starnix does not support ARM64 memory tagging. | |
| "malloc.disable_mte", | |
| // TODO(https://fxbug.dev/531779277): This group of tests all verify Scudo behavior, | |
| // which Starnix doesn't support. They are skipped during runtime by the Bionic test | |
| // framework, but something is going awry in translating that to the Fuchsia test | |
| // framework's expectation_comparer, which considers them failing. | |
| "malloc.alloc_after_fork", | |
| "android_mallopt.get_fault_information_errors", | |
| "android_mallopt.get_fault_information_scudo", | |
| "malloc.allocation_slack", | |
| "malloc.mallopt_scudo_only_options", | |
| "malloc.zero_init", | |
| // TODO(https://fxbug.dev/531779277): This group of tests are skipped internally by | |
| // the Bionic test framework, as they are irrelevant for low-memory devices. | |
| // However, our test runner has a bug and still considers them failing. | |
| "malloc.zeroed_allocations_small_medium_sizes", | |
| "malloc.zeroed_allocations_large_sizes", | |
| "malloc.zeroed_allocations_realloc", | |
| // TODO(https://fxbug.dev/531779277): These tests validate deprecated malloc | |
| // functions which Starnix doesn't support. They are skipped internally by the | |
| // Bionic test framework, but our test runner has a bug and considers them failing. | |
| "malloc.pvalloc_std", | |
| "malloc.pvalloc_overflow", | |
| "malloc.valloc_std", | |
| "malloc.valloc_overflow", | |
| // TODO(https://fxbug.dev/42066087): CLONE_VM for child processes. | |
| "sched.clone", | |
| "sched.clone3", | |
| // Requires a configured timezone. | |
| "time.tzalloc_nullptr", | |
| // Requires prctl(PR_GET_TAGGED_ADDR_CTRL) -> PR_TAGGED_ADDR_ENABLE | |
| "heap_tagging_level_DeathTest.tagged_pointer_dies", | |
| // TODO(https://fxbug.dev/364690379): Investigate and fix | |
| "sys_stat.lchmod", | |
| // Untriaged | |
| "pthread.pthread_create__mmap_failures", | |
| "pthread.pthread_getcpuclockid__clock_gettime", | |
| "pthread.pthread_mutex_lock_null_32", | |
| "pthread.pthread_mutex_owner_tid_limit", | |
| "pthread.pthread_mutex_pi_count_limit", | |
| "pthread.pthread_mutex_unlock_null_32", | |
| "pthread.pthread_create_with_sme_off", | |
| "pthread.pthread_create_with_sme_dormant_state", | |
| "scs_test.stack_overflow", | |
| "setjmp.setjmp_signal_mask", | |
| "setjmp.sigsetjmp_1_signal_mask", | |
| "setjmp.siglongjmp_sme", | |
| "setjmp.sigsetjmp_sme", | |
| "signal.pthread_sigqueue_other", | |
| "spawn.posix_spawn_POSIX_SPAWN_SETSIGDEF", | |
| "spawn.posix_spawn_POSIX_SPAWN_SETSIGMASK", | |
| "stdio.snprintf_1$ju_UINTMAX_MAX", | |
| "stdio.swprintf_1$ju_UINTMAX_MAX", | |
| "stdio_ext.__fbufsize", | |
| "stdio_nofortify.snprintf_1$ju_UINTMAX_MAX", | |
| "stdio_nofortify.swprintf_1$ju_UINTMAX_MAX", | |
| "signal.sme_tpidr2_clear", | |
| "stdlib.getloadavg", | |
| "sys_io.iopl", | |
| "sys_io.ioperm", | |
| "sys_mseal.mseal", | |
| "sys_msg.smoke", | |
| "sys_ptrace.hardware_breakpoint", | |
| "sys_ptrace.watchpoint_imprecise", | |
| "sys_ptrace.watchpoint_stress", | |
| "sys_sem.smoke", | |
| "sys_shm.smoke", | |
| "sys_stat.fchmodat_AT_SYMLINK_NOFOLLOW_with_dangling_symlink", | |
| "sys_stat.fchmodat_AT_SYMLINK_NOFOLLOW_with_symlink", | |
| "sys_timex.adjtimex_EFAULT", | |
| "sys_timex.adjtimex_smoke", | |
| "sys_timex.clock_adjtime_EFAULT", | |
| "sys_timex.clock_adjtime_smoke", | |
| "time.clock_getcpuclockid_ESRCH", | |
| "time.clock_settime", | |
| "unistd.fdatasync", | |
| "unistd.fsync", | |
| "unistd_nofortify.fdatasync", | |
| "unistd_nofortify.fsync", | |
| "unistd.fork_with_sme_dormant_state", | |
| "unistd_nofortify.fork_with_sme_off", | |
| "unistd_nofortify.fork_with_sme_dormant_state", | |
| "unistd.fork_with_sme_off", | |
| ], | |
| }, | |
| { | |
| type: "skip", | |
| matchers: [ | |
| // https://fxbug.dev/42085923 | |
| "time.timer_disarm_terminates", | |
| // This test is passing in some configurations. | |
| "android_mallopt.set_allocation_limit_multiple_threads", | |
| // This test tries to determine if the system has >=4GB of total memory which is not true in all test environments. | |
| // It also writes 2GB of zero bytes to /dev/null, which we currently try to log. | |
| "*.fread_fwrite_int_overflow", | |
| // These tests are arm32 specific | |
| "aeabi.read_tp", | |
| "getauxval.arm_has_AT_HWCAP2", | |
| // These tests are 32 bit specific. | |
| "libgen.basename_r", | |
| "libgen.dirname_r", | |
| // These tests currently hit the test harness's internal timeout (90 seconds). | |
| "pthread.pthread_create__mmap_failures", | |
| "pthread.pthread_sigmask64_SIGTRMIN", | |
| "signal.pthread_sigqueue_other", | |
| // This is effectively a benchmark that sometimes takes too long on our bots. | |
| // See https://fxbug.dev/42080036#c15 | |
| "stdio*.fread_unbuffered_pathological_performance", | |
| // TODO(https://fxbug.dev/42080036): Flaky on the bots - need to be investigated. | |
| "pthread.pthread_getcpuclockid__clock_gettime", | |
| "unistd*.sleep", | |
| "unistd.lockf_partial_with_child", | |
| "unistd_nofortify.lockf_partial_with_child", | |
| // TODO(https://fxbug.dev/42081444): Flaky on the bots - needs to be investigated. | |
| "android_mallopt.multiple_enable_gwp_asan", | |
| "pidfd.pidfd_open", | |
| "spawn.signal_stress", | |
| // These tests were updated and no longer pass. | |
| "stdio.popen_return_value_signal", | |
| "stdio_nofortify.popen_return_value_signal", | |
| // TODO(b/308967162): Flaky on the bots - needs to be investigated. | |
| "properties.empty_value", | |
| "properties.no_fd_leaks", | |
| "properties.smoke", | |
| // TODO(https://fxbug.dev/377978557): Flaky on the bots - needs to be investigated. | |
| "pthread.pthread_mutex_clocklock_REALTIME", | |
| // TODO(https://fxbug.dev/316443018): Flaky on the bots - needs to be investigated. | |
| "pthread.pthread_mutex_timedlock", | |
| // Unknown futex command 0xd (these tests currently time out rather than fail) | |
| "pthread.pthread_mutex_timedlock_pi", | |
| "pthread.pthread_mutex_timedlock_monotonic_np_pi", | |
| "pthread.pthread_mutex_clocklock_pi", | |
| // TODO(https://fxbug.dev/317335324): Flaky on the bots - needs to be investigated. | |
| "properties.__system_property_reload_invalid", | |
| // Causes a segfault. | |
| "ifunc.hwcap", | |
| // TODO: https://fxbug.dev/287120797 - maybe we'll implement sched_getattr? | |
| "sched.sched_getattr", // https://fxbug.dev/287120797 | |
| // TODO: https://fxbug.dev/287114492 - maybe we'll implement sched_setattr? | |
| "sched.sched_setattr_failure", // https://fxbug.dev/287114492 | |
| // TODO: https://fxbug.dev/467539761 - requires hardware FE_TONEARESTFROMZERO. | |
| "fenv.fesetround_fegetround_FE_TONEARESTFROMZERO", | |
| // TODO: (b/468343046): Newly added and modified tests failing | |
| "unistd.fork_with_sme_za_active", | |
| "unistd.fork_with_sme_za_off", | |
| "unistd.fork_with_sme_za_dormant_state", | |
| "unistd.vfork_with_sme_za_active", | |
| "unistd.vfork_with_sme_za_off", | |
| "unistd.vfork_with_sme_za_dormant_state", | |
| "unistd.clone_with_sme_za_active", | |
| "unistd.clone_with_sme_za_off", | |
| "unistd.clone_with_sme_za_dormant_state", | |
| "unistd_nofortify.fork_with_sme_za_active", | |
| "unistd_nofortify.fork_with_sme_za_off", | |
| "unistd_nofortify.fork_with_sme_za_dormant_state", | |
| "unistd_nofortify.vfork_with_sme_za_active", | |
| "unistd_nofortify.vfork_with_sme_za_off", | |
| "unistd_nofortify.vfork_with_sme_za_dormant_state", | |
| "unistd_nofortify.clone_with_sme_za_active", | |
| "unistd_nofortify.clone_with_sme_za_off", | |
| "unistd_nofortify.clone_with_sme_za_dormant_state", | |
| ], | |
| }, | |
| ], | |
| } |