panfrost/ci: Initial commit
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 29 Apr 2019 16:33:22 +0000 (16:33 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 30 Apr 2019 01:22:43 +0000 (01:22 +0000)
commitcc6bbf6397d7984ecbba7a81e4d875eee1c2b6e8
tree58b0199d4ae145086b993a0dbe6d5b0bb0e266c6
parentb15f5cfd20c8b079918dd19bed32de7cc9617100
panfrost/ci: Initial commit

These files implement running almost all of deqp-gles2 on Chomebooks of
the rk3399-gru-kevin type in Collabora's LAVA lab.

The approach follows what is currently being used for virglrenderer,
but scheduling the actual test jobs via LAVA.

We start by building a container in Docker that contains a suitable
rootfs and kernel for the DUT, deqp and all dependencies for building
Mesa itself.

The Mesa is built and the rootfs, deqp and Mesa are combined in a cpio
ramdisk. A LAVA job is generated, submitted to LAVA and the results are
processed by simply comparing them to the expectations that are stored
in git. Any code that changes the expectations (hopefully tests are
fixed) needs to also update the expectations file.

The next step is adding support for other devices, possibly in other
LAVA labs.

In order to use this, the repository has to be configured to run the
gitlab-ci.yaml file from the panfrost/ci dir, and a LAVA token needs to
be setup.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/ci/Dockerfile [new file with mode: 0644]
src/gallium/drivers/panfrost/ci/arm64.config [new file with mode: 0644]
src/gallium/drivers/panfrost/ci/create-rootfs.sh [new file with mode: 0644]
src/gallium/drivers/panfrost/ci/deqp-runner.sh [new file with mode: 0644]
src/gallium/drivers/panfrost/ci/expected-failures.txt [new file with mode: 0644]
src/gallium/drivers/panfrost/ci/generate_lava.py [new file with mode: 0755]
src/gallium/drivers/panfrost/ci/gitlab-ci.yml [new file with mode: 0644]
src/gallium/drivers/panfrost/ci/lava-deqp.yml.jinja2 [new file with mode: 0644]