ci/lavapipe: Add a fractional run with ASan

This catches use-after-frees and buffer overflows, but not leaks (which we
disable the checking for since the library gets dlclose()d and we end up
with useless backtraces).

Reviewed-by: Adam Jackson <ajax@redhat.com>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8889>
This commit is contained in:
Emma Anholt 2021-07-12 16:07:07 +01:00 committed by Marge Bot
parent 47996b951e
commit 03e457bb1a
3 changed files with 36 additions and 13 deletions

View File

@ -0,0 +1,4 @@
dEQP-VK.glsl.builtin.precision.pow.highp.vec2,Fail
dEQP-VK.glsl.texture_functions.query.texturequerylod.sampler2d_fixed_fragment,Fail
dEQP-VK.draw.multi_draw.mosaic.indexed_packed.max_draws.standard_stride.10_instances.offset_6,Crash
dEQP-VK.draw.multi_draw.overlapping.indexed_packed.one_draw.standard_stride.no_instances.offset_6,Crash

View File

@ -0,0 +1,5 @@
# Lots of timeouts
dEQP-VK.texture.filtering.*.combinations.*
dEQP-VK.binding_model.buffer_device_address.set3.depth3.*
dEQP-VK.ssbo.layout.*instance_array
dEQP-VK.tessellation.invariance.*

View File

@ -1,25 +1,39 @@
.lavapipe-test:
stage: software-renderer
extends:
- .test-vk
- .lavapipe-rules
- .deqp-test-vk
variables:
GPU_VERSION: lvp
VK_DRIVER: lvp
DEQP_EXPECTED_RENDERER: llvmpipe
lavapipe-vk:
stage: software-renderer
extends:
- .test-vk
- .lavapipe-rules
- .deqp-test-vk
- .lavapipe-test
variables:
GPU_VERSION: lvp
VK_DRIVER: lvp
DEQP_FRACTION: 10
DEQP_EXPECTED_RENDERER: llvmpipe
lavapipe-nir-stress:
stage: software-renderer
extends:
- .test-vk
- .lavapipe-rules
- .deqp-test-vk
- .lavapipe-test
variables:
GPU_VERSION: lvp
VK_DRIVER: lvp
DEQP_FRACTION: 100
DEQP_EXPECTED_RENDERER: llvmpipe
NIR_TEST_CLONE: "true"
NIR_TEST_SERIALIZE: "true"
lavapipe-vk-asan:
extends:
- .lavapipe-test
variables:
GPU_VERSION: lvp-asan
DEQP_FRACTION: 50
TEST_LD_PRELOAD: libasan.so.6
# Disable the leak checks, since the library gets dlclose()d and thus get
# totally useless leak reports. We can still catch buffer overflows.
ASAN_OPTIONS: "detect_leaks=0"
needs:
- debian/x86_test-vk
- debian-testing-asan