* [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* Re: [PATCH] gitlab: capture filesystem, CPU, memory and kernel info in logs
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é
0 siblings, 1 reply; 3+ messages in thread
From: Pierrick Bouvier @ 2026-05-21 13:25 UTC (permalink / raw)
To: Daniel P. Berrangé, qemu-devel; +Cc: Alex Bennée
On 5/21/2026 5:36 AM, Daniel P. Berrangé wrote:
> 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(+)
>
Good idea,
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
Maybe add a ls -al /dev and id -a, to sort out potential right issues to
access devices?
Regards,
Pierrick
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gitlab: capture filesystem, CPU, memory and kernel info in logs
2026-05-21 13:25 ` Pierrick Bouvier
@ 2026-06-24 12:44 ` Daniel P. Berrangé
0 siblings, 0 replies; 3+ messages in thread
From: Daniel P. Berrangé @ 2026-06-24 12:44 UTC (permalink / raw)
To: Pierrick Bouvier; +Cc: qemu-devel, Alex Bennée
On Thu, May 21, 2026 at 08:25:12AM -0500, Pierrick Bouvier wrote:
> On 5/21/2026 5:36 AM, Daniel P. Berrangé wrote:
> > 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(+)
> >
>
> Good idea,
> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
>
> Maybe add a ls -al /dev and id -a, to sort out potential right issues to
> access devices?
Yes, revisiting this, I'm adding those and doing many other changes
to improve consistency & maintainability. v2 incoming...
With regards,
Daniel
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
^ permalink raw reply [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.