[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible fdroid: VM debug logging to troubleshoot VM in VM
Holger Levsen
holger at layer-acht.org
Tue Sep 6 10:18:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 54dd6fb9179f19acdf70447992cc1e9346345f67
Author: Hans-Christoph Steiner <hans at eds.org>
Date: Tue Sep 6 11:03:26 2016 +0200
reproducible fdroid: VM debug logging to troubleshoot VM in VM
---
bin/reproducible_setup_fdroid_build_environment.sh | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh
index 9536238..975bd74 100755
--- a/bin/reproducible_setup_fdroid_build_environment.sh
+++ b/bin/reproducible_setup_fdroid_build_environment.sh
@@ -28,6 +28,16 @@ cleanup_all() {
}
trap cleanup_all INT TERM EXIT
+# report info about virtualization
+dmesg | grep -i -e hypervisor -e qemu -e kvm
+lspci | grep -i -e virtio -e virtualbox -e qemu -e kvm
+if systemd-detect-virt -q ; then
+ echo "Virtualization is used:" `systemd-detect-virt`
+else
+ echo "No virtualization is used."
+fi
+cat /etc/issue
+
# the way we handle jenkins slaves doesn't copy the workspace to the slaves
# so we need to "manually" clone the git repo here…
cd $WORKSPACE
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list