Tags:
, view all tags

WMS test report

Summary

  • Component: WMS 3.3.6

  • ETICS Subsystem Configuration Name: *emi-wms_R_3_3_8_3 *

  • VCS Tag: emi-ice_R_3_3_5_1, emi-jobsubmission_R_3_3_3_3, emi-wmproxy_R_3_3_6_1 emi-wms-broker_R_3_3_1_3, emi-wms-brokerinfo_R_3_3_2_1, emi-wms-classad-plugin_R_3_3_1_3 emi-wms-common_R_3_3_2_0 emi-wms-configuration_R_3_3_3_2 emi-wms-helper_R_3_3_3_2 emi-wms-ism_R_3_3_2_1 emi-wms-manager_R_3_3_2_2 emi-wms-matchmaking_R_3_3_2_1 emi-wms-mp_R_1_0_3_0 emi-wms-nagios_R_1_0_0_3 emi-wms-purger_R_3_3_2_1 emi-yaim-wms_R_4_1_6_1

  • EMI Major Release: EMI 1 (Kebnekaise)

  • Platform: sl5 epel

  • Certification report: not yet available

  • Outcome: Certification under way

Deployment Tests

Clean installation

  • Starting from a SL5 x86_64 kernel machine:
[root@emi-demo12 ~]# cat /etc/redhat-release 
Scientific Linux SL release 5.7 (Boron)
[root@emi-demo12 ~]# uname -a
Linux emi-demo12.cnaf.infn.it 2.6.18-274.12.1.el5 #1 SMP Tue Nov 29 11:14:39 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@emi-demo12 ~]# wget http://emisoft.web.cern.ch/emisoft/dist/EMI/1/RPM-GPG-KEY-emi -O /tmp/emi-key_gd.asc
[root@emi-demo12 ~]# rpm --import /tmp/emi-key_gd.asc

Update

Unit Tests

N/A: Tests will be available with EMI-2.

Basic Functionality tests

As ice doesn't start, the tests will only envisage submission to LCG-CEs.

Submission

Normal

[capannini@cert-17 WMS-service]$ python WMS-job-cycle.py -c wms-command.conf -V dteam -d 3 -l -t 1 -i
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

Enter the user proxy password:

 Set 1: Submit a normal job (3 cases LCG-CE, CREAM, general) 


 Test 1A: Submit to an LCG-CE 

===> 
===> Test: WMS-job-cycle.py
===> WMS: emi-demo12.cnaf.infn.it
===> Started: 15:27:37
===> Ended  : 15:30:17
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120625152737.log
[capannini@cert-17 WMS-service]$ python WMS-job-cycle.py -c wms-command.conf -V testers.eu-emi.eu -d 3 -l -t 1 -i
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

Enter the user proxy password:

 Set 1: Submit a normal job (3 cases LCG-CE, CREAM, general) 


 Test 1A: Submit to an LCG-CE 

===> 
===> Test: WMS-job-cycle.py
===> WMS: emi-demo12.cnaf.infn.it
===> Started: 15:57:22
===> Ended  : 16:07:35
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120625155722.log
[capannini@cert-17 WMS-service]$ python WMS-job-cycle.py -c wms-command.conf -V testers2.eu-emi.eu -d 3 -l -t 1 -i
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

Enter the user proxy password:

 Set 1: Submit a normal job (3 cases LCG-CE, CREAM, general) 


 Test 1A: Submit to an LCG-CE 

===> 
===> Test: WMS-job-cycle.py
===> WMS: emi-demo12.cnaf.infn.it
===> Started: 16:05:58
===> Ended  : 16:37:49
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120625160558.log
[capannini@cert-17 WMS-service]$ myproxy-init -d
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini
Creating proxy ................................................................................ Done
Proxy Verify OK
Your proxy is valid until: Mon Jul  2 16:08:41 2012
Enter MyProxy pass phrase:
Verifying - Enter MyProxy pass phrase:
A proxy valid for 168 hours (7.0 days) for user /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini now exists on myproxy.cnaf.infn.it.
[capannini@cert-17 WMS-service]$ myproxy-logon -d --voms dteam
Enter MyProxy pass phrase:
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy/CN=proxy/CN=proxy
Contacting  voms2.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms2.hellasgrid.gr] "dteam" Done
Creating proxy ...................................................... Done

Your proxy is valid until Tue Jun 26 03:09:22 2012
A credential has been received for user /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini in /tmp/x509up_u504.
[capannini@cert-17 WMS-service]$ voms-proxy-info -all
subject   : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy/CN=proxy/CN=proxy/CN=proxy
issuer    : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy/CN=proxy/CN=proxy
identity  : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini/CN=proxy/CN=proxy/CN=proxy
type      : proxy
strength  : 2048 bits
path      : /tmp/x509up_u504
timeleft  : 10:59:43
key usage : Digital Signature, Key Encipherment, Data Encipherment
=== VO dteam extension information ===
VO        : dteam
subject   : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Fabio Capannini
issuer    : /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms2.hellasgrid.gr
attribute : /dteam/Role=NULL/Capability=NULL
attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL
timeleft  : 11:58:43
uri       : voms2.hellasgrid.gr:15004
[capannini@cert-17 WMS-service]$ python WMS-job-cycle.py -c wms-command.conf -d 3 -l -t 1
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Set 1: Submit a normal job (3 cases LCG-CE, CREAM, general) 


 Test 1A: Submit to an LCG-CE 

===> 
===> Test: WMS-job-cycle.py
===> WMS: emi-demo12.cnaf.infn.it
===> Started: 16:16:37
===> Ended  : 16:52:55
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120625161637.log

Proxy mode

ARC CE

Jdl with DataRequirements

[capannini@cert-17 WMS-service]$ cat JDLs/data-req.jdl 
###########################################
#      JDL with Data Requirements         #
###########################################

Executable = "/bin/ls";
Arguments = "-la";
StdOutput = "std.out";
StdError = "std.err";
Prologue = "prologue.sh";

FuzzyRank = true;
Environment={"LFC_HOST=prod-lfc-shared-central.cern.ch", "LFC_HOME=prod-lfc-shared-central.cern.ch:/grid/dteam/aleph"};
InputSandbox = {"JDLs/prologue.sh"};
OutputSandbox = {"std.out", "std.err","prologue.out", "PI_1M.txt"};

DataRequirements = {
[
DataCatalogType = "DLI";
DataCatalog ="http://prod-lfc-shared-central.cern.ch:8085/"; 
InputData = { "lfn:/grid/dteam/fcapanni/PI_1M.txt" };
]
};

DataAccessProtocol = "gsiftp";
AllowZippedISB=true;
RetryCount = 1;
ShallowRetryCount = 2;
requirements = !RegExp(".*cream.*", other.GlueCEUniqueID);
[capannini@cert-17 WMS-service]$ 
[capannini@cert-17 WMS-service]$ python WMS-job-cycle.py -c wms-command.conf -V dteam -d 3 -l -t 1 -i -j JDLs/data-req.jdl
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

Enter the user proxy password:

 Set 1: Submit a normal job (3 cases LCG-CE, CREAM, general) 


 Test 1A: Submit to an LCG-CE 

===> 
===> Test: WMS-job-cycle.py
===> WMS: emi-demo12.cnaf.infn.it
===> Started: 17:22:13
===> Ended  : 17:26:54
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120625172213.log

Jdl with ISBBaseURI and OSBDestURI

[capannini@cert-17 certification.nocream]$ cat URI.jdl 
###########################################
#      JDL with ISBURI & OSBDestURI       #
###########################################

Executable = "exe.sh";
StdOutput = "std.out";
StdError = "std.err";

InputSandboxBaseURI = "gsiftp://emi-demo11.cnaf.infn.it:2811/tmp";

FuzzyRank = true;
InputSandbox = {"exe.sh", "test1", "test2"};
OutputSandbox = {"std.out", "std.err"};
OutputSandboxDestURI = {"gsiftp://emi-demo11.cnaf.infn.it:2811/tmp/myjobOutput", "std.err"};


#requirements = ( other.GlueCEStateStatus == "Testing" ) &&  regexp("/cream", other.GlueCEUniqueID);
requirements = !regexp("/cream", other.GlueCEUniqueID);
DataAccessProtocol = "gsiftp";
RetryCount = 1;
ShallowRetryCount = 2;

[capannini@cert-17 certification.nocream]$ scp tmp/exe.sh test1 test2 root@emi-demo11:/tmp
root@emi-demo11's password: 
exe.sh                                                                                                     100%   80     0.1KB/s   00:00    
test1                                                                                                      100%    6     0.0KB/s   00:00    
test2                                                                                                      100%    6     0.0KB/s   00:00    

[capannini@cert-17 certification.nocream]$ glite-wms-job-submit -a -c ~/wms_emi-demo12.conf URI.jdl 

Connecting to the service https://emi-demo12.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://emi-demo12.cnaf.infn.it:9000/6gZT7jcwMdEfFELEi3dDpA

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

[capannini@cert-17 certification.nocream]$ glite-wms-job-status https://emi-demo12.cnaf.infn.it:9000/6gZT7jcwMdEfFELEi3dDpA


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

Status info for the Job : https://emi-demo12.cnaf.infn.it:9000/6gZT7jcwMdEfFELEi3dDpA
Current Status:     Done (Success)
Exit code:          0
Status Reason:      Job terminated successfully
Destination:        prod-ce-02.pd.infn.it:2119/jobmanager-lcglsf-cert
Submitted:          Tue Jun 26 11:34:18 2012 CEST
==========================================================================

[capannini@cert-17 certification.nocream]$ glite-wms-job-output https://emi-demo12.cnaf.infn.it:9000/6gZT7jcwMdEfFELEi3dDpA

Connecting to the service https://emi-demo12.cnaf.infn.it:7443/glite_wms_wmproxy_server


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

         JOB GET OUTPUT OUTCOME

Output sandbox files for the job:
https://emi-demo12.cnaf.infn.it:9000/6gZT7jcwMdEfFELEi3dDpA
have been successfully retrieved and stored in the directory:
/tmp/jobOutput/capannini_6gZT7jcwMdEfFELEi3dDpA

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


[capannini@cert-17 certification.nocream]$ ls -l /tmp/jobOutput/capannini_6gZT7jcwMdEfFELEi3dDpA
totale 0
-rw-r--r-- 1 capannini emitestbed 0 26 giu 11:54 std.err

Log on emi-demo11:

[root@emi-demo11 siteinfoBKP]# cat /tmp/myjobOutput
6gZT7jcwMdEfFELEi3dDpA
total 36
-rwxr-xr-x 1 dteam021 dteam  80 Jun 26 11:35 exe.sh
-rw-r--r-- 1 dteam021 dteam 118 Jun 26 11:36 https_3a_2f_2femi-demo12.cnaf.infn.it_3a9000_2f6gZT7jcwMdEfFELEi3dDpA.output
-rw-r--r-- 1 dteam021 dteam   0 Jun 26 11:36 std.err
-rw-r--r-- 1 dteam021 dteam  23 Jun 26 11:36 std.out
-rw-r--r-- 1 dteam021 dteam   6 Jun 26 11:35 test1
-rw-r--r-- 1 dteam021 dteam   6 Jun 26 11:35 test2
-rw------- 1 dteam021 dteam 103 Jun 26 11:35 tmp.dcIJc30890
-rw------- 1 dteam021 dteam   0 Jun 26 11:36 tmp.fEchX31965
-rw------- 1 dteam021 dteam   2 Jun 26 11:35 tmp.NjTgx30889
-rw------- 1 dteam021 dteam 103 Jun 26 11:36 tmp.rUzky31978
-rw------- 1 dteam021 dteam   2 Jun 26 11:36 tmp.sGHmx31972

Jdl with ISBBaseURI and OSBBaseDestURI

-- CristinaAiftimiei - 2012-06-19

Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatlog WMSService-TS_20120625152737.log manage 6.0 K 2012-06-25 - 14:01 FabioCapannini  
Unknown file formatlog WMSService-TS_20120625155722.log manage 16.8 K 2012-06-25 - 14:27 FabioCapannini  
Unknown file formatlog WMSService-TS_20120625160558.log manage 47.7 K 2012-06-25 - 14:48 FabioCapannini  
Unknown file formatlog WMSService-TS_20120625161637.log manage 53.9 K 2012-06-25 - 15:16 FabioCapannini  
Unknown file formatlog WMSService-TS_20120625172213.log manage 8.8 K 2012-06-25 - 15:37 FabioCapannini  
Unknown file formatlog config.log manage 8.5 K 2012-06-26 - 08:41 FabioCapannini  
Unknown file formatlog configure.log manage 6.1 K 2012-06-25 - 10:06 FabioCapannini  
Unknown file formatlog install.log manage 129.4 K 2012-06-25 - 09:54 FabioCapannini  
Edit | Attach | PDF | History: r27 | r7 < r6 < r5 < r4 | Backlinks | Raw View | More topic actions...
Topic revision: r5 - 2012-06-26 - FabioCapannini
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platformCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback