Difference: WMSTask34080SL5 (7 vs. 8)

Revision 82013-02-19 - FabioCapannini

Line: 1 to 1
 
META TOPICPARENT name="WMSTask34080"

WMS v. 3.5 (SL5) test report

Line: 1185 to 1185
 [root@emitestbed41 ~]# ll /var/run/glite-wms-ice-safe.pid ls: /var/run/glite-wms-ice-safe.pid: No such file or directory
Added:
>
>

various issues with EMI-1/2 proxy cleanup (bug #98282)

wmproxy init script 'status' does not return error when service is not running (bug #99017) - PASSED

[root@emitestbed41 ~]# /etc/init.d/glite-wms-wmproxy stop
Stopping /usr/bin/glite_wms_wmproxy_server... ok
[root@emitestbed41 ~]# /etc/init.d/glite-wms-wmproxy status
/usr/bin/glite_wms_wmproxy_server is not running
[root@emitestbed41 ~]# echo $?
1

glite-wms-job-output requires a valid delegated proxy on the WMS to enable output retrieval (bug #98524)

WMS: fix various bugs on Argus authZ (bug #99092) - PASSED

[capannini@emitestbed08 ~]$ glite-wms-job-submit -a -c wms_emitestbed41.conf file.jdl 

Connecting to the service https://emitestbed41.cnaf.infn.it:7443/glite_wms_wmproxy_server


====================== glite-wms-job-submit Success ======================

The job has been successfully submitted to the WMProxy
Your job identifier is:

https://emitbrc-lamb4.civ.zcu.cz:9000/thxoEABY_xWLlZLD-WwmsA

==========================================================================

19 Feb, 15:36:27 -I- PID: 16461 - "wmproxy::main": ------- Starting Server Instance -------
19 Feb, 15:36:27 -I- PID: 16461 - "wmproxy::main": WM proxy serving process started
19 Feb, 15:36:27 -I- PID: 16461 - "wmproxy::main": ---------------------------------------
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Called Operation: getVersion
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote Host Name: emitestbed08.cnaf.infn.it
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 1361268436 1361311636 0 /testers.eu-emi.eu/Role=NULL/Capability=NULL
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 1
19 Feb, 15:36:27 -I- PID: 16461 - "wmpoperations::getVersion": Version retrieved: 3.3.1
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Called Operation: getProxyReq
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote Host Name: emitestbed08.cnaf.infn.it
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 1361268436 1361311636 0 /testers.eu-emi.eu/Role=NULL/Capability=NULL
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 2
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Called Operation: putProxy
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote Host Name: emitestbed08.cnaf.infn.it
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 1361268436 1361311636 0 /testers.eu-emi.eu/Role=NULL/Capability=NULL
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6
19 Feb, 15:36:27 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 3
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Called Operation: getTransferProtocols
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote Host Name: emitestbed08.cnaf.infn.it
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 1361268436 1361311636 0 /testers.eu-emi.eu/Role=NULL/Capability=NULL
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 4
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Called Operation: getFreeQuota
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote Host Name: emitestbed08.cnaf.infn.it
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 1361268436 1361311636 0 /testers.eu-emi.eu/Role=NULL/Capability=NULL
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 5
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Called Operation: getMaxInputSandboxSize
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote Host Name: emitestbed08.cnaf.infn.it
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 1361268436 1361311636 0 /testers.eu-emi.eu/Role=NULL/Capability=NULL
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 6
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcoreoperations::jobRegister": Delegation ID: pkD35Dbm781GXNIZo8CFPw
19 Feb, 15:36:28 -I- PID: 16461 - "argus_authZ": creating XACML request for argus
19 Feb, 15:36:28 -I- PID: 16461 - "WMPAuthorizer::authorize": Argus returned PERMIT with mapping uid: 61027, gid: 6100
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Called Operation: jobRegister
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote Host Name: emitestbed08.cnaf.infn.it
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 1361268436 1361311636 0 /testers.eu-emi.eu/Role=NULL/Capability=NULL
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 7
19 Feb, 15:36:28 -I- PID: 16461 - "wmpcommon::getType": JDL Type: job
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcoreoperations::regist JOB": Registered job id: https://emitbrc-lamb4.civ.zcu.cz:9000/thxoEABY_xWLlZLD-WwmsA
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Called Operation: getSandboxDestURI
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote Host Name: emitestbed08.cnaf.infn.it
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 1361268436 1361311636 0 /testers.eu-emi.eu/Role=NULL/Capability=NULL
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 8
19 Feb, 15:36:29 -I- PID: 16461 - "argus_authZ": creating XACML request for argus
19 Feb, 15:36:29 -I- PID: 16461 - "WMPAuthorizer::authorize": Argus returned PERMIT with mapping uid: 61027, gid: 6100
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Called Operation: jobStart
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote Host Name: emitestbed08.cnaf.infn.it
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 1361268436 1361311636 0 /testers.eu-emi.eu/Role=NULL/Capability=NULL
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6
19 Feb, 15:36:29 -I- PID: 16461 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 9
19 Feb, 15:36:29 -I- PID: 16461 - "argus_authZ": creating XACML request for argus
19 Feb, 15:36:29 -I- PID: 16461 - "WMPAuthorizer::authorize": Argus returned PERMIT with mapping uid: 61027, gid: 6100
19 Feb, 15:36:30 -I- PID: 16461 - "wmpcommon::getType": JDL Type: job

[capannini@emitestbed16 ~]$ glite-wms-job-submit -a -c wms_emitestbed41.conf file.jdl 

Connecting to the service https://emitestbed41.cnaf.infn.it:7443/glite_wms_wmproxy_server


====================== glite-wms-job-submit Success ======================

The job has been successfully submitted to the WMProxy
Your job identifier is:

https://emitbrc-lamb4.civ.zcu.cz:9000/SH2P-JdBfAD63u35lUoHEA

==========================================================================


[capannini@emitestbed16 ~]$ glite-wms-job-status https://emitbrc-lamb4.civ.zcu.cz:9000/SH2P-JdBfAD63u35lUoHEA


======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:

Status info for the Job : https://emitbrc-lamb4.civ.zcu.cz:9000/SH2P-JdBfAD63u35lUoHEA
Current Status:     Done(Success)
Logged Reason(s):
    - job completed
    - Job Terminated Successfully
Exit code:          0
Status Reason:      Job Terminated Successfully
Destination:        emi-demo08.cnaf.infn.it:8443/cream-lsf-demo
Submitted:          Tue Feb 19 16:16:36 2013 CET
==========================================================================

[capannini@emitestbed16 ~]$ 
[capannini@emitestbed16 ~]$ glite-wms-job-output https://emitbrc-lamb4.civ.zcu.cz:9000/SH2P-JdBfAD63u35lUoHEA

Connecting to the service https://emitestbed41.cnaf.infn.it:7443/glite_wms_wmproxy_server


================================================================================

         JOB GET OUTPUT OUTCOME

Output sandbox files for the job:
https://emitbrc-lamb4.civ.zcu.cz:9000/SH2P-JdBfAD63u35lUoHEA
have been successfully retrieved and stored in the directory:
/tmp/jobOutput/capannini_SH2P-JdBfAD63u35lUoHEA

================================================================================


[capannini@emitestbed16 ~]$ ls -l /tmp/jobOutput/capannini_SH2P-JdBfAD63u35lUoHEA
totale 0
-rw-rw-r-- 1 capannini capannini 0 19 feb 16:22 pippo
-rw-rw-r-- 1 capannini capannini 0 19 feb 16:22 std.err
-rw-rw-r-- 1 capannini capannini 0 19 feb 16:22 std.out

WMS: Job perusal is broken in EMI-2 WMS (bug #98279) - PASSED

[capannini@emitestbed16 ~]$ cat perusal.jdl 
Executable = "sleeper.sh";
requirements = true;
rank = 1;
EnableZippedIsb=true;
Arguments = "out.txt";
StdOutput = "std.out";
StdError = "std.err";
InputSandbox = {"sleeper.sh"};
OutputSandbox = {"std.out","std.err","out.txt"};
PerusalFileEnable = true;

[capannini@emitestbed16 ~]$ cat sleeper.sh 
#!/bin/bash

while :  
do
   sleep 1
   echo "slept for 1 sec" >>out.txt
done



Submitted the job perusal.jdl. Then:
 
[capannini@emitestbed16 ~]$ glite-wms-job-perusal --set -f out.txt https://emitbrc-lamb4.civ.zcu.cz:9000/VQMuCUbEfMq6F6nYWmRteQ

Connecting to the service https://emitestbed41.cnaf.infn.it:7443/glite_wms_wmproxy_server


====================== glite-wms-job-perusal Success ======================

File perusal has been successfully enabled for the job:
https://emitbrc-lamb4.civ.zcu.cz:9000/VQMuCUbEfMq6F6nYWmRteQ

==========================================================================

[capannini@emitestbed16 ~]$ glite-wms-job-perusal --get -f out.txt https://emitbrc-lamb4.civ.zcu.cz:9000/VQMuCUbEfMq6F6nYWmRteQ

Connecting to the service https://emitestbed41.cnaf.infn.it:7443/glite_wms_wmproxy_server


====================== glite-wms-job-perusal Success ======================

No files to be retrieved for the job:
https://emitbrc-lamb4.civ.zcu.cz:9000/VQMuCUbEfMq6F6nYWmRteQ

==========================================================================


[capannini@emitestbed16 ~]$ glite-wms-job-perusal --get -f out.txt https://emitbrc-lamb4.civ.zcu.cz:9000/VQMuCUbEfMq6F6nYWmRteQ

Connecting to the service https://emitestbed41.cnaf.infn.it:7443/glite_wms_wmproxy_server


====================== glite-wms-job-perusal Success ======================

The retrieved files have been successfully stored in:
/tmp/jobOutput/capannini_VQMuCUbEfMq6F6nYWmRteQ

==========================================================================


--------------------------------------------------------------------------
file 1/1: out.txt-20130219170534_1-20130219170534_1
--------------------------------------------------------------------------

[capannini@emitestbed16 ~]$ tail /tmp/jobOutput/capannini_VQMuCUbEfMq6F6nYWmRteQ/out.txt-20130219170534_1-20130219170534_1
slept for 1 sec
slept for 1 sec
slept for 1 sec
slept for 1 sec
slept for 1 sec
slept for 1 sec
slept for 1 sec
slept for 1 sec
slept for 1 sec
slept for 1 sec
  -- FabioCapannini - 2013-02-14
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback