LCG Grid Deployment - gLite Pre Production Services - PPS-CERN Admin Procedures

Stupid Tests

Minimal tests you can run on a service before announcing to the world "it should work"

TORQUE server

test qsub

On the server:

  • log to a pool account
[root]$su - dteam001
  • create a simple test script
[dteam001@lxb1935 dteam001]$ cat << EOF > test.sh
#!/bin/sh
/bin/date
/bin/hostname
EOF
[dteam001@lxb1935 dteam001]$ chmod u+x test.sh 
  • submit the test to TORQUE default queue
[dteam001@lxb1935 dteam001]$ qsub test.sh 
4.lxb1935.cern.ch
  • check the output (the hostname should be one of the WNs)
[dteam001@lxb1935 dteam001]$ ls -l
total 8
-rwxr--r--    1 dteam001 dteam          34 Oct  5 17:24 test.sh
-rw-------    1 dteam001 dteam           0 Oct  5 17:26 test.sh.e4
-rw-------    1 dteam001 dteam          46 Oct  5 17:26 test.sh.o4
[dteam001@lxb1935 dteam001]$ cat test.sh.o4 
Wed Oct  5 17:26:46 CEST 2005
lxb1926.cern.ch

CE

test BLAH

On the CE:

[root]$su - dteam001
[dteam001]$ blahpd
$GahpVersion: 1.1.3 Oct 05 2004 INFN\ blahpd\ (poly) $
ASYNC_MODE_ON
S Async\ mode\ on
BLAH_JOB_SUBMIT 1 [cmd="/bin/hostname";out="/tmp/blah_test";gridtype="pbs"]
S
R
quit
S Server\ exiting
[dteam001]$ cat /tmp/blah_test
lxb1926.cern.ch

-- Main.aretico - 05 Oct 2005

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2006-04-07 - DianaBosio
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback