summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-06 15:56:07 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-06 15:56:07 +0100
commit002beaa75d6897a3fe911839240a5a76d5c4dbf9 (patch)
treec0ec2f337218e44fd35075ecb926aa96caf90122 /hosts
parent5e3f2355f48dd95c12709666c2683b652d32c86b (diff)
downloadjenkins.debian.net-002beaa75d6897a3fe911839240a5a76d5c4dbf9.tar.xz
kill all processes run under /usr/bin/timeout too
Diffstat (limited to 'hosts')
-rw-r--r--hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/ff2a-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/ff2b-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/hb0-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/jenkins-test-vm/etc/sudoers.d/jenkins1
-rw-r--r--hosts/jenkins/etc/sudoers.d/jenkins1
-rw-r--r--hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/odxu4b-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/odxu4c-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/opi2a-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins1
-rw-r--r--hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins1
-rw-r--r--hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins6
-rw-r--r--hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins6
-rw-r--r--hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins1
-rw-r--r--hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins1
-rw-r--r--hosts/rpi2b-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/rpi2c-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/wbd0-armhf-rb/etc/sudoers.d/jenkins1
-rw-r--r--hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins1
21 files changed, 29 insertions, 2 deletions
diff --git a/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins b/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/bpi0-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins b/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/cbxi4pro0-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/ff2a-armhf-rb/etc/sudoers.d/jenkins b/hosts/ff2a-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/ff2a-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/ff2a-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/ff2b-armhf-rb/etc/sudoers.d/jenkins b/hosts/ff2b-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/ff2b-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/ff2b-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins b/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/hb0-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
+++ b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/jenkins/etc/sudoers.d/jenkins b/hosts/jenkins/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/jenkins/etc/sudoers.d/jenkins
+++ b/hosts/jenkins/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins b/hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/odxu4-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/odxu4b-armhf-rb/etc/sudoers.d/jenkins b/hosts/odxu4b-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/odxu4b-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/odxu4b-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/odxu4c-armhf-rb/etc/sudoers.d/jenkins b/hosts/odxu4c-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/odxu4c-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/odxu4c-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/opi2a-armhf-rb/etc/sudoers.d/jenkins b/hosts/opi2a-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/opi2a-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/opi2a-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build1-amd64/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build2-amd64/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
index f59860d4..fa4778f6 100644
--- a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins
@@ -9,7 +9,11 @@ jenkins ALL= \
/bin/rm -rf --one-file-system /srv/live-build/*, \
/bin/mv /schroots/* /schroots/*, \
/bin/umount -l /schroots/*, \
- /bin/mount --bind *
+ /bin/mount --bind *, \
+ /usr/bin/killall timeout, \
+ /usr/sbin/slay 1111, \
+ /usr/sbin/slay 2222, \
+ /usr/sbin/slay jenkins
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset
diff --git a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins
index cccfc2d5..a2d8890b 100644
--- a/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build4-amd64/etc/sudoers.d/jenkins
@@ -2,7 +2,11 @@ jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \
/usr/sbin/chroot /chroots/*, \
/bin/rm -rf --one-file-system /chroots/*, \
- /bin/umount -l /chroots/*
+ /bin/umount -l /chroots/*, \
+ /usr/bin/killall timeout, \
+ /usr/sbin/slay 1111, \
+ /usr/sbin/slay 2222, \
+ /usr/sbin/slay jenkins
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset
diff --git a/hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build5-amd64/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins b/hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins
+++ b/hosts/profitbricks-build6-amd64/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/rpi2b-armhf-rb/etc/sudoers.d/jenkins b/hosts/rpi2b-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/rpi2b-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/rpi2b-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/rpi2c-armhf-rb/etc/sudoers.d/jenkins b/hosts/rpi2c-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/rpi2c-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/rpi2c-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/wbd0-armhf-rb/etc/sudoers.d/jenkins b/hosts/wbd0-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/wbd0-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/wbd0-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins
diff --git a/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins b/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins
index ee9d2d2c..b3e138e3 100644
--- a/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins
+++ b/hosts/wbq0-armhf-rb/etc/sudoers.d/jenkins
@@ -44,6 +44,7 @@ jenkins ALL= \
/usr/bin/dcmd rm *.changes, \
/usr/bin/dcmd rm *.dsc, \
/usr/bin/apt-get update, \
+ /usr/bin/killall timeout, \
/usr/sbin/slay 1111, \
/usr/sbin/slay 2222, \
/usr/sbin/slay jenkins