public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS
@ 2019-06-18 12:42 Guillaume Tucker
  2019-06-18 13:33 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,v3,1/1] " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Guillaume Tucker @ 2019-06-18 12:42 UTC (permalink / raw)
  To: Arkadiusz Hiler, Petri Latvala, Ser, Simon; +Cc: igt-dev, intel-gfx

Add Docker image and Gitlab CI steps to run builds and tests for the
MIPS architecture using Debian Stretch with backports.

Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
---

Notes:
    v2: use stretch-backports and require libatomic1
    v3: add mips ci tests and require Debian libatomic1 for mips

 .gitlab-ci.yml         | 42 ++++++++++++++++++++++++++++++++++++++++++
 Dockerfile.debian-mips | 39 +++++++++++++++++++++++++++++++++++++++
 meson-cross-mips.txt   | 12 ++++++++++++
 3 files changed, 93 insertions(+)
 create mode 100644 Dockerfile.debian-mips
 create mode 100644 meson-cross-mips.txt

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 771143a9ea95..bd9619e7e28b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -90,6 +90,17 @@ build:tests-debian-meson-arm64:
     paths:
       - build
 
+build:tests-debian-meson-mips:
+  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
+  stage: build
+  script:
+    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
+    - meson --cross-file meson-cross-mips.txt build
+    - ninja -C build
+  artifacts:
+    paths:
+      - build
+
 build:tests-debian-autotools:
   image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest
   stage: build
@@ -145,6 +156,20 @@ test:ninja-test-armhf:
       - build
     when: on_failure
 
+test:ninja-test-mips:
+  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
+  dependencies:
+    - build:tests-debian-meson-mips
+  stage: test
+  script:
+    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
+    - env > build/envdump.txt
+    - ninja -C build test
+  artifacts:
+    paths:
+      - build
+    when: on_failure
+
 test:test-list-diff:
   dependencies:
     - build:tests-debian-autotools
@@ -221,6 +246,23 @@ containers:igt-debian-arm64:
     - docker build -t $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64 -f Dockerfile.debian-arm64 .
     - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64
 
+containers:igt-debian-mips:
+  stage: containers
+  image: docker:stable
+  only:
+    changes:
+      - Dockerfile.debian-mips
+      - .gitlab-ci.yml
+  services:
+    - docker:dind
+  variables:
+    DOCKER_HOST: tcp://docker:2375
+    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-mips -f Dockerfile.debian-mips .
+    - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips
+
 containers:igt-fedora:
   stage: containers
   image: docker:stable
diff --git a/Dockerfile.debian-mips b/Dockerfile.debian-mips
new file mode 100644
index 000000000000..ee29f5f4ccda
--- /dev/null
+++ b/Dockerfile.debian-mips
@@ -0,0 +1,39 @@
+FROM debian:stretch-backports
+
+RUN apt-get update
+RUN apt-get install -y \
+			flex \
+			bison \
+			pkg-config \
+			x11proto-dri2-dev \
+			python-docutils \
+			valgrind \
+			peg
+
+RUN dpkg --add-architecture mips
+RUN apt-get update
+RUN apt-get install -y \
+			gcc-mips-linux-gnu \
+			libatomic1:mips \
+			libpciaccess-dev:mips \
+			libkmod-dev:mips \
+			libprocps-dev:mips \
+			libunwind-dev:mips \
+			libdw-dev:mips \
+			zlib1g-dev:mips \
+			liblzma-dev:mips \
+			libcairo-dev:mips \
+			libpixman-1-dev:mips \
+			libudev-dev:mips \
+			libgsl-dev:mips \
+			libasound2-dev:mips \
+			libjson-c-dev:mips \
+			libcurl4-openssl-dev:mips \
+			libxrandr-dev:mips \
+			libxv-dev:mips
+
+RUN apt-get install -t stretch-backports -y \
+			meson \
+			libdrm-dev:mips \
+			qemu-user \
+			qemu-user-static
diff --git a/meson-cross-mips.txt b/meson-cross-mips.txt
new file mode 100644
index 000000000000..6350d677e0bc
--- /dev/null
+++ b/meson-cross-mips.txt
@@ -0,0 +1,12 @@
+[binaries]
+c = '/usr/bin/mips-linux-gnu-gcc'
+ar = '/usr/bin/mips-linux-gnu-gcc-ar'
+strip = '/usr/bin/mips-linux-gnu-strip'
+pkgconfig = 'pkg-config'
+exe_wrapper = 'qemu-mips'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'mips'
+cpu = 'mips'
+endian = 'big'
-- 
2.20.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,v3,1/1] gitlab-ci: add build and tests for MIPS
  2019-06-18 12:42 [igt-dev] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS Guillaume Tucker
@ 2019-06-18 13:33 ` Patchwork
  2019-06-19  1:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  2019-06-25 13:08 ` [Intel-gfx] [PATCH i-g-t v3 1/1] " Guillaume Tucker
  2 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2019-06-18 13:33 UTC (permalink / raw)
  To: Guillaume Tucker; +Cc: igt-dev

== Series Details ==

Series: series starting with [i-g-t,v3,1/1] gitlab-ci: add build and tests for MIPS
URL   : https://patchwork.freedesktop.org/series/62303/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_6291 -> IGTPW_3171
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/62303/revisions/1/mbox/

Known issues
------------

  Here are the changes found in IGTPW_3171 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_mmap_gtt@basic-write-no-prefault:
    - fi-icl-u3:          [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/fi-icl-u3/igt@gem_mmap_gtt@basic-write-no-prefault.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/fi-icl-u3/igt@gem_mmap_gtt@basic-write-no-prefault.html

  * igt@i915_module_load@reload:
    - fi-blb-e6850:       [PASS][3] -> [INCOMPLETE][4] ([fdo#107718])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/fi-blb-e6850/igt@i915_module_load@reload.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/fi-blb-e6850/igt@i915_module_load@reload.html

  * igt@i915_selftest@live_hangcheck:
    - fi-icl-u2:          [PASS][5] -> [INCOMPLETE][6] ([fdo#107713] / [fdo#108569])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/fi-icl-u2/igt@i915_selftest@live_hangcheck.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/fi-icl-u2/igt@i915_selftest@live_hangcheck.html

  * igt@kms_chamelium@hdmi-hpd-fast:
    - fi-kbl-7500u:       [PASS][7] -> [FAIL][8] ([fdo#109485])
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html

  * igt@kms_frontbuffer_tracking@basic:
    - fi-icl-dsi:         [PASS][9] -> [FAIL][10] ([fdo#103167])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/fi-icl-dsi/igt@kms_frontbuffer_tracking@basic.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/fi-icl-dsi/igt@kms_frontbuffer_tracking@basic.html

  
#### Possible fixes ####

  * igt@gem_mmap_gtt@basic-short:
    - fi-icl-u3:          [DMESG-WARN][11] ([fdo#107724]) -> [PASS][12] +2 similar issues
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/fi-icl-u3/igt@gem_mmap_gtt@basic-short.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/fi-icl-u3/igt@gem_mmap_gtt@basic-short.html

  * igt@kms_frontbuffer_tracking@basic:
    - fi-icl-u3:          [FAIL][13] ([fdo#103167]) -> [PASS][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/fi-icl-u3/igt@kms_frontbuffer_tracking@basic.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/fi-icl-u3/igt@kms_frontbuffer_tracking@basic.html

  * igt@prime_vgem@basic-wait-default:
    - fi-icl-dsi:         [DMESG-WARN][15] ([fdo#106107]) -> [PASS][16]
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/fi-icl-dsi/igt@prime_vgem@basic-wait-default.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/fi-icl-dsi/igt@prime_vgem@basic-wait-default.html

  
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#106107]: https://bugs.freedesktop.org/show_bug.cgi?id=106107
  [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#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485


Participating hosts (48 -> 35)
------------------------------

  Missing    (13): fi-kbl-soraka fi-cml-u2 fi-ilk-m540 fi-hsw-4200u fi-byt-j1900 fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-pnv-d510 fi-icl-y fi-byt-clapper fi-bdw-samus fi-cml-u 


Build changes
-------------

  * IGT: IGT_5059 -> IGTPW_3171

  CI_DRM_6291: 30a8dd688b1e9b56df650976b5058da5022dcfb8 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_3171: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/
  IGT_5059: 1f67ee0d09d6513f487f2be74aae9700e755258a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,v3,1/1] gitlab-ci: add build and tests for MIPS
  2019-06-18 12:42 [igt-dev] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS Guillaume Tucker
  2019-06-18 13:33 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,v3,1/1] " Patchwork
@ 2019-06-19  1:18 ` Patchwork
  2019-06-25 13:08 ` [Intel-gfx] [PATCH i-g-t v3 1/1] " Guillaume Tucker
  2 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2019-06-19  1:18 UTC (permalink / raw)
  To: Guillaume Tucker; +Cc: igt-dev

== Series Details ==

Series: series starting with [i-g-t,v3,1/1] gitlab-ci: add build and tests for MIPS
URL   : https://patchwork.freedesktop.org/series/62303/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_6291_full -> IGTPW_3171_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://patchwork.freedesktop.org/api/1.0/series/62303/revisions/1/mbox/

Known issues
------------

  Here are the changes found in IGTPW_3171_full that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_persistent_relocs@forked-faulting-reloc-thrashing:
    - shard-apl:          [PASS][1] -> [DMESG-WARN][2] ([fdo#110913 ]) +1 similar issue
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-apl1/igt@gem_persistent_relocs@forked-faulting-reloc-thrashing.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-apl1/igt@gem_persistent_relocs@forked-faulting-reloc-thrashing.html

  * igt@gem_tiled_swapping@non-threaded:
    - shard-hsw:          [PASS][3] -> [DMESG-WARN][4] ([fdo#108686])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-hsw7/igt@gem_tiled_swapping@non-threaded.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-hsw5/igt@gem_tiled_swapping@non-threaded.html

  * igt@gem_userptr_blits@map-fixed-invalidate-busy:
    - shard-snb:          [PASS][5] -> [DMESG-WARN][6] ([fdo#110913 ])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-snb2/igt@gem_userptr_blits@map-fixed-invalidate-busy.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-snb4/igt@gem_userptr_blits@map-fixed-invalidate-busy.html

  * igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy:
    - shard-kbl:          [PASS][7] -> [DMESG-WARN][8] ([fdo#110913 ]) +3 similar issues
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-kbl2/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-kbl7/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html

  * igt@kms_flip@2x-flip-vs-absolute-wf_vblank:
    - shard-hsw:          [PASS][9] -> [SKIP][10] ([fdo#109271]) +23 similar issues
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-hsw2/igt@kms_flip@2x-flip-vs-absolute-wf_vblank.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-hsw1/igt@kms_flip@2x-flip-vs-absolute-wf_vblank.html

  * igt@kms_frontbuffer_tracking@fbc-rgb565-draw-pwrite:
    - shard-iclb:         [PASS][11] -> [FAIL][12] ([fdo#103167]) +7 similar issues
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-pwrite.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-rgb565-draw-pwrite.html

  * igt@kms_plane_lowres@pipe-a-tiling-x:
    - shard-iclb:         [PASS][13] -> [FAIL][14] ([fdo#103166])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-iclb3/igt@kms_plane_lowres@pipe-a-tiling-x.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-iclb8/igt@kms_plane_lowres@pipe-a-tiling-x.html

  * igt@kms_psr@psr2_sprite_mmap_gtt:
    - shard-iclb:         [PASS][15] -> [SKIP][16] ([fdo#109441]) +1 similar issue
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-iclb3/igt@kms_psr@psr2_sprite_mmap_gtt.html

  * igt@kms_rotation_crc@multiplane-rotation-cropping-bottom:
    - shard-glk:          [PASS][17] -> [DMESG-FAIL][18] ([fdo#105763] / [fdo#106538])
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-glk9/igt@kms_rotation_crc@multiplane-rotation-cropping-bottom.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-glk1/igt@kms_rotation_crc@multiplane-rotation-cropping-bottom.html

  * igt@kms_setmode@basic:
    - shard-hsw:          [PASS][19] -> [FAIL][20] ([fdo#99912])
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-hsw1/igt@kms_setmode@basic.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-hsw7/igt@kms_setmode@basic.html
    - shard-kbl:          [PASS][21] -> [FAIL][22] ([fdo#99912])
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-kbl3/igt@kms_setmode@basic.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-kbl2/igt@kms_setmode@basic.html

  * igt@kms_sysfs_edid_timing:
    - shard-hsw:          [PASS][23] -> [FAIL][24] ([fdo#100047])
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-hsw2/igt@kms_sysfs_edid_timing.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-hsw1/igt@kms_sysfs_edid_timing.html

  * igt@kms_vblank@pipe-c-ts-continuation-suspend:
    - shard-apl:          [PASS][25] -> [DMESG-WARN][26] ([fdo#108566]) +3 similar issues
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-apl4/igt@kms_vblank@pipe-c-ts-continuation-suspend.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-apl1/igt@kms_vblank@pipe-c-ts-continuation-suspend.html

  
#### Possible fixes ####

  * igt@gem_mmap_gtt@hang:
    - shard-kbl:          [DMESG-WARN][27] ([fdo#110913 ]) -> [PASS][28] +2 similar issues
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-kbl7/igt@gem_mmap_gtt@hang.html
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-kbl6/igt@gem_mmap_gtt@hang.html

  * igt@gem_persistent_relocs@forked-interruptible-thrashing:
    - shard-snb:          [DMESG-WARN][29] ([fdo#110789] / [fdo#110913 ]) -> [PASS][30]
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-snb1/igt@gem_persistent_relocs@forked-interruptible-thrashing.html
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-snb6/igt@gem_persistent_relocs@forked-interruptible-thrashing.html
    - shard-apl:          [DMESG-WARN][31] ([fdo#110913 ]) -> [PASS][32] +2 similar issues
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-apl1/igt@gem_persistent_relocs@forked-interruptible-thrashing.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-apl8/igt@gem_persistent_relocs@forked-interruptible-thrashing.html

  * igt@gem_userptr_blits@sync-unmap-cycles:
    - shard-snb:          [DMESG-WARN][33] ([fdo#110913 ]) -> [PASS][34] +1 similar issue
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-snb6/igt@gem_userptr_blits@sync-unmap-cycles.html
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-snb7/igt@gem_userptr_blits@sync-unmap-cycles.html

  * igt@i915_pm_rc6_residency@rc6-accuracy:
    - shard-snb:          [SKIP][35] ([fdo#109271]) -> [PASS][36]
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-snb6/igt@i915_pm_rc6_residency@rc6-accuracy.html
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-snb4/igt@i915_pm_rc6_residency@rc6-accuracy.html

  * igt@kms_flip@flip-vs-suspend-interruptible:
    - shard-kbl:          [DMESG-WARN][37] ([fdo#108566]) -> [PASS][38]
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-kbl6/igt@kms_flip@flip-vs-suspend-interruptible.html
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-kbl3/igt@kms_flip@flip-vs-suspend-interruptible.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
    - shard-iclb:         [FAIL][39] ([fdo#103167]) -> [PASS][40] +5 similar issues
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt.html
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt.html

  * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move:
    - shard-hsw:          [SKIP][41] ([fdo#109271]) -> [PASS][42] +18 similar issues
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-hsw1/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move.html
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-hsw7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move.html

  * igt@kms_psr@psr2_primary_mmap_gtt:
    - shard-iclb:         [SKIP][43] ([fdo#109441]) -> [PASS][44] +1 similar issue
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-iclb5/igt@kms_psr@psr2_primary_mmap_gtt.html
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html

  * igt@kms_setmode@basic:
    - shard-apl:          [FAIL][45] ([fdo#99912]) -> [PASS][46]
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-apl1/igt@kms_setmode@basic.html
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-apl5/igt@kms_setmode@basic.html

  * igt@perf_pmu@enable-race-vcs0:
    - shard-apl:          [INCOMPLETE][47] ([fdo#103927]) -> [PASS][48]
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-apl2/igt@perf_pmu@enable-race-vcs0.html
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-apl8/igt@perf_pmu@enable-race-vcs0.html

  
#### Warnings ####

  * igt@kms_cursor_crc@pipe-b-cursor-suspend:
    - shard-kbl:          [INCOMPLETE][49] ([fdo#103665]) -> [DMESG-WARN][50] ([fdo#108566])
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6291/shard-kbl4/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/shard-kbl6/igt@kms_cursor_crc@pipe-b-cursor-suspend.html

  
  [fdo#100047]: https://bugs.freedesktop.org/show_bug.cgi?id=100047
  [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
  [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
  [fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
  [fdo#106538]: https://bugs.freedesktop.org/show_bug.cgi?id=106538
  [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
  [fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
  [fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
  [fdo#110913 ]: https://bugs.freedesktop.org/show_bug.cgi?id=110913 
  [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912


Participating hosts (10 -> 6)
------------------------------

  Missing    (4): pig-skl-6260u shard-skl pig-hsw-4770r pig-glk-j5005 


Build changes
-------------

  * IGT: IGT_5059 -> IGTPW_3171
  * Piglit: piglit_4509 -> None

  CI_DRM_6291: 30a8dd688b1e9b56df650976b5058da5022dcfb8 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_3171: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/
  IGT_5059: 1f67ee0d09d6513f487f2be74aae9700e755258a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3171/
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Intel-gfx] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS
  2019-06-18 12:42 [igt-dev] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS Guillaume Tucker
  2019-06-18 13:33 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,v3,1/1] " Patchwork
  2019-06-19  1:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2019-06-25 13:08 ` Guillaume Tucker
  2019-06-27  7:02   ` [igt-dev] " Ser, Simon
  2 siblings, 1 reply; 9+ messages in thread
From: Guillaume Tucker @ 2019-06-25 13:08 UTC (permalink / raw)
  To: Arkadiusz Hiler, Petri Latvala, Ser, Simon; +Cc: igt-dev, intel-gfx

On 18/06/2019 13:42, Guillaume Tucker wrote:
> Add Docker image and Gitlab CI steps to run builds and tests for the
> MIPS architecture using Debian Stretch with backports.
> 
> Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
> ---
> 
> Notes:
>     v2: use stretch-backports and require libatomic1
>     v3: add mips ci tests and require Debian libatomic1 for mips

The series to use portable atomics functions was merged today, so
I think this one should now be good to go as well.  It applies
cleanly on top of the current master branch and the Gitlab CI
pipeline passed:

  https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/pipelines/44704

Please let me know if you want me to resubmit it to get another
Patchwork CI run or if anything else needs to be done.

Guillaume

>  .gitlab-ci.yml         | 42 ++++++++++++++++++++++++++++++++++++++++++
>  Dockerfile.debian-mips | 39 +++++++++++++++++++++++++++++++++++++++
>  meson-cross-mips.txt   | 12 ++++++++++++
>  3 files changed, 93 insertions(+)
>  create mode 100644 Dockerfile.debian-mips
>  create mode 100644 meson-cross-mips.txt
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 771143a9ea95..bd9619e7e28b 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -90,6 +90,17 @@ build:tests-debian-meson-arm64:
>      paths:
>        - build
>  
> +build:tests-debian-meson-mips:
> +  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
> +  stage: build
> +  script:
> +    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
> +    - meson --cross-file meson-cross-mips.txt build
> +    - ninja -C build
> +  artifacts:
> +    paths:
> +      - build
> +
>  build:tests-debian-autotools:
>    image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest
>    stage: build
> @@ -145,6 +156,20 @@ test:ninja-test-armhf:
>        - build
>      when: on_failure
>  
> +test:ninja-test-mips:
> +  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
> +  dependencies:
> +    - build:tests-debian-meson-mips
> +  stage: test
> +  script:
> +    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
> +    - env > build/envdump.txt
> +    - ninja -C build test
> +  artifacts:
> +    paths:
> +      - build
> +    when: on_failure
> +
>  test:test-list-diff:
>    dependencies:
>      - build:tests-debian-autotools
> @@ -221,6 +246,23 @@ containers:igt-debian-arm64:
>      - docker build -t $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64 -f Dockerfile.debian-arm64 .
>      - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64
>  
> +containers:igt-debian-mips:
> +  stage: containers
> +  image: docker:stable
> +  only:
> +    changes:
> +      - Dockerfile.debian-mips
> +      - .gitlab-ci.yml
> +  services:
> +    - docker:dind
> +  variables:
> +    DOCKER_HOST: tcp://docker:2375
> +    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-mips -f Dockerfile.debian-mips .
> +    - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips
> +
>  containers:igt-fedora:
>    stage: containers
>    image: docker:stable
> diff --git a/Dockerfile.debian-mips b/Dockerfile.debian-mips
> new file mode 100644
> index 000000000000..ee29f5f4ccda
> --- /dev/null
> +++ b/Dockerfile.debian-mips
> @@ -0,0 +1,39 @@
> +FROM debian:stretch-backports
> +
> +RUN apt-get update
> +RUN apt-get install -y \
> +			flex \
> +			bison \
> +			pkg-config \
> +			x11proto-dri2-dev \
> +			python-docutils \
> +			valgrind \
> +			peg
> +
> +RUN dpkg --add-architecture mips
> +RUN apt-get update
> +RUN apt-get install -y \
> +			gcc-mips-linux-gnu \
> +			libatomic1:mips \
> +			libpciaccess-dev:mips \
> +			libkmod-dev:mips \
> +			libprocps-dev:mips \
> +			libunwind-dev:mips \
> +			libdw-dev:mips \
> +			zlib1g-dev:mips \
> +			liblzma-dev:mips \
> +			libcairo-dev:mips \
> +			libpixman-1-dev:mips \
> +			libudev-dev:mips \
> +			libgsl-dev:mips \
> +			libasound2-dev:mips \
> +			libjson-c-dev:mips \
> +			libcurl4-openssl-dev:mips \
> +			libxrandr-dev:mips \
> +			libxv-dev:mips
> +
> +RUN apt-get install -t stretch-backports -y \
> +			meson \
> +			libdrm-dev:mips \
> +			qemu-user \
> +			qemu-user-static
> diff --git a/meson-cross-mips.txt b/meson-cross-mips.txt
> new file mode 100644
> index 000000000000..6350d677e0bc
> --- /dev/null
> +++ b/meson-cross-mips.txt
> @@ -0,0 +1,12 @@
> +[binaries]
> +c = '/usr/bin/mips-linux-gnu-gcc'
> +ar = '/usr/bin/mips-linux-gnu-gcc-ar'
> +strip = '/usr/bin/mips-linux-gnu-strip'
> +pkgconfig = 'pkg-config'
> +exe_wrapper = 'qemu-mips'
> +
> +[host_machine]
> +system = 'linux'
> +cpu_family = 'mips'
> +cpu = 'mips'
> +endian = 'big'
> 

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [igt-dev] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS
  2019-06-25 13:08 ` [Intel-gfx] [PATCH i-g-t v3 1/1] " Guillaume Tucker
@ 2019-06-27  7:02   ` Ser, Simon
  2019-06-27 10:02     ` Guillaume Tucker
  0 siblings, 1 reply; 9+ messages in thread
From: Ser, Simon @ 2019-06-27  7:02 UTC (permalink / raw)
  To: guillaume.tucker@collabora.com, Hiler, Arkadiusz, Latvala, Petri
  Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org

On Tue, 2019-06-25 at 14:08 +0100, Guillaume Tucker wrote:
> On 18/06/2019 13:42, Guillaume Tucker wrote:
> > Add Docker image and Gitlab CI steps to run builds and tests for
> > the
> > MIPS architecture using Debian Stretch with backports.
> > 
> > Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
> > ---
> > 
> > Notes:
> >     v2: use stretch-backports and require libatomic1
> >     v3: add mips ci tests and require Debian libatomic1 for mips
> 
> The series to use portable atomics functions was merged today, so
> I think this one should now be good to go as well.  It applies
> cleanly on top of the current master branch and the Gitlab CI
> pipeline passed:
> 
>   
> https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/pipelines/44704
> 
> Please let me know if you want me to resubmit it to get another
> Patchwork CI run or if anything else needs to be done.

LGTM!

Reviewed-by: Simon Ser <simon.ser@intel.com>

And pushed:

To gitlab.freedesktop.org:drm/igt-gpu-tools.git
   15ad66453441..439a9f5d615f  master -> master

> Guillaume
> 
> >  .gitlab-ci.yml         | 42
> > ++++++++++++++++++++++++++++++++++++++++++
> >  Dockerfile.debian-mips | 39
> > +++++++++++++++++++++++++++++++++++++++
> >  meson-cross-mips.txt   | 12 ++++++++++++
> >  3 files changed, 93 insertions(+)
> >  create mode 100644 Dockerfile.debian-mips
> >  create mode 100644 meson-cross-mips.txt
> > 
> > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> > index 771143a9ea95..bd9619e7e28b 100644
> > --- a/.gitlab-ci.yml
> > +++ b/.gitlab-ci.yml
> > @@ -90,6 +90,17 @@ build:tests-debian-meson-arm64:
> >      paths:
> >        - build
> >  
> > +build:tests-debian-meson-mips:
> > +  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
> > +  stage: build
> > +  script:
> > +    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
> > +    - meson --cross-file meson-cross-mips.txt build
> > +    - ninja -C build
> > +  artifacts:
> > +    paths:
> > +      - build
> > +
> >  build:tests-debian-autotools:
> >    image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest
> >    stage: build
> > @@ -145,6 +156,20 @@ test:ninja-test-armhf:
> >        - build
> >      when: on_failure
> >  
> > +test:ninja-test-mips:
> > +  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
> > +  dependencies:
> > +    - build:tests-debian-meson-mips
> > +  stage: test
> > +  script:
> > +    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
> > +    - env > build/envdump.txt
> > +    - ninja -C build test
> > +  artifacts:
> > +    paths:
> > +      - build
> > +    when: on_failure
> > +
> >  test:test-list-diff:
> >    dependencies:
> >      - build:tests-debian-autotools
> > @@ -221,6 +246,23 @@ containers:igt-debian-arm64:
> >      - docker build -t $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-
> > arm64 -f Dockerfile.debian-arm64 .
> >      - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64
> >  
> > +containers:igt-debian-mips:
> > +  stage: containers
> > +  image: docker:stable
> > +  only:
> > +    changes:
> > +      - Dockerfile.debian-mips
> > +      - .gitlab-ci.yml
> > +  services:
> > +    - docker:dind
> > +  variables:
> > +    DOCKER_HOST: tcp://docker:2375
> > +    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-
> > mips -f Dockerfile.debian-mips .
> > +    - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips
> > +
> >  containers:igt-fedora:
> >    stage: containers
> >    image: docker:stable
> > diff --git a/Dockerfile.debian-mips b/Dockerfile.debian-mips
> > new file mode 100644
> > index 000000000000..ee29f5f4ccda
> > --- /dev/null
> > +++ b/Dockerfile.debian-mips
> > @@ -0,0 +1,39 @@
> > +FROM debian:stretch-backports
> > +
> > +RUN apt-get update
> > +RUN apt-get install -y \
> > +			flex \
> > +			bison \
> > +			pkg-config \
> > +			x11proto-dri2-dev \
> > +			python-docutils \
> > +			valgrind \
> > +			peg
> > +
> > +RUN dpkg --add-architecture mips
> > +RUN apt-get update
> > +RUN apt-get install -y \
> > +			gcc-mips-linux-gnu \
> > +			libatomic1:mips \
> > +			libpciaccess-dev:mips \
> > +			libkmod-dev:mips \
> > +			libprocps-dev:mips \
> > +			libunwind-dev:mips \
> > +			libdw-dev:mips \
> > +			zlib1g-dev:mips \
> > +			liblzma-dev:mips \
> > +			libcairo-dev:mips \
> > +			libpixman-1-dev:mips \
> > +			libudev-dev:mips \
> > +			libgsl-dev:mips \
> > +			libasound2-dev:mips \
> > +			libjson-c-dev:mips \
> > +			libcurl4-openssl-dev:mips \
> > +			libxrandr-dev:mips \
> > +			libxv-dev:mips
> > +
> > +RUN apt-get install -t stretch-backports -y \
> > +			meson \
> > +			libdrm-dev:mips \
> > +			qemu-user \
> > +			qemu-user-static
> > diff --git a/meson-cross-mips.txt b/meson-cross-mips.txt
> > new file mode 100644
> > index 000000000000..6350d677e0bc
> > --- /dev/null
> > +++ b/meson-cross-mips.txt
> > @@ -0,0 +1,12 @@
> > +[binaries]
> > +c = '/usr/bin/mips-linux-gnu-gcc'
> > +ar = '/usr/bin/mips-linux-gnu-gcc-ar'
> > +strip = '/usr/bin/mips-linux-gnu-strip'
> > +pkgconfig = 'pkg-config'
> > +exe_wrapper = 'qemu-mips'
> > +
> > +[host_machine]
> > +system = 'linux'
> > +cpu_family = 'mips'
> > +cpu = 'mips'
> > +endian = 'big'
> > 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [igt-dev] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS
  2019-06-27  7:02   ` [igt-dev] " Ser, Simon
@ 2019-06-27 10:02     ` Guillaume Tucker
  2019-06-27 13:14       ` Ser, Simon
  0 siblings, 1 reply; 9+ messages in thread
From: Guillaume Tucker @ 2019-06-27 10:02 UTC (permalink / raw)
  To: Ser, Simon, Hiler, Arkadiusz, Latvala, Petri
  Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org

On 27/06/2019 08:02, Ser, Simon wrote:
> On Tue, 2019-06-25 at 14:08 +0100, Guillaume Tucker wrote:
>> On 18/06/2019 13:42, Guillaume Tucker wrote:
>>> Add Docker image and Gitlab CI steps to run builds and tests for
>>> the
>>> MIPS architecture using Debian Stretch with backports.
>>>
>>> Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
>>> ---
>>>
>>> Notes:
>>>     v2: use stretch-backports and require libatomic1
>>>     v3: add mips ci tests and require Debian libatomic1 for mips
>>
>> The series to use portable atomics functions was merged today, so
>> I think this one should now be good to go as well.  It applies
>> cleanly on top of the current master branch and the Gitlab CI
>> pipeline passed:
>>
>>   
>> https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/pipelines/44704
>>
>> Please let me know if you want me to resubmit it to get another
>> Patchwork CI run or if anything else needs to be done.
> 
> LGTM!
> 
> Reviewed-by: Simon Ser <simon.ser@intel.com>
> 
> And pushed:
> 
> To gitlab.freedesktop.org:drm/igt-gpu-tools.git
>    15ad66453441..439a9f5d615f  master -> master

Thanks!

Err, however it looks like you pushed the v2 which had only
builds rather than this v3 which does builds and tests:

  439a9f5d615f gitlab-ci: add build for MIPS

I've made another patch with the difference between v2 and v3 and
pushed it to my branch:

  https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/commit/9693e28871f27efb7340ad29d54de4be7b5461a9

I'll wait for the Gitlab CI pipeline to complete and then I guess
I should send that to the mailing list.

Guillaume

>>>  .gitlab-ci.yml         | 42
>>> ++++++++++++++++++++++++++++++++++++++++++
>>>  Dockerfile.debian-mips | 39
>>> +++++++++++++++++++++++++++++++++++++++
>>>  meson-cross-mips.txt   | 12 ++++++++++++
>>>  3 files changed, 93 insertions(+)
>>>  create mode 100644 Dockerfile.debian-mips
>>>  create mode 100644 meson-cross-mips.txt
>>>
>>> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
>>> index 771143a9ea95..bd9619e7e28b 100644
>>> --- a/.gitlab-ci.yml
>>> +++ b/.gitlab-ci.yml
>>> @@ -90,6 +90,17 @@ build:tests-debian-meson-arm64:
>>>      paths:
>>>        - build
>>>  
>>> +build:tests-debian-meson-mips:
>>> +  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
>>> +  stage: build
>>> +  script:
>>> +    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
>>> +    - meson --cross-file meson-cross-mips.txt build
>>> +    - ninja -C build
>>> +  artifacts:
>>> +    paths:
>>> +      - build
>>> +
>>>  build:tests-debian-autotools:
>>>    image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest
>>>    stage: build
>>> @@ -145,6 +156,20 @@ test:ninja-test-armhf:
>>>        - build
>>>      when: on_failure
>>>  
>>> +test:ninja-test-mips:
>>> +  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
>>> +  dependencies:
>>> +    - build:tests-debian-meson-mips
>>> +  stage: test
>>> +  script:
>>> +    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
>>> +    - env > build/envdump.txt
>>> +    - ninja -C build test
>>> +  artifacts:
>>> +    paths:
>>> +      - build
>>> +    when: on_failure
>>> +
>>>  test:test-list-diff:
>>>    dependencies:
>>>      - build:tests-debian-autotools
>>> @@ -221,6 +246,23 @@ containers:igt-debian-arm64:
>>>      - docker build -t $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-
>>> arm64 -f Dockerfile.debian-arm64 .
>>>      - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64
>>>  
>>> +containers:igt-debian-mips:
>>> +  stage: containers
>>> +  image: docker:stable
>>> +  only:
>>> +    changes:
>>> +      - Dockerfile.debian-mips
>>> +      - .gitlab-ci.yml
>>> +  services:
>>> +    - docker:dind
>>> +  variables:
>>> +    DOCKER_HOST: tcp://docker:2375
>>> +    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-
>>> mips -f Dockerfile.debian-mips .
>>> +    - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips
>>> +
>>>  containers:igt-fedora:
>>>    stage: containers
>>>    image: docker:stable
>>> diff --git a/Dockerfile.debian-mips b/Dockerfile.debian-mips
>>> new file mode 100644
>>> index 000000000000..ee29f5f4ccda
>>> --- /dev/null
>>> +++ b/Dockerfile.debian-mips
>>> @@ -0,0 +1,39 @@
>>> +FROM debian:stretch-backports
>>> +
>>> +RUN apt-get update
>>> +RUN apt-get install -y \
>>> +			flex \
>>> +			bison \
>>> +			pkg-config \
>>> +			x11proto-dri2-dev \
>>> +			python-docutils \
>>> +			valgrind \
>>> +			peg
>>> +
>>> +RUN dpkg --add-architecture mips
>>> +RUN apt-get update
>>> +RUN apt-get install -y \
>>> +			gcc-mips-linux-gnu \
>>> +			libatomic1:mips \
>>> +			libpciaccess-dev:mips \
>>> +			libkmod-dev:mips \
>>> +			libprocps-dev:mips \
>>> +			libunwind-dev:mips \
>>> +			libdw-dev:mips \
>>> +			zlib1g-dev:mips \
>>> +			liblzma-dev:mips \
>>> +			libcairo-dev:mips \
>>> +			libpixman-1-dev:mips \
>>> +			libudev-dev:mips \
>>> +			libgsl-dev:mips \
>>> +			libasound2-dev:mips \
>>> +			libjson-c-dev:mips \
>>> +			libcurl4-openssl-dev:mips \
>>> +			libxrandr-dev:mips \
>>> +			libxv-dev:mips
>>> +
>>> +RUN apt-get install -t stretch-backports -y \
>>> +			meson \
>>> +			libdrm-dev:mips \
>>> +			qemu-user \
>>> +			qemu-user-static
>>> diff --git a/meson-cross-mips.txt b/meson-cross-mips.txt
>>> new file mode 100644
>>> index 000000000000..6350d677e0bc
>>> --- /dev/null
>>> +++ b/meson-cross-mips.txt
>>> @@ -0,0 +1,12 @@
>>> +[binaries]
>>> +c = '/usr/bin/mips-linux-gnu-gcc'
>>> +ar = '/usr/bin/mips-linux-gnu-gcc-ar'
>>> +strip = '/usr/bin/mips-linux-gnu-strip'
>>> +pkgconfig = 'pkg-config'
>>> +exe_wrapper = 'qemu-mips'
>>> +
>>> +[host_machine]
>>> +system = 'linux'
>>> +cpu_family = 'mips'
>>> +cpu = 'mips'
>>> +endian = 'big'
>>>

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [igt-dev] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS
  2019-06-27 10:02     ` Guillaume Tucker
@ 2019-06-27 13:14       ` Ser, Simon
  2019-06-27 13:19         ` [Intel-gfx] " Arkadiusz Hiler
  0 siblings, 1 reply; 9+ messages in thread
From: Ser, Simon @ 2019-06-27 13:14 UTC (permalink / raw)
  To: guillaume.tucker@collabora.com, Hiler, Arkadiusz, Latvala, Petri
  Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org

On Thu, 2019-06-27 at 11:02 +0100, Guillaume Tucker wrote:
> On 27/06/2019 08:02, Ser, Simon wrote:
> > On Tue, 2019-06-25 at 14:08 +0100, Guillaume Tucker wrote:
> > > On 18/06/2019 13:42, Guillaume Tucker wrote:
> > > > Add Docker image and Gitlab CI steps to run builds and tests for
> > > > the
> > > > MIPS architecture using Debian Stretch with backports.
> > > > 
> > > > Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
> > > > ---
> > > > 
> > > > Notes:
> > > >     v2: use stretch-backports and require libatomic1
> > > >     v3: add mips ci tests and require Debian libatomic1 for mips
> > > 
> > > The series to use portable atomics functions was merged today, so
> > > I think this one should now be good to go as well.  It applies
> > > cleanly on top of the current master branch and the Gitlab CI
> > > pipeline passed:
> > > 
> > >   
> > > https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/pipelines/44704
> > > 
> > > Please let me know if you want me to resubmit it to get another
> > > Patchwork CI run or if anything else needs to be done.
> > 
> > LGTM!
> > 
> > Reviewed-by: Simon Ser <simon.ser@intel.com>
> > 
> > And pushed:
> > 
> > To gitlab.freedesktop.org:drm/igt-gpu-tools.git
> >    15ad66453441..439a9f5d615f  master -> master
> 
> Thanks!
> 
> Err, however it looks like you pushed the v2 which had only
> builds rather than this v3 which does builds and tests:
> 
>   439a9f5d615f gitlab-ci: add build for MIPS
> 
> I've made another patch with the difference between v2 and v3 and
> pushed it to my branch:
> 
>   https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/commit/9693e28871f27efb7340ad29d54de4be7b5461a9
> 
> I'll wait for the Gitlab CI pipeline to complete and then I guess
> I should send that to the mailing list.

Bleh, I'm sorry about this! It seems like patchwork got confused.

I'll gladly review and merge a fix, feel free to Cc me :)

> Guillaume
> 
> > > >  .gitlab-ci.yml         | 42
> > > > ++++++++++++++++++++++++++++++++++++++++++
> > > >  Dockerfile.debian-mips | 39
> > > > +++++++++++++++++++++++++++++++++++++++
> > > >  meson-cross-mips.txt   | 12 ++++++++++++
> > > >  3 files changed, 93 insertions(+)
> > > >  create mode 100644 Dockerfile.debian-mips
> > > >  create mode 100644 meson-cross-mips.txt
> > > > 
> > > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> > > > index 771143a9ea95..bd9619e7e28b 100644
> > > > --- a/.gitlab-ci.yml
> > > > +++ b/.gitlab-ci.yml
> > > > @@ -90,6 +90,17 @@ build:tests-debian-meson-arm64:
> > > >      paths:
> > > >        - build
> > > >  
> > > > +build:tests-debian-meson-mips:
> > > > +  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
> > > > +  stage: build
> > > > +  script:
> > > > +    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
> > > > +    - meson --cross-file meson-cross-mips.txt build
> > > > +    - ninja -C build
> > > > +  artifacts:
> > > > +    paths:
> > > > +      - build
> > > > +
> > > >  build:tests-debian-autotools:
> > > >    image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian:latest
> > > >    stage: build
> > > > @@ -145,6 +156,20 @@ test:ninja-test-armhf:
> > > >        - build
> > > >      when: on_failure
> > > >  
> > > > +test:ninja-test-mips:
> > > > +  image: $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips:latest
> > > > +  dependencies:
> > > > +    - build:tests-debian-meson-mips
> > > > +  stage: test
> > > > +  script:
> > > > +    - export PKG_CONFIG_PATH=/usr/lib/mips-linux-gnu/pkgconfig/
> > > > +    - env > build/envdump.txt
> > > > +    - ninja -C build test
> > > > +  artifacts:
> > > > +    paths:
> > > > +      - build
> > > > +    when: on_failure
> > > > +
> > > >  test:test-list-diff:
> > > >    dependencies:
> > > >      - build:tests-debian-autotools
> > > > @@ -221,6 +246,23 @@ containers:igt-debian-arm64:
> > > >      - docker build -t $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-
> > > > arm64 -f Dockerfile.debian-arm64 .
> > > >      - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-arm64
> > > >  
> > > > +containers:igt-debian-mips:
> > > > +  stage: containers
> > > > +  image: docker:stable
> > > > +  only:
> > > > +    changes:
> > > > +      - Dockerfile.debian-mips
> > > > +      - .gitlab-ci.yml
> > > > +  services:
> > > > +    - docker:dind
> > > > +  variables:
> > > > +    DOCKER_HOST: tcp://docker:2375
> > > > +    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-
> > > > mips -f Dockerfile.debian-mips .
> > > > +    - docker push $CI_REGISTRY/$CI_PROJECT_PATH/igt-debian-mips
> > > > +
> > > >  containers:igt-fedora:
> > > >    stage: containers
> > > >    image: docker:stable
> > > > diff --git a/Dockerfile.debian-mips b/Dockerfile.debian-mips
> > > > new file mode 100644
> > > > index 000000000000..ee29f5f4ccda
> > > > --- /dev/null
> > > > +++ b/Dockerfile.debian-mips
> > > > @@ -0,0 +1,39 @@
> > > > +FROM debian:stretch-backports
> > > > +
> > > > +RUN apt-get update
> > > > +RUN apt-get install -y \
> > > > +			flex \
> > > > +			bison \
> > > > +			pkg-config \
> > > > +			x11proto-dri2-dev \
> > > > +			python-docutils \
> > > > +			valgrind \
> > > > +			peg
> > > > +
> > > > +RUN dpkg --add-architecture mips
> > > > +RUN apt-get update
> > > > +RUN apt-get install -y \
> > > > +			gcc-mips-linux-gnu \
> > > > +			libatomic1:mips \
> > > > +			libpciaccess-dev:mips \
> > > > +			libkmod-dev:mips \
> > > > +			libprocps-dev:mips \
> > > > +			libunwind-dev:mips \
> > > > +			libdw-dev:mips \
> > > > +			zlib1g-dev:mips \
> > > > +			liblzma-dev:mips \
> > > > +			libcairo-dev:mips \
> > > > +			libpixman-1-dev:mips \
> > > > +			libudev-dev:mips \
> > > > +			libgsl-dev:mips \
> > > > +			libasound2-dev:mips \
> > > > +			libjson-c-dev:mips \
> > > > +			libcurl4-openssl-dev:mips \
> > > > +			libxrandr-dev:mips \
> > > > +			libxv-dev:mips
> > > > +
> > > > +RUN apt-get install -t stretch-backports -y \
> > > > +			meson \
> > > > +			libdrm-dev:mips \
> > > > +			qemu-user \
> > > > +			qemu-user-static
> > > > diff --git a/meson-cross-mips.txt b/meson-cross-mips.txt
> > > > new file mode 100644
> > > > index 000000000000..6350d677e0bc
> > > > --- /dev/null
> > > > +++ b/meson-cross-mips.txt
> > > > @@ -0,0 +1,12 @@
> > > > +[binaries]
> > > > +c = '/usr/bin/mips-linux-gnu-gcc'
> > > > +ar = '/usr/bin/mips-linux-gnu-gcc-ar'
> > > > +strip = '/usr/bin/mips-linux-gnu-strip'
> > > > +pkgconfig = 'pkg-config'
> > > > +exe_wrapper = 'qemu-mips'
> > > > +
> > > > +[host_machine]
> > > > +system = 'linux'
> > > > +cpu_family = 'mips'
> > > > +cpu = 'mips'
> > > > +endian = 'big'
> > > > 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Intel-gfx] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS
  2019-06-27 13:14       ` Ser, Simon
@ 2019-06-27 13:19         ` Arkadiusz Hiler
  2019-06-27 14:53           ` [igt-dev] " Ser, Simon
  0 siblings, 1 reply; 9+ messages in thread
From: Arkadiusz Hiler @ 2019-06-27 13:19 UTC (permalink / raw)
  To: Ser, Simon; +Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org

On Thu, Jun 27, 2019 at 04:14:53PM +0300, Ser, Simon wrote:
> On Thu, 2019-06-27 at 11:02 +0100, Guillaume Tucker wrote:
> > On 27/06/2019 08:02, Ser, Simon wrote:
> > > On Tue, 2019-06-25 at 14:08 +0100, Guillaume Tucker wrote:
> > > > On 18/06/2019 13:42, Guillaume Tucker wrote:
> > > > > Add Docker image and Gitlab CI steps to run builds and tests for
> > > > > the
> > > > > MIPS architecture using Debian Stretch with backports.
> > > > > 
> > > > > Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
> > > > > ---
> > > > > 
> > > > > Notes:
> > > > >     v2: use stretch-backports and require libatomic1
> > > > >     v3: add mips ci tests and require Debian libatomic1 for mips
> > > > 
> > > > The series to use portable atomics functions was merged today, so
> > > > I think this one should now be good to go as well.  It applies
> > > > cleanly on top of the current master branch and the Gitlab CI
> > > > pipeline passed:
> > > > 
> > > >   
> > > > https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/pipelines/44704
> > > > 
> > > > Please let me know if you want me to resubmit it to get another
> > > > Patchwork CI run or if anything else needs to be done.
> > > 
> > > LGTM!
> > > 
> > > Reviewed-by: Simon Ser <simon.ser@intel.com>
> > > 
> > > And pushed:
> > > 
> > > To gitlab.freedesktop.org:drm/igt-gpu-tools.git
> > >    15ad66453441..439a9f5d615f  master -> master
> > 
> > Thanks!
> > 
> > Err, however it looks like you pushed the v2 which had only
> > builds rather than this v3 which does builds and tests:
> > 
> >   439a9f5d615f gitlab-ci: add build for MIPS
> > 
> > I've made another patch with the difference between v2 and v3 and
> > pushed it to my branch:
> > 
> >   https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/commit/9693e28871f27efb7340ad29d54de4be7b5461a9
> > 
> > I'll wait for the Gitlab CI pipeline to complete and then I guess
> > I should send that to the mailing list.
> 
> Bleh, I'm sorry about this! It seems like patchwork got confused.
> 
> I'll gladly review and merge a fix, feel free to Cc me :)

The title of the first patch has changed, so patchwork treats it as a
separate series instead of a revision to existing one.

It's safer to take the patchwork links (both to series and the mbox)
from the CI results instead of trying to browse for them yourself.
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [igt-dev] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS
  2019-06-27 13:19         ` [Intel-gfx] " Arkadiusz Hiler
@ 2019-06-27 14:53           ` Ser, Simon
  0 siblings, 0 replies; 9+ messages in thread
From: Ser, Simon @ 2019-06-27 14:53 UTC (permalink / raw)
  To: Hiler, Arkadiusz
  Cc: igt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	Latvala, Petri

On Thu, 2019-06-27 at 16:19 +0300, Arkadiusz Hiler wrote:
> On Thu, Jun 27, 2019 at 04:14:53PM +0300, Ser, Simon wrote:
> > On Thu, 2019-06-27 at 11:02 +0100, Guillaume Tucker wrote:
> > > On 27/06/2019 08:02, Ser, Simon wrote:
> > > > On Tue, 2019-06-25 at 14:08 +0100, Guillaume Tucker wrote:
> > > > > On 18/06/2019 13:42, Guillaume Tucker wrote:
> > > > > > Add Docker image and Gitlab CI steps to run builds and tests for
> > > > > > the
> > > > > > MIPS architecture using Debian Stretch with backports.
> > > > > > 
> > > > > > Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
> > > > > > ---
> > > > > > 
> > > > > > Notes:
> > > > > >     v2: use stretch-backports and require libatomic1
> > > > > >     v3: add mips ci tests and require Debian libatomic1 for mips
> > > > > 
> > > > > The series to use portable atomics functions was merged today, so
> > > > > I think this one should now be good to go as well.  It applies
> > > > > cleanly on top of the current master branch and the Gitlab CI
> > > > > pipeline passed:
> > > > > 
> > > > >   
> > > > > https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/pipelines/44704
> > > > > 
> > > > > Please let me know if you want me to resubmit it to get another
> > > > > Patchwork CI run or if anything else needs to be done.
> > > > 
> > > > LGTM!
> > > > 
> > > > Reviewed-by: Simon Ser <simon.ser@intel.com>
> > > > 
> > > > And pushed:
> > > > 
> > > > To gitlab.freedesktop.org:drm/igt-gpu-tools.git
> > > >    15ad66453441..439a9f5d615f  master -> master
> > > 
> > > Thanks!
> > > 
> > > Err, however it looks like you pushed the v2 which had only
> > > builds rather than this v3 which does builds and tests:
> > > 
> > >   439a9f5d615f gitlab-ci: add build for MIPS
> > > 
> > > I've made another patch with the difference between v2 and v3 and
> > > pushed it to my branch:
> > > 
> > >   https://gitlab.freedesktop.org/gtucker/igt-gpu-tools/commit/9693e28871f27efb7340ad29d54de4be7b5461a9
> > > 
> > > I'll wait for the Gitlab CI pipeline to complete and then I guess
> > > I should send that to the mailing list.
> > 
> > Bleh, I'm sorry about this! It seems like patchwork got confused.
> > 
> > I'll gladly review and merge a fix, feel free to Cc me :)
> 
> The title of the first patch has changed, so patchwork treats it as a
> separate series instead of a revision to existing one.
> 
> It's safer to take the patchwork links (both to series and the mbox)
> from the CI results instead of trying to browse for them yourself.

Yeah, this makes sense. Thanks for the info!
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-06-27 14:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-18 12:42 [igt-dev] [PATCH i-g-t v3 1/1] gitlab-ci: add build and tests for MIPS Guillaume Tucker
2019-06-18 13:33 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,v3,1/1] " Patchwork
2019-06-19  1:18 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-06-25 13:08 ` [Intel-gfx] [PATCH i-g-t v3 1/1] " Guillaume Tucker
2019-06-27  7:02   ` [igt-dev] " Ser, Simon
2019-06-27 10:02     ` Guillaume Tucker
2019-06-27 13:14       ` Ser, Simon
2019-06-27 13:19         ` [Intel-gfx] " Arkadiusz Hiler
2019-06-27 14:53           ` [igt-dev] " Ser, Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox