Mike Blumenkrantz
6cd4372460
ci: prune dri from LD_LIBRARY_PATH
...
partial revert of 50fc7cc290
Fixes: 50fc7cc290 ("glx: directly link to gallium")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30346 >
2024-07-24 15:53:12 +00:00
Eric Engestrom
23ef65ea3b
ci/vkd3d: fix LD_LIBRARY_PATH
...
Fixes: 50fc7cc290 ("glx: directly link to gallium")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30258 >
2024-07-19 08:29:51 +00:00
Mike Blumenkrantz
50fc7cc290
glx: directly link to gallium
...
this eliminates the loader interface, which avoids an entire class
of issues and simplifies a bunch of code
Acked-by: Daniel Stone <daniels@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29771 >
2024-07-18 20:30:43 +00:00
Eric Engestrom
39f5bbf871
ci/vkd3d: drop redundant "vkd3d-proton execution: SUCCESS"
...
The `+ exit 0` on the next line says the same thing, and we no longer
use that string for grepping the status anyway.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
9a9204764a
ci/vkd3d: drop quiet wrapper
...
It could be useful for complex printf with embedded subshells, but here
it's just spammy, which is the opposite of what it claims to be for.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
b6633e5880
ci/vkd3d: drop the "clear results folder without deleting the folder" logic
...
I might be wrong about this one, but I don't see what it could be for.
We don't want to delete too much either, in case this script gets called
in the same job as another test suite.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
eddbadb0b1
ci/vkd3d: put then on the same line as the if to match the rest of the code style
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
57485f9a3d
ci/vkd3d: print URL to the vkd3d-proton.log file to make it easier to access
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
662b0ad3cd
ci/vkd3d: rename vkd3d test log file to end in .txt
...
That way GitLab allows reading it in the browser instead of forcing a download.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
6f6a13f5fc
ci/vkd3d: print a real error message when failing to get the list of failing tests
...
Instead of just `++ trap_err 1`.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
e266b6287e
ci/vkd3d: limit the vulkaninfo capture to the driverInfo line
...
This made for huge error messages when printing
`Found $(vulkaninfo), expected $MESA_VERSION`,
with the actual information lost in the flood.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
285ba60166
ci/vkd3d: group version check lines together
...
The comment clearly applies to the check, not the variable, but I'm
guessing stuff got added in between, so let's move the code and its
comment back together.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
bec7b417ca
ci/vkd3d: don't ignore errors
...
There was not even a matching `set -e` to restore the state afterwards,
so we just stopped caring about errors from that point forward.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:55 +00:00
Eric Engestrom
1c23b95aa4
ci/vkd3d: stop ignoring errors in a block where errors can't happen
...
The `if` will catch the exit code of what it calls (that's the whole point).
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:54 +00:00
Eric Engestrom
b50c8217ef
ci/vkd3d: fix error message printing
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:54 +00:00
Eric Engestrom
4db58a04f9
ci/vkd3d: print a message when the expected failures file is missing
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:54 +00:00
Eric Engestrom
b1f82ce646
ci/vkd3d: deduplicate the diff between the expectation and the results
...
We're seeing weird errors where the results file has disappeared, so
let's start by combining the "is this right?" and "what's wrong?" logic
into one.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29749 >
2024-06-18 09:58:54 +00:00
Eric Engestrom
93c0a607bc
ci/vkd3d: fail job when failing to get driver version
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
Eric Engestrom
3127b52ef7
ci/vkd3d: fix version sanity check
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
Eric Engestrom
300afd3c86
ci/vkd3d: un-hardcode architecture
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29201 >
2024-05-15 14:34:56 +00:00
Eric Engestrom
7dd2b9e11a
ci: hardcode -vkd3d namespace for VKD3D_PROTON_RESULTS
...
This means we can rely on these files always having that name.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29170 >
2024-05-14 11:46:41 +00:00
Eric Engestrom
c50f3d62b9
ci: drop default VKD3D_PROTON_RESULTS file name
...
Nobody uses that, and it doesn't make much sense to have a single file
used by everyone as each driver will have its own failures.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29170 >
2024-05-14 11:46:41 +00:00
Eric Engestrom
e215200617
ci: use the new VK_DRIVER_FILES env var
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28516 >
2024-04-02 18:08:52 +00:00
Samuel Pitoiset
6e0ad50102
ci: do not fail vkd3d-proton job when the expectations match
...
When the list of expected failures match, the job shouldn't fail.
This also adjusts the first error check to catch segfaults.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25025 >
2023-09-04 16:56:34 +00:00
David Heidelberg
5941fc8ccd
ci: enable shellcheck on whole .gitlab-ci
...
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21977 >
2023-05-25 16:06:53 +02:00
Samuel Pitoiset
a1b88c0664
ci: rework vkd3d-proton runner and fix detecting failures
...
The script returned 0 (aka succcess) for assertions or segmentation
faults. Found this after introducing a regression that caused a
segfault in vkd3d with vk-cts-image but not with Mesa CI.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23057 >
2023-05-19 07:52:25 +00:00
Samuel Pitoiset
5a2a042ec7
ci: stop using the hang-detection tool for vkd3d-proton
...
It's no longer used for deqp-runner as well, and it's not really
useful for us because we can detect GPU hangs differently. It also
prevents returning the error code from vkd3d-proton.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23057 >
2023-05-19 07:52:25 +00:00
Samuel Pitoiset
08113e5c02
ci: print a message when vk3d-proton returns successfully
...
To detect if an error occured.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17050 >
2022-06-16 06:36:36 +00:00
Samuel Pitoiset
70ba820395
ci: update vkd3d-proton builder/runner
...
Do not need to cross compile just for running the testsuite. Only
RADV will make use of it anyways.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17050 >
2022-06-16 06:36:36 +00:00
Andres Gomez
b090ad574d
ci: build the hang-detection tool into x86_test-vk
...
hang-detection is a vulkan-based lightweight wrapper from
parallel-deqp-runner that periodically submits empty command buffers
and waits for their completions. If the completion never happens, the
GPU is considered hung, the wrapped script is killed, and the job
should get aborted.
This should have no negative impact on the runtime of dEQP/traces/...,
but will allow saving time when the GPU gets hung as we can abort the
job immediately rather than waiting for the timeout.
In the case of B2C, we are using this tool's error message as a way to
trigger the reboot of the test machine and start again.
v2:
- Use hang-detection already with some jobs (Martin).
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Martin Peres <martin.peres@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11087 >
2021-06-02 16:30:57 +00:00
Andres Gomez
15e41b576b
ci: fix the vkd3d-proton runner
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Martin Peres <martin.peres@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11087 >
2021-06-02 16:30:57 +00:00
Andres Gomez
44b085375c
ci: add VKD3D-Proton testsuite runner
...
Signed-off-by: Andres Gomez <agomez@igalia.com >
Reviewed-by: Martin Peres <martin.peres@mupuf.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10870 >
2021-05-25 17:03:25 +00:00