Difference between revisions of "EMI gLExec release test plan and report"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 267: Line 267:
  
 
PASSED: GLEXEC_LOCATION available and set
 
PASSED: GLEXEC_LOCATION available and set
 
  
 
==== Savannah: https://savannah.cern.ch/bugs/?82714 ====
 
==== Savannah: https://savannah.cern.ch/bugs/?82714 ====
Line 296: Line 295:
 
  ---s--x--x 1 root root      147456 Apr  3 02:59 /usr/sbin/glexec
 
  ---s--x--x 1 root root      147456 Apr  3 02:59 /usr/sbin/glexec
  
https://savannah.cern.ch/bugs/?88318
+
==== Savannah: https://savannah.cern.ch/bugs/?88318 ====
LCMAPS excessive logging (2)
+
DESCRIPTION: LCMAPS excessive logging (2)
 +
 
 
REPRODUCE: Normal installation with LCMAPS =<1.4.x, log with gLExec to Syslog, configure to log LOG_INFO
 
REPRODUCE: Normal installation with LCMAPS =<1.4.x, log with gLExec to Syslog, configure to log LOG_INFO
 +
 
CHECK: Amount of log lines
 
CHECK: Amount of log lines
 +
 
FAILED: More then O(10) log lines
 
FAILED: More then O(10) log lines
 +
  
  
https://savannah.cern.ch/bugs/?89773
+
==== Savannah: https://savannah.cern.ch/bugs/?89773 ====
 +
REFERENCES:
 
https://rt.egi.eu/rt/Ticket/Display.html?id=1474
 
https://rt.egi.eu/rt/Ticket/Display.html?id=1474
 
https://rt.egi.eu/rt/Ticket/Display.html?id=1475
 
https://rt.egi.eu/rt/Ticket/Display.html?id=1475
Line 310: Line 314:
 
Mirror bug for gLExec
 
Mirror bug for gLExec
  
https://savannah.cern.ch/bugs/?89792
+
==== Savannah: https://savannah.cern.ch/bugs/?89792 ====
YAIM-gLExec-wn should let gLExec do the userswitch
+
DESCRIPTION: YAIM-gLExec-wn should let gLExec do the userswitch
 +
 
 
REPRODUCE: Run YAIM to observe the configuration in the glexec.conf and lcmaps.db
 
REPRODUCE: Run YAIM to observe the configuration in the glexec.conf and lcmaps.db
 +
  
 +
  
 +
 
PASSED: On successful switch by glexec
 
PASSED: On successful switch by glexec
  
https://savannah.cern.ch/bugs/?91835
+
==== Savannah: https://savannah.cern.ch/bugs/?91835 ====
 +
REFERENCES:
 
https://savannah.cern.ch/bugs/index.php?72377
 
https://savannah.cern.ch/bugs/index.php?72377
 
https://savannah.cern.ch/bugs/index.php?72378
 
https://savannah.cern.ch/bugs/index.php?72378
Line 324: Line 333:
 
Mirror bug for gLExec
 
Mirror bug for gLExec
  
https://savannah.cern.ch/bugs/?91836
+
==== Savannah: https://savannah.cern.ch/bugs/?91836 ====
Signal handling in gLExec 0.9.0 can hang up gLExec
+
DESCRIPTION: Signal handling in gLExec 0.9.0 can hang up gLExec
 +
 
 
REPRODUCE: run glexec and flood it with signals after a very small delay, such that it traps signals e.g. during a syslog call. E.g. run several times:
 
REPRODUCE: run glexec and flood it with signals after a very small delay, such that it traps signals e.g. during a syslog call. E.g. run several times:
#!/bin/bash
+
#!/bin/bash
export GLEXEC_CLIENT_CERT=/tmp/x509up_u`id -u`
+
export GLEXEC_CLIENT_CERT=/tmp/x509up_u`id -u`
export X509_USER_PROXY=/tmp/x509up_u`id -u`
+
export X509_USER_PROXY=/tmp/x509up_u`id -u`
/usr/sbin/glexec /usr/bin/id -a &
+
/usr/sbin/glexec /usr/bin/id -a &
pid=$!
+
pid=$!
ps -fp $pid
+
ps -fp $pid
for ((i=1; i<100; i++));do
+
for ((i=1; i<100; i++));do
 
s=$((i%64+1))
 
s=$((i%64+1))
 
((s==9 || s==19 || s==32 || s==33)) && s=11
 
((s==9 || s==19 || s==32 || s==33)) && s=11
 
kill -$s $pid
 
kill -$s $pid
done
+
done
 +
 
 
CHECK: gLExec does not hang up, even after many times.
 
CHECK: gLExec does not hang up, even after many times.
 +
 
FAIL: gLExec locks up and can only be killed with a kill -9, an strace will show gLExec hangs is a lock.
 
FAIL: gLExec locks up and can only be killed with a kill -9, an strace will show gLExec hangs is a lock.
 +
 
PASSED: gLExec will get interrupted or killed in a clean way.
 
PASSED: gLExec will get interrupted or killed in a clean way.
  
https://savannah.cern.ch/bugs/?91963
+
==== Savannah: https://savannah.cern.ch/bugs/?91963 ====
gLExec should check whether stdin/stdout/stderr exists
+
DESCRIPTION: gLExec should check whether stdin/stdout/stderr exists
 +
 
 
REPRODUCE: run in non-setuid mode:
 
REPRODUCE: run in non-setuid mode:
/usr/sbin/glexec /bin/sleep 60 1>&- 2>&- 0<&-
+
/usr/sbin/glexec /bin/sleep 60 1>&- 2>&- 0<&-
 +
 
 
CHECK: run:
 
CHECK: run:
ls -l /proc/`ps -o pid= -C glexec`/fd/[012]
+
ls -l /proc/`ps -o pid= -C glexec`/fd/[012]
 +
 
 
FAILED: e.g. filedescriptor 2 is missing, and filedescriptors 0 and 1 point to a socket (from syslog)
 
FAILED: e.g. filedescriptor 2 is missing, and filedescriptors 0 and 1 point to a socket (from syslog)
 +
 
PASSED: filedescriptors 0-2 point to /dev/null
 
PASSED: filedescriptors 0-2 point to /dev/null
  
https://savannah.cern.ch/bugs/?92667
+
==== Savannah: https://savannah.cern.ch/bugs/?92667 ====
 
gLExec 0.9.3 segfaults when preserve_env_variables is used in config
 
gLExec 0.9.3 segfaults when preserve_env_variables is used in config
 
REMARKS: Bug is cross-platform, but segfault occurs on SL6
 
REMARKS: Bug is cross-platform, but segfault occurs on SL6

Revision as of 15:26, 14 May 2012