From da50de9b30d73e73ac4d6a62f671d24d9471c944 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 1 Mar 2021 13:54:09 +0000 Subject: [PATCH] ci: Include details of machine ID in CI output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Include the size of the `machine-id` file, but not the value itself as that is sensitive for non-throwaway machines. What’s most useful for debugging CI problems is knowing whether, and where, the `machine-id` is set. Signed-off-by: Philip Withnall --- .gitlab-ci/show-execution-environment.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci/show-execution-environment.sh b/.gitlab-ci/show-execution-environment.sh index 0c2265161..5075f9730 100755 --- a/.gitlab-ci/show-execution-environment.sh +++ b/.gitlab-ci/show-execution-environment.sh @@ -9,3 +9,5 @@ setpriv --dump || : ulimit -a || : cat /proc/self/status || : cat /proc/self/mountinfo || : +stat /etc/machine-id || : +stat /var/lib/dbus/machine-id || :