All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gitlab: capture filesystem, CPU, memory and kernel info in logs
@ 2026-05-21 10:36 Daniel P. Berrangé
  2026-05-21 13:25 ` Pierrick Bouvier
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel P. Berrangé @ 2026-05-21 10:36 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée, Pierrick Bouvier, Daniel P. Berrangé

For tests we have often had wierd failures that are related to the
runner environment. For example, tests that fail only with specific
filesystem setups.

Since we don't control the runners directly, it is important to
capture info about the environment to aid in failure diagnosis.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 .gitlab-ci.d/buildtest-template.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.gitlab-ci.d/buildtest-template.yml b/.gitlab-ci.d/buildtest-template.yml
index 005058625e..005f49702b 100644
--- a/.gitlab-ci.d/buildtest-template.yml
+++ b/.gitlab-ci.d/buildtest-template.yml
@@ -27,6 +27,10 @@
     - section_start setup "Pre-script setup"
     - JOBS=$(expr $(nproc) + 1)
     - cat /packages.txt
+    - cat /proc/mounts
+    - cat /proc/cpuinfo
+    - cat /proc/meminfo
+    - uname -a
     - section_end setup
   script:
     - export CCACHE_BASEDIR="$(pwd)"
@@ -102,6 +106,10 @@
     # Prevent logs from the build job that run earlier
     # from being duplicated in the test job artifacts
     - rm -f build/meson-logs/*
+    - cat /proc/mounts
+    - cat /proc/cpuinfo
+    - cat /proc/meminfo
+    - uname -a
 
 
 .functional_test_job_template:
@@ -126,6 +134,10 @@
     # Prevent logs from the build job that run earlier
     # from being duplicated in the test job artifacts
     - rm -f build/meson-logs/*
+    - cat /proc/mounts
+    - cat /proc/cpuinfo
+    - cat /proc/meminfo
+    - uname -a
   after_script:
     - cd build
     - du -chs ${CI_PROJECT_DIR}/*-cache
-- 
2.54.0



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

end of thread, other threads:[~2026-06-24 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-21 10:36 [PATCH] gitlab: capture filesystem, CPU, memory and kernel info in logs Daniel P. Berrangé
2026-05-21 13:25 ` Pierrick Bouvier
2026-06-24 12:44   ` Daniel P. Berrangé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.