aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci
Commit message (Collapse)AuthorAgeFilesLines
* panfrost: Update dEQP expectation listAlyssa Rosenzweig2020-05-011-2/+0
| | | | | | | These tests were recently fixed. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4852>
* freedreno/ir3: Fix register allocation assertion failures.Eric Anholt2020-05-011-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | We were failing to tell the allocator about the restriction that scalar texture instructions (allocated as scalar regs) couldn't be allocated such that the start of the full unwritemasked vector started before r0. There was a patch in select_reg_callback on a6xx that tried to work around that, but you could still end up backed into a corner you shouldn't be because we didn't tell the RA what it needed. Fixes compiler assertion failures on a300-a400's blit_z shader, used for Z32F gmem blits. Looks like as a result we get tighter register allocation but more nops: instructions in affected programs: 757945 -> 760356 (0.32%) nops in affected programs: 317983 -> 320468 (0.78%) non-nops in affected programs: 27525 -> 27451 (-0.27%) mov in affected programs: 3098 -> 3023 (-2.42%) dwords in affected programs: 109664 -> 110656 (0.90%) last-baryf in affected programs: 112701 -> 112847 (0.13%) full in affected programs: 4326 -> 4011 (-7.28%) sstall in affected programs: 120550 -> 120836 (0.24%) (ss) in affected programs: 13939 -> 13918 (-0.15%) (sy) in affected programs: 3006 -> 2786 (-7.32%) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4562>
* ci: add lists of expected failures & skipped tests for RAVEN with ACOSamuel Pitoiset2020-05-012-0/+16
| | | | | Signed-off-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4848>
* ci: fix reporting the number of unexpected/flakesSamuel Pitoiset2020-05-011-2/+2
| | | | | | | | | | `wc -l $file` returns the number of lines and the filename. Fixes: b8c66aeb934 ("ci: Clean up some excessive use of pipes in dEQP results processing.") Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Andres Gomez <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4829>
* gitlab-ci: Use YAML anchor for llvmpipe paths in virgl rulesMichel Dänzer2020-05-011-3/+4
| | | | | | | Instead of duplicating them. Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4808>
* gitlab-ci: update tracie README after changes in main scriptAndres Gomez2020-04-301-11/+6
| | | | | | | | | | | v2: - Update the default location for the traces when there is no traces-db entry in the traces definition file (Alexandros). Fixes: 90a39af5f65 "(ci: Drop the git dependency in tracie)" Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4640>
* ci: Add intel to shaderdb runsLionel Landwerlin2020-04-301-1/+2
| | | | | | | Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Acked-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4594>
* aco: consider blocks unreachable if they are in the logical cfgRhys Perry2020-04-295-5/+0
| | | | | | | | | | | | | | unreachable was true if the last block is unreachable in the linear cfg, but it should also be true if it is unreachable in the logical cfg. Fixes dEQP-VK.graphicsfuzz.for-with-ifs-and-return Signed-off-by: Rhys Perry <[email protected]> Fixes: 8d8c864beba399ae4ee2267f680d1f600ad32767 ('aco: improve check for unreachable loop continue blocks') Reviewed-by: Daniel Schürmann <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4764>
* gitlab-ci: add a list of expected failures for FIJI with ACOSamuel Pitoiset2020-04-291-0/+36
| | | | | | | | Timur has this chip now. The depth stencil resolve failures are somehow unexpected. Signed-off-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4805>
* ci: bare-metal: power down device after testsChristian Gmeiner2020-04-282-0/+19
| | | | | | | | Helps to save electricity. Signed-off-by: Christian Gmeiner <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4754>
* ci: add llvmpipe paths to virgl rulesDave Airlie2020-04-281-0/+2
| | | | | | | since llvmpipe changes will affect virgl Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4777>
* ci/freedreno: Add a test run of a few driver options.Eric Anholt2020-04-273-0/+118
| | | | | | | | | | This lets us get coverage of corner cases of the driver that are tricky to force a testcase to hit. We don't want to do a full run of the CTS with each option because that's a lot of runner time, so stack a bunch of fractional runs in one test job to amortize the test run setup overhead. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621>
* ci: Clean up some excessive use of pipes in dEQP results processing.Eric Anholt2020-04-271-10/+4
| | | | | | | | Given that we use set -x in the script, this actually makes the user experience of viewing logs nicer. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621>
* ci: Allow namespacing of dEQP run results files.Eric Anholt2020-04-271-16/+20
| | | | | | | | | I want to do multiple runs of some bits of the CTS in one test job to test some driver options, but I want to be able to see the results from any of them. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621>
* ci: Add sanity checking that dEQP gets the expected GL_RENDERER.Eric Anholt2020-04-274-7/+14
| | | | | | | | | | It's easy to get something wrong in the driver build or container or something that results in falling back to swrast, and then your only clue was runtime and how your failure cases suspiciously match a swrast driver's. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621>
* ci: Enable --compact-display false on all dEQP runs.Eric Anholt2020-04-273-2/+2
| | | | | | | | We always want to see status updates happening in the logs, otherwise it can like maybe your machine hung until the run actually completes. Reviewed-by: Tomeu Vizoso <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4621>
* ci: Enable GLES 3.1 testing on db820c (a530).Eric Anholt2020-04-272-0/+8
| | | | | | | The driver exposes GLES3.1, so let's make sure we're not regressing its featureset. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4685>
* freedreno: Fix derivatives without texturing on a3xx-a5xx.Eric Anholt2020-04-272-730/+96
| | | | | | The shader variant tells us if we should set the PIXLODENABLE flag. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4685>
* ci: Enable GLES3 testing on db410c/db820c (freedreno a306 and a530).Eric Anholt2020-04-271-0/+9
| | | | | | | | | | We haven't had it enabled due tointermittent failures. Those failures are, as far as I can tell, due to GPU faults from buffer overflows where a failing test in a thread stomps an otherwise passing thread's buffers. By running deqp single-threaded, we can get more consistent failures, at the cost of needing to do a tiny subset of the tests to keep runtime down. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4685>
* gitlab-ci: add lists of expected failures for RADV CISamuel Pitoiset2020-04-274-0/+56
| | | | | | | | | | | | Currently only supports PITCAIRN, POLARIS10, VEGA10 and NAVI10 with ACO only, but it's a start. Unfortunately, we have to duplicate and we will have to try to keep these lists up-to-date, but it's better than nothing. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4689>
* gallivm: fix stencil borderDave Airlie2020-04-272-6/+2
| | | | | | | | | Fixes: dEQP-GLES31.functional.texture.border_clamp.unused_channels.depth32f_stencil8_sample_stencil dEQP-GLES31.functional.texture.border_clamp.sampler.uint_stencil Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4574>
* llvmpipe/setup: add point size clampingDave Airlie2020-04-272-2/+0
| | | | | | | | | Fixes dEQP-GLES2.functional.rasterization.limits.points dEQP-VK.rasterization.primitive_size.points.point_size* Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4574>
* gallivm/nir: add helper invocation supportDave Airlie2020-04-271-4/+0
| | | | | Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4574>
* gitlab-ci: install winehq-stable to get 5.0 instead of 4.0Andres Gomez2020-04-242-3/+34
| | | | | | | | | | | | | | | Additionally, purge the winehq-stable package and its dependencies to avoid crashing when building for s390x. v2: - Remove winehq-stable and dependencies for s390x. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2657 Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Daniel Stone <[email protected]> [v1] Reviewed-by: Michel Dänzer <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4678>
* gitlab-ci: Test Virgl with tracesTomeu Vizoso2020-04-242-0/+22
| | | | | | Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659>
* gitlab-ci: Test OpenGL ES 3.1 on virglTomeu Vizoso2020-04-241-0/+607
| | | | | | Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659>
* gitlab-ci: Allow test jobs to add options to the dEQP invocationTomeu Vizoso2020-04-241-1/+1
| | | | | | Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659>
* gitlab-ci: Update virglrenderer in the x86_test-gl imageTomeu Vizoso2020-04-241-1/+1
| | | | | | Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4659>
* gitlab-ci: add a list of excluded tests for RADVSamuel Pitoiset2020-04-221-0/+3
| | | | | | | | Exclude WSI related tests in CI. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4656>
* gitlab-ci: adapt query_traces_yaml to gitlab specific changesAndres Gomez2020-04-222-12/+15
| | | | | | | | | | | This change was missing after acf7e73be54 "(gitlab-ci: make explicit tracie is gitlab specific)". Fixes: acf7e73be54 "(gitlab-ci: make explicit tracie is gitlab specific)". Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Rohan Garg <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4638>
* gitlab-ci: Test virgl driverTomeu Vizoso2020-04-205-2/+179
| | | | | | | | | Add virglrenderer to the container and use the vtest transport to test the Gallium driver. On the "host", llvmpipe is used. Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4433>
* CI: Disable Lima jobs due to lab unhealthinessDaniel Stone2020-04-191-2/+2
| | | | | | | The BayLibre LAVA host appears to be down. Signed-off-by: Daniel Stone <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4631>
* ci/windows: Make Chocolatey installs more reliableDaniel Stone2020-04-191-10/+30
| | | | | | | | | | | | | | | Chocolatey installs depend on downloading binaries from SourceForge, which is an unreliable host: container builds often fail because it cannot pick up winflexbison. Add a loop to retry chocolatey installs if any installs have failed, and ensure Python is in the accessible PowerShell path rather than relying on the path being externally refreshed. Signed-off-by: Daniel Stone <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Jose Fonseca <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4631>
* draw: fix user culling pipeline order. (v2)Dave Airlie2020-04-151-3/+2
| | | | | | | | | | | | | | | GL spec requires user culling, then clipping then face culling. llvmpipe was doing clipping then user culling then face culling. Fix the ordering by adding a new user_cull stage that does the user culling Fixes piglit clip_cull-4.shader_test v2: simplify this a lot (Roland) Reviewed-by: Roland Scheidegger <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4560>
* gitlab-ci: make explicit tracie is gitlab specificAndres Gomez2020-04-142-21/+13
| | | | | | | | | | | | Tracie main script and traces.yml file talk about repo(sitory) when it actually means GitLab's project. Since the script is GitLab's API specific, make it clear. Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Rohan Garg <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4496>
* gitlab-ci: protect usage of shell variables with double quotesAndres Gomez2020-04-142-5/+5
| | | | | | | | | | | | Not really needed right now, but seems dangerous to have paths without the double quote. I went ahead and used in the rest of values too. Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Rohan Garg <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4496>
* gitlab-ci: Vulkan tracie runner to return last command exit codeAndres Gomez2020-04-141-4/+0
| | | | | | | | | | No need to cache the return value if there is only a single trace execution call. Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Rohan Garg <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4496>
* gitlab-ci: Check the Mesa version used for tracie testsAlexandros Frantzis2020-04-143-0/+11
| | | | | | | | | | Verify that the Mesa version used when running tracie tests is the one that was built by CI, rather than any installed distro version. Signed-off-by: Alexandros Frantzis <[email protected]> Reviewed-by: Rohan Garg <[email protected]> Reviewed-by: Andres Gomez <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3894>
* tracie: Reformat code to fix indentationRohan Garg2020-04-071-8/+8
| | | | | | | Signed-off-by: Rohan Garg <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4435> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4435>
* tracie: Print results in a machine readable formatRohan Garg2020-04-072-6/+37
| | | | | | Signed-off-by: Rohan Garg <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4435>
* gitlab-ci/lava: Add needs: for container image to test jobs (again)Michel Dänzer2020-04-071-0/+2
| | | | | | | | | | | | | Without this, the test jobs could spuriously run after the container job failed or was cancelled, even if the build job didn't run at all. (I already did this in 94cfe590703018cf3d34a0c1f8667064919bf843, but it got dropped accidentally in 22d976454f4e50142116f4544c0bbf11134ce991) Reviewed-by: Adam Jackson <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4432>
* tracie: Switch to using shutil.move for cross filesystem movesRohan Garg2020-04-021-2/+3
| | | | | | | | | | | | | | When running tracie in a docker container, renaming files from inside the container to a bind-mounted folder on the host causes a invalid cross-device link due to os.rename limitations. Switching to shutil allows us to overcome this. Signed-off-by: Rohan Garg <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4377> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4377>
* ci: Consistently use -j4 across x86 build jobs and -j8 on ARM.Eric Anholt2020-04-0113-21/+37
| | | | | | | | | | | | | | | | | Our shared runners are set up for concurrent jobs ~= CPUs / 4 (x86) or 8 (ARM). If you use more build processes than that, then jobs may be fighting each other for shared system resources, possibly to the point of failure (we've seen one of the runners OOM on some jobs before, though I'm not sure if this was the cause). To try to systematically prevent the problem, we make a ninja wrapper in the containers that passes the -j flags, and set MAKEFLAGS in the container builds. This doesn't cover make in non-container builds, but I believe we don't have any of those. Reviewed-by: Michel Dänzer <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3782> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3782>
* freedreno: Work around UBWC flakiness.Eric Anholt2020-03-301-29/+0
| | | | | | | | | | | | | | | | | | In trying to track down the new failure in #2670, I found that I could get the flaky test set down to 4 tests, and dropping any remaining test wouldn't trigger the failure (a bad 8x4 block in the middle of dEQP-GLES3.functional.fbo.msaa.4_samples.r16f's render target). Disabling gmem or bypass didn't help, and adding lots of CCU flushing didn't help. What did help was disabling blitting, or this memset to initialize the UBWC area after we (presumably) pull a BO out of the BO cache. My guess is that the 2D blitter can't handle some rare set of state in the flags buffer and emits some garbage. I've run 8 gles3 and 7 gles31 runs with this branch now so hopefully I've got the4 right set of flakes marked for removal. Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2670 Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4290> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4290>
* Revert "gitlab-ci: Disable jobs for Collabora's LAVA lab"Tomeu Vizoso2020-03-281-4/+4
| | | | | | | | | | Lab is online again. This reverts commit 1351ee03352b12690233a73e160f92da2edecf16. Signed-off-by: Tomeu Vizoso <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4347> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4347>
* CI: Disable Panfrost Mali-T820 jobsDaniel Stone2020-03-271-1/+1
| | | | | | | | The BayLibre T820 runners appear to be unhealthy. Signed-off-by: Daniel Stone <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4359> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4359>
* gitlab-ci/traces: Add D3D11 sample entry for POLARIS10Andres Gomez2020-03-271-1/+5
| | | | | | | | | | | | v2: - Updated traces-db commit. - Changed the reference DXVK trace. Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4238> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4238>
* gitlab-ci: add Wine and DXVK env variables to Vulkan's tracie runnerAndres Gomez2020-03-271-0/+9
| | | | | | | Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4238>
* gitlab-ci: replay apitrace traces in headless modeAndres Gomez2020-03-271-1/+2
| | | | | | | Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4238>
* gitlab-ci: add apitrace's DXGI traces supportAndres Gomez2020-03-273-9/+18
| | | | | | | | | | v2: - Pass the whole retrace command for apitrace traces (Alexandros). Signed-off-by: Andres Gomez <[email protected]> Reviewed-by: Alexandros Frantzis <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4238>