aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-02Snap for 11400057 from de6749184db7dc184e1a4df4fc3e2291f637f9cf to ↵simpleperf-releaseAndroid Build Coastguard Worker
simpleperf-release Change-Id: Ib076b9f8ec994344d89bb679fbb39064269b4972
2023-12-07Merge "Insert missing semicolon in test xml post-push command" into main am: ↵android-u-qpr3-beta-1-gplandroid-u-qpr2-beta-2-gplTreehugger Robot
90ca895c53 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2864656 Change-Id: Ida1783699bb348e283de3f11dfa9061f093e512e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-07Merge "Insert missing semicolon in test xml post-push command" into mainTreehugger Robot
2023-12-07Insert missing semicolon in test xml post-push commandEdward Liaw
Post-push was missing a semicolon after the chmod. Bug: 277261121 Fixes: ce06ca726b273 ("linux-kselftest: Use data field to copy test artifacts") Test: atest -a vts_linux_kselftest_x86_64 Change-Id: I3d6f8e9e53d7cf59e163eedb1be87d45ed70154f Signed-off-by: Edward Liaw <edliaw@google.com>
2023-12-04Re-enable LTO for linux-kselftest am: 5d9d3fcd36Yi Kong
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2853675 Change-Id: I9401d4461401061c8f6e4b8f1984eb779dba4387 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-02Re-enable LTO for linux-kselftestYi Kong
The build breakage is now fixed by the current stable Clang, workaround is no longer needed. Test: presubmit Bug: 169004486 Bug: 241723066 Change-Id: I1245e6dd004790d911df9450d06a73be3306219a
2023-11-22Snap for 11135399 from e2dac88019461f6c85e445bf1578778937e1c8f4 to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: Iede8dc2426d7e4d503418c9ac63bd7d6d5cc9aff
2023-11-16[automerger skipped] Disable warning for kernel 6.5 update. am: e4f0baa268 ↵Christopher Ferris
-s ours am: e2dac88019 -s ours am skip reason: Merged-In I5b0a04f29625387acd89e36489c069f773c5f63e with SHA-1 cb8c3ac02a is already in history Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2832034 Change-Id: I14d279128941ad075b24f83c18bb53169da8f965 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-16[automerger skipped] Disable warning for kernel 6.5 update. am: e4f0baa268 ↵Christopher Ferris
-s ours am skip reason: Merged-In I5b0a04f29625387acd89e36489c069f773c5f63e with SHA-1 cb8c3ac02a is already in history Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2832034 Change-Id: Ic24bdcf4cbaa685718a0605be35f33bd988359af Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15Disable warning for kernel 6.5 update.android14-tests-devChristopher Ferris
The struct sockaddr_ll was modified so that a [] variable is now in the struct. Since this is not fatal, simply disable the warning. Test: Builds and ran vts-tradefed run vts-kernel -m vts_linux_kselftest_arm_64 (cherry picked from https://android-review.googlesource.com/q/commit:cb8c3ac02a3807b60963b166aaa20f5bbd6c7f31) Merged-In: I5b0a04f29625387acd89e36489c069f773c5f63e Change-Id: I5b0a04f29625387acd89e36489c069f773c5f63e
2023-11-08Merge "android/README.md: Fix paths and commands to build and run tests" ↵Treehugger Robot
into main am: d4debe95f6 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2817698 Change-Id: Ic44958f8f6b85ae396f541e3decda0360d5fc29a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08Merge "android/README.md: Fix paths and commands to build and run tests" ↵android-u-rb-dp-10-gplandroid-u-rb-dp-10-gplTreehugger Robot
into main
2023-11-03ANDROID: Get kernel version to handle UFFD_POISON. am: adab44284bChristopher Ferris
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2815113 Change-Id: I3d053330858771e3765cd995d01b1f9b363065ae Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-03ANDROID: Get kernel version to handle UFFD_POISON.Christopher Ferris
The 6.6 kernels are the first version to handle the UFFD_POISON ioctl, so skip checking for this ioctl based on the kernel being tested. Bug: 308714445 Test: Ran atest -a vts_linux_kselftest_x86_32 Test: Ran atest -a vts_linux_kselftest_x86_64 Change-Id: Ib4cbac94776efb2d09f19333075da839dc274635
2023-11-03android/README.md: Fix paths and commands to build and run testsEdward Liaw
Update to match changes made in aosp/2736933 and aosp/2770908. Bug: 277261121 Test: N/A Change-Id: I7e7e35f1c150abc6545f3458b3a52886ece81e7f Signed-off-by: Edward Liaw <edliaw@google.com>
2023-11-02Allow ioctls not to include UFFD_POISON. am: 6f52d50ac9Christopher Ferris
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2815013 Change-Id: I57ea4b12bc034941c9355d535760225460e19f06 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-01Allow ioctls not to include UFFD_POISON.Christopher Ferris
The update to the 6.6 kernel headers introduced a new userfaultfd ioctl UFFD_POISON. When checking ioctls, allow this ioctl to be missing. Bug: 308714445 Test: Ran atest -a vts_linux_kselftest_x86_32 Test: Ran atest -a vts_linux_kselftest_x86_64 Change-Id: I37d4ce63b7e520c13ac1d5dbed4659eca16af3a6
2023-10-31[automerger skipped] kselftests: Add component to OWNERS file am: e4f29d39d4 ↵Edward Liaw
-s ours am: be3873384c -s ours am skip reason: Merged-In I670f44093d4a6b386f558ea8e368c469f99b6dd8 with SHA-1 a0a0bee0ef is already in history Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2810773 Change-Id: I47f39021745259fbb8cf1fa88897f74f0b84edd4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31[automerger skipped] kselftests: Add component to OWNERS file am: e4f29d39d4 ↵Edward Liaw
-s ours am skip reason: Merged-In I670f44093d4a6b386f558ea8e368c469f99b6dd8 with SHA-1 a0a0bee0ef is already in history Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2810773 Change-Id: I492e6f76b159da4c84325163bd39dcac3f352ced Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-30Snap for 11024862 from 88a9056dde2d6a36480b8bc7f42c624fdc2cefae to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: Ie0dbccb00e9a3f6996a4f608dd8f9f042dc34d8a
2023-10-30kselftests: Add component to OWNERS fileEdward Liaw
Test: N/A Signed-off-by: Edward Liaw <edliaw@google.com> (cherry picked from https://android-review.googlesource.com/q/commit:a0a0bee0ef473b1eee98ccc8150242a72f365ac4) Merged-In: I670f44093d4a6b386f558ea8e368c469f99b6dd8 Change-Id: I670f44093d4a6b386f558ea8e368c469f99b6dd8
2023-10-25Merge changes from topic "kselftests-futex-min-kver5.1" into main am: 88a9056ddeEdward Liaw
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2799344 Change-Id: I84cde89e675d8a70bb121985abe1ce39cbf7fb99 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25FROMLIST: selftests: futex: Use a 64-bit time_t am: 2cfedebbe1Alistair Francis
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2791624 Change-Id: Ic11a41c0edb898dc4db77c863bb9483d5cd89eec Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25Revert "kselftests: Increase per binary timeout to 30m" am: d152196f62Edward Liaw
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2799345 Change-Id: I1102b5e7d65f8d516c1c02bcdf64bff040131f33 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25Merge changes from topic "kselftests-futex-min-kver5.1" into mainEdward Liaw
* changes: kselftest: futex tests need a min kernel version of 5.1 FROMLIST: selftests: futex: Use a 64-bit time_t Revert "kselftests: Increase per binary timeout to 30m"
2023-10-24kselftest: futex tests need a min kernel version of 5.1Edward Liaw
Bug: 305651744 Test: atest -a vts_linux_kselftest_x86_32:futex_functional_run.sh_x86_32 Test: atest -a vts_linux_kselftest_x86_64:futex_functional_run.sh_x86_64 Change-Id: I0931f19f0fdd8067c9af4c70cda8432fa601cf99 Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-24FROMLIST: selftests: futex: Use a 64-bit time_tAlistair Francis
Convert the futex selftests to only use a 64-bit time_t. On 64-bit architectures this isn't a functional change. On 32-bit architectures we now only perform 64-bit time_t syscalls (__NR_futex_time64) and use a struct timespec64. This won't work on kernels before 5.1, but as perf is tied to the kernel that's ok. This allows the tests to run and pass on RISC-V 32-bit. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Arnd Bergmann <arnd@arndb.de> Change-Id: Ic61bbedf667ea8d93928916a39c924333cb10c28 Link: https://lore.kernel.org/all/20211014055527.1238645-2-alistair.francis@opensource.wdc.com/ Bug: 305651744 Test: atest -a vts_linux_kselftest_x86_32:futex_functional_run.sh_x86_32 Test: atest -a vts_linux_kselftest_x86_64:futex_functional_run.sh_x86_64 Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-24Revert "kselftests: Increase per binary timeout to 30m"Edward Liaw
This reverts commit 4dcf285423de19308f3e36905d5bbe53cee67ece. Reason for revert: Should not be necessary once futex test is fixed Change-Id: Ia1d05fe464dae1c63013c7be1592436db9307f77
2023-10-16Snap for 10957012 from 28968f8868592f35cdbeff8f79fc0e54825d415c to ↵Android Build Coastguard Worker
simpleperf-release Change-Id: Ia98ffae397ed7e55b0786cc5ba360115dfe716c6
2023-10-14Merge "kselftests: Increase per binary timeout to 30m" into main am: ↵Edward Liaw
28968f8868 am: 550ccee809 am: 19dd774142 am: 6115fa6f99 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2787030 Change-Id: I81984a12044476e1bc32fdb59df7e53927aa5702 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-14Merge changes from topic "kselftest-6.1" into main am: 8838dddac5 am: ↵Edward Liaw
37a352367e am: 4df529f2de am: a34f2288f9 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2779273 Change-Id: Iece4d44f447c2c23828002300b28ba2ad2338748 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-14Merge "kselftests: Increase per binary timeout to 30m" into main am: ↵Edward Liaw
28968f8868 am: 550ccee809 am: 19dd774142 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2787030 Change-Id: Ic92399c7e4b7d64ce02e72ef437199fc6d4a04f3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-14Merge changes from topic "kselftest-6.1" into main am: 8838dddac5 am: ↵Edward Liaw
37a352367e am: 4df529f2de Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2779273 Change-Id: Ie617de3686720225c4105a9cb9cd5a7d2c92269b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13Merge "kselftests: Increase per binary timeout to 30m" into main am: ↵Edward Liaw
28968f8868 am: 550ccee809 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2787030 Change-Id: I838909c79b39c1b00e9a10bc96e9f4fcc03611af Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13Merge changes from topic "kselftest-6.1" into main am: 8838dddac5 am: 37a352367eEdward Liaw
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2779273 Change-Id: I805cb31f5be582c9677bb2f461cd9f1d4cd11a9e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13Merge "kselftests: Increase per binary timeout to 30m" into main am: 28968f8868Edward Liaw
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2787030 Change-Id: I507d79c534eeff0a8595f192219913d7d4f9e07c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13Merge changes from topic "kselftest-6.1" into main am: 8838dddac5Edward Liaw
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2779273 Change-Id: I1235525c720b9a76ca8a2a7d4378d7ccd35c9c3c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-13Merge "kselftests: Increase per binary timeout to 30m" into mainEdward Liaw
2023-10-13Merge changes from topic "kselftest-6.1" into mainEdward Liaw
* changes: Android.bp: seccomp_bpf: Allow unused functions in build Android.bp: userfaultfd: Compile vm_util library Android.bp: seccomp_bpf: Needs libcap to compile Revert "selftests/uffd: enable uffd-wp for shmem/hugetlbfs" futex: Skip when futex_waitv/shmget not implemented seccomp_bpf: Disable incompatible tests kselftest: Apply android/patches to 6.1 merge kselftest: Update patchset for 6.1 merge linux-kselftest: Merge with linux 6.1
2023-10-13kselftests: Increase per binary timeout to 30mEdward Liaw
Futex functional run typically runs for 20m due to futex_requeue_pi test. Bug: 303675116 Test: atest -a vts_linux_kselftest_x86_32 Test: atest -a vts_linux_kselftest_x86_64 Change-Id: I4c893ebf225618e289332abfac23baee495fdc8e Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-12Android.bp: seccomp_bpf: Allow unused functions in buildEdward Liaw
Because some of the tests were disabled because of backwards incompatibility, allow some of the functions to be unused. Bug: 303675116 Test: mma Change-Id: I8c782ea0622728c1f73fa145997f64d2de94f42e Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-12Android.bp: userfaultfd: Compile vm_util libraryEdward Liaw
Bug: 303675116 Test: mma Change-Id: Ifebb7d1dd3911d83ad1a0746dab428c7e4a0b028 Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-12Android.bp: seccomp_bpf: Needs libcap to compileEdward Liaw
Bug: 303675116 Test: mma Change-Id: I1930d3af841494a2c2521b57b22cf933dcd8fd1d Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-12Revert "selftests/uffd: enable uffd-wp for shmem/hugetlbfs"Edward Liaw
This reverts commit c0eeeb02d9df878c71a457008900b650d94bd0d9. Reason for revert: uffd-wp support is only from >5.19 of the kernel. It will fail on most of the active Android kernels Bug: 303675116 Test: atest vts_linux_kselftest_arm_64:vm_userfaultfd_shmem_arm_64 Change-Id: I3c59ea4dce7ca240d55b70847c3766d3f8e01d61 Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-12futex: Skip when futex_waitv/shmget not implementedEdward Liaw
getshm and futex_waitv are not implemented in Android. These rely on System V shared memory functions which is disallowed by selinux. Bug: 234151152 Test: atest vts_linux_kselftest_arm_64:futex_functional_run.sh_arm_64 Change-Id: Ic6691b2cc4373031a541c3289342d1d57ba7efd5 Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-12seccomp_bpf: Disable incompatible testsEdward Liaw
Bug: 147676645 Test: atest vts_linux_kselftest_x86_64:seccomp_seccomp_bpf_x86_64 Test: atest vts_linux_kselftest_arm_64:seccomp_seccomp_bpf_arm_64 Change-Id: Ie73305f9fe1f386ea49aee4465baf4e60f7951cb Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-12kselftest: Apply android/patches to 6.1 mergeEdward Liaw
Bug: 303675116 Test: atest vts_linux_kselftest_x86_64 Test: atest vts_linux_kselftest_arm_64 Change-Id: Ic95543014df0bfd50b45572c582e22f4ae24f5d4 Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-12kselftest: Update patchset for 6.1 mergeEdward Liaw
Deleted: * seccomp-disable-tests-broken-on-kernels-4.8.patch - we don't need to support <4.8 Squashed: * 0014-seccomp-bpf.patch and 0021-seccomp_bpf-disable-incompatible-tests-4.14.patch * 0018-futex-skip-when-syscalls-unavailable.patch 0024-futex-disable-futex_wait-and-futex_waitv.patch 0025-futex-disable-components-that-use-futex_waitv.patch Added: * 0021-seccomp_bpf-Disable-incompatible-tests.patch * 0022-futex-Skip-when-futex_waitv-shmget-not-implemented.patch Bug: 303675116 Test: N/A Change-Id: Id718356466f45d676dd782d91f87f53cacdbe777 Signed-off-by: Edward Liaw <edliaw@google.com>
2023-10-12[automerger skipped] Skip android14-tests-dev am: 1c0d8be1bf -s ours am: ↵Xin Li
e422857ede -s ours am: d29df3234d -s ours am: 19df49e899 -s ours am skip reason: Merged-In I7ed44e3ae7635a09becd36e2732e73f70762ff9c with SHA-1 3ccdb217f1 is already in history Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2781501 Change-Id: I4ee4ff010a51927f2e2ee168f7f1b03b0ecd9ee3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-12[automerger skipped] Skip android14-tests-dev am: 1c0d8be1bf -s ours am: ↵Xin Li
e422857ede -s ours am: d29df3234d -s ours am skip reason: Merged-In I7ed44e3ae7635a09becd36e2732e73f70762ff9c with SHA-1 3ccdb217f1 is already in history Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/2781501 Change-Id: Iedd3471dadda3d21ac46371ea266673094745365 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>