WMS test report

Summary

  • Component: WMS 3.3.1-1

  • ETICS Subsystem Configuration Name: emi-wms_R_3_3_3_1

  • VCS Tag: emi-ice_R_3_3_3_1

  • EMI Major Release: EMI 1 (Kebnekaise)

  • Platform: sl5 epel

  • Author: Alessio Gianelle

  • Outcome: Certified

Clean installation

  • Starting from a SL5 x86_64 kernel machine:
[root@cream-44 ~]# cat /etc/redhat-release
Scientific Linux SL release 5.5 (Boron)
[root@cream-44 ~]# uname -a
Linux cream-44.pd.infn.it 2.6.18-238.5.1.el5xen #1 SMP Tue Mar 1 19:22:01 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

Update

  • Starting from a production version:
[root@devel11 ~]# cat /etc/emi-release
EMI release 1.0 (Kebnekaise)
[root@devel11 ~]# cat /etc/emi-version 
1.1.0-1

Test Report

List Match

List match without data

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: WMS Job ListMatch Testing 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 1: check if glite-wms-job-list-match command exists 


 Test 2: test a simple matching 


 Test 3: check --delegationid option 


 Test 4: exclude a CE from the match 


 Test 5: try a failure matching (Requirements == false) 

===> 
===> Test: WMS-listmatch-test.py
===> WMS: cream-44.pd.infn.it
===> Started: 16:22:26
===> Ended  : 16:22:31
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719162226.log

List match with data

[ale@cream-12 DataReq]$ glite-wms-job-list-match -a -c ../etc/wmp_cream-44.conf data-req.jdl

Connecting to the service https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server

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

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

    *CEId*
 - cert-15.pd.infn.it:8443/cream-lsf-cert
 - grid010.ct.infn.it:2119/jobmanager-lcgpbs-cert
 - prod-ce-01.pd.infn.it:8443/cream-lsf-cert
 - prod-ce-02.pd.infn.it:2119/jobmanager-lcglsf-cert

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

Submission

Normal job

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + 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: cream-44.pd.infn.it
===> Started: 13:38:29
===> Ended  : 13:45:50
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719133829.log

  • Submit using an EMI VOMS server (e.g. using vo testers.eu-emi.eu)
[ale@cream-12 UI]$ voms-proxy-init -voms testers.eu-emi.eu 
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle
Creating temporary proxy .................................... Done
Contacting  emitestbed07.cnaf.infn.it:15002 [/C=IT/O=INFN/OU=Host/L=CNAF/CN=emitestbed07.cnaf.infn.it] "testers.eu-emi.eu" Done
Creating proxy ........................................................ Done

Your proxy is valid until Wed Jul 20 06:09:28 2011
[ale@cream-12 UI]$ glite-wms-job-submit -a -c etc/wmp_devel11.conf test2.jdl 

Connecting to the service https://devel11.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://devel11.cnaf.infn.it:9000/8TrQcQeh-gr68oHlL6Sd8A

==========================================================================
[ale@cream-12 UI]$ glite-wms-job-status https://devel11.cnaf.infn.it:9000/8TrQcQeh-gr68oHlL6Sd8A


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

Status info for the Job : https://devel11.cnaf.infn.it:9000/8TrQcQeh-gr68oHlL6Sd8A
Current Status:     Done (Success)
Logged Reason(s):
    - job completed
    - Job Terminated Successfully
Exit code:          0
Status Reason:      Job Terminated Successfully
Destination:        cream-40.pd.infn.it:8443/cream-pbs-creamtest2
Submitted:          Tue Jul 19 18:09:36 2011 CEST
==========================================================================
[ale@cream-12 UI]$ glite-wms-job-output https://devel11.cnaf.infn.it:9000/8TrQcQeh-gr68oHlL6Sd8A

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


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

            JOB GET OUTPUT OUTCOME

Output sandbox files for the job:
https://devel11.cnaf.infn.it:9000/8TrQcQeh-gr68oHlL6Sd8A
have been successfully retrieved and stored in the directory:
/tmp/jobOutput/ale_8TrQcQeh-gr68oHlL6Sd8A

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


[ale@cream-12 UI]$ cat /tmp/jobOutput/ale_8TrQcQeh-gr68oHlL6Sd8A/std.out 
total 16
drwxr-xr-x 2 tst01 testers 4096 Jul 19 18:09 .
drwxr-xr-x 3 tst01 testers 4096 Jul 19 18:09 ..
-rw-r--r-- 1 tst01 testers  379 Jul 19 18:09 .BrokerInfo
-rw-r--r-- 1 tst01 testers    0 Jul 19 18:09 std.out
-rw-r--r-- 1 tst01 testers  397 Jul 19 18:09 test2.jdl
-rw-r--r-- 1 tst01 testers    0 Jul 19 18:09 .tmp_file

Collection job

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 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: cream-44.pd.infn.it
===> Started: 13:52:51
===> Ended  : 14:00:19
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719135251.log

Parametric job

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + 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: cream-44.pd.infn.it
===> Started: 14:08:39
===> Ended  : 14:14:59
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719140839.log

DAG job

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Set 4: Submit a DAG job 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cream-44.pd.infn.it
===> Started: 15:05:23
===> Ended  : 15:10:32
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719150523.log

Parallel job

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

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


 Test 5A: Submit to an LCG-CE 


 Test 5B: Submit to a CREAM CE 


 Test 5C: Submit without restrictions 

===> 
===> Test: WMS-job-cycle.py
===> WMS: devel11.cnaf.infn.it
===> Started: 15:27:55
===> Ended  : 15:36:16
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719152755.log

Perusal job

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test a complete job cycle: from submission to get output 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Set 6: Submit a perusal job 


 BEWARE default min perusal interval is 1000 secs, so this phase could take many minutes 

===> 
===> Test: WMS-job-cycle.py
===> WMS: cream-44.pd.infn.it
===> Started: 15:42:36
===> Ended  : 16:09:57
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719154236.log

Cancel

 ===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: WMS Job Cancel Testing 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 1: Try to cancel a normal job 


 Test 2: Try to cancel a DAG job 


 Test 3: Try to cancel one node of a DAG job 


 Test 4: Try to cancel a collection job 


 Test 5: Try to cancel one node of a collection job 


 Test 6: Try to cancel a parametric job 


 Test 7: Try to cancel one node of a parametric job 


 Test 8: Try to cancel a MPI job 

===> 
===> Test: WMS-job-cancel.py
===> WMS: cream-44.pd.infn.it
===> Started: 17:13:52
===> Ended  : 17:17:42
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719171352.log

Others

Delegation

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: Test delegation operation 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

Enter the user proxy password:

 Test 1: Check --autm-delegation option 


 Test 2: Check --delegationid option 


 Test 3: Try to delegate with a short proxy and check the validity 


 Test 4: Works with expired proxy 

===> 
===> Test: WMS-delegation-test.py
===> WMS: devel11.cnaf.infn.it
===> Started: 17:21:39
===> Ended  : 17:22:55
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719172139.log

Prologue/Epilogue

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: WMS test prologue and epilogue attributes 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 1: Test prologue attribute 


 Test 2: Test epilogue attribute 


 Test 3: Test prologue and epilogue attributes 

===> 
===> Test: WMS-prologue-epilogue.py
===> WMS: devel11.cnaf.infn.it
===> Started: 17:26:48
===> Ended  : 17:32:39
===> 
===>     === test PASSED === 

Test log file is WMSService-TS_20110719172648.log

Test proxy renewal

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: WMS test proxy renewal operation 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

Enter the user proxy password:

 Test 1: Test proxy renewal with LCG CE 


 Test 2: Test proxy renewal with CREAM CE 


 Test 3: Test proxy renewal with LCG CE (without setting MYPROXYSERVER) 


 Test 4: Test proxy renewal with CREAM CE (without setting MYPROXYSERVER) 

===> 
===> Test: WMS-proxy-renewal.py
===> WMS: devel11.cnaf.infn.it
===> Started: 16:55:27
===> Ended  : 17:58:34
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719165527.log

Shallow/Deep Resubmission

===> +++++++++++++++++++++++++++++++++++++++++++++++++++++
===> + TestSuite of the WMS Service                       
===> + Description: WMS Job Resubmission Testing 
===> +++++++++++++++++++++++++++++++++++++++++++++++++++++

 Test 1: Try a shallow resubmission 


 Test 2: Try a deep resubmission 

===> 
===> Test: WMS-job-resubmit.py
===> WMS: devel11.cnaf.infn.it
===> Started: 17:36:07
===> Ended  : 17:49:16
===> 
===>     === test PASSED ===

Test log file is WMSService-TS_20110719173607.log

Published information

bdb database definitions

  • ldapsearch -x -H ldap://cream-44.pd.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

# cream-44.pd.infn.it_org.glite.wms.WMProxy_3760370004, resource, grid
dn: GlueServiceUniqueID=cream-44.pd.infn.it_org.glite.wms.WMProxy_3760370004,M
 ds-Vo-name=resource,o=grid
GlueServiceAccessControlBaseRule: VO:alice
GlueServiceAccessControlBaseRule: VO:atlas
GlueServiceAccessControlBaseRule: VO:cms
GlueServiceAccessControlBaseRule: VO:lhcb
GlueServiceAccessControlBaseRule: VO:dteam
GlueServiceAccessControlBaseRule: VO:testers.eu-emi.eu
GlueServiceStatus: Other
GlueServiceStatusInfo: ??
objectClass: GlueTop
objectClass: GlueService
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueServiceUniqueID: cream-44.pd.infn.it_org.glite.wms.WMProxy_3760370004
GlueServiceAccessControlRule: alice
GlueServiceAccessControlRule: atlas
GlueServiceAccessControlRule: cms
GlueServiceAccessControlRule: lhcb
GlueServiceAccessControlRule: dteam
GlueServiceAccessControlRule: testers.eu-emi.eu
GlueServiceStartTime: 1970-01-01T01:00:00+01:00
GlueServiceEndpoint: https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server
GlueServiceVersion: 3.3.1
GlueSchemaVersionMinor: 3
GlueServiceName: JRA1-CREAM-TEST-WMProxy
GlueServiceType: org.glite.wms.WMProxy
GlueServiceWSDL: http://trinity.datamat.it/projects/EGEE/WMProxy/WMProxy.wsdl
GlueServiceSemantics: https://edms.cern.ch/file/674643/1/EGEE-JRA1-TEC-674643-
 WMPROXY-guide-v0-3.pdf
GlueForeignKey: GlueSiteUniqueID=JRA1-CREAM-TEST
GlueServiceOwner: alice
GlueServiceOwner: atlas
GlueServiceOwner: cms
GlueServiceOwner: lhcb
GlueServiceOwner: dteam
GlueServiceOwner: testers.eu-emi.eu
GlueSchemaVersionMajor: 1

# DN, cream-44.pd.infn.it_org.glite.wms.WMProxy_3760370004, resource, grid
dn: GlueServiceDataKey=DN,GlueServiceUniqueID=cream-44.pd.infn.it_org.glite.wm
 s.WMProxy_3760370004,Mds-Vo-name=resource,o=grid
GlueSchemaVersionMajor: 1
objectClass: GlueTop
objectClass: GlueServiceData
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueSchemaVersionMinor: 3
GlueServiceDataKey: DN
GlueChunkKey: GlueServiceUniqueID=cream-44.pd.infn.it_org.glite.wms.WMProxy_37
 60370004
GlueServiceDataValue: /C=IT/O=INFN/OU=Host/L=Padova/CN=cream-44.pd.infn.it

# glite-info-service_version, cream-44.pd.infn.it_org.glite.wms.WMProxy_37603
 70004, resource, grid
dn: GlueServiceDataKey=glite-info-service_version,GlueServiceUniqueID=cream-44
 .pd.infn.it_org.glite.wms.WMProxy_3760370004,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=cream-44.pd.infn.it_org.glite.wms.WMProxy_37
 60370004
GlueServiceDataValue: 1.6

# glite-info-service_hostname, cream-44.pd.infn.it_org.glite.wms.WMProxy_3760
 370004, resource, grid
dn: GlueServiceDataKey=glite-info-service_hostname,GlueServiceUniqueID=cream-4
 4.pd.infn.it_org.glite.wms.WMProxy_3760370004,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=cream-44.pd.infn.it_org.glite.wms.WMProxy_37
 60370004
GlueServiceDataValue: cream-44.pd.infn.it

# search result
search: 2
result: 0 Success

# numResponses: 8
# numEntries: 7

Stats database definitions

  • ldapsearch -x -H ldap://cream-44.pd.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/run/bdii/archive/11-07-19-15-51-44-snapshot.gz

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

# search result
search: 2
result: 0 Success

# numResponses: 4
# numEntries: 3

GLUE 2.0 database definitions

  • ldapsearch -x -H ldap://cream-44.pd.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

# cream-44.pd.infn.it_wmproxy_3760370004, resource, glue
dn: GLUE2ServiceID=cream-44.pd.infn.it_wmproxy_3760370004,GLUE2GroupID=resourc
 e,o=glue
GLUE2EntityValidity: 3600
GLUE2ServiceType: org.glite.wms.WMProxy
GLUE2ServiceID: cream-44.pd.infn.it_wmproxy_3760370004
objectClass: GLUE2Service
GLUE2ServiceQualityLevel: production
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-service
GLUE2EntityOtherInfo: InfoProviderVersion=1.1
GLUE2EntityOtherInfo: InfoProviderHost=cream-44.pd.infn.it
GLUE2ServiceComplexity: endpointType=1, share=0, resource=0
GLUE2EntityName: JRA1-CREAM-TEST-WMProxy
GLUE2ServiceAdminDomainForeignKey: JRA1-CREAM-TEST
GLUE2EntityCreationTime: 2011-07-19T13:53:44Z

# cream-44.pd.infn.it_wmproxy_3760370004_org.glite.wms.WMProxy_3760370004, cr
 eam-44.pd.infn.it_wmproxy_3760370004, resource, glue
dn: GLUE2EndpointID=cream-44.pd.infn.it_wmproxy_3760370004_org.glite.wms.WMPro
 xy_3760370004,GLUE2ServiceID=cream-44.pd.infn.it_wmproxy_3760370004,GLUE2Grou
 pID=resource,o=glue
GLUE2EndpointIssuerCA: /C=IT/O=INFN/CN=INFN CA
GLUE2EntityValidity: 3600
GLUE2EndpointQualityLevel: production
GLUE2EndpointInterfaceName: org.glite.wms.WMProxy
GLUE2EndpointTrustedCA: IGTF
objectClass: GLUE2Endpoint
GLUE2EndpointID: cream-44.pd.infn.it_wmproxy_3760370004_org.glite.wms.WMProxy_
 3760370004
GLUE2EndpointInterfaceVersion: 3.3.1
GLUE2EndpointURL: https://cream-44.pd.infn.it:7443/glite_wms_wmproxy_server
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint
GLUE2EntityOtherInfo: InfoProviderVersion=1.1
GLUE2EntityOtherInfo: InfoProviderHost=cream-44.pd.infn.it
GLUE2EntityOtherInfo: MiddlewareName=EMI
GLUE2EntityOtherInfo: MiddlewareVersion=1.1.0-1
GLUE2EndpointDowntimeInfo: See the GOC DB for downtimes: https://goc.egi.eu/
GLUE2EndpointWSDL: http://trinity.datamat.it/projects/EGEE/WMProxy/WMProxy.wsd
 l
GLUE2EndpointServingState: production
GLUE2EndpointHealthState: other
GLUE2EndpointSemantics: https://edms.cern.ch/file/674643/1/EGEE-JRA1-TEC-67464
 3-WMPROXY-guide-v0-3.pdf
GLUE2EndpointServiceForeignKey: cream-44.pd.infn.it_wmproxy_3760370004
GLUE2EntityName: WMProxy endpoint for Service cream-44.pd.infn.it_wmproxy_3760
 370004
GLUE2EndpointTechnology: webservice
GLUE2EntityCreationTime: 2011-07-19T13:53:44Z

# DN_1, cream-44.pd.infn.it_wmproxy_3760370004_org.glite.wms.WMProxy_37603700
 04, cream-44.pd.infn.it_wmproxy_3760370004, resource, glue
dn: GLUE2ExtensionLocalID=DN_1,GLUE2EndpointID=cream-44.pd.infn.it_wmproxy_376
 0370004_org.glite.wms.WMProxy_3760370004,GLUE2ServiceID=cream-44.pd.infn.it_w
 mproxy_3760370004,GLUE2GroupID=resource,o=glue
GLUE2ExtensionLocalID: DN_1
GLUE2ExtensionKey: DN
objectClass: GLUE2Extension
GLUE2ExtensionValue: /C=IT/O=INFN/OU=Host/L=Padova/CN=cream-44.pd.infn.it
GLUE2ExtensionEntityForeignKey: cream-44.pd.infn.it_wmproxy_3760370004_org.gli
 te.wms.WMProxy_3760370004

# cream-44.pd.infn.it_wmproxy_3760370004_org.glite.wms.WMProxy_3760370004_Pol
 icy, cream-44.pd.infn.it_wmproxy_3760370004_org.glite.wms.WMProxy_3760370004
 , cream-44.pd.infn.it_wmproxy_3760370004, resource, glue
dn: GLUE2PolicyID=cream-44.pd.infn.it_wmproxy_3760370004_org.glite.wms.WMProxy
 _3760370004_Policy,GLUE2EndpointID=cream-44.pd.infn.it_wmproxy_3760370004_org
 .glite.wms.WMProxy_3760370004,GLUE2ServiceID=cream-44.pd.infn.it_wmproxy_3760
 370004,GLUE2GroupID=resource,o=glue
GLUE2AccessPolicyEndpointForeignKey: cream-44.pd.infn.it_wmproxy_3760370004_or
 g.glite.wms.WMProxy_3760370004
GLUE2EntityValidity: 3600
objectClass: GLUE2Policy
objectClass: GLUE2AccessPolicy
GLUE2PolicyRule: VO:alice
GLUE2PolicyRule: VO:atlas
GLUE2PolicyRule: VO:cms
GLUE2PolicyRule: VO:lhcb
GLUE2PolicyRule: VO:dteam
GLUE2PolicyRule: VO:testers.eu-emi.eu
GLUE2PolicyScheme: org.glite.standard
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint
GLUE2EntityOtherInfo: InfoProviderVersion=1.1
GLUE2EntityOtherInfo: InfoProviderHost=cream-44.pd.infn.it
GLUE2PolicyUserDomainForeignKey: alice
GLUE2PolicyUserDomainForeignKey: atlas
GLUE2PolicyUserDomainForeignKey: cms
GLUE2PolicyUserDomainForeignKey: lhcb
GLUE2PolicyUserDomainForeignKey: dteam
GLUE2PolicyUserDomainForeignKey: testers.eu-emi.eu
GLUE2PolicyID: cream-44.pd.infn.it_wmproxy_3760370004_org.glite.wms.WMProxy_37
 60370004_Policy
GLUE2EntityName: Access control rules for Endpoint cream-44.pd.infn.it_wmproxy
 _3760370004_org.glite.wms.WMProxy_3760370004
GLUE2EntityCreationTime: 2011-07-19T13:53:44Z

# search result
search: 2
result: 0 Success

# numResponses: 8
# numEntries: 7

Check Bugs (Regression tests)

Bug #84155: Internal proxy structure convertion error in ICE FIXED

Take a long jdl where MyProxyServer attribute is set and that require a cream CE as destination; like this one:

[ale@cream-12 UI]$ cat 84155.jdl 
[
Executable = "/bin/sleep" ;
InputSandbox = { "/home/ale/UI/data/pippo" };
Arguments="900";
Environment={"VARIABLE=test"};
Myproxyserver="myproxy.cnaf.infn.it";
requirements = RegExp("/cream-",other.GlueCEUniqueID);
]

Submit it with a shorter proxy:

[ale@cream-12 UI]$ voms-proxy-init -voms dteam  --valid 00:15
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle
Creating temporary proxy ........................ Done
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 Tue Jul 19 13:34:37 2011
[ale@cream-12 UI]$ glite-wms-job-submit -a -c etc/wmp_devel11.conf 84155.jdl

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

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

Check that its proxy is valid for no more that 15 minutes:

[ale@cream-12 UI]$ glite-wms-job-info -p https://devel11.cnaf.infn.it:9000/AszPQkHVQRVNgOE9g25NpA

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


======================= glite-wms-job-info Success =======================

Your proxy delegated to the endpoint https://devel11.cnaf.infn.it:7443/glite_wms_wmproxy_server
 for the job https://devel11.cnaf.infn.it:9000/AszPQkHVQRVNgOE9g25NpA :
Subject     : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy/CN=proxy
Issuer      : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
Identity    : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
Type        : proxy
Strength    : 512
StartDate   : 19 July 2011 - 13:14:41
Expiration  : 19 July 2011 - 13:33:41
Timeleft    : 13 min 51 sec 
=== VO dteam extension information ===
VO          : dteam
Subject     : /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle
Issuer      : /C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr
URI         : voms.hellasgrid.gr:15004
Attribute   : /dteam/Role=NULL/Capability=NULL
Attribute   : /dteam/NGI_IT/Role=NULL/Capability=NULL
StartTime   : 19 July 2011 - 13:19:37
Expiration  : 19 July 2011 - 13:34:37
Timeleft    : 14 min 47 sec 

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

Wait until it finishes successfully:

[ale@cream-12 ~]$ glite-wms-job-status https://devel11.cnaf.infn.it:9000/AszPQkHVQRVNgOE9g25NpA


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

Status info for the Job : https://devel11.cnaf.infn.it:9000/AszPQkHVQRVNgOE9g25NpA
Current Status:     Done (Success)
Logged Reason(s):
    - job completed
    - Job Terminated Successfully
Exit code:          0
Status Reason:      Job Terminated Successfully
Destination:        grid-cr4.desy.de:8443/cream-pbs-operations
Submitted:          Tue Jul 19 13:19:42 2011 CEST
==========================================================================

We can also check directly the command on the WMS. First of all find the proxy associated with the job in the persist directory of ice:

[root@devel11 ~]# openssl x509 -noout -text -in /var/ice/persist_dir/2A9DAF04C398C21D6ADF7E884BC192ED95AF554C.betterproxy 
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 1311074381 (0x4e25684d)
        Signature Algorithm: md5WithRSAEncryption
        Issuer: C=IT, O=INFN, OU=Personal Certificate, L=Padova, CN=Alessio Gianelle, CN=proxy
        Validity
            Not Before: Jul 19 11:14:41 2011 GMT
            Not After : Jul 19 11:33:41 2011 GMT
        Subject: C=IT, O=INFN, OU=Personal Certificate, L=Padova, CN=Alessio Gianelle, CN=proxy, CN=proxy
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
            RSA Public Key: (512 bit)
                Modulus (512 bit):
                    00:e3:ac:3f:29:d6:b2:51:8d:28:16:77:83:5a:c7:
                    6e:d8:fd:83:e2:23:8a:cd:be:c4:99:a1:84:8f:4f:
                    35:60:8b:3a:a7:30:e4:fd:ea:6a:cd:1a:c2:ea:ca:
                    30:94:73:c8:de:15:64:1f:7b:ca:94:40:20:cb:ee:
                    18:de:c7:3f:4d
                Exponent: 65537 (0x10001)
    Signature Algorithm: md5WithRSAEncryption
        69:dc:99:25:73:f5:c8:74:f8:5e:2f:8a:80:23:b0:d4:f5:1f:
        d8:44:a3:2b:e3:99:47:9c:88:17:d1:ba:8f:27:eb:d3:6e:79:
        e5:9f:11:46:59:5c:b2:ad:2d:c8:65:b3:dc:1f:f9:3f:6b:88:
        40:d1:6e:6b:5e:d0:15:1e:52:7a:7e:47:dd:81:51:47:09:0b:
        68:b2:81:d6:d7:41:43:55:b4:36:0f:9c:69:9d:f7:ec:63:8e:
        2f:8d:4b:db:2e:16:58:7a:25:47:2d:e6:c7:16:97:27:04:16:
        de:93:f8:3e:38:46:57:7d:96:b9:cd:b5:91:25:d0:4f:38:cb:
        ce:91

Then logged as user glite and execute this command: export X509_USER_CERT=/var/wms.proxy; export X509_USER_KEY=/var/wms.proxy; /usr/bin/glite-wms-ice-proxy-renew -s myproxy.cnaf.infn.it -p /var/ice/persist_dir/<user proxy>.betterproxy -o <output file> where /var/ice/persist_dir/<user proxy>.betterproxy is the proxy associate to the job and in <output file> you should find the renewed proxy:

[root@devel11 ~]# su - glite
[glite@devel11 ~]$ export X509_USER_CERT=/var/wms.proxy; export X509_USER_KEY=/var/wms.proxy; /usr/bin/glite-wms-ice-proxy-renew -s myproxy.cnaf.infn.it -p /var/ice/persist_dir/2A9DAF04C398C21D6ADF7E884BC192ED95AF554C.betterproxy -o /tmp/test.proxy
/var/ice/persist_dir/2A9DAF04C398C21D6ADF7E884BC192ED95AF554C.betterproxy.voms.6EPXDC

Check the validity of the new proxy:

[glite@devel11 ~]$ openssl x509 -noout  -dates -in /tmp/test.proxy
notBefore=Jul 19 11:18:12 2011 GMT
notAfter=Jul 19 21:23:18 2011 GMT
Edit | Attach | PDF | History: r3 < r2 < r1 | Backlinks | Raw View | More topic actions
Topic revision: r3 - 2011-07-19 - AlessioGianelle
 
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