Difference: EMI2CREAMTaskIGIRTC157SL6 (3 vs. 4)

Revision 42013-07-30 - SergioTraldi

Line: 1 to 1
 
META TOPICPARENT name="EMI2CREAMTaskJiraIGIRTC-157"

CREAM v. 1.14.5 - Testing report SL6: IGIRTC-157

Line: 415 to 415
 
Bug #CREAM-84 The DelegationPurger may cause a java.lang.OutOfMemoryError exception FIXED
Added:
>
>
From CE:
[root@cream-23 ~]# mysql -u root -p -v delegationcreamdb < duplicateDelegation.sql
Enter password: 
--------------
DROP PROCEDURE IF EXISTS duplicateDelegation
--------------

--------------
CREATE PROCEDURE duplicateDelegation(delegationId VARCHAR(255), i INT)
       BEGIN              
               DECLARE x INT;
               DECLARE delegId VARCHAR(255);
               DECLARE delegDN VARCHAR(255);
               DECLARE delegFQAN VARCHAR(255);
               DECLARE delegVO VARCHAR(50);
               DECLARE delegLocalUser VARCHAR(100);
               DECLARE delegLocalUserGroup VARCHAR(100);
               DECLARE delegVomsAttribute text;
               DECLARE delegCertificate text;
               DECLARE delegInfo text;
               DECLARE delegStartTime datetime;
               DECLARE delegExpirationTime datetime;
               DECLARE delegLastUpdateTime datetime;

               SET x = 1;
               select id, dn, fqan, vo, localUser, localUserGroup, vomsAttribute, certificate, info, startTime, expirationTime, lastUpdateTime INTO delegId, delegDN, delegFQAN, delegVO, delegLocalUser, delegLocalUserGroup, delegVomsAttribute, delegCertificate, delegInfo, delegStartTime, delegExpirationTime, delegLastUpdateTime FROM delegation where id=delegationId;

               WHILE x <= i DO
                  insert into delegation (id, dn, fqan, vo, localUser, localUserGroup, vomsAttribute, certificate, info, startTime, expirationTime, lastUpdateTime) VALUES (CONCAT(delegId,'_',x), delegDN, delegFQAN, delegVO, delegLocalUser, delegLocalUserGroup, delegVomsAttribute, delegCertificate, delegInfo, delegStartTime, delegExpirationTime, delegLastUpdateTime);
                  commit;
                  SET  x = x + 1; 
               END WHILE;
       END
--------------

From UI:

[traldi@cert-16 ~]$ glite-ce-delegate-proxy -e cream-23.pd.infn.it:8443 myproxyid
Proxy with delegation id [myproxyid] succesfully delegated to endpoint [cream-23.pd.infn.it:8443]

From CE:

[root@cream-23 ~]# grep MaxFileSize /etc/glite-ce-cream-es/log4j.properties
log4j.appender.fileout.MaxFileSize=15000KB


[root@cream-23 ~]# /etc/init.d/tomcat6 stop
Stopping tomcat6:                                          [  OK  ]


[root@cream-23 ~]# mysql -u root -p
Enter password: 

mysql> use delegationcreamdb;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> update delegation set expirationTime=now() where id="myproxyid";
Query OK, 1 row affected (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> call duplicateDelegation("myproxyid", 10000);
Query OK, 0 rows affected (13.17 sec)

mysql> quit
Bye


[root@cream-23 ~]# /etc/init.d/tomcat6 start
Starting tomcat6:                                          [  OK  ]

During the store procedure processing, and afeter 15 minutes: From CE:


[root@cream-23 ~]# tail -f /var/log/cream/glite-ce-cream.log | grep -i OutOfMemoryError


[root@cream-23 ~]# mysql -u root -p
Enter password: 

mysql> use delegationcreamdb;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

mysql> select id from delegation where id like "myproxyid%";
Empty set (0.00 sec)
 
Bug #CREAM-83 CREAM should be able to immediately kill also queued jobs, when the proxy is expiring FIXED
From CE:
Line: 499 to 594
 
Bug #CREAM-78 Check for /etc/lrms in config_cream_gip_scheduler_plugin FIXED NOT CERTIFIED
Added:
>
>
This is for SGE batch system (not tested)
 
Bug #CREAM-77 List index error from persistent estimator FIXED
Changed:
<
<
Bug #CREAM-75 CREAM should avoid to log the error messages by including even the full stack trace (i.e printStackTrace()) FIXED
Bug #99747: glite-info-dynamic-ce does not update GLUE2ComputingShareServingState FIXED
* From UI
>
>
From CE:
[root@cream-23 ~]# grep BDII_BREATHE_TIME /etc/bdii/bdii.conf
BDII_BREATHE_TIME=120

From UI:

 
Changed:
<
<
$ glite-ce-enable-submission cert-42.pd.infn.it:8443 Operation for enabling new submissions succeeded
>
>
[traldi@cert-16 ~]$ cat sleepCream.jdl [ Type = "Job"; JobType = "Normal"; Executable = "/bin/sleep"; Arguments = " 200" ]

[traldi@cert-16 ~]$ for i in `seq 1 20`; do echo $i; glite-ce-job-submit -r cream-23.pd.infn.it:8443/cream-lsf-cert -a sleepCream.jdl; done 1 https://cream-23.pd.infn.it:8443/CREAM983550586 2 https://cream-23.pd.infn.it:8443/CREAM168914310 3 https://cream-23.pd.infn.it:8443/CREAM629605700 4 https://cream-23.pd.infn.it:8443/CREAM431102253 5 https://cream-23.pd.infn.it:8443/CREAM849792588 6 https://cream-23.pd.infn.it:8443/CREAM309202363 7 https://cream-23.pd.infn.it:8443/CREAM321394682 8 https://cream-23.pd.infn.it:8443/CREAM758400962 9 https://cream-23.pd.infn.it:8443/CREAM420359157 10 https://cream-23.pd.infn.it:8443/CREAM555130273 11 https://cream-23.pd.infn.it:8443/CREAM838679742 12 https://cream-23.pd.infn.it:8443/CREAM109051474 13 https://cream-23.pd.infn.it:8443/CREAM544000374 14 https://cream-23.pd.infn.it:8443/CREAM384173928 15 https://cream-23.pd.infn.it:8443/CREAM994402978 16 https://cream-23.pd.infn.it:8443/CREAM899068369 17 https://cream-23.pd.infn.it:8443/CREAM920762523 18 https://cream-23.pd.infn.it:8443/CREAM575519379 19 https://cream-23.pd.infn.it:8443/CREAM452838919 20 https://cream-23.pd.infn.it:8443/CREAM300001126

 
Changed:
<
<
  • On CE
>
>
During submission and after 10 minutes: From CE:
 
Changed:
<
<
# /sbin/runuser -s /bin/sh ldap -c "/var/lib/bdii/gip/plugin/glite-info-cream-glue2" |grep ServingState GLUE2EndpointServingState: production
>
>
[root@cream-23 ~]# tail -f /var/log/bdii/bdii-update.log
 
Changed:
<
<
* From UI
>
>
Bug #CREAM-75 CREAM should avoid to log the error messages by including even the full stack trace (i.e printStackTrace()) FIXED

From UI:

 
Changed:
<
<
$ glite-ce-disable-submission cert-42.pd.infn.it:8443 Operation for disabling new submissions succeeded
>
>
[traldi@cert-16 ~]$ glite-ce-job-submit -a -r cream-27.pd.infn.it/cream-lsf-creamtest1 --leaseId mylease jdl 2013-07-30 11:31:43,902 ERROR - Error while processing file [jdl]: Syntax error. Will not submit this JDL [traldi@cert-16 ~]$ glite-ce-job-submit -a -r cream-23.pd.infn.it/cream-lsf-cert --leaseId mylease sleepCream.jdl 2013-07-30 11:32:10,243 WARN - ERROR submitting JDL [sleepCream.jdl]: MethodName=[jobRegister] Timestamp=[Tue 30 Jul 2013 11:32:10] ErrorCode=[0] Description=[lease id not found!] FaultCause=[lease id "mylease" not found!].
 
Changed:
<
<
  • On CE
>
>

From CE:

 
Changed:
<
<
# /sbin/runuser -s /bin/sh ldap -c "/var/lib/bdii/gip/plugin/glite-info-cream-glue2" |grep ServingState GLUE2EndpointServingState: draining
>
>
[root@cream-23 ~]# tail -f /var/log/cream/glite-ce-cream.log

30 Jul 2013 11:32:08,957 INFO org.glite.ce.commonj.authz.gjaf.VomsServicePDP - VOMS attribute authorized: /dteam/Role=NULL/Capability=NULL 30 Jul 2013 11:32:08,958 INFO org.glite.ce.commonj.authz.axis2.AuthorizationHandler - request for OPERATION={http://www.gridsite.org/namespaces/delegation-2}getProxyReq; REMOTE_REQUEST_ADDRESS=193.206.210.233; USER_DN=CN=Sergio Traldi,L=Padova,OU=Personal Certificate,O=INFN,C=IT; USER_FQAN={ /dteam/Role=NULL/Capability=NULL; /dteam/NGI_IT/Role=NULL/Capability=NULL; }; AUTHORIZED 30 Jul 2013 11:32:09,777 INFO org.glite.ce.commonj.authz.gjaf.VomsServicePDP - VOMS attribute authorized: /dteam/Role=NULL/Capability=NULL 30 Jul 2013 11:32:09,777 INFO org.glite.ce.commonj.authz.axis2.AuthorizationHandler - request for OPERATION={http://www.gridsite.org/namespaces/delegation-2}putProxy; REMOTE_REQUEST_ADDRESS=193.206.210.233; USER_DN=CN=Sergio Traldi,L=Padova,OU=Personal Certificate,O=INFN,C=IT; USER_FQAN={ /dteam/Role=NULL/Capability=NULL; /dteam/NGI_IT/Role=NULL/Capability=NULL; }; AUTHORIZED 30 Jul 2013 11:32:09,778 INFO org.glite.ce.cream.ws.delegation.CREAMDelegationService - BEGIN putProxy 30 Jul 2013 11:32:10,013 INFO org.glite.ce.cream.delegationmanagement.cmdexecutor.DelegationExecutor - New delegation created [id='398b50ae2527ba585ab365635e5b388556cd462e'; rfc=false; dn='CN_Sergio_Traldi_L_Padova_OU_Personal_Certificate_O_INFN_C_IT'; localUser='dteam018'; vo='dteam'; startTime='7/30/13 9:27 AM (GMT)'; expirationTime='7/30/13 9:24 PM (GMT)']; 30 Jul 2013 11:32:10,030 INFO org.glite.ce.cream.ws.delegation.CREAMDelegationService - END putProxy 30 Jul 2013 11:32:10,052 INFO org.glite.ce.creamapi.cmdmanagement.queue.CommandQueue - [queue=command_queue]: waiting indefinitely... 30 Jul 2013 11:32:10,232 INFO org.glite.ce.commonj.authz.gjaf.VomsServicePDP - VOMS attribute authorized: /dteam/Role=NULL/Capability=NULL 30 Jul 2013 11:32:10,233 INFO org.glite.ce.commonj.authz.axis2.AuthorizationHandler - request for OPERATION={http://glite.org/2007/11/ce/cream/types}JobRegister; REMOTE_REQUEST_ADDRESS=193.206.210.233; USER_DN=CN=Sergio Traldi,L=Padova,OU=Personal Certificate,O=INFN,C=IT; USER_FQAN={ /dteam/Role=NULL/Capability=NULL; /dteam/NGI_IT/Role=NULL/Capability=NULL; }; AUTHORIZED 30 Jul 2013 11:32:10,236 INFO org.glite.ce.cream.cmdmanagement.CommandManager - new command [NAME="JOB_REGISTER"; PRIORITY_LEVEL=1; IS_ASYNCHRONOUS=false; STATUS=ACCEPTED; CATEGORY="JOB_MANAGEMENT"; EXECUTOR_NAME="BLAHExecutor"; USER_ID="CN_Sergio_Traldi_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL"; CREATION_TIME="Tue Jul 30 11:32:10 CEST 2013"; REMOTE_REQUEST_ADDRESS="193.206.210.233"; USER_DN_X500="/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi"; AUTOSTART="false"; LEASE_ID="mylease"; GSI_FTP_CREAM_URL="gsiftp://cream-23.pd.infn.it"; LOCAL_USER_GROUP="dteam"; LOCAL_USER="dteam018"; USER_VO="dteam"; USER_DN="CN=Sergio Traldi,L=Padova,OU=Personal Certificate,O=INFN,C=IT"; DELEGATION_PROXY_ID="398b50ae2527ba585ab365635e5b388556cd462e"; CREAM_URL="https://cream-23.pd.infn.it:8443/ce-cream/services/CREAM2"; USER_FQAN={ /dteam/Role=NULL/Capability=NULL; /dteam/NGI_IT/Role=NULL/Capability=NULL }] 30 Jul 2013 11:32:10,239 ERROR org.glite.ce.creamapi.jobmanagement.cmdexecutor.AbstractJobExecutor - lease id "mylease" not found! 30 Jul 2013 11:32:10,239 ERROR org.glite.ce.cream.cmdmanagement.CommandManager - CommandManager execute: JOB_REGISTER error lease id "mylease" not found! 30 Jul 2013 11:32:10,239 INFO org.glite.ce.cream.cmdmanagement.CommandManager - status change for command [ID=1375176730236; NAME="JOB_REGISTER"; PRIORITY_LEVEL=1; IS_ASYNCHRONOUS=false; STATUS=EXECUTED-ERROR; FAILURE_REASON="lease id "mylease" not found!"; CATEGORY="JOB_MANAGEMENT"; EXECUTOR_NAME="BLAHExecutor"; USER_ID="CN_Sergio_Traldi_L_Padova_OU_Personal_Certificate_O_INFN_C_IT_dteam_Role_NULL_Capability_NULL"; CREATION_TIME="Tue Jul 30 11:32:10 CEST 2013"; START_PROCESSING_TIME="Tue Jul 30 11:32:10 CEST 2013"; EXECUTION_COMPLETED_TIME="Tue Jul 30 11:32:10 CEST 2013"; REMOTE_REQUEST_ADDRESS="193.206.210.233"; USER_DN_X500="/C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Sergio Traldi"; AUTOSTART="false"; LEASE_ID="mylease"; GSI_FTP_CREAM_URL="gsiftp://cream-23.pd.infn.it"; LOCAL_USER_GROUP="dteam"; LOCAL_USER="dteam018"; USER_VO="dteam"; USER_DN="CN=Sergio Traldi,L=Padova,OU=Personal Certificate,O=INFN,C=IT"; DELEGATION_PROXY_ID="398b50ae2527ba585ab365635e5b388556cd462e"; CREAM_URL="https://cream-23.pd.infn.it:8443/ce-cream/services/CREAM2"; USER_FQAN={ /dteam/Role=NULL/Capability=NULL; /dteam/NGI_IT/Role=NULL/Capability=NULL }] 30 Jul 2013 11:32:10,239 ERROR org.glite.ce.cream.ws.CREAM2Service - lease id "mylease" not found! 30 Jul 2013 11:32:10,308 INFO org.glite.ce.commonj.authz.gjaf.VomsServicePDP - VOMS attribute authorized: /dteam/Role=NULL/Capability=NULL 30 Jul 2013 11:32:10,308 INFO org.glite.ce.commonj.authz.axis2.AuthorizationHandler - request for OPERATION={http://glite.org/2007/11/ce/cream/types}JobStart; REMOTE_REQUEST_ADDRESS=193.206.210.233; USER_DN=CN=Sergio Traldi,L=Padova,OU=Personal Certificate,O=INFN,C=IT; USER_FQAN={ /dteam/Role=NULL/Capability=NULL; /dteam/NGI_IT/Role=NULL/Capability=NULL; }; AUTHORIZED

 
Added:
>
>
 

Standard conformance tests

Glue 1 Compliance - PASSED

 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback