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 >
[dteam001@lxb1935 dteam001]$ chmod u+x 
  • submit the test to TORQUE default queue
[dteam001@lxb1935 dteam001]$ qsub
  • 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
-rw-------    1 dteam001 dteam           0 Oct  5 17:26
-rw-------    1 dteam001 dteam          46 Oct  5 17:26
[dteam001@lxb1935 dteam001]$ cat 
Wed Oct  5 17:26:46 CEST 2005


test BLAH

On the CE:

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

-- 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-2022 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