[jenkins-ci PATCH] lcitool: include gdb, strace, lsof & netstat by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When debugging why tests fail it is important to have commonly
used tools like gdb, strace, lsof and netstat available.

Note that although the entry for FreeBSD is blank for strace
and net-tools, the truss (strace equiv) and netstat tools will
be present as they are part of the FreeBSD base install.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 guests/vars/mappings.yml      | 14 ++++++++++++++
 guests/vars/projects/base.yml |  4 ++++
 2 files changed, 18 insertions(+)

diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 92681c2..50f07fa 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -164,6 +164,9 @@ mappings:
     default: gcc
     FreeBSD:
 
+  gdb:
+    default: gdb
+
   gettext:
     default: gettext
 
@@ -425,6 +428,9 @@ mappings:
     rpm: libxslt-devel
     cross-policy-deb: foreign
 
+  lsof:
+    default: lsof
+
   lvm2:
     default: lvm2
     FreeBSD:
@@ -601,6 +607,10 @@ mappings:
     rpm: netcf-devel
     cross-policy-deb: skip
 
+  net-tools:
+    default: net-tools
+    FreeBSD:
+
   numad:
     default: numad
     FreeBSD:
@@ -868,6 +878,10 @@ mappings:
     rpm: spice-gtk3-devel
     cross-policy-deb: foreign
 
+  strace:
+    default: strace
+    FreeBSD:
+
   sudo:
     default: sudo
 
diff --git a/guests/vars/projects/base.yml b/guests/vars/projects/base.yml
index 49d4d2e..b3d1d47 100644
--- a/guests/vars/projects/base.yml
+++ b/guests/vars/projects/base.yml
@@ -9,16 +9,20 @@ packages:
   - chrony
   - cppi
   - gcc
+  - gdb
   - gettext
   - git
   - glibc
   - libtool
   - libtoolize
+  - lsof
+  - net-tools
   - make
   - patch
   - perl
   - pkg-config
   - rpmbuild
   - screen
+  - strace
   - sudo
   - vim
-- 
2.19.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux