Difference: WMSTask32312 (1 vs. 9)

Revision 92012-07-30 - FabioCapannini

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

WMS 3.3.5-2 test report - IGIRTC-89

Line: 1126 to 1126
 

Parametric job

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

Enter the user proxy password:

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


 Test 3A: Submit to an LCG-CE 


 Test 3B: Submit to a CREAM CE 


 Test 3C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 15:17:16
===> Ended  : 16:32:53
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120730151716.log

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

Enter the user proxy password:

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


 Test 3A: Submit to an LCG-CE 


 Test 3B: Submit to a CREAM CE 


 Test 3C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 15:20:21
===> Ended  : 16:43:31
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120730152021.log

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

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


 Test 3A: Submit to an LCG-CE 


 Test 3B: Submit to a CREAM CE 


 Test 3C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 15:20:29
===> Ended  : 16:43:08
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120730152029.log
 

Regression tests

Bugs attached to the task

Line: 1695 to 1783
 
META FILEATTACHMENT attachment="EMI_WMS_3_3_5_2_test_report.txt" attr="" comment="" date="1343593476" name="EMI_WMS_3_3_5_2_test_report.txt" path="EMI_WMS_3_3_5_2_test_report.txt" size="2140" user="CristinaAiftimiei" version="1"
META FILEATTACHMENT attachment="EMI_WMS_3_3_5_2_cert_report.txt" attr="" comment="" date="1343593476" name="EMI_WMS_3_3_5_2_cert_report.txt" path="EMI_WMS_3_3_5_2_cert_report.txt" size="2817" user="CristinaAiftimiei" version="1"
META FILEATTACHMENT attachment="coll.tgz" attr="" comment="" date="1343642620" name="coll.tgz" path="coll.tgz" size="10698" user="FabioCapannini" version="1"
Added:
>
>
META FILEATTACHMENT attachment="param.tgz" attr="" comment="" date="1343661330" name="param.tgz" path="param.tgz" size="18844" user="FabioCapannini" version="1"

Revision 82012-07-30 - FabioCapannini

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

WMS 3.3.5-2 test report - IGIRTC-89

Line: 999 to 999
 ===> Test log file is WMSService-TS_20120727164604.log
Added:
>
>
All in a jdl
[capannini@cert-17 WMS-service]$ python WMS-job-cycle.py -c wms-command.conf -V dteam -d 3 -l -t 7 -i
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

Enter the user proxy password:

 Set 7: Submit a bulk of jobs (3 cases LCG-CE, CREAM, general) using a single jdl with al the jdls of nodes 


 Test 7A: Submit to an LCG-CE 


 Test 7B: Submit to a CREAM CE 


 Test 7C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 11:10:44
===> Ended  : 11:57:57
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120730111044.log

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

Enter the user proxy password:

 Set 7: Submit a bulk of jobs (3 cases LCG-CE, CREAM, general) using a single jdl with al the jdls of nodes 


 Test 7A: Submit to an LCG-CE 


 Test 7B: Submit to a CREAM CE 


 Test 7C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 11:11:58
===> Ended  : 11:46:36
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120730111158.log
 
Added:
>
>
[capannini@cert-17 ~]$ 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 Aug 6 11:12:53 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 ~]$ [capannini@cert-17 ~]$ [capannini@cert-17 ~]$ 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 voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done Creating proxy ................................. Done

Your proxy is valid until Mon Jul 30 22:13:20 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 ~]$ [capannini@cert-17 ~]$ [capannini@cert-17 ~]$ 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:45 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=voms.hellasgrid.gr attribute : /dteam/Role=NULL/Capability=NULL attribute : /dteam/NGI_IT/Role=NULL/Capability=NULL timeleft : 11:58:45 uri : voms.hellasgrid.gr:15004

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

Set 7: Submit a bulk of jobs (3 cases LCG-CE, CREAM, general) using a single jdl with al the jdls of nodes

Test 7A: Submit to an LCG-CE

Test 7B: Submit to a CREAM CE

Test 7C: Submit without restrictions

===> ===> Test: WMS-job-cycle.py ===> WMS: cert-25.cnaf.infn.it ===> Started: 11:14:21 ===> Ended : 11:46:57 ===> =>     test PASSED == ===> ===> Test log file is WMSService-TS_20120730111421.log

Parametric job

 

Regression tests

Bugs attached to the task

Line: 1567 to 1694
 
META FILEATTACHMENT attachment="WMSService-TS_20120727164604.log" attr="" comment="" date="1343403078" name="WMSService-TS_20120727164604.log" path="WMSService-TS_20120727164604.log" size="63200" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="EMI_WMS_3_3_5_2_test_report.txt" attr="" comment="" date="1343593476" name="EMI_WMS_3_3_5_2_test_report.txt" path="EMI_WMS_3_3_5_2_test_report.txt" size="2140" user="CristinaAiftimiei" version="1"
META FILEATTACHMENT attachment="EMI_WMS_3_3_5_2_cert_report.txt" attr="" comment="" date="1343593476" name="EMI_WMS_3_3_5_2_cert_report.txt" path="EMI_WMS_3_3_5_2_cert_report.txt" size="2817" user="CristinaAiftimiei" version="1"
Added:
>
>
META FILEATTACHMENT attachment="coll.tgz" attr="" comment="" date="1343642620" name="coll.tgz" path="coll.tgz" size="10698" user="FabioCapannini" version="1"

Revision 72012-07-29 - CristinaAiftimiei

Line: 1 to 1
 
META TOPICPARENT name="TestingWms"
Changed:
<
<

WMS test report

>
>

WMS 3.3.5-2 test report - IGIRTC-89

 
Added:
>
>
 

Summary

  • Component: WMS 3.3.5-2
Line: 16 to 15
 
  • EMI Major Release: EMI 1 (Kebnekaise)
Changed:
<
<
  • Platform: sl5 epel
>
>
  • Platform: SL5/x86_64

 
Changed:
<
<
  • Certification report: not yet available
>
>
 
Changed:
<
<
  • Outcome: Certification under way
>
>
  • Outcome: Certified
 

Deployment Tests

Line: 1000 to 1001
 
Changed:
<
<
-- FabioCapannini - 2012-07-19
>
>

Regression tests

Bugs attached to the task

RT #4073: WMS ICE issue PASSED

Verified that file is accessibile only by the owner
 
Added:
>
>

Standard Conformance Tests

Glue 1 Compliance - PASSED

 
Added:
>
>
[caifti@cert-25 ~]$ glue-validator -t glue1 -h cert-25.cnaf.infn.it -p 2170 -b o=grid
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
 
Added:
>
>

Ran 40 tests in 0.034s
 
Added:
>
>
OK
 
Added:
>
>

Glue 2 Compliance PASSED

 
Added:
>
>
[caifti@cert-25 ~]$ glue-validator -t glue2 -h cert-25.cnaf.infn.it -p 2170 -b o=glue
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok
Validating data types. ... ok
Verifying the existence of mandatory attributes. ... ok
Verifying the object class ... ok
Verifying single-valued attributes only have one value. ... ok

----------------------------------------------------------------------
Ran 40 tests in 0.035s

OK

Published Information

bdb database information (Glue1)

$ ldapsearch -x -H ldap://cert-25.cnaf.infn.it:2170 -b 'o=grid'
# extended LDIF
#
# LDAPv3
# base <o=grid> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# grid
dn: o=grid
objectClass: organization
o: grid

# local, grid
dn: Mds-Vo-name=local,o=grid
Mds-Vo-name: local
objectClass: Mds

# resource, grid
dn: Mds-Vo-name=resource,o=grid
Mds-Vo-name: resource
objectClass: Mds

# cert-25.cnaf.infn.it_org.glite.lb.Server_2310828617, resource, grid
dn: GlueServiceUniqueID=cert-25.cnaf.infn.it_org.glite.lb.Server_2310828617,Md
 s-Vo-name=resource,o=grid
GlueServiceStatus: Critical
objectClass: GlueTop
objectClass: GlueService
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueServiceUniqueID: cert-25.cnaf.infn.it_org.glite.lb.Server_2310828617
GlueServiceEndpoint: https://cert-25.cnaf.infn.it:9003/
GlueServiceVersion: 2.2.9
GlueSchemaVersionMinor: 3
GlueServiceName: emi-testbed-cnaf-Server
GlueServiceType: org.glite.lb.Server
GlueServiceWSDL: http://egee.cesnet.cz/cms/export/sites/egee/en/WSDL/3.1/LB.ws
 dl
GlueServiceSemantics: https://edms.cern.ch/file/571273/2/LB-guide.pdf
GlueForeignKey: GlueSiteUniqueID=emi-testbed-cnaf
GlueSchemaVersionMajor: 1
GlueServiceStartTime: 2012-07-29T22:10:01+02:00
GlueServiceStatusInfo: glite-lb-notif-interlogd not running (stale pidfile) gl
 ite-lb-interlogd for proxy running as 6910 glite-lb-bkserverd running as 6838
  glite-jp-importer not running (disabled)

# cert-25.cnaf.infn.it_org.glite.wms.WMProxy_4216838709, resource, grid
dn: GlueServiceUniqueID=cert-25.cnaf.infn.it_org.glite.wms.WMProxy_4216838709,
 Mds-Vo-name=resource,o=grid
GlueServiceAccessControlBaseRule: VO:testers.eu-emi.eu
GlueServiceAccessControlBaseRule: VO:testers2.eu-emi.eu
GlueServiceAccessControlBaseRule: VO:cms
GlueServiceAccessControlBaseRule: VO:dteam
GlueServiceAccessControlBaseRule: VO:infngrid
GlueServiceStatus: Other
GlueServiceStatusInfo: ??
objectClass: GlueTop
objectClass: GlueService
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueServiceUniqueID: cert-25.cnaf.infn.it_org.glite.wms.WMProxy_4216838709
GlueServiceAccessControlRule: testers.eu-emi.eu
GlueServiceAccessControlRule: testers2.eu-emi.eu
GlueServiceAccessControlRule: cms
GlueServiceAccessControlRule: dteam
GlueServiceAccessControlRule: infngrid
GlueServiceEndpoint: https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_serve
 r
GlueServiceVersion: 3.3.5
GlueSchemaVersionMinor: 3
GlueServiceName: emi-testbed-cnaf-WMProxy
GlueServiceType: org.glite.wms.WMProxy
GlueServiceWSDL: http://web.infn.it/gLiteWMS/images/WMS/Docs/wmproxy.wsdl
GlueServiceSemantics: http://web.infn.it/gLiteWMS/images/WMS/Docs/wmproxy-guid
 e.pdf
GlueForeignKey: GlueSiteUniqueID=emi-testbed-cnaf
GlueServiceOwner: testers.eu-emi.eu
GlueServiceOwner: testers2.eu-emi.eu
GlueServiceOwner: cms
GlueServiceOwner: dteam
GlueServiceOwner: infngrid
GlueSchemaVersionMajor: 1
GlueServiceStartTime: 2012-07-29T00:00:02+02:00

# DN, cert-25.cnaf.infn.it_org.glite.wms.WMProxy_4216838709, resource, grid
dn: GlueServiceDataKey=DN,GlueServiceUniqueID=cert-25.cnaf.infn.it_org.glite.w
 ms.WMProxy_4216838709,Mds-Vo-name=resource,o=grid
GlueSchemaVersionMajor: 1
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSchemaVersionMinor: 3
GlueServiceDataKey: DN
GlueChunkKey: GlueServiceUniqueID=cert-25.cnaf.infn.it_org.glite.wms.WMProxy_4
 216838709
GlueServiceDataValue: /C=IT/O=INFN/OU=Host/L=CNAF/CN=cert-25.cnaf.infn.it

# glite-info-service_version, cert-25.cnaf.infn.it_org.glite.lb.Server_231082
 8617, resource, grid
dn: GlueServiceDataKey=glite-info-service_version,GlueServiceUniqueID=cert-25.
 cnaf.infn.it_org.glite.lb.Server_2310828617,Mds-Vo-name=resource,o=grid
GlueSchemaVersionMajor: 1
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSchemaVersionMinor: 3
GlueServiceDataKey: glite-info-service_version
GlueChunkKey: GlueServiceUniqueID=cert-25.cnaf.infn.it_org.glite.lb.Server_231
 0828617
GlueServiceDataValue: 1.6

# glite-info-service_hostname, cert-25.cnaf.infn.it_org.glite.lb.Server_23108
 28617, resource, grid
dn: GlueServiceDataKey=glite-info-service_hostname,GlueServiceUniqueID=cert-25
 .cnaf.infn.it_org.glite.lb.Server_2310828617,Mds-Vo-name=resource,o=grid
GlueSchemaVersionMajor: 1
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSchemaVersionMinor: 3
GlueServiceDataKey: glite-info-service_hostname
GlueChunkKey: GlueServiceUniqueID=cert-25.cnaf.infn.it_org.glite.lb.Server_231
 0828617
GlueServiceDataValue: cert-25.cnaf.infn.it

# glite-info-service_version, cert-25.cnaf.infn.it_org.glite.wms.WMProxy_4216
 838709, resource, grid
dn: GlueServiceDataKey=glite-info-service_version,GlueServiceUniqueID=cert-25.
 cnaf.infn.it_org.glite.wms.WMProxy_4216838709,Mds-Vo-name=resource,o=grid
GlueSchemaVersionMajor: 1
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSchemaVersionMinor: 3
GlueServiceDataKey: glite-info-service_version
GlueChunkKey: GlueServiceUniqueID=cert-25.cnaf.infn.it_org.glite.wms.WMProxy_4
 216838709
GlueServiceDataValue: 1.6

# glite-info-service_hostname, cert-25.cnaf.infn.it_org.glite.wms.WMProxy_421
 6838709, resource, grid
dn: GlueServiceDataKey=glite-info-service_hostname,GlueServiceUniqueID=cert-25
 .cnaf.infn.it_org.glite.wms.WMProxy_4216838709,Mds-Vo-name=resource,o=grid
GlueSchemaVersionMajor: 1
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSchemaVersionMinor: 3
GlueServiceDataKey: glite-info-service_hostname
GlueChunkKey: GlueServiceUniqueID=cert-25.cnaf.infn.it_org.glite.wms.WMProxy_4
 216838709
GlueServiceDataValue: cert-25.cnaf.infn.it

# search result
search: 2
result: 0 Success

# numResponses: 11
# numEntries: 10

Stats database definitions

$ ldapsearch -x -H ldap://cert-25.cnaf.infn.it:2170 -b 'o=infosys'
# extended LDIF
#
# LDAPv3
# base <o=infosys> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# infosys
dn: o=infosys
objectClass: organization
o: infosys

# zip, infosys
dn: CompressionType=zip,o=infosys
objectClass: CompressedContent
Hostname: localhost
CompressionType: zip
Data: file:///var/lib/bdii/archive/12-07-29-22-15-59-snapshot.gz

# localhost, infosys
dn: Hostname=localhost,o=infosys
objectClass: UpdateStats
Hostname: localhost
FailedDeletes: 0
ModifiedEntries: 9
DeletedEntries: 0
UpdateTime: 2
FailedAdds: 0
FailedModifies: 0
TotalEntries: 20
QueryTime: 0
NewEntries: 1
DBUpdateTime: 0
ReadTime: 0
PluginsTime: 0
ProvidersTime: 2

# search result
search: 2
result: 0 Success

# numResponses: 4
# numEntries: 3

Stats database definitions (Glue2)

$ ldapsearch -x -H ldap://cert-25.cnaf.infn.it:2170 -b 'o=glue'
# extended LDIF
#
# LDAPv3
# base <o=glue> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# glue
dn: o=glue
objectClass: organization
o: glue

# grid, glue
dn: GLUE2GroupID=grid,o=glue
objectClass: GLUE2Group
GLUE2GroupID: grid

# resource, glue
dn: GLUE2GroupID=resource,o=glue
objectClass: GLUE2Group
GLUE2GroupID: resource

# cert-25.cnaf.infn.it_wmproxy_13056159, resource, glue
dn: GLUE2ServiceID=cert-25.cnaf.infn.it_wmproxy_13056159,GLUE2GroupID=resource
 ,o=glue
GLUE2EntityValidity: 3600
GLUE2ServiceType: org.glite.wms.WMProxy
GLUE2ServiceID: cert-25.cnaf.infn.it_wmproxy_13056159
objectClass: GLUE2Service
GLUE2ServiceQualityLevel: production
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-service
GLUE2EntityOtherInfo: InfoProviderVersion=1.1
GLUE2EntityOtherInfo: InfoProviderHost=cert-25.cnaf.infn.it
GLUE2ServiceComplexity: endpointType=1, share=0, resource=0
GLUE2ServiceCapability: executionmanagement.candidatesetgenerator
GLUE2ServiceCapability: executionmanagement.jobdescription
GLUE2ServiceCapability: executionmanagement.jobmanager
GLUE2EntityName: emi-testbed-cnaf-WMProxy
GLUE2ServiceAdminDomainForeignKey: emi-testbed-cnaf
GLUE2EntityCreationTime: 2012-07-29T20:20:02Z

# cert-25.cnaf.infn.it_lbserver_201164012, resource, glue
dn: GLUE2ServiceID=cert-25.cnaf.infn.it_lbserver_201164012,GLUE2GroupID=resour
 ce,o=glue
GLUE2EntityValidity: 3600
GLUE2ServiceType: org.glite.lb.Server
GLUE2ServiceID: cert-25.cnaf.infn.it_lbserver_201164012
objectClass: GLUE2Service
GLUE2ServiceQualityLevel: production
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-service
GLUE2EntityOtherInfo: InfoProviderVersion=1.1
GLUE2EntityOtherInfo: InfoProviderHost=cert-25.cnaf.infn.it
GLUE2ServiceComplexity: endpointType=1, share=0, resource=0
GLUE2ServiceCapability: information.logging
GLUE2EntityName: emi-testbed-cnaf-Server
GLUE2ServiceAdminDomainForeignKey: emi-testbed-cnaf
GLUE2EntityCreationTime: 2012-07-29T20:20:04Z

# cert-25.cnaf.infn.it_wmproxy_13056159_org.glite.wms.WMProxy_13056159, cert-
 25.cnaf.infn.it_wmproxy_13056159, resource, glue
dn: GLUE2EndpointID=cert-25.cnaf.infn.it_wmproxy_13056159_org.glite.wms.WMProx
 y_13056159,GLUE2ServiceID=cert-25.cnaf.infn.it_wmproxy_13056159,GLUE2GroupID=
 resource,o=glue
GLUE2EntityValidity: 3600
GLUE2EndpointQualityLevel: production
GLUE2EndpointImplementor: gLite
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint
GLUE2EntityOtherInfo: InfoProviderVersion=1.2
GLUE2EntityOtherInfo: InfoProviderHost=cert-25.cnaf.infn.it
GLUE2EntityOtherInfo: MiddlewareName=EMI
GLUE2EntityOtherInfo: MiddlewareVersion=1.11.2-1
GLUE2EndpointCapability: executionmanagement.candidatesetgenerator
GLUE2EndpointCapability: executionmanagement.jobdescription
GLUE2EndpointCapability: executionmanagement.jobmanager
GLUE2EndpointHealthState: ok
GLUE2EndpointServiceForeignKey: cert-25.cnaf.infn.it_wmproxy_13056159
GLUE2EntityName: WMProxy endpoint for Service cert-25.cnaf.infn.it_wmproxy_130
 56159
GLUE2EndpointTechnology: webservice
GLUE2EndpointWSDL: http://web.infn.it/gLiteWMS/images/WMS/Docs/wmproxy.wsdl
GLUE2EndpointInterfaceName: org.glite.wms.WMProxy
GLUE2EndpointURL: https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server
GLUE2EndpointDowntimeInfo: See the GOC DB for downtimes: https://goc.egi.eu/
GLUE2EndpointImplementationVersion: 3.3.5
GLUE2EndpointSemantics: http://web.infn.it/gLiteWMS/images/WMS/Docs/wmproxy-gu
 ide.pdf
GLUE2EndpointIssuerCA: /C=IT/O=INFN/CN=INFN CA
GLUE2EndpointServingState: production
objectClass: GLUE2Endpoint
GLUE2EndpointInterfaceVersion: 1.0
GLUE2EndpointImplementationName: WMS
GLUE2EndpointTrustedCA: IGTF
GLUE2EndpointID: cert-25.cnaf.infn.it_wmproxy_13056159_org.glite.wms.WMProxy_1
 3056159
GLUE2EndpointStartTime: 2012-07-28T22:00:02Z
GLUE2EndpointHealthStateInfo: WMProxy httpd listening on port 7443 httpd is ru
 nning .... === WMProxy Server running instances: UID PID PPID C STIME TTY TIM
 E CMD glite 31527 8278 0 01:25 ? 00:00:00 /usr/bin/glite_wms_wmproxy_server
GLUE2EntityCreationTime: 2012-07-29T20:20:02Z

# cert-25.cnaf.infn.it_lbserver_201164012_org.glite.lb.Server_201164012, cert
 -25.cnaf.infn.it_lbserver_201164012, resource, glue
dn: GLUE2EndpointID=cert-25.cnaf.infn.it_lbserver_201164012_org.glite.lb.Serve
 r_201164012,GLUE2ServiceID=cert-25.cnaf.infn.it_lbserver_201164012,GLUE2Group
 ID=resource,o=glue
GLUE2EntityValidity: 3600
GLUE2EndpointQualityLevel: production
GLUE2EndpointImplementor: gLite
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint
GLUE2EntityOtherInfo: InfoProviderVersion=1.2
GLUE2EntityOtherInfo: InfoProviderHost=cert-25.cnaf.infn.it
GLUE2EntityOtherInfo: MiddlewareName=EMI
GLUE2EntityOtherInfo: MiddlewareVersion=1.11.2-1
GLUE2EndpointCapability: information.logging
GLUE2EndpointHealthState: critical
GLUE2EndpointServiceForeignKey: cert-25.cnaf.infn.it_lbserver_201164012
GLUE2EntityName: Server endpoint for Service cert-25.cnaf.infn.it_lbserver_201
 164012
GLUE2EndpointTechnology: webservice
GLUE2EndpointWSDL: http://egee.cesnet.cz/cms/export/sites/egee/en/WSDL/3.1/LB.
 wsdl
GLUE2EndpointInterfaceName: org.glite.lb.Server
GLUE2EndpointURL: https://cert-25.cnaf.infn.it:9003/
GLUE2EndpointDowntimeInfo: See the GOC DB for downtimes: https://goc.egi.eu/
GLUE2EndpointImplementationVersion: 2.2.9
GLUE2EndpointSemantics: https://edms.cern.ch/file/571273/2/LB-guide.pdf
GLUE2EndpointIssuerCA: /C=IT/O=INFN/CN=INFN CA
GLUE2EndpointServingState: production
objectClass: GLUE2Endpoint
GLUE2EndpointInterfaceVersion: 3.2.4
GLUE2EndpointImplementationName: LB
GLUE2EndpointTrustedCA: IGTF
GLUE2EndpointID: cert-25.cnaf.infn.it_lbserver_201164012_org.glite.lb.Server_2
 01164012
GLUE2EntityCreationTime: 2012-07-29T20:20:04Z
GLUE2EndpointHealthStateInfo: glite-lb-notif-interlogd not running (stale pidf
 ile) glite-lb-interlogd for proxy running as 8555 glite-lb-bkserverd running 
 as 8483 glite-jp-importer not running (disabled)
GLUE2EndpointStartTime: 2012-07-29T20:20:01Z

# DN_1, cert-25.cnaf.infn.it_wmproxy_13056159_org.glite.wms.WMProxy_13056159,
  cert-25.cnaf.infn.it_wmproxy_13056159, resource, glue
dn: GLUE2ExtensionLocalID=DN_1,GLUE2EndpointID=cert-25.cnaf.infn.it_wmproxy_13
 056159_org.glite.wms.WMProxy_13056159,GLUE2ServiceID=cert-25.cnaf.infn.it_wmp
 roxy_13056159,GLUE2GroupID=resource,o=glue
GLUE2ExtensionLocalID: DN_1
GLUE2ExtensionKey: DN
objectClass: GLUE2Extension
GLUE2ExtensionValue: /C=IT/O=INFN/OU=Host/L=CNAF/CN=cert-25.cnaf.infn.it
GLUE2ExtensionEntityForeignKey: cert-25.cnaf.infn.it_wmproxy_13056159_org.glit
 e.wms.WMProxy_13056159

# cert-25.cnaf.infn.it_wmproxy_13056159_org.glite.wms.WMProxy_13056159_Policy
 , cert-25.cnaf.infn.it_wmproxy_13056159_org.glite.wms.WMProxy_13056159, cert
 -25.cnaf.infn.it_wmproxy_13056159, resource, glue
dn: GLUE2PolicyID=cert-25.cnaf.infn.it_wmproxy_13056159_org.glite.wms.WMProxy_
 13056159_Policy,GLUE2EndpointID=cert-25.cnaf.infn.it_wmproxy_13056159_org.gli
 te.wms.WMProxy_13056159,GLUE2ServiceID=cert-25.cnaf.infn.it_wmproxy_13056159,
 GLUE2GroupID=resource,o=glue
GLUE2AccessPolicyEndpointForeignKey: cert-25.cnaf.infn.it_wmproxy_13056159_org
 .glite.wms.WMProxy_13056159
GLUE2EntityValidity: 3600
objectClass: GLUE2Policy
objectClass: GLUE2AccessPolicy
GLUE2PolicyRule: VO:testers.eu-emi.eu
GLUE2PolicyRule: VO:testers2.eu-emi.eu
GLUE2PolicyRule: VO:cms
GLUE2PolicyRule: VO:dteam
GLUE2PolicyRule: VO:infngrid
GLUE2PolicyScheme: org.glite.standard
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint
GLUE2EntityOtherInfo: InfoProviderVersion=1.2
GLUE2EntityOtherInfo: InfoProviderHost=cert-25.cnaf.infn.it
GLUE2PolicyUserDomainForeignKey: testers.eu-emi.eu
GLUE2PolicyUserDomainForeignKey: testers2.eu-emi.eu
GLUE2PolicyUserDomainForeignKey: cms
GLUE2PolicyUserDomainForeignKey: dteam
GLUE2PolicyUserDomainForeignKey: infngrid
GLUE2PolicyID: cert-25.cnaf.infn.it_wmproxy_13056159_org.glite.wms.WMProxy_130
 56159_Policy
GLUE2EntityName: Access control rules for Endpoint cert-25.cnaf.infn.it_wmprox
 y_13056159_org.glite.wms.WMProxy_13056159
GLUE2EntityCreationTime: 2012-07-29T20:20:02Z

# cert-25.cnaf.infn.it_lbserver_201164012_org.glite.lb.Server_201164012_Polic
 y, cert-25.cnaf.infn.it_lbserver_201164012_org.glite.lb.Server_201164012, ce
 rt-25.cnaf.infn.it_lbserver_201164012, resource, glue
dn: GLUE2PolicyID=cert-25.cnaf.infn.it_lbserver_201164012_org.glite.lb.Server_
 201164012_Policy,GLUE2EndpointID=cert-25.cnaf.infn.it_lbserver_201164012_org.
 glite.lb.Server_201164012,GLUE2ServiceID=cert-25.cnaf.infn.it_lbserver_201164
 012,GLUE2GroupID=resource,o=glue
GLUE2EntityValidity: 3600
objectClass: GLUE2Policy
objectClass: GLUE2AccessPolicy
GLUE2PolicyRule: ALL
GLUE2PolicyScheme: org.glite.standard
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint
GLUE2EntityOtherInfo: InfoProviderVersion=1.2
GLUE2EntityOtherInfo: InfoProviderHost=cert-25.cnaf.infn.it
GLUE2AccessPolicyEndpointForeignKey: cert-25.cnaf.infn.it_lbserver_201164012_o
 rg.glite.lb.Server_201164012
GLUE2PolicyID: cert-25.cnaf.infn.it_lbserver_201164012_org.glite.lb.Server_201
 164012_Policy
GLUE2EntityName: Access control rules for Endpoint cert-25.cnaf.infn.it_lbserv
 er_201164012_org.glite.lb.Server_201164012
GLUE2EntityCreationTime: 2012-07-29T20:20:04Z

# search result
search: 2
result: 0 Success

# numResponses: 11
# numEntries: 10

-- FabioCapannini - 2012-07-19

 

META FILEATTACHMENT attachment="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" attr="" comment="" date="1342705967" name="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" path="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" size="527851" user="FabioCapannini" version="1"
Line: 1019 to 1565
 
META FILEATTACHMENT attachment="WMSService-TS_20120727115340.log" attr="" comment="" date="1343383845" name="WMSService-TS_20120727115340.log" path="WMSService-TS_20120727115340.log" size="21297" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSService-TS_20120727162323.log" attr="" comment="" date="1343400219" name="WMSService-TS_20120727162323.log" path="WMSService-TS_20120727162323.log" size="18160" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSService-TS_20120727164604.log" attr="" comment="" date="1343403078" name="WMSService-TS_20120727164604.log" path="WMSService-TS_20120727164604.log" size="63200" user="FabioCapannini" version="1"
Added:
>
>
META FILEATTACHMENT attachment="EMI_WMS_3_3_5_2_test_report.txt" attr="" comment="" date="1343593476" name="EMI_WMS_3_3_5_2_test_report.txt" path="EMI_WMS_3_3_5_2_test_report.txt" size="2140" user="CristinaAiftimiei" version="1"
META FILEATTACHMENT attachment="EMI_WMS_3_3_5_2_cert_report.txt" attr="" comment="" date="1343593476" name="EMI_WMS_3_3_5_2_cert_report.txt" path="EMI_WMS_3_3_5_2_cert_report.txt" size="2817" user="CristinaAiftimiei" version="1"

Revision 62012-07-27 - FabioCapannini

Line: 1 to 1
 
META TOPICPARENT name="TestingWms"
Line: 823 to 823
 ===> Test PASSED

Jdl with ExpiryTime
Added:
>
>
[capannini@cert-17 certification]$ date +%s
1343397704

[capannini@cert-17 certification]$ cat ExpiryTime.jdl 
###########################################
#       JDL with ExpiryTime attribute     #
###########################################

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

InputSandbox = {"fileA", "fileB", "fileC", "fileD", "fileE"};
OutputSandbox = {"std.out", "std.err"};

requirements = false;

ExpiryTime = 1343397804;

RetryCount = 1;
ShallowRetryCount = 2;

[capannini@cert-17 certification]$ glite-wms-job-submit -a -c ~/wms_cert-25.conf ExpiryTime.jdl 

Connecting to the service https://cert-25.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://cert-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A

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


[capannini@cert-17 certification]$ 
[capannini@cert-17 certification]$ 
[capannini@cert-17 certification]$ glite-wms-job-status https://cert-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A


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

Status info for the Job : https://cert-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A
Current Status:     Waiting 
Status Reason:      BrokerHelper: no compatible resources
Submitted:          Fri Jul 27 16:02:26 2012 CEST
==========================================================================

[capannini@cert-17 certification]$ glite-wms-job-status https://cert-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A


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

Status info for the Job : https://cert-25.cnaf.infn.it:9000/r3ty2QrughJuATEdPUJ19A
Current Status:     Aborted 
Status Reason:      request expired
Submitted:          Fri Jul 27 16:02:26 2012 CEST
==========================================================================

[capannini@cert-17 certification]$ date +%s
1343398570
===> Test PASSED
Jdl with ShortDeadlineJob
To test SDJs the following bdii must be used: egee-bdii.cnaf.infn.it

[capannini@cert-17 certification]$ cat SDLJ.jdl 
###########################################
# JDL with ShortDeadlineJob attribute     #
###########################################

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

InputSandbox = {"fileA", "fileB", "fileC", "fileD", "fileE"};
OutputSandbox = {"std.out", "std.err"};

requirements = true;

ShortDeadlineJob = true;

RetryCount = 1;
ShallowRetryCount = 2;
[capannini@cert-17 certification]$ glite-wms-job-list-match -a -c ~/wms_cert-25.conf SDLJ.jdl 

Connecting to the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server

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

           COMPUTING ELEMENT IDs LIST 
 The following CE(s) matching your job requirements have been found:

   *CEId*
 - ce01.ariagni.hellasgrid.gr:2119/jobmanager-pbs-dteam.sdj
 - cream-ce01.ariagni.hellasgrid.gr:8443/cream-pbs-dteam.sdj
 - grid4.mif.vu.lt:2119/jobmanager-lcgpbs-sdj
 - grive02.ibcp.fr:8443/cream-pbs-sdj
 - mario.univ-lille1.fr:8443/cream-pbs-sdj

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


[capannini@cert-17 certification]$ python ~/wms_tests.old/WMS-service/WMS-job-cycle.py -c ~/wms_tests.old/WMS-service/wms-command.conf -V dteam -d 3 -l -t 1 -i -j SDLJ.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 1B: Submit to a CREAM CE 


 Test 1C: Submit without restrictions 

===> 
===> Test: /home/capannini/wms_tests.old/WMS-service/WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 16:23:23
===> Ended  : 16:32:42
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120727162323.log

Collection

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

Enter the user proxy password:

 Set 2: Submit a bulk of jobs (3 cases LCG-CE, CREAM, general) 


 Test 2A: Submit to an LCG-CE 


 Test 2B: Submit to a CREAM CE 


 Test 2C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 16:46:04
===> Ended  : 17:27:15
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120727164604.log
 -- FabioCapannini - 2012-07-19
Line: 838 to 1017
 
META FILEATTACHMENT attachment="submit.tgz" attr="" comment="" date="1343379847" name="submit.tgz" path="submit.tgz" size="5185" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSService-TS_20120727110543.log" attr="" comment="" date="1343381373" name="WMSService-TS_20120727110543.log" path="WMSService-TS_20120727110543.log" size="33719" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSService-TS_20120727115340.log" attr="" comment="" date="1343383845" name="WMSService-TS_20120727115340.log" path="WMSService-TS_20120727115340.log" size="21297" user="FabioCapannini" version="1"
Added:
>
>
META FILEATTACHMENT attachment="WMSService-TS_20120727162323.log" attr="" comment="" date="1343400219" name="WMSService-TS_20120727162323.log" path="WMSService-TS_20120727162323.log" size="18160" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSService-TS_20120727164604.log" attr="" comment="" date="1343403078" name="WMSService-TS_20120727164604.log" path="WMSService-TS_20120727164604.log" size="63200" user="FabioCapannini" version="1"

Revision 52012-07-27 - FabioCapannini

Line: 1 to 1
 
META TOPICPARENT name="TestingWms"
Line: 352 to 352
 ===> Test PASSED

On an LCG-CE:

Added:
>
>
[capannini@cert-17 certification]$ glite-wms-job-submit -a -c ~/wms_cert-25.conf URI.jdl 

Connecting to the service https://cert-25.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://cert-25.cnaf.infn.it:9000/gDxF05JrP_3MyS6sPt-hDQ

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


[capannini@cert-17 certification]$ glite-wms-job-status https://cert-25.cnaf.infn.it:9000/gDxF05JrP_3MyS6sPt-hDQ


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

Status info for the Job : https://cert-25.cnaf.infn.it:9000/gDxF05JrP_3MyS6sPt-hDQ
Current Status:     Done (Success)
Exit code:          0
Status Reason:      Job terminated successfully
Destination:        cream-26.pd.infn.it:2119/jobmanager-lcgpbs-creamtest1
Submitted:          Fri Jul 27 12:25:38 2012 CEST
==========================================================================

[capannini@cert-17 certification]$ glite-wms-job-output https://cert-25.cnaf.infn.it:9000/gDxF05JrP_3MyS6sPt-hDQ

Connecting to the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server


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

         JOB GET OUTPUT OUTCOME

Output sandbox files for the job:
https://cert-25.cnaf.infn.it:9000/gDxF05JrP_3MyS6sPt-hDQ
have been successfully retrieved and stored in the directory:
/tmp/jobOutput/capannini_gDxF05JrP_3MyS6sPt-hDQ

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


[capannini@cert-17 certification]$ ls /tmp/jobOutput/capannini_gDxF05JrP_3MyS6sPt-hDQ
std.err

Log on cert-26:

[root@cert-26 tmp]# cat /tmp/myjobOutput 
gDxF05JrP_3MyS6sPt-hDQ
total 36
-rwxr-xr-x  1 dteam022 dteam  80 Jul 27 12:26 exe.sh
-rw-r--r--  1 dteam022 dteam 118 Jul 27 12:26 https_3a_2f_2fcert-25.cnaf.infn.it_3a9000_2fgDxF05JrP_5f3MyS6sPt-hDQ.output
-rw-r--r--  1 dteam022 dteam   0 Jul 27 12:26 std.err
-rw-r--r--  1 dteam022 dteam  23 Jul 27 12:26 std.out
-rw-r--r--  1 dteam022 dteam   6 Jul 27 12:26 test1
-rw-r--r--  1 dteam022 dteam   6 Jul 27 12:26 test2
-rw-------  1 dteam022 dteam 103 Jul 27 12:26 tmp.cPOtjVv997
-rw-------  1 dteam022 dteam   0 Jul 27 12:26 tmp.RRmVxO1010
-rw-------  1 dteam022 dteam   2 Jul 27 12:26 tmp.RrrMIn1011
-rw-------  1 dteam022 dteam   2 Jul 27 12:26 tmp.ToUGiKN996
-rw-------  1 dteam022 dteam 103 Jul 27 12:26 tmp.wWmweN1012

===> Test PASSED

Jdl with ISBBaseURI and OSBBaseDestURI

Submit to CREAM CE

[capannini@cert-17 certification]$ cat BaseURI.jdl 
###########################################
#  JDL with ISBURI & OSBBaseDestURI       #
###########################################

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

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

FuzzyRank = true;
InputSandbox = {"exe.sh", "test1", "test2"};
OutputSandbox = {"std.out", "std.err"};
OutputSandboxBaseDestURI="gsiftp://devel20.cnaf.infn.it:2811/tmp";

requirements = other.GlueCEStateStatus == "Testing" &&  !regexp("/cream", other.GlueCEUniqueID);

RetryCount = 1;
ShallowRetryCount = 2;

[capannini@cert-17 certification]$ glite-wms-job-submit -a -c ~/wms_cert-25.conf BaseURI.jdl 

Connecting to the service https://cert-25.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://cert-25.cnaf.infn.it:9000/l3pwc0eaoOK3M4xdB0UI4Q

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

[capannini@cert-17 certification]$ glite-wms-job-status https://cert-25.cnaf.infn.it:9000/l3pwc0eaoOK3M4xdB0UI4Q


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

Status info for the Job : https://cert-25.cnaf.infn.it:9000/l3pwc0eaoOK3M4xdB0UI4Q
Current Status:     Done (Success)
Logged Reason(s):
    - job completed
    - Job Terminated Successfully
Exit code:          0
Status Reason:      Job Terminated Successfully
Destination:        cream-23.pd.infn.it:8443/cream-lsf-cert
Submitted:          Fri Jul 27 14:14:28 2012 CEST
==========================================================================

[capannini@cert-17 certification]$ glite-wms-job-output https://cert-25.cnaf.infn.it:9000/l3pwc0eaoOK3M4xdB0UI4Q

Connecting to the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server


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

         JOB GET OUTPUT OUTCOME

No output files to be retrieved for the job:
https://cert-25.cnaf.infn.it:9000/l3pwc0eaoOK3M4xdB0UI4Q
 
Added:
>
>
============================================================================

Log on devel20:

[root@devel20 ~]# ls /tmp/std* /tmp/std.err /tmp/std.out [root@devel20 ~]# cat /tmp/std.out l3pwc0eaoOK3M4xdB0UI4Q total 16 -rwxr-xr-x 1 dteam003 dteam 80 Jul 27 14:14 exe.sh -rw-r--r-- 1 dteam003 dteam 0 Jul 27 14:14 std.err -rw-r--r-- 1 dteam003 dteam 23 Jul 27 14:14 std.out -rw-r--r-- 1 dteam003 dteam 6 Jul 27 14:14 test1 -rw-r--r-- 1 dteam003 dteam 6 Jul 27 14:14 test2

===> Test PASSED

Submit to an LCG-CE:

[capannini@cert-17 certification]$ glite-wms-job-submit -a -c ~/wms_cert-25.conf BaseURI.jdl 

Connecting to the service https://cert-25.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://cert-25.cnaf.infn.it:9000/oKS2LzwymNeWdncCEsNzzw

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


[capannini@cert-17 certification]$ glite-wms-job-status https://cert-25.cnaf.infn.it:9000/oKS2LzwymNeWdncCEsNzzw


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

Status info for the Job : https://cert-25.cnaf.infn.it:9000/oKS2LzwymNeWdncCEsNzzw
Current Status:     Done (Success)
Exit code:          0
Status Reason:      Job terminated successfully
Destination:        cream-26.pd.infn.it:2119/jobmanager-lcgpbs-cert
Submitted:          Fri Jul 27 14:47:53 2012 CEST
==========================================================================

[capannini@cert-17 certification]$ glite-wms-job-output https://cert-25.cnaf.infn.it:9000/oKS2LzwymNeWdncCEsNzzw

Connecting to the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server


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

         JOB GET OUTPUT OUTCOME

No output files to be retrieved for the job:
https://cert-25.cnaf.infn.it:9000/oKS2LzwymNeWdncCEsNzzw

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

Log on devel20:

[root@devel20 ~]# ls /tmp/std*
/tmp/std.err  /tmp/std.out
You have new mail in /var/spool/mail/root
[root@devel20 ~]# 
[root@devel20 ~]# cat /tmp/std.out 
oKS2LzwymNeWdncCEsNzzw
total 36
-rwxr-xr-x  1 dteam022 dteam  80 Jul 27 14:48 exe.sh
-rw-r--r--  1 dteam022 dteam 118 Jul 27 14:48 https_3a_2f_2fcert-25.cnaf.infn.it_3a9000_2foKS2LzwymNeWdncCEsNzzw.output
-rw-r--r--  1 dteam022 dteam   0 Jul 27 14:48 std.err
-rw-r--r--  1 dteam022 dteam  23 Jul 27 14:48 std.out
-rw-r--r--  1 dteam022 dteam   6 Jul 27 14:48 test1
-rw-r--r--  1 dteam022 dteam   6 Jul 27 14:48 test2
-rw-------  1 dteam022 dteam   2 Jul 27 14:48 tmp.bEAsLQ1695
-rw-------  1 dteam022 dteam 103 Jul 27 14:48 tmp.CNbVyt1681
-rw-------  1 dteam022 dteam   0 Jul 27 14:48 tmp.JHlHdY1694
-rw-------  1 dteam022 dteam   2 Jul 27 14:48 tmp.kBAxQZ1680
-rw-------  1 dteam022 dteam 103 Jul 27 14:48 tmp.qArurr1696

===> Test PASSED

Jdl with AllowZippedISB
[capannini@cert-17 certification]$ glite-wms-job-submit --debug -a -c ~/wms_cert-25.conf AllowZIP.jdl 
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Vo read from proxy certificate extension
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - VirtualOrganisation value : dteam
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Configuration file: /home/capannini/wms_cert-25.conf - VirtualOrganisation, RetryCount, rank, requirements attribute(s) no more supported outside JDL Default Attributes section "JdlDefaultAttributes"
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Loaded user configuration file:
 /home/capannini/wms_cert-25.conf
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Configuration file: //etc/glite-wms/dteam/glite_wmsui.conf - VirtualOrganisation, MyProxyServer attribute(s) no more supported outside JDL Default Attributes section "JdlDefaultAttributes"
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Loaded Vo specific configuration file:
 //etc/glite-wms/dteam/glite_wmsui.conf
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Loaded Configuration values: 
 [
  JdlDefaultAttributes = 
   [
    PerusalFileEnable = false; 
    ShallowRetryCount = 10; 
    SignificantAttributes = { "Requirements","Rank","FuzzyRank" }; 
    RetryCount = 3; 
    AllowZippedISB = true; 
    VirtualOrganisation = "dteam"; 
    rank =  -other.GlueCEStateEstimatedResponseTime; 
    MyProxyServer = "myproxy.cnaf.infn.it"; 
    requirements = true
   ]; 
  OutputStorage = "/tmp"; 
  ListenerStorage = "/tmp"; 
  ErrorStorage = "/var/tmp"; 
  WmProxyEndPoints = { "https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server" }
 ]
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Getting Endpoint URL from configuration file 
-----------------------------------------

Connecting to the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server

-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Calling the WMProxy getVersion service
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - WMProxy Version: 3.3.5 
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Sending Proxy Request to https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Calling the WMProxy delegationns__getProxyReq service
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - delegationns__getProxyReq -  The proxy has been successfully retrieved
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Calling the WMProxy delegationns__putProxyReq service
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - The proxy has been successfully delegated with the identifier: rixnrBo3fnN4FRrCIgxqPw
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Calling the WMProxy getTransferProtocols service
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - getTransferProtocols -  Available protocols: gsiftp, https
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - FileTransferProtocol not specified; using the default protocol: gsiftp
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - The JDL file is: /home/capannini/certification/AllowZIP.jdl
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Retrieving the list of the local ISB files from the user JDL 
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Total size of the ISB file(s) to be transferred to: 1126406
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Max single job size of the ISB file(s) to be transferred to: 1024000
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Checking the User-FreeQuota on the server 
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:58 -I- PID: 26711 (Debug) - Calling the WMProxy getFreeQuota service
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - getFreeQuota -  User freequota not set on the server
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Getting the max ISB size from the server https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Calling the WMProxy getMaxInputSandboxSize service
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - getMaxInputSandboxSize -  Max ISB size information successfully retrieved
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - The max job size (1024000 bytes) doesn't exceed the max size limit of 100000000 bytes: File transfer is allowed
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - File archiving and file compression allowed by user in the JDL
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Registering JDL [ StdOutput = "std.out"; ShallowRetryCount = 2; SignificantAttributes = { "Requirements","Rank","FuzzyRank" }; RetryCount = 1; Executable = "/bin/ls"; Type = "job"; Arguments = "-la"; AllowZippedISB = true; VirtualOrganisation = "dteam"; JobType = "normal"; DefaultRank =  -other.GlueCEStateEstimatedResponseTime; ZippedISB = { "ISBfiles_BVObvn-V6ZiMX0xFBKaJ_g_0.tar.gz" }; OutputSandbox = { "std.out","std.err" }; InputSandbox = { "file:///home/capannini/certification/fileA","file:///home/capannini/certification/fileB","file:///home/capannini/certification/fileC","file:///home/capannini/certification/fileD","file:///home/capannini/certification/fileE" }; StdError = "std.err"; rank =  -other.GlueCEStateEstimatedResponseTime; MyProxyServer = "myproxy.cnaf.infn.it"; requirements = ( other.GlueCEStateStatus == "Testing" && regexp("/cream",other.GlueCEUniqueID) ) && ( true ) ]
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Registering the job to the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Calling the WMProxy jobRegister service
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - The JobId is:  https://cert-25.cnaf.infn.it:9000/uEzlm01BfJx1VkZlBB2ZgA
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Archiving the ISB files: /tmp/ISBfiles_BVObvn-V6ZiMX0xFBKaJ_g_0.tar
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - This archive file has been successfully created: /tmp/ISBfiles_BVObvn-V6ZiMX0xFBKaJ_g_0.tar
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Compressing the file (.gz): /tmp/ISBfiles_BVObvn-V6ZiMX0xFBKaJ_g_0.tar
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - ISB ZIPPED file successfully created: /tmp/ISBfiles_BVObvn-V6ZiMX0xFBKaJ_g_0.tar.gz
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Getting the SandboxDestinationURI from the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Calling the WMProxy getSandboxDestURI service with gsiftp protocol 
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - getSandboxDestURI -  Destination URIs sucessfully retrieved
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - DestinationURI: gsiftp://cert-25.cnaf.infn.it:2811/var/SandboxDir/uE/https_3a_2f_2fcert-25.cnaf.infn.it_3a9000_2fuEzlm01BfJx1VkZlBB2ZgA/input
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - FileTransfer (gsiftp): using globus-url-copy to transfer the local InputSandBox file(s) to the submission endpoint
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - File Transfer (gsiftp) 
 Command: /usr/bin/globus-url-copy
Source: file:///tmp/ISBfiles_BVObvn-V6ZiMX0xFBKaJ_g_0.tar.gz
Destination: gsiftp://cert-25.cnaf.infn.it:2811/var/SandboxDir/uE/https_3a_2f_2fcert-25.cnaf.infn.it_3a9000_2fuEzlm01BfJx1VkZlBB2ZgA/input/ISBfiles_BVObvn-V6ZiMX0xFBKaJ_g_0.tar.gz
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - File Transfer (gsiftp) Transfer successfully done
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Starting the job:  https://cert-25.cnaf.infn.it:9000/uEzlm01BfJx1VkZlBB2ZgA
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - Calling the WMProxy jobStart service
-----------------------------------------
-----------------------------------------
27 July 2012, 15:30:59 -I- PID: 26711 (Debug) - jobStart -  The job has been successfully started
-----------------------------------------

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

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

https://cert-25.cnaf.infn.it:9000/uEzlm01BfJx1VkZlBB2ZgA

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

      *** Log file created ***
Possible Errors and Debug messages have been printed in the following file:
/var/tmp/glite-wms-job-submit_504_26711_20120727_15-30-58.log

Check if AllowZippedISB has been included in the jdl:

[capannini@cert-17 certification]$ glite-wms-job-info --jdl https://cert-25.cnaf.infn.it:9000/uEzlm01BfJx1VkZlBB2ZgA|grep Allow
  AllowZippedISB = true; 

[capannini@cert-17 certification]$ glite-wms-job-status https://cert-25.cnaf.infn.it:9000/uEzlm01BfJx1VkZlBB2ZgA


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

Status info for the Job : https://cert-25.cnaf.infn.it:9000/uEzlm01BfJx1VkZlBB2ZgA
Current Status:     Done (Success)
Logged Reason(s):
    - job completed
    - Job Terminated Successfully
Exit code:          0
Status Reason:      Job Terminated Successfully
Destination:        cream-23.pd.infn.it:8443/cream-lsf-creamcert1
Submitted:          Fri Jul 27 15:30:59 2012 CEST
==========================================================================

[capannini@cert-17 certification]$ glite-wms-job-output https://cert-25.cnaf.infn.it:9000/uEzlm01BfJx1VkZlBB2ZgA

Connecting to the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server


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

         JOB GET OUTPUT OUTCOME

Output sandbox files for the job:
https://cert-25.cnaf.infn.it:9000/uEzlm01BfJx1VkZlBB2ZgA
have been successfully retrieved and stored in the directory:
/tmp/jobOutput/capannini_uEzlm01BfJx1VkZlBB2ZgA

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


[capannini@cert-17 certification]$ ls /tmp/jobOutput/capannini_uEzlm01BfJx1VkZlBB2ZgA
std.err  std.out
[capannini@cert-17 certification]$ cat /tmp/jobOutput/capannini_uEzlm01BfJx1VkZlBB2ZgA/std.out 
total 1132
drwxr-xr-x 2 dteam003 dteam    4096 Jul 27 15:31 .
drwxr-xr-x 3 dteam003 dteam    4096 Jul 27 15:31 ..
-rw-r--r-- 1 dteam003 dteam    2282 Jul 27 15:31 .BrokerInfo
-rw-r--r-- 1 dteam003 dteam       2 Jul 27 15:31 fileA
-rw-r--r-- 1 dteam003 dteam       2 Jul 27 15:31 fileB
-rw-r--r-- 1 dteam003 dteam 1024000 Jul 27 15:31 fileC
-rw-r--r-- 1 dteam003 dteam  102400 Jul 27 15:31 fileD
-rw-r--r-- 1 dteam003 dteam       2 Jul 27 15:31 fileE
-rw-r--r-- 1 dteam003 dteam       0 Jul 27 15:31 std.err
-rw-r--r-- 1 dteam003 dteam       0 Jul 27 15:31 std.out
-rw-r--r-- 1 dteam003 dteam       0 Jul 27 15:31 .tmp_file

===> Test PASSED

 
Added:
>
>
Jdl with ExpiryTime
 -- FabioCapannini - 2012-07-19

Revision 42012-07-27 - FabioCapannini

Line: 1 to 1
 
META TOPICPARENT name="TestingWms"
Line: 43 to 43
 This is not possible, for example, for parallel jobs.

Normal

Added:
>
>
[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 1B: Submit to a CREAM CE 


 Test 1C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 17:36:32
===> Ended  : 18:09:56
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120726173632.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 1B: Submit to a CREAM CE 


 Test 1C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 10:23:56
===> Ended  : 10:42:16
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120727102356.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: Fri Aug  3 10:27: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 Fri Jul 27 21:28:11 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:49
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:49
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 1B: Submit to a CREAM CE 


 Test 1C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 10:28:59
===> Ended  : 10:56:20
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120727102859.log
Proxy mode
Pointing the testsuite at cert-26:
[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 1B: Submit to a CREAM CE 


 Test 1C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-26.cnaf.infn.it
===> Started: 11:05:43
===> Ended  : 11:25:33
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120727110543.log

Jdl with DataRequirements
Disabling the requirement DEFAULTREQ= other.GlueCEStateStatus == "Testing":
[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;

[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 1B: Submit to a CREAM CE 


 Test 1C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cert-25.cnaf.infn.it
===> Started: 11:53:40
===> Ended  : 12:05:04
===> 
===>     === test PASSED === 
===> 
===> Test log file is WMSService-TS_20120727115340.log

Jdl with ISBBaseURI and OSBDestURI
Test on CREAM ce:

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

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

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

FuzzyRank = true;
InputSandbox = {"exe.sh", "test1", "test2"};
OutputSandbox = {"std.out", "std.err"};
OutputSandboxDestURI = {"gsiftp://cert-26.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;
 
Added:
>
>
[capannini@cert-17 certification]$ glite-wms-job-submit -a -c ~/wms_cert-25.conf URI.jdl

Connecting to the service https://cert-25.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://cert-25.cnaf.infn.it:9000/7NcVgYqFmRlwMVOFPKlsfw

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

[capannini@cert-17 certification]$ glite-wms-job-status https://cert-25.cnaf.infn.it:9000/7NcVgYqFmRlwMVOFPKlsfw

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

Status info for the Job : https://cert-25.cnaf.infn.it:9000/7NcVgYqFmRlwMVOFPKlsfw Current Status: Done (Success) Logged Reason(s): - Transfer to CREAM failed due to exception: Failed to create a delegation id for job https://cert-25.cnaf.infn.it:9000/7NcVgYqFmRlwMVOFPKlsfw: reason is Received NULL fault; the error is due to another cause: FaultString=[connection error] - FaultCode=[SOAP-ENV:Client] - FaultSubCode=[SOAP-ENV:Client] - FaultDetail=[Connection timed out] - Job Terminated Successfully Exit code: 0 Status Reason: Job Terminated Successfully Destination: cream-39.pd.infn.it:8443/cream-pbs-cert Submitted: Fri Jul 27 12:15:36 2012 CEST ======================================================================

[capannini@cert-17 certification]$ glite-wms-job-output https://cert-25.cnaf.infn.it:9000/7NcVgYqFmRlwMVOFPKlsfw

Connecting to the service https://cert-25.cnaf.infn.it:7443/glite_wms_wmproxy_server

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

JOB GET OUTPUT OUTCOME

Output sandbox files for the job: https://cert-25.cnaf.infn.it:9000/7NcVgYqFmRlwMVOFPKlsfw have been successfully retrieved and stored in the directory: /tmp/jobOutput/capannini_7NcVgYqFmRlwMVOFPKlsfw

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

[capannini@cert-17 certification]$ ls /tmp/jobOutput/capannini_7NcVgYqFmRlwMVOFPKlsfw std.err

Log on cert-26:

[root@cert-26 tmp]# cat /tmp/myjobOutput 7NcVgYqFmRlwMVOFPKlsfw total 16 -rwxr-xr-x 1 dteam026 dteam 80 Jul 27 12:16 exe.sh -rw-r--r-- 1 dteam026 dteam 0 Jul 27 12:16 std.err -rw-r--r-- 1 dteam026 dteam 23 Jul 27 12:16 std.out -rw-r--r-- 1 dteam026 dteam 6 Jul 27 12:16 test1 -rw-r--r-- 1 dteam026 dteam 6 Jul 27 12:16 test2 ===> Test PASSED

On an LCG-CE:

 

-- FabioCapannini - 2012-07-19

Line: 51 to 359
 

Changed:
<
<
>
>
 
META FILEATTACHMENT attachment="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" attr="" comment="" date="1342705967" name="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" path="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" size="527851" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="20120719_160232_WMS-EMI1_UPDATE_SL5x64-RC4_DEPLOYMENT_TEST.log" attr="" comment="" date="1342708609" name="20120719_160232_WMS-EMI1_UPDATE_SL5x64-RC4_DEPLOYMENT_TEST.log" path="20120719_160232_WMS-EMI1_UPDATE_SL5x64-RC4_DEPLOYMENT_TEST.log" size="534451" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="20120726_171444_EMI1_CERT_INSTALL_SL5-64_WMS.log" attr="" comment="" date="1343316502" name="20120726_171444_EMI1_CERT_INSTALL_SL5-64_WMS.log" path="20120726_171444_EMI1_CERT_INSTALL_SL5-64_WMS.log" size="528583" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="20120719_160232_WMS-EMI1_UPDATE_SL5x64.log" attr="" comment="" date="1343316642" name="20120719_160232_WMS-EMI1_UPDATE_SL5x64.log" path="20120719_160232_WMS-EMI1_UPDATE_SL5x64.log" size="534451" user="FabioCapannini" version="1"
Added:
>
>
META FILEATTACHMENT attachment="WMSService-TS_20120726173632.log" attr="" comment="" date="1343378204" name="WMSService-TS_20120726173632.log" path="WMSService-TS_20120726173632.log" size="53181" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="submit.tgz" attr="" comment="" date="1343379847" name="submit.tgz" path="submit.tgz" size="5185" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSService-TS_20120727110543.log" attr="" comment="" date="1343381373" name="WMSService-TS_20120727110543.log" path="WMSService-TS_20120727110543.log" size="33719" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="WMSService-TS_20120727115340.log" attr="" comment="" date="1343383845" name="WMSService-TS_20120727115340.log" path="WMSService-TS_20120727115340.log" size="21297" user="FabioCapannini" version="1"

Revision 32012-07-26 - FabioCapannini

Line: 1 to 1
 
META TOPICPARENT name="TestingWms"
Line: 25 to 25
 

Deployment Tests

Clean installation

Changed:
<
<
>
>
 

Update

Changed:
<
<
>
>
 

Unit Tests

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

Line: 50 to 49
 -- FabioCapannini - 2012-07-19
Added:
>
>

 
META FILEATTACHMENT attachment="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" attr="" comment="" date="1342705967" name="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" path="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" size="527851" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="20120719_160232_WMS-EMI1_UPDATE_SL5x64-RC4_DEPLOYMENT_TEST.log" attr="" comment="" date="1342708609" name="20120719_160232_WMS-EMI1_UPDATE_SL5x64-RC4_DEPLOYMENT_TEST.log" path="20120719_160232_WMS-EMI1_UPDATE_SL5x64-RC4_DEPLOYMENT_TEST.log" size="534451" user="FabioCapannini" version="1"
Added:
>
>
META FILEATTACHMENT attachment="20120726_171444_EMI1_CERT_INSTALL_SL5-64_WMS.log" attr="" comment="" date="1343316502" name="20120726_171444_EMI1_CERT_INSTALL_SL5-64_WMS.log" path="20120726_171444_EMI1_CERT_INSTALL_SL5-64_WMS.log" size="528583" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="20120719_160232_WMS-EMI1_UPDATE_SL5x64.log" attr="" comment="" date="1343316642" name="20120719_160232_WMS-EMI1_UPDATE_SL5x64.log" path="20120719_160232_WMS-EMI1_UPDATE_SL5x64.log" size="534451" user="FabioCapannini" version="1"

Revision 22012-07-19 - FabioCapannini

Line: 1 to 1
 
META TOPICPARENT name="TestingWms"
Line: 25 to 25
 

Deployment Tests

Clean installation

Added:
>
>

Update

Unit Tests

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

Basic Functionality tests

Submission

Where possible the tests should use internal testbed CEs (located in Padova). This is accomplished by adding the following line to wms-command.conf:
DEFAULTREQ= other.GlueCEStateStatus == "Testing"
This is not possible, for example, for parallel jobs.

Normal

 

-- FabioCapannini - 2012-07-19 \ No newline at end of file

Added:
>
>

META FILEATTACHMENT attachment="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" attr="" comment="" date="1342705967" name="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" path="20120719_153058_WMS-EMI1_INSTALL_SL5x64-RC4_DEPLOYMENT_TEST.log" size="527851" user="FabioCapannini" version="1"
META FILEATTACHMENT attachment="20120719_160232_WMS-EMI1_UPDATE_SL5x64-RC4_DEPLOYMENT_TEST.log" attr="" comment="" date="1342708609" name="20120719_160232_WMS-EMI1_UPDATE_SL5x64-RC4_DEPLOYMENT_TEST.log" path="20120719_160232_WMS-EMI1_UPDATE_SL5x64-RC4_DEPLOYMENT_TEST.log" size="534451" user="FabioCapannini" version="1"

Revision 12012-07-19 - FabioCapannini

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TestingWms"

WMS test report

Summary

  • Component: WMS 3.3.5-2

  • ETICS Subsystem Configuration Name: emi-wms_R_3_3_9_0

  • VCS Tag: emi-ice_R_3_3_5_4, emi-wms-manager_R_3_3_1_3, emi-jobsubmission_R_3_3_2_1, emi-wmproxy_R_3_3_5_1, emi-wms-brokerinfo_R_3_3_2_1, emi-wms-configuration_R_3_3_2_1, emi-wms-ism_R_3_3_2_1, emi-wms-matchmaking_R_3_3_2_1, emi-wms-purger_R_3_3_2_1, emi-yaim-wms_R_4_1_5_1, emi-jdl-api-cpp_R_3_2_6_1, emi-wms-nagios_R_1_0_0_0, emi-wms-mp_R_1_0_2_0

  • EMI Major Release: EMI 1 (Kebnekaise)

  • Platform: sl5 epel

  • Certification report: not yet available

  • Outcome: Certification under way

Deployment Tests

Clean installation

-- FabioCapannini - 2012-07-19

 
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