aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/runtest/executor_test.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/runtest: use qemu-<arch> binaries to run cross-compiled testsAlexander Potapenko2024-12-061-7/+50
| | | | | | | | | When running the executor tests, do not rely on qemu-user providing binfmt_misc handlers for alien arches (e.g. arm64 on x86), because binfmt_misc cannot be mounted inside the Docker container. Instead, explicitly run the cross-compiled executor under the corresponding QEMU binary.
* pkg/runtest: make cross-arch failures fatal on CIAlexander Potapenko2024-12-061-1/+2
| | | | | When running on Github CI, turn every failure to start a cross-arch binary (e.g. due to missing qemu-user) into a fatal error.
* pkg/runtest: fail on cross-platform SYZFAIL reportsAlexander Potapenko2024-12-051-1/+6
| | | | | | | Previously, cross-platform invocations of `syz-executor test` were ignored in the case of a SYZFAIL, and the test was still marked as PASS. Explicitly report a test failure instead.
* executor: add Glob testDmitry Vyukov2024-11-261-1/+2
|
* pkg/runtest: reduce the number of executorsAleksandr Nogikh2024-07-111-2/+2
| | | | | On 32 core machines, we spin up 32 executor procs per each subtest. In many cases, we don't need that many.
* pkg/rpcserver: move kernel test/data range checks from executorDmitry Vyukov2024-07-011-2/+2
| | | | | | | | | | | | | | | | | We see some errors of the form: SYZFAIL: coverage filter is full pc=0x80007000c0008 regions=[0xffffffffbfffffff 0x243fffffff 0x143fffffff 0xc3fffffff] alloc=156 Executor shouldn't send non kernel addresses in signal, but somehow it does. It can happen if the VM memory is corrupted, or if the test program does something very nasty (e.g. discovers the output region and writes to it). It's not possible to reliably filter signal in the tested VM. Move all of the filtering logic to the host. Fixes #4942
* pkg/runtest: add tests for max signal and cover filterDmitry Vyukov2024-06-281-2/+2
|
* pkg/runtest: test feature detectionDmitry Vyukov2024-06-271-2/+2
| | | | | Fail some features in various ways for test OS, and check that features are detected properly.
* executor: add runner modeDmitry Vyukov2024-06-241-0/+131
Move all syz-fuzzer logic into syz-executor and remove syz-fuzzer. Also restore syz-runtest functionality in the manager. Update #4917 (sets most signal handlers to SIG_IGN)