gitlab-CI: Do a build-test without any optional dependencies installed
PATCH v3 1/1 gitlab-CI: Do a build-test without any optional dependencies installed
The meson command line has -Dbuild_tests=disabled -Dwith_libdrm="" because those aren't trivial to make automatic. Plain libdrm is also required, but the libdrm_vendor ones are all optional so for now those are just explicitly disabled. Otherwise this tests that the automated machinery is able to figure out what can be built.
v2 (Simon): Base the debian docker image on the debian-minimal image
v3: Make the empty argument to with_libdrm more explicit and apparent (Arek)
--- .gitlab-ci.yml | 20 ++++++++++++++++++++ Dockerfile.debian | 20 +------------------- Dockerfile.debian-minimal | 24 ++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 19 deletions(-) create mode 100644 Dockerfile.debian-minimal
.gitlab-ci.yml +20 -0
@@ -68,6 +68,16 @@ build:tests-debian-meson: paths: - meson-test-list.txt +build:tests-debian-minimal: + image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-minimal:latest + stage: build + script: + - meson -Dbuild_tests=disabled -Dwith_libdrm="" build + - ninja -C build + artifacts: + paths: + - build + build:tests-debian-meson-armhf: image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-armhf:latest stage: build
@@ -117,6 +127,13 @@ test:ninja-test-clang: stage: test script: ninja -C build test +test:ninja-test-minimal: + image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-minimal:latest + dependencies: + - build:tests-debian-minimal + stage: test + script: ninja -C build test + test:ninja-test-arm64: image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64:latest dependencies:
@@ -175,6 +192,7 @@ containers:igt-debian: image: docker:stable only: changes: + - Dockerfile.debian-minimal - Dockerfile.debian - .gitlab-ci.yml services:
@@ -184,7 +202,9 @@ containers:igt-debian: DOCKER_DRIVER: overlay2 script: - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - docker build -t $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-minimal -t igt-debian-minimal -f Dockerfile.debian-minimal . - docker build -t $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian -f Dockerfile.debian . + - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-minimal - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian containers:igt-debian-armhf:
Dockerfile.debian +1 -19
@@ -1,36 +1,18 @@ -FROM debian:stretch-backports +FROM igt-debian-minimal RUN apt-get update RUN apt-get install -y \ - gcc \ - flex \ - bison \ - pkg-config \ - libpciaccess-dev \ - libkmod-dev \ - libprocps-dev \ libunwind-dev \ - libdw-dev \ - zlib1g-dev \ - liblzma-dev \ - libcairo-dev \ - libpixman-1-dev \ - libudev-dev \ libgsl-dev \ libasound2-dev \ libxmlrpc-core-c3-dev \ libjson-c-dev \ libcurl4-openssl-dev \ - libxrandr-dev \ - libxv-dev \ - x11proto-dri2-dev \ python-docutils \ valgrind \ peg RUN apt-get install -t stretch-backports -y \ - meson \ - libdrm-dev \ libdrm-intel1 # autotools build deps
Dockerfile.debian-minimal new file +24 -0
@@ -0,0 +1,24 @@ +FROM debian:stretch-backports + +RUN apt-get update +RUN apt-get install -y \ + gcc \ + flex \ + bison \ + pkg-config \ + libpciaccess-dev \ + libkmod-dev \ + libprocps-dev \ + libdw-dev \ + zlib1g-dev \ + liblzma-dev \ + libcairo-dev \ + libpixman-1-dev \ + libudev-dev \ + libxrandr-dev \ + libxv-dev \ + x11proto-dri2-dev + +RUN apt-get install -t stretch-backports -y \ + meson \ + libdrm-dev
Signature · 6 lines
2.19.1 _______________________________________________ igt-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.BAT: success for gitlab-CI: Do a build-test without any optional dependencies installed
== Series Details ==
== Series Details ==
Series: gitlab-CI: Do a build-test without any optional dependencies installed
URL : https://patchwork.freedesktop.org/series/61516/
State : success
== Summary ==
CI Bug Log - changes from IGT_5028 -> IGTPW_3094
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/61516/revisions/1/mbox/
Known issues
------------
Here are the changes found in IGTPW_3094 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_create@basic-files:
- fi-icl-dsi: [PASS][1] -> [INCOMPLETE][2] ([fdo#107713] / [fdo#109100])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/fi-icl-dsi/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/fi-icl-dsi/igt@[email protected]
* igt@gem_mmap_gtt@basic-wc:
- fi-icl-u3: [PASS][3] -> [DMESG-WARN][4] ([fdo#107724]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/fi-icl-u3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/fi-icl-u3/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- fi-blb-e6850: [INCOMPLETE][5] ([fdo#107718]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/fi-blb-e6850/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/fi-blb-e6850/igt@[email protected]
* igt@gem_exec_suspend@basic-s4-devices:
- fi-kbl-7500u: [DMESG-WARN][7] ([fdo#105128] / [fdo#107139]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/fi-kbl-7500u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/fi-kbl-7500u/igt@[email protected]
* {igt@i915_selftest@live_mman}:
- fi-icl-u3: [TIMEOUT][9] ([fdo#110818 ]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/fi-icl-u3/igt@i915_selftest@live_mman.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/fi-icl-u3/igt@i915_selftest@live_mman.html
* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [FAIL][11] ([fdo#110627]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/fi-cml-u2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/fi-cml-u2/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- fi-icl-u3: [DMESG-WARN][13] ([fdo#107724]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/fi-icl-u3/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/fi-icl-u3/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-hsw-peppy: [DMESG-WARN][15] ([fdo#102614]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/fi-hsw-peppy/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/fi-hsw-peppy/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
[fdo#105128]: https://bugs.freedesktop.org/show_bug.cgi?id=105128
[fdo#107139]: https://bugs.freedesktop.org/show_bug.cgi?id=107139
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#110627]: https://bugs.freedesktop.org/show_bug.cgi?id=110627
[fdo#110818 ]: https://bugs.freedesktop.org/show_bug.cgi?id=110818
Participating hosts (51 -> 46)
------------------------------
Additional (1): fi-icl-y
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-kbl-7560u fi-byt-clapper fi-bdw-samus
Build changes
-------------
* IGT: IGT_5028 -> IGTPW_3094
CI_DRM_6180: e724dd1cacd9da18b18808880a13b0cb33ddd3d7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3094: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/
IGT_5028: 2d5c26f844cf1851e5097680d30c951978291c29 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Patchwork
CI[igt-dev] ✓ Fi.CI.IGT: success for gitlab-CI: Do a build-test without any optional dependencies installed
In reply to Petri Latvala== Series Details ==
== Series Details ==
Series: gitlab-CI: Do a build-test without any optional dependencies installed
URL : https://patchwork.freedesktop.org/series/61516/
State : success
== Summary ==
CI Bug Log - changes from IGT_5028_full -> IGTPW_3094_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/61516/revisions/1/mbox/
Known issues
------------
Here are the changes found in IGTPW_3094_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_tiled_swapping@non-threaded:
- shard-glk: [PASS][1] -> [DMESG-WARN][2] ([fdo#108686])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-glk2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-glk2/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [PASS][3] -> [DMESG-WARN][4] ([fdo#108566]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-apl6/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-apl6/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-snb: [PASS][5] -> [DMESG-WARN][6] ([fdo#102365])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-snb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-snb1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- shard-iclb: [PASS][7] -> [FAIL][8] ([fdo#103167]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-iclb1/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-iclb4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-pwrite:
- shard-iclb: [PASS][9] -> [INCOMPLETE][10] ([fdo#106978] / [fdo#107713])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-iclb5/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-iclb7/igt@[email protected]
* igt@kms_psr2_su@page_flip:
- shard-iclb: [PASS][11] -> [SKIP][12] ([fdo#109642])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-iclb2/igt@kms_psr2_su@page_flip.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-iclb5/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [PASS][13] -> [SKIP][14] ([fdo#109441]) +4 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-iclb3/igt@kms_psr@psr2_primary_page_flip.html
#### Possible fixes ####
* igt@gem_mmap_gtt@forked-big-copy:
- shard-iclb: [INCOMPLETE][15] ([fdo#107713] / [fdo#109100]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-iclb8/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-iclb7/igt@[email protected]
* igt@gem_mmap_gtt@forked-medium-copy-xy:
- shard-iclb: [TIMEOUT][17] ([fdo#109673]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-iclb1/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-iclb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-alpha-opaque:
- shard-apl: [FAIL][19] ([fdo#103232]) -> [PASS][20] +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-apl6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-apl7/igt@[email protected]
- shard-kbl: [FAIL][21] ([fdo#103232]) -> [PASS][22] +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-kbl7/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-kbl3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite:
- shard-iclb: [FAIL][23] ([fdo#103167]) -> [PASS][24] +5 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-iclb3/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
* igt@kms_plane@plane-position-covered-pipe-a-planes:
- shard-snb: [SKIP][25] ([fdo#109271]) -> [PASS][26] +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-snb6/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-snb1/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-y:
- shard-iclb: [FAIL][27] ([fdo#103166]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-iclb1/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-iclb1/igt@[email protected]
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-apl: [DMESG-WARN][29] ([fdo#108566]) -> [PASS][30] +9 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-apl3/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-apl5/igt@[email protected]
#### Warnings ####
* igt@gem_mmap_gtt@forked-big-copy-xy:
- shard-iclb: [INCOMPLETE][31] ([fdo#107713] / [fdo#109100]) -> [TIMEOUT][32] ([fdo#109673])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5028/shard-iclb4/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/shard-iclb4/igt@[email protected]
[fdo#102365]: https://bugs.freedesktop.org/show_bug.cgi?id=102365
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#106978]: https://bugs.freedesktop.org/show_bug.cgi?id=106978
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#109673]: https://bugs.freedesktop.org/show_bug.cgi?id=109673
Participating hosts (7 -> 6)
------------------------------
Missing (1): shard-skl
Build changes
-------------
* IGT: IGT_5028 -> IGTPW_3094
CI_DRM_6180: e724dd1cacd9da18b18808880a13b0cb33ddd3d7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3094: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/
IGT_5028: 2d5c26f844cf1851e5097680d30c951978291c29 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3094/
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
Quoted 6 lines · Petri Latvala
The meson command line has -Dbuild_tests=disabled -Dwith_libdrm="" because those aren't trivial to make automatic. Plain libdrm is also required, but the
libdrm_vendorones are all optional so for now those are just explicitly disabled. Otherwise this tests that the automated machinery is able to figure out what can be built.
Quoted 7 lines
v2 (Simon): Base the debian docker image on the debian-minimal image
v3: Make the empty argument to
with_libdrmmore explicit and apparent (Arek)Signed-off-by Petri Latvala <[email protected]>Cc Arkadiusz Hiler <[email protected]>Cc Simon Ser <[email protected]>
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev