1# disabled_tests.txt: list of tests which cannot (currently) be built 2# for Android/bionic 3 4# POSIX functions not implemented in bionic 5confstr01 6fmtmsg01 7gethostid01 8ulimit01 9 10# Non-POSIX functions not implemented in bionic 11getcontext01 12mallopt01 13profil01 14stime01 15stime02 16## Uses SHM_LOCKED 17shmctl07 18 19# Test SysV IPC, which is not allowed in Android kernels. 20 21cve-2017-5669 22cachestat02 23hugeshmat01 24hugeshmat02 25hugeshmat03 26hugeshmat04 27hugeshmat05 28hugeshmctl01 29hugeshmctl02 30hugeshmctl03 31hugeshmdt01 32hugeshmget01 33hugeshmget02 34hugeshmget03 35hugeshmget05 36mallocstress 37mesgq_nstest 38message_queue_test_01 39message_queue_test_02_ctl 40message_queue_test_02_get 41message_queue_test_02_rcv 42message_queue_test_02_snd 43message_queue_test_04 44message_queue_test_05 45msg_comm 46msgctl01 47msgctl02 48msgctl03 49msgctl04 50msgctl05 51msgctl06 52msgctl07 53msgctl08 54msgctl09 55msgctl10 56msgctl11 57msgctl12 58msgctl13 59msgget01 60msgget02 61msgget03 62msgget04 63msgrcv01 64msgrcv02 65msgrcv03 66msgrcv04 67msgrcv05 68msgrcv06 69msgrcv07 70msgrcv08 71msgsnd01 72msgsnd02 73msgsnd03 74msgsnd04 75msgsnd05 76msgsnd06 77msgstress01 78msgstress02 79msgstress03 80msgstress04 81remap_file_pages01 82sem01 83sem02 84sem_comm 85sem_nstest 86semaphore_test_01 87semaphore_test_02 88semaphore_test_03 89semctl01 90semctl02 91semctl03 92semctl04 93semctl05 94semctl06 95semctl07 96semget01 97semget02 98semget03 99semget05 100semget06 101semop01 102semop02 103semop03 104semop04 105semop05 106semtest_2ns 107setns02 108shm_comm 109shm_test 110shmat01 111shmat02 112shmat03 113shmat1 114shmctl01 115shmctl02 116shmctl03 117shmctl04 118shmctl05 119shmctl06 120shmctl07 121shmctl08 122shmdt01 123shmdt02 124shmem_2nstest 125shmem_test_01 126shmem_test_02 127shmem_test_03 128shmem_test_04 129shmem_test_05 130shmem_test_06 131shmem_test_07 132shmget01 133shmget02 134shmget03 135shmget04 136shmget05 137shmget06 138shmnstest 139shmt02 140shmt03 141shmt04 142shmt05 143shmt06 144shmt07 145shmt08 146shmt09 147shmt10 148# Require SysV IPC, but don't directly test it -- these could potentially be 149# wrapped with ashmem 150cpuset_memory_test 151diotest4 152doio 153futex_wait02 154futex_wake03 155hugemmap05 156kill05 157kill07 158madvise03 159memcg_process 160mremap04 161open12 162openat02 163process 164sendmsg02 165 166# needs gzip -r 167gzip_tests.sh 168 169# needs mv -b 170mv_tests.sh 171 172# needs tar -d, tar -r 173tar_tests.sh 174 175# needs wc --long-options 176wc01.sh 177 178# needs which --long-options 179which01.sh 180 181# Following tests are for commands that are not available on Android 182# device 183ar01 184at_allow01 185at_deny01 186cron02 187cron03 188cron_allow01 189cron_deny01 190cron_dirs_check 191cron_dirs_checks01 192cron_illegal_cron_lines 193cron_neg_tests.sh 194cron_pos_tests.sh 195cron_tests.sh 196du01.sh 197eject_check_tray 198eject-tests.sh 199file_test.sh 200insmod01.sh 201keyctl01.sh 202ld01 203ldd01 204lddfile.out 205lddfile1.obj.so 206lddfile2.obj.so 207lddfile3.obj.so 208lddfile4.obj.so 209lddfile5.obj.so 210logrotate_tests.sh 211lsmod01.sh 212mail_tests.sh 213mkswap01.sh 214nm01 215sssd01 216sssd02 217sssd03 218sssd-lib.sh 219su01 220su01_s1 221su_set_passwd 222tpm_changeauth_tests.sh 223tpm_changeauth_tests_exp01.sh 224tpm_changeauth_tests_exp02.sh 225tpm_changeauth_tests_exp03.sh 226tpm_clear_tests.sh 227tpm_clear_tests_exp01.sh 228tpm_getpubek_tests.sh 229tpm_getpubek_tests_exp01.sh 230tpm_restrictpubek_tests.sh 231tpm_restrictpubek_tests_exp01.sh 232tpm_restrictpubek_tests_exp02.sh 233tpm_restrictpubek_tests_exp03.sh 234tpm_selftest_tests.sh 235tpm_takeownership_tests.sh 236tpm_takeownership_tests_exp01.sh 237tpm_version_tests.sh 238tpmtoken_import_tests.sh 239tpmtoken_import_tests_exp01.sh 240tpmtoken_import_tests_exp02.sh 241tpmtoken_import_tests_exp03.sh 242tpmtoken_import_tests_exp04.sh 243tpmtoken_import_tests_exp05.sh 244tpmtoken_import_tests_exp06.sh 245tpmtoken_import_tests_exp07.sh 246tpmtoken_import_tests_exp08.sh 247tpmtoken_init_tests.sh 248tpmtoken_init_tests_exp00.sh 249tpmtoken_init_tests_exp01.sh 250tpmtoken_init_tests_exp02.sh 251tpmtoken_init_tests_exp03.sh 252tpmtoken_objects_tests.sh 253tpmtoken_objects_tests_exp01.sh 254tpmtoken_protect_tests.sh 255tpmtoken_protect_tests_exp01.sh 256tpmtoken_protect_tests_exp02.sh 257tpmtoken_setpasswd_tests.sh 258tpmtoken_setpasswd_tests_exp01.sh 259tpmtoken_setpasswd_tests_exp02.sh 260tpmtoken_setpasswd_tests_exp03.sh 261tpmtoken_setpasswd_tests_exp04.sh 262unzip_tests.sh 263 264# Following tests are for containers which Android doesn't support / use. 265# Some of these also require SysV IPC, so they need to be disabled anyway. 266mountns01 267mountns02 268mountns03 269mountns04 270mesgq_nstest 271mqns_01 272mqns_02 273mqns_03 274mqns_04 275msg_comm 276netns_breakns.sh 277netns_comm.sh 278netns_helper.sh 279netns_netlink 280netns_sysfs.sh 281ns_create 282ns_exec 283ns_ifmove 284pidns01 285pidns02 286pidns03 287pidns04 288pidns05 289pidns06 290pidns10 291pidns12 292pidns13 293pidns16 294pidns17 295pidns20 296pidns30 297pidns31 298pidns32 299runipctests_noltp.sh 300runutstests_noltp.sh 301sem_comm 302sem_nstest 303semtest_2ns 304setns_check 305shm_comm 306shmem_2nstest 307shmnstest 308userns01 309userns02 310userns03 311userns04 312userns05 313userns06 314userns06_capcheck 315userns07 316userns08 317utstest 318 319# Following test require 'syslogd' running on device which Android doesn't 320# support 321syslog01 322syslog02 323syslog03 324syslog04 325syslog05 326syslog06 327syslog07 328syslog08 329syslog09 330syslog10 331syslog-lib.sh 332 333# Require mkfs on device 334access06 335chmod06 336chown04 337chown04_16 338creat06 339df01.sh 340mkfs01.sh 341 342# Requires mksquashfs 343squashfs01 344 345# Requires glob() 346epoll-test 347 348# Requires termios.h 349ioctl02 350 351# Require aio.h 352growfiles 353pipeio 354 355# Require mqueue 356mq_timedsend01 357mq_notify01 358mq_notify02 359mq_notify03 360mq_open01 361mq_timedreceive01 362mq_unlink01 363mqns_01 364mqns_02 365mqns_03 366mqns_04 367pidns30 368pidns31 369 370# Require rpc(3) 371rpc_server 372rpc1 373 374# Broken by bionic struct in6_addr definition 375in6_01 376 377# bionic doesn't expose resolver routines to the public 378mc_gethost 379 380# Require mkfifo 381gf12 382gf13 383 384# Case designed only for i386 385f00f 386 387# build error due to unavailability of eaccess() 388prot_hsymlinks 389 390# The following test prebuilds are disabled due to build error on AOSP 391ldmain.obj 392rd1.obj 393d1.obj 394test_arch_debug 395nmfile3.obj 396nmfile1.obj 397test 398check_tray 399test_arch_stripped 400rf1.obj 401test_arch.obj 402f1.obj 403nmfile.obj 404nmfile2.obj 405 406# The following test cases are disabled due to a disabled cflags 407 408# TODO b/69263988 409# The leapsec timer test relies on manipulations of the system time 410# which may be disrupted if the device is configured to use network time. 411leapsec_timer 412 413# b/70174578 414# The getrusage03 test is dependent on the runtime environment and the current 415# memory pressure in the system, making it a poor choice to include in a 416# compliance test suite. 417getrusage03 418 419# input03 depends on /dev/input/mice which may not exist 420input03 421 422# Following test is flaky at best and renders the device unusable 423# after running. 424min_free_kbytes 425 426# Disable prebuilts that have no dependency on existing tests. The following prebuilts are disabled 427# as the only script that uses it is testscripts/test_fs_bind.sh. We currently do not support 'testscripts' 428# build for Android. 429testcases/bin/fs_bind/bind/test01 430testcases/bin/fs_bind/bind/test02 431testcases/bin/fs_bind/bind/test03 432testcases/bin/fs_bind/bind/test04 433testcases/bin/fs_bind/bind/test05 434testcases/bin/fs_bind/bind/test06 435testcases/bin/fs_bind/bind/test07 436testcases/bin/fs_bind/bind/test07-2 437testcases/bin/fs_bind/bind/test08 438testcases/bin/fs_bind/bind/test09 439testcases/bin/fs_bind/bind/test13 440testcases/bin/fs_bind/bind/test17 441testcases/bin/fs_bind/bind/test20 442testcases/bin/fs_bind/bind/test21 443testcases/bin/fs_bind/bind/test22 444testcases/bin/fs_bind/bind/test23 445testcases/bin/fs_bind/bind/test24 446testcases/bin/fs_bind/cloneNS/test01 447testcases/bin/fs_bind/cloneNS/test02 448testcases/bin/fs_bind/cloneNS/test03 449testcases/bin/fs_bind/cloneNS/test04 450testcases/bin/fs_bind/cloneNS/test05 451testcases/bin/fs_bind/cloneNS/test06 452testcases/bin/fs_bind/cloneNS/test07 453testcases/bin/fs_bind/move/test01 454testcases/bin/fs_bind/move/test02 455testcases/bin/fs_bind/move/test03 456testcases/bin/fs_bind/move/test04 457testcases/bin/fs_bind/move/test05 458testcases/bin/fs_bind/move/test06 459testcases/bin/fs_bind/move/test07 460testcases/bin/fs_bind/move/test09 461testcases/bin/fs_bind/move/test10 462testcases/bin/fs_bind/move/test11 463testcases/bin/fs_bind/move/test12 464testcases/bin/fs_bind/move/test13 465testcases/bin/fs_bind/move/test14 466testcases/bin/fs_bind/move/test15 467testcases/bin/fs_bind/move/test16 468testcases/bin/fs_bind/move/test17 469testcases/bin/fs_bind/move/test18 470testcases/bin/fs_bind/move/test19 471testcases/bin/fs_bind/move/test20 472testcases/bin/fs_bind/move/test21 473testcases/bin/fs_bind/rbind/test08 474testcases/bin/fs_bind/rbind/test10 475testcases/bin/fs_bind/rbind/test11 476testcases/bin/fs_bind/rbind/test12 477testcases/bin/fs_bind/rbind/test14 478testcases/bin/fs_bind/rbind/test15 479testcases/bin/fs_bind/rbind/test16 480testcases/bin/fs_bind/rbind/test18 481testcases/bin/fs_bind/rbind/test19 482testcases/bin/fs_bind/rbind/test22 483testcases/bin/fs_bind/regression/test01 484testcases/bin/fs_bind/regression/test02 485testcases/bin/fs_bind/regression/test03 486 487# Depends on CONFIG_EXT4_FS_ENCRYPTION which is not required on Android. 488# b/123523766 489statx05 490# Depends on exportfs (NFS not supported on Android). 491# b/191236106 492statx07 493 494# Disabled from LTP20190517 495# b/136666217 496# Needs pthread_cancel() and friends 497af_alg02 498 499# Disabled from LTP20230127 500# b/277959438 501# Needs pthread_cancel() and friends 502nice05 503 504# Depends on HDLC line discipline (not enabled on Android). 505# b/191224903 506pty05 507 508# Disable RPC tests as not available in Android. 509rpc01.sh 510rpc_lib.sh 511rpc_test.sh 512rpcinfo01.sh 513rup01.sh 514rusers01.sh 515rpc_auth_destroy 516rpc_authnone_create 517rpc_authunix_create 518rpc_authunix_create_default 519rpc_callrpc 520rpc_callrpc_dataint 521rpc_callrpc_performance 522rpc_callrpc_scalability 523rpc_callrpc_stress 524rpc_cleaner 525rpc_clnt_broadcast 526rpc_clnt_broadcast_complex 527rpc_clnt_broadcast_dataint 528rpc_clnt_broadcast_performance 529rpc_clnt_broadcast_scalability 530rpc_clnt_broadcast_stress 531rpc_clnt_call 532rpc_clnt_call_complex 533rpc_clnt_call_dataint 534rpc_clnt_call_performance 535rpc_clnt_call_scalability 536rpc_clnt_call_stress 537rpc_clnt_control 538rpc_clnt_control_dataint 539rpc_clnt_create 540rpc_clnt_create_stress 541rpc_clnt_destroy 542rpc_clnt_destroy_stress 543rpc_clnt_freeres 544rpc_clnt_geterr 545rpc_clnt_pcreateerror 546rpc_clnt_perrno 547rpc_clnt_perror 548rpc_clnt_spcreateerror 549rpc_clnt_sperrno 550rpc_clnt_sperror 551rpc_clntraw_create 552rpc_clntraw_create_complex 553rpc_clntraw_create_performance 554rpc_clnttcp_create 555rpc_clnttcp_create_limits 556rpc_clnttcp_create_performance 557rpc_clnttcp_create_stress 558rpc_clntudp_bufcreate 559rpc_clntudp_bufcreate_limits 560rpc_clntudp_create 561rpc_clntudp_create_performance 562rpc_clntudp_create_stress 563rpc_get_myaddress 564rpc_pmap_getmaps 565rpc_pmap_getport 566rpc_pmap_rmtcall 567rpc_pmap_rmtcall_performance 568rpc_pmap_rmtcall_stress 569rpc_pmap_set 570rpc_pmap_unset 571rpc_svc_1 572rpc_svc_2 573rpc_svc_destroy 574rpc_svc_destroy_stress 575rpc_svc_freeargs 576rpc_svc_freeargs_svc 577rpc_svc_getargs 578rpc_svc_getargs_client 579rpc_svc_getargs_dataint 580rpc_svc_getcaller 581rpc_svc_register 582rpc_svc_sendreply 583rpc_svc_sendreply_client 584rpc_svc_unregister 585rpc_svcerr_auth 586rpc_svcerr_noproc 587rpc_svcerr_noprog 588rpc_svcerr_progvers 589rpc_svcerr_systemerr 590rpc_svcerr_weakauth 591rpc_svcfd_create 592rpc_svcfd_create_limits 593rpc_svcraw_create 594rpc_svcraw_create_performance 595rpc_svctcp_create 596rpc_svctcp_create_limits 597rpc_svctcp_create_performance 598rpc_svctcp_create_stress 599rpc_svcudp_bufcreate 600rpc_svcudp_bufcreate_limits 601rpc_svcudp_create 602rpc_svcudp_create_performance 603rpc_svcudp_create_stress 604rpc_xprt_register 605rpc_xprt_unregister 606 607# Depends on /proc/net/connector and /dev/shm (not available on Android) 608# b/229724819 609cn_pec.sh 610 611# numa 612set_mempolicy01 613set_mempolicy02 614set_mempolicy03 615set_mempolicy04 616set_mempolicy05 617 618# Needs build script updates to support this test 619# b/246845416 620kvm_pagefault01 621kvm_pagefault01-payload.elf 622kvm_svm01 623kvm_svm01-payload.elf 624kvm_svm02 625kvm_svm02-payload.elf 626kvm_svm03 627kvm_svm03-payload.elf 628kvm_svm04 629kvm_svm04-payload.elf 630 631# Redefines cacheflush 632# b/277960476 633hugemmap15 634 635# Uses PTHREAD_MUTEX_ROBUST 636testpi-0 637testpi-6 638sbrk_mutex 639 640# TSC unsupported 641async_handler_tsc 642preempt_timing 643rdtsc-latency 644