Tags:
,
view all tags
---+ WMS Test Plan %TOC% ---++ Unit tests N/A ---+++ Repository The EMI-1 RC4 repository can be found under: <pre><pre>http://emisoft.web.cern.ch/emisoft/dist/EMI/1/RC4/sl5/x86_64 </pre> </pre> Other repositories: * epel.repo * lcg-CA.repo * sl.repo * sl-security.repo ---+++ Installation test First of all, install the yum-protectbase rpm: <pre>yum install yum-protectbase.noarch </pre> Then proceed with the installation of the CA certificates by issuing: <pre>yum install ca-policy-egi-core</pre> Install the WMS metapackage: <pre>yum install emi-wms</pre> (see [[https://twiki.cnaf.infn.it/twiki/pub/EgeeJra1It/WmsTestsTask18568/yumlog.txt][log]] file) Configure the WMS: <verbatim>/opt/glite/yaim/bin/yaim -c -s site-info.def -n WMS </verbatim> (see [[https://twiki.cnaf.infn.it/twiki/pub/EgeeJra1It/WmsTestsTask18568/yaim.txt][log]] file) ---++ Deployment tests ---+++ Update test N/A ---++ Functionality tests ---+++ Features/Scenarios to be tested ---++++ YAIM-WMS Configuration Testing * Installation and configuration starting from a cleaning machine (i.e. only OS) * Update and configuration from a previous version ---++++ WMS Job Submission/GetOutput Testing Submit a job to the WMS service and when finished retrieve the output. Test job submission with the following type of jobs: Bunch #1: submission of normal jobs. Test 1.1: Test this JDL: [ Executable = "/bin/echo"; Arguments = "Hello"; StdOutput = "out.log"; StdError = "err.log"; InputSandbox = {"Test.sh"}; OutputSandbox = {"out.log", "err.log"}; requirements = RegExp("cream.*", other.GlueCEUniqueID);; AllowZippedISB = false; rank=0; myproxyserver="myproxy.cnaf.infn.it"; RetryCount = 0; ShallowRetryCount = 1; ] Test 1.10 submit a job with an empty file in ISB ---+++++ Normal Job * Test submission of _normal jobs_ with different options and situation [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_command_job_submit_sh][Implemented]] * Test the complete cycle with the two types of CEs: lcg and Cream [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_job_cycle_sh][Implemented]] More different jdls can added in the future. ---+++++ Perusal job Job perusal is the ability to view output from a job while it is running. [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_command_job_perusal_sh][Implemented]] ---+++++ DAG job Directed Acyclic Graphs (a set of jobs where the input/output/execution of one of more jobs may depend on one or more other jobs). * Try with JDL: <verbatim> [ type = "dag"; DefaultNodeShallowRetryCount = 3; nodes = [ nodeA = [ node_type = "edg-jdl"; file ="jdl/arg.jdl" ; ]; nodeB = [ node_type = "edg-jdl"; file ="jdl/arg.jdl" ; ]; nodeC = [ node_type = "edg-jdl"; file ="jdl/arg.jdl" ; ]; dependencies = { { nodeA, nodeB }, { nodeA, nodeC } } ]; ] </verbatim> * When dag finishes retrieve the output files * Check the final status of the dag (all nodes and parent should be "Cleared") More different jdls can added in the future. ---+++++ Parametric Job Multiple jobs with one parametrized description. [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_job_parametric_sh][Implemented]] ---+++++ Collection Job Multiple jobs with a common description. There are two ways to submit collection: you can create a single jdl with all the jdls of nodes or you can submit all the jdls stored in a directory (bulk submission) * Submit a jdl like this one: <verbatim> [ nodes = { [ file="jdl/arg.jdl"; ], [ executable="/bin/env"; ShallowRetryCount = 0; RetryCount = 0; Stdoutput = "file.out" ; StdError = "file.err" ; OutputSandbox ={ "file.out" ,"file.err"} ; FuzzyRank = true; ], [ NodeName="nodeA"; executable="/bin/ls" ; Stdoutput = "file.out" ; OutputSandbox ={ "file.out"} ; ] }; Type = "Collection" ; requirements = other.GlueCEStateStatus == "Production" ; rank = -other.GlueCEStateEstimatedResponseTime ; ] </verbatim> * When collection finishes retrieve the output files * Check the final status of the collectionall nodes and parent should be "Cleared") * To test bulk submission use option "--collection" of glite-wms-job-submit command. * When collection finishes retrieve the output files * Check the final status of the collection (all nodes and parent should be "Cleared") More different jdls can added in the future. ---+++++ Parallel Job Jobs that can be running in one or more cpus in parallel. * Submit a jdl like this one: <verbatim> [ Executable = "cpi"; CpuNumber = 2; Stdoutput = "cpi.out" ; StdError = "cpi.err" ; OutputSandbox = { "cpi.out" ,"cpi.err"} ; InputSandbox = { "exe/cpi" }; FuzzyRank = true; usertags = [ exe = "cpi" ]; ] </verbatim> * When job finishes retrieve the output files * Check the final status of the job ---++++ Delegation Explicit delegation, automatic delegation ---++++ Brokerinfo ---++++ WMS Job shallow and deep re-submission There two type of resubmission; the first is defined _deep_ occurs when the user's job has stardted running on the WN and then the job itself or the WMS !JobWrapper has failed. The second one is called _shallow_ and occurs when the WMS !JobWrapper has failed before starting the actual user's job. [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_job_resubmit_sh][Implemented]] ---++++ Replanning MaxReplansCount in glite_wms.conf ---++++ WMS Job List-match Testing ---+++++ Without data Test job-list-command and its option [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_command_job_list_match_sh][Implemented]] ---+++++ With data * You need to register a file on an SE, then submit a jdl like this one (as !InputData put the lfn(s) registered before): <verbatim> ########################################### # JDL with Data Requirements # ########################################### Executable = "calc-pi.sh"; Arguments = "1000"; StdOutput = "std.out"; StdError = "std.err"; Prologue = "prologue.sh"; InputSandbox = {"calc-pi.sh", "fileA", "fileB","prologue.sh"}; OutputSandbox = {"std.out", "std.err","out-PI.txt","out-e.txt"}; Requirements = true; DataRequirements = { [ DataCatalogType = "DLI"; DataCatalog = "http://lfcserver.cnaf.infn.it:8085"; InputData = {"lfn:/grid/infngrid/cesini/PI_1M.txt","lfn:/grid/infngrid/cesini/e-2M.txt"}; ] }; DataAccessProtocol = "gsiftp";</verbatim> </verbatim> * Then try a list-match, the listed CEs should be the ones "close" to the used SE ---++++ WMS Job Cancel Testing Test the cancellation of these type of jobs (final status should be cleared): ---+++++ Normal job Submit and cancel a normal job [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_command_job_cancel_sh][Implementd]] ---+++++ DAG job Submit a dag job and then cancel it (the _parent_) ---+++++ Collection Submit a collection job and then cancel it (the _parent_) ---+++++ Node of a collection Submit a collection job and then some of its nodes ---++++ Others ---+++++ Delegation Testing Test the delegation command and its options [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_command_job_delegate_proxy_s][Implementd]] ---+++++ Job-info Testing Test the job-info command and its options [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_command_job_info_sh][Implementd]] ---+++++ Logging-info Testing Test the logging-info command and its options [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_command_job_logging_info_sh][Implemented]] ---+++++ Job Status Testing Test the job-status commend and its options [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_command_job_status_sh][Implemented]] ---+++++ !Prologue and Epilogue jobs In the jdl you can specify two attributes _prologue_ and _epilogue_ which are scripts that are execute respectively before and after the user's job. [[https://twiki.cnaf.infn.it/twiki/bin/view/EgeeJra1It/WMSWorkPlan#WMS_prologue_epilogue_sh][Implemented]] ---++ Performance tests ---+++ Collection of 1000 nodes Submit a collection of 1000 nodes. ---+++ Stress test This could be an example of stress test * 2880 collections each of 20 jobs * One collection every 60 seconds * Four users * Use LCG-CEs and CREAM-CEs (with different batch systems) * Use automatic-delegation * The job is a "sleep random(672)" * Resubmission is enabled * Enable proxy renewal ---++ Regression tests List of =RfC tests= ---+++ bug #33342: separate retry policies for ISB and OSB Description of the test. Of course we're speaking of submission to the lcg-CE, as CREAM uses its own jobwrapper. ISB: https://devel11.cnaf.infn.it:9000/a... submitted a job and then removed its ISB <verbatim> [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf lsisb.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/-... ========================================================================== server side: [root@devel11 input]# rm -f a [root@devel11 input]# pwd /var/SandboxDir/-h/https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2f-h4MRDzYkufRu71MKfF1pw/input after a while, maradona file reports: [root@devel11 https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2f-h4MRDzYkufRu71MKfF1pw]# cat Maradona.output LM_log_done_begin Wed Apr 20 22:08:51 CEST 2011: lcg-jobwrapper-hook.sh not readable or not present Wed Apr 20 22:08:52 CEST 2011: Error during transfer Wed Apr 20 22:09:53 CEST 2011: Error during transfer Wed Apr 20 22:11:54 CEST 2011: Error during transfer LM_log_done_end Cannot download a from gsiftp://devel11.cnaf.infn.it:2811/var... Killing log watchdog (pid=21047)... jw exit status = 1 OSB: [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf lsosb.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/3... ========================================================================== </verbatim> Considered successful if: after more than twenty minutes Maradona file hasn't returned yet and the job is running, meaning that other defaults are in place (the ones previously used for both ISB and OSB) ---+++ bug #36292: Not all attributes of a SA/SE coul be used in a gangmatching Description of the test. Fix certified doing a listmatch with the following expression in the jdl: =Requirements = regexp(".in2p3.fr:2119.*",other.GlueCEUniqueID) && anyMatch(other.storage.CloseSEs,target.GlueSEImplementationVersion=="1.9.5-24");= which returns: <verbatim> - cclcgceli02.in2p3.fr:2119/jobmanager-bqs-short - cclcgceli04.in2p3.fr:2119/jobmanager-bqs-short - cclcgceli06.in2p3.fr:2119/jobmanager-bqs-short - cclcgceli09.in2p3.fr:2119/jobmanager-bqs-short - cclcgceli02.in2p3.fr:2119/jobmanager-bqs-medium - cclcgceli04.in2p3.fr:2119/jobmanager-bqs-long - cclcgceli06.in2p3.fr:2119/jobmanager-bqs-medium - cclcgceli09.in2p3.fr:2119/jobmanager-bqs-medium - cclcgceli02.in2p3.fr:2119/jobmanager-bqs-long - cclcgceli06.in2p3.fr:2119/jobmanager-bqs-long - cclcgceli04.in2p3.fr:2119/jobmanager-bqs-medium - cclcgceli09.in2p3.fr:2119/jobmanager-bqs-long </verbatim> Double checking that the correct "GlueSEImplementationVersion" is picked up: =lcg-infosites --vo dteam closeSE >closeses.txt= gives the following closeSEs: <verbatim> cclcgceli02.in2p3.fr:2119/jobmanager-bqs-long ccsrm.in2p3.fr ccsrm02.in2p3.fr and ldapsearch -x -H ldap://lcg-bdii.cern.ch:2170 -b 'Mds-vo-name=local,o=Grid' '(GlueSEUniqueId=ccsrm.in2p3.fr)' returns: ... GlueSEImplementationVersion: 1.9.5-24 ... </verbatim> ---+++ bug #40982: When a collection is aborted the "Abort" event should be logged for the sub-nodes as well /2 Description of the test. coll_10.jdl is a ten nodes collection, only the first node having non empty ISB. <verbatim> [mcecchi@cert-19 ~]$ head -25 coll_10.jdl [ Type = "collection"; InputSandbox = {"/home/mcecchi/Test.sh"}; RetryCount = 1; Requirements = ( random(1.0) < 0.5 ); ShallowRetryCount = 2; nodes = { [ JobType = "Normal"; Zippedisb=true; Executable = "Test.sh"; StdOutput = "test.out"; StdError = "test.err"; InputSandbox = {"a"}; OutputSandbox = {}; ], [ JobType = "Normal"; Executable = "Test.sh"; StdOutput = "test.out"; StdError = "test.err"; OutputSandbox = {}; ], [ JobType = "Normal"; </verbatim> We register the collection: <verbatim> [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf --register-only coll_10.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully registered to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/M... ========================================================================== To complete the operation, the following file containing the InputSandbox of the job needs to be transferred: ========================================================================================================== ISB ZIP file : /tmp/ISBfiles_aoIPOxSR3GFuEcTxqJ6_Mg_0.tar.gz Destination : gsiftp://devel11.cnaf.infn.it:2811/var... We do NOT transfer ISB for the first node and start the job. [mcecchi@cert-19 ~]$ glite-wms-job-submit --start https://devel11.cnaf.infn.it:9000/M... Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully started to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/M... ========================================================================== </verbatim> Considered successful if: <verbatim> [mcecchi@cert-19 ~]$ glite-wms-job-status https://devel11.cnaf.infn.it:9000/MKfaYgbm4wDSKh0iO191rA|grep Aborted|wc -l 11 </verbatim> ---+++ bug #44599: WMS should consider "MaxTotalJobs" Description of the test. The wmp configuration section has a new entry: <verbatim> WmsRequirements = ((ShortDeadlineJob =?= TRUE) ? RegExp(".sdj$", other.GlueCEUniqueID) : !RegExp(".sdj$", other.GlueCEUniqueID)) && (other.GlueCEPolicyMaxTotalJobs == 0 || other.GlueCEStateTotalJobs < other.GlueCEPolicyMaxTotalJobs) && (EnableWmsFeedback =?= TRUE ? RegExp("cream", other.GlueCEImplementationName, "i") : true); </verbatim> WmsRequirements value is appended in && to the user requirements UI: <verbatim> [mcecchi@cert-19 ~]$ cat job.jdl [ Executable = "/bin/true"; Arguments = ""; StdOutput = "out.log"; StdError = "err.log"; OutputSandbox = {}; InputSandbox = {"a"}; rank = - other.GlueCEStateEstimatedResponseTime ; //Requirements = !RegExp("cream.*", other.GlueCEUniqueID); Requirements = true; RetryCount = 0; ShallowRetryCount = -1; ] [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf job.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/X... ========================================================================== WMS, wmproxy.log:21 Apr, 00:16:45 -D- PID: 4336 - "wmp2wm::submit": LB Logged jdl/path: [ OutputSandboxPath = "/var/SandboxDir/Xm/https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fXmA_5f5p51xWR_5f5N2B8MDxGw/output"; StdOutput = "out.log"; ShallowRetryCount = -1; SignificantAttributes = { "Requirements","Rank","FuzzyRank" }; RetryCount = 0; Executable = "/bin/true"; Type = "job"; LB_sequence_code = "UI=000000:NS=0000000004:WM=000000:BH=0000000000:JSS=000000:LM=000000:LRMS=000000:APP=000000:LBS=000000"; Arguments = ""; AllowZippedISB = true; VirtualOrganisation = "dteam"; JobType = "normal"; DefaultRank = -other.GlueCEStateEstimatedResponseTime; ZippedISB = { "ISBfiles_rmRmJ25HMnGWbGATaFD7cw_0.tar.gz" }; OutputSandbox = { }; InputSandbox = { "gsiftp://devel11.cnaf.infn.it:2811/var..." }; edg_jobid = "https://devel11.cnaf.infn.it:9000/X..."; VOMS_FQAN = "/dteam/Role=NULL/Capability=NULL"; CertificateSubject = "/C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi"; StdError = "err.log"; InputSandboxPath = "/var/SandboxDir/Xm/https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fXmA_5f5p51xWR_5f5N2B8MDxGw/input"; rank = -other.GlueCEStateEstimatedResponseTime; MyProxyServer = "myproxy.cnaf.infn.it"; X509UserProxy = "/var/SandboxDir/Xm/https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fXmA_5f5p51xWR_5f5N2B8MDxGw/user.proxy"; InputSandboxDestFileName = { "a" }; requirements = ( ( true ) && ( other.GlueCEStateStatus == "Production" ) ) && ( ( ( ShortDeadlineJob is true ) ? RegExp(".sdj$",other.GlueCEUniqueID) : !RegExp(".sdj$",other.GlueCEUniqueID) ) && ( other.GlueCEPolicyMaxTotalJobs == 0 || other.GlueCEStateTotalJobs < other.GlueCEPolicyMaxTotalJobs ) && ( EnableWmsFeedback is true ? RegExp("cream",other.GlueCEImplementationName,"i") : true ) ); WMPInputSandboxBaseURI = "gsiftp://devel11.cnaf.infn.it:2811/var..." ] </verbatim> Considered successful if "requirements" becomes: <verbatim> requirements = ( ( true ) && ( other.GlueCEStateStatus == "Production" ) ) && ( ( ( ShortDeadlineJob is true ) ? RegExp(".sdj$",other.GlueCEUniqueID) : !RegExp(".sdj$",other.GlueCEUniqueID) ) && ( other.GlueCEPolicyMaxTotalJobs == 0 || other.GlueCEStateTotalJobs < other.GlueCEPolicyMaxTotalJobs ) && ( EnableWmsFeedback is true ? RegExp("cream",other.GlueCEImplementationName,"i") : true ) ); </verbatim> ---+++ bug #45883: Optimization of resubmission Description of the test. ---+++ bug #48636: job wrapper should log events for truncated files Description of the bug. WMS: <verbatim> [root@devel11 SandboxDir]# grep MaxOutp /etc/glite-wms/glite_wms.conf MaxOutputSandboxSize = 50M; [root@devel11 SandboxDir]# /etc/init.d/glite-wms-wm restart </verbatim> UI: <verbatim> [mcecchi@cert-19 ~]$ head -5 split_odb.jdl [ Executable = "/bin/dd"; Arguments = "if=/dev/zero of=./huge bs=1024 count=100000"; InputSandbox = {}; OutputSandbox = {"huge"}; </verbatim> WMS, jobwrapper reports: <verbatim> [root@devel11 SandboxDir]# grep max_out ../jobcontrol/submit/Y6/JobWrapper.https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fY6mVGB9jweLcWK0ECpcRKA.sh __max_outputsandbox_size=52428800 max_osb_size=${__max_outputsandbox_size} </verbatim> Considered successful if on the UI the job status reports: <verbatim> <...> Event: UserTag - Arrived = Thu Apr 21 11:31:25 2011 CEST - Host = gs-03.uaic.ro - Level = SYSTEM - Name = notice - Priority = synchronous - Seqcode = UI=000000:NS=0000000004:WM=000005:BH=0000000000:JSS=000003:LM=000000:LRMS=000009:APP=000000:LBS=000000 - Source = LRMS - Timestamp = Thu Apr 21 11:23:08 2011 CEST - User = /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi - Value = OSB quota exceeded for /home/dteam034/globus-tmp.gs-03.9232.0/https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fY6mVGB9jweLcWK0ECpcRKA/huge, truncating needed --- Event: UserTag - Arrived = Thu Apr 21 11:31:25 2011 CEST - Host = gs-03.uaic.ro - Level = SYSTEM - Name = notice - Priority = synchronous - Seqcode = UI=000000:NS=0000000004:WM=000005:BH=0000000000:JSS=000003:LM=000000:LRMS=000011:APP=000000:LBS=000000 - Source = LRMS - Timestamp = Thu Apr 21 11:24:10 2011 CEST - User = /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi - Value = Truncated last 52428800 bytes for file huge --- <...> </verbatim> ---+++ bug #48640: glite-wms-wmproxy to support graceful command The test is considered successful if the following processes: <verbatim> root 16366 1 0 13:14 ? 00:00:01 /usr/sbin/httpd -k start -f /etc/glite-wms/glite_wms_wmproxy_httpd.conf glite 16641 16366 0 13:16 ? 00:00:00 /usr/sbin/httpd -k start -f /etc/glite-wms/glite_wms_wmproxy_httpd.conf glite 16642 16366 0 13:16 ? 00:00:00 /usr/sbin/httpd -k start -f /etc/glite-wms/glite_wms_wmproxy_httpd.conf glite 16643 16366 0 13:16 ? 00:00:00 /usr/sbin/httpd -k start -f /etc/glite-wms/glite_wms_wmproxy_httpd.conf glite 16644 16366 0 13:16 ? 00:00:00 /usr/sbin/httpd -k start -f /etc/glite-wms/glite_wms_wmproxy_httpd.conf glite 16645 16366 0 13:16 ? 00:00:00 /usr/sbin/httpd -k start -f /etc/glite-wms/glite_wms_wmproxy_httpd.conf glite 16646 16366 0 13:16 ? 00:00:00 /usr/sbin/httpd -k start -f /etc/glite-wms/glite_wms_wmproxy_httpd.conf </verbatim> are restarted gracefully after issuing the command: <verbatim> /etc/init.d/glite-wms-wmproxy graceful </verbatim> ---+++ bug #49844: WMProxy does not catch signal 25 Description of the test. WMS: [root@devel11 wms]# ps aux | grep wmproxy_server glite 18618 5.2 0.4 322316 19184 ? Sl 23:17 0:01 /usr/bin/glite_wms_wmproxy_server UI: [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf coll_100_failing.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... WMS: [root@devel11 wms]# kill -25 18618 UI: ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/3... ========================================================================== Considered successful if the job is submitted. ---+++ bug #50009: wmproxy.gacl person record allows anyone to pass Description of the test. WMS gacl file about dteam: <gacl version="0.0.1"> <entry> <person> <dn>foo</dn> </person> <allow> <exec/> </allow> </entry> <entry> <voms> <fqan>/dteam/ROLE=lcgadmin</fqan> </voms> <allow> <exec/> </allow> </entry> <entry> <voms> <fqan>/dteam/ROLE=production</fqan> </voms> <allow> <exec/> </allow> </entry> <entry> <voms> <fqan>/dteam</fqan> </voms> <allow> <exec/> </allow> </entry> <entry> <voms> <fqan>/alice/ROLE=lcgadmin</fqan> </voms> <allow> <exec/> </allow> </entry> UI: [mcecchi@cert-19 ~]$ voms-proxy-info -all | grep dteam === VO dteam extension information === VO : dteam attribute : /dteam/Role=NULL/Capability=NULL [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf job.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... Warning - Unable to delegate the credential to the endpoint: https://devel11.cnaf.infn.it:7443/g... AuthorizationException: Authorization error: user not authorized Considered successful if the user is not authorized. ---+++ bug #52617: [ yaim-wms ] host{cert,key}.pem in /home/glite Description of the test: WMS: [root@devel11 ~]# ll /etc/grid-security/host* -rw-r--r-- 1 root root 1428 Apr 18 16:23 /etc/grid-security/hostcert.pem -r-------- 1 root root 887 Apr 18 16:23 /etc/grid-security/hostkey.pem [root@devel11 ~]# ll /home/glite/ total 0 Considered successful if there are no certificates under /home/glite ---+++ bug #53294: WMS 3.2 WMProxy logs are useless below level 6 Test description. Setting wmp loglevel to 5: UI: <verbatim> [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf lsisb.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/r... WMS: 21 Apr, 00:02:07 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": ================== Incoming Request ================== 21 Apr, 00:02:07 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": Called Operation: jobRegister 21 Apr, 00:02:07 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": Remote Host Name: cert-19.pd.infn.it 21 Apr, 00:02:07 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi/CN=proxy 21 Apr, 00:02:07 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 47918880745312 1303374407 0 /dteam/Role=NULL/Capability=NULL 21 Apr, 00:02:07 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": Service GRST PROXY LIMIT: 6 21 Apr, 00:02:07 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": WMProxy instance serving core request N.: 7 21 Apr, 00:02:08 -I- PID: 5877 - "wmpcoreoperations::jobRegister": Delegation ID: 7DvOGpVUCAkzYjZQLqWzJg 21 Apr, 00:02:09 -I- PID: 5877 - "wmpcommon::getType": JDL Type: job 21 Apr, 00:02:09 -I- PID: 5877 - "wmpcoreoperations::regist JOB": Registering id: https://devel11.cnaf.infn.it:9000/r... 21 Apr, 00:02:13 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": ================== Incoming Request ================== 21 Apr, 00:02:13 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": Called Operation: jobStart 21 Apr, 00:02:13 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": Remote Host Name: cert-19.pd.infn.it 21 Apr, 00:02:13 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": Remote CLIENT S DN: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi/CN=proxy 21 Apr, 00:02:13 -I- PID: 5877 - "wmpcommon::initWMProxyOperation": Remote GRST CRED: VOMS 47918880745312 1303374407 0 /dteam/Role=NULL/Capability=NULL </verbatim> Considered successful if the log entries contain enough information ---+++ bug #54728: WMP finds FQAN inconsistency only if GROUPS are different, not ROLES Test description. <verbatim> [apaolini@ui ~]$ voms-proxy-init -voms dteam Enter GRID pass phrase: Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini 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 Fri Apr 22 02:18:32 2011 [apaolini@ui ~]$ glite-wms-job-delegate-proxy -d paulaner -e https://devel11.cnaf.infn.it:7443/g... Connecting to the service https://devel11.cnaf.infn.it:7443/g... ================== glite-wms-job-delegate-proxy Success ================== Your proxy has been successfully delegated to the WMProxy(s): https://devel11.cnaf.infn.it:7443/g... with the delegation identifier: paulaner ========================================================================== [apaolini@ui ~]$ voms-proxy-init -voms dteam:/dteam/Role=lcgadmin Enter GRID pass phrase: Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Alessandro Paolini 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 Fri Apr 22 02:20:51 2011 [apaolini@ui ~]$ glite-wms-job-submit -d paulaner -e https://devel11.cnaf.infn.it:7443/g... test.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... Warning - Unable to register the job to the service: https://devel11.cnaf.infn.it:7443/g... Client proxy FQAN (/dteam/Role=lcgadmin/Capability=NULL) does not match delegated proxy FQAN (/dteam/Role=NULL/Capability=NULL) Method: jobRegister </verbatim> Considered successful if the job is not submitted ---+++ bug #55814: the amount of information logged to the LB needs to be reviewed Test description. <verbatim> [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf job.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/U... ========================================================================== Peeking at a logging-info: Event: Transfer - Arrived = Thu Apr 21 15:19:18 2011 CEST - Dest host = localhost - Dest instance = /var/logmonitor/CondorG.log/CondorG.1303347530.log - Dest jobid = unavailable - Destination = LogMonitor - Host = devel11.cnaf.infn.it - Level = SYSTEM - Priority = synchronous - Reason = unavailable - Result = START - Seqcode = UI=000000:NS=0000000004:WM=000005:BH=0000000000:JSS=000002:LM=000000:LRMS=000000:APP=000000:LBS=000000 - Source = JobController - Src instance = unique - Timestamp = Thu Apr 21 15:19:18 2011 CEST - User = /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi/CN=proxy/CN=proxy - Job = unavailable Event: Transfer - Arrived = Thu Apr 21 15:19:18 2011 CEST - Dest host = localhost <...> - Job = (unavailable) As a side note, also the classad file is not written anymore [root@devel11 ~]# ll /var/jobcontrol/submit/U9/ total 44 -rw-r--r-- 1 glite glite 1779 Apr 21 15:19 Condor.https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fU9uageRLsGUgszr2Ix3y9A.submit -rw-r--r-- 1 glite glite 40595 Apr 21 15:19 JobWrapper.https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fU9uageRLsGUgszr2Ix3y9A.sh </verbatim> Considered successful if the classad is not logged in the Tansfer event and if the Classad file is not written anymore +++--- bug #56734: ListMatch should consider also SDJ specification Test description. After inserting the following attribute into the jdl: ShortDeadlineJob = true; a listmatch is executed. Considered successful if the listmatch returns only a subset of the available CEs and a submitted job is executed and comes to succesful completion. +++--- bug #56933: WMProxy Server: gSoap needs to be built with WITH_IPV6 flag Test description. emi.wms.wmproxy workspace: <verbatim> [mcecchi@devel10 emi.wms.wmproxy]$ grep -2r IPV6 . ./src/server/Makefile.am- -DWANT_NAMESPACES \ ./src/server/Makefile.am- -DWITH_FASTCGI \ ./src/server/Makefile.am: -DWITH_IPV6 ./src/server/Makefile.am- ./src/server/Makefile.am-MAINTAINERCLEANFILES = Makefile.in -- ./configure.ac-AC_STRUCT_TM ./configure.ac- ./configure.ac:AH_TEMPLATE([WITH_IPV6], [For Ipv6 support]) ./configure.ac:AC_DEFINE(WITH_IPV6) ./configure.ac- ./configure.ac- </verbatim> Considered successful if the flag -DWITH_IPV6 is found in the Makefile. ---+++ bug #58878: Request for a feature allowing propagation of generic parameters from JDL to LRMs Test description. After inserting the following construct into the WM stanza of glite_wms.conf: <verbatim> PropagateToLRMS= { [ name = "smpgranularity"; value = jdl.SMPGranularity ], [ name = "wholenodes"; value = jdl.WholeNodes ; requires = jdl.WholeNodes == true; ], [ name = "hostsmpsize"; value = ce.GlueHostArchitectureSMPSize ], [ name = "mpi_type"; value = jdl.MpiType; requires = ce.GlueCEInfoLRMSType == "lsf"; ], [ name = "hostmainmem"; value = ce.GlueHostMainMemoryRAMSize; requires = ce.GlueCEInfoLRMSType == "pbs"; ] }; </verbatim> the test is considered successful if it is verified that a job with the following attributes in the jdl <verbatim> SMPGranularity = 3; MpiType = "mvapich_gcc4"; leads to a jdl passed to the CE with the following cerequirements: CeRequirements = "true && ( true && ( ( ShortDeadlineJob is true ) ? false : true ) && ( EnableWmsFeedback is true ? true : true ) )&&smpgranularity==3&&hostsmpsize==8&&hostmainmem==16384"; </verbatim> with lrms_type = "pbs"; ---+++ bug #58968: Request for handling SMPGranularity attribute in the JDL Test description. <verbatim> [mcecchi@cert-19 ~]$ head -5 job.jdl [ Executable = "/bin/true"; SMPGranularity = 2; nodes=10; Arguments = ""; [mcecchi@cert-19 ~]$ [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf job.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/i... ========================================================================== [mcecchi@cert-19 ~]$ glite-wms-job-logging-info -v 3 https://devel11.cnaf.infn.it:9000/i... | grep equirements <...> requirements = ( ( ( ( true ) && ( other.GlueCEStateStatus == "Production" ) ) && other.GlueHostArchitectureSMPSize >= SMPGranularity ) && other.GlueHostArchitectureSMPSize >= SMPGranularity ) && ( ( ( ShortDeadlineJob is true ) ? RegExp(".sdj$",other.GlueCEUniqueID) : !RegExp(".sdj$",other.GlueCEUniqueID) ) && ( other.GlueCEPolicyMaxTotalJobs == 0 || other.GlueCEStateTotalJobs < other.GlueCEPolicyMaxTotalJobs ) && ( EnableWmsFeedback is true ? RegExp("cream",other.GlueCEImplementationName,"i") : true ) ); <...> </verbatim> Considered successful if requirements contain the following clause =other.GlueHostArchitectureSMPSize >== =SMPGranularity= ---+++ bug #55122: WM running but not processing jobs A proper way to test this bug was not found. ---+++ bug #59781: limit maximum sleep time in job wrapper Test description. UI: got a fresh proxy and submitted a job to get interactive access to the WN <verbatim> [mcecchi@cert-19 ~]$ voms-proxy-info subject : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi/CN=proxy issuer : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi identity : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi type : proxy strength : 1024 bits path : /tmp/x509up_u500 timeleft : 11:56:23 [mcecchi@cert-19 ~]$ glite-wms-job-submit -a -c devel11.conf cloud.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/K... ========================================================================== WN: bash-3.2$ ps ux | grep sleep dte129 20959 0.0 0.0 58932 500 ? S 13:29 0:00 sleep 1000 </verbatim> Considered successful if the sleep argument is 1000 seconds ---+++ bug #61557: user job is not killed when proxy expires Test description. submitted a job that provides interactive access. <verbatim> [mcecchi@ui ~]$ cat interactive.sh #!/bin/sh mkfifo fifo; nc wms009.cnaf.infn.it 20001 <fifo | /bin/bash -i &> fifo; rm fifo [root@wms009 mcecchi]# nc -l 20001 WN: bash: no job control in this shell bash-3.2$ ls err.log fifo https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fRt6CVAJzhpw4TZWlgrw78Q.output interactive.sh out.log tmp.bsXSl20922 tmp.FaMJj20924 tmp.NjfKR20923 tmp.ojneI20911 tmp.PMecA20910 bash-3.2$ pwd /home/dteam034/globus-tmp.grwn213.20535.0/https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fRt6CVAJzhpw4TZWlgrw78Q bash-3.2$ ps xo pgrp,pid,stat,cmd PGRP PID STAT CMD 20424 20424 Ss -sh 20424 20531 S /bin/sh /var/torque/mom_priv/jobs/821801.grce001.inr.troitsk.ru.SC 20424 20535 S /usr/bin/perl -w /tmp/bootstrap.r20532 /home/dteam034/ grce001.inr.troitsk.ru /home/dteam034/.globus/job/grce001.inr.troitsk.ru/2992.1303461286/x509_up X509GPG:globus-cache-export.BU3427.gpg /dev/null /home/dteam034/.globus/job/grce001.inr.troitsk.ru/2992.1303461286/stdout stdoutftp /home/dteam034/.globus/job/grce001.inr.troitsk.ru/2992.1303461286/stderr stderrftp /home/dteam034/.lcgjm/globus-cache-export.BU3427 https://grce001.inr.troitsk.ru:2002... /home/dteam034/ NONE /home/dteam034/.globus/.gass_cache/local/md5/33/217dcbdc0a0cc3de7c87eaeac07fd8/md5/e0/fbf2948266acc97e62b731ff1c259e/data hostsmpsize=8 20424 20541 S /usr/bin/perl -w /tmp/bootstrap.r20532 /home/dteam034/ grce001.inr.troitsk.ru /home/dteam034/.globus/job/grce001.inr.troitsk.ru/2992.1303461286/x509_up X509GPG:globus-cache-export.BU3427.gpg /dev/null /home/dteam034/.globus/job/grce001.inr.troitsk.ru/2992.1303461286/stdout stdoutftp /home/dteam034/.globus/job/grce001.inr.troitsk.ru/2992.1303461286/stderr stderrftp /home/dteam034/.lcgjm/globus-cache-export.BU3427 https://grce001.inr.troitsk.ru:2002... /home/dteam034/ NONE /home/dteam034/.globus/.gass_cache/local/md5/33/217dcbdc0a0cc3de7c87eaeac07fd8/md5/e0/fbf2948266acc97e62b731ff1c259e/data hostsmpsize=8 20424 20648 S /usr/bin/perl -w /tmp/bootstrap.r20532 /home/dteam034/ grce001.inr.troitsk.ru /home/dteam034/.globus/job/grce001.inr.troitsk.ru/2992.1303461286/x509_up X509GPG:globus-cache-export.BU3427.gpg /dev/null /home/dteam034/.globus/job/grce001.inr.troitsk.ru/2992.1303461286/stdout stdoutftp /home/dteam034/.globus/job/grce001.inr.troitsk.ru/2992.1303461286/stderr stderrftp /home/dteam034/.lcgjm/globus-cache-export.BU3427 https://grce001.inr.troitsk.ru:2002... /home/dteam034/ NONE /home/dteam034/.globus/.gass_cache/local/md5/33/217dcbdc0a0cc3de7c87eaeac07fd8/md5/e0/fbf2948266acc97e62b731ff1c259e/data hostsmpsize=8 20424 20682 S sh -c if [ -x ${LCG_LOCATION:-/opt/lcg}/libexec/jobwrapper ]; then ${LCG_LOCATION:-/opt/lcg}/libexec/jobwrapper /home/dteam034/globus-tmp.grwn213.20535.0/globus-tmp.grwn213.20535.2 hostsmpsize=8; else /home/dteam034/globus-tmp.grwn213.20535.0/globus-tmp.grwn213.20535.2 hostsmpsize=8; fi 20424 20683 S /bin/sh /opt/lcg/libexec/jobwrapper /home/dteam034/globus-tmp.grwn213.20535.0/globus-tmp.grwn213.20535.2 hostsmpsize=8 20424 20745 S /bin/sh /home/dteam034/globus-tmp.grwn213.20535.0/globus-tmp.grwn213.20535.2 hostsmpsize=8 20424 20950 S /bin/sh /home/dteam034/globus-tmp.grwn213.20535.0/globus-tmp.grwn213.20535.2 hostsmpsize=8 20951 20951 S /bin/sh /home/dteam034/globus-tmp.grwn213.20535.0/globus-tmp.grwn213.20535.2 hostsmpsize=8 20424 20952 S /bin/sh /home/dteam034/globus-tmp.grwn213.20535.0/globus-tmp.grwn213.20535.2 hostsmpsize=8 20951 20955 S /usr/bin/time -p -o tmp.bsXSl20922 ./interactive.sh 20951 20956 S /bin/sh ./interactive.sh 20951 20958 S nc wms009.cnaf.infn.it 20001 20951 20959 S /bin/bash -i 20424 20960 S sleep 709 20951 21777 R ps xo pgrp,pid,stat,cmd </verbatim> /usr/bin/time -p -o tmp.bsXSl20922 ./interactive.sh runs in bg with the same process group 20951 of /bin/sh ./interactive.sh and its children More specifically: UI: <verbatim> [mcecchi@ui ~]$ voms-proxy-info subject : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi/CN=proxy issuer : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi identity : /C=IT/O=INFN/OU=Personal Certificate/L=CNAF/CN=Marco Cecchi type : proxy strength : 1024 bits path : /tmp/x509up_u40121 timeleft : 0:14:47 [mcecchi@ui ~]$ glite-wms-job-submit -a -c devel11.conf interactive.jdl Connecting to the service https://devel11.cnaf.infn.it:7443/g... ====================== glite-wms-job-submit Success ====================== The job has been successfully submitted to the WMProxy Your job identifier is: https://devel11.cnaf.infn.it:9000/U... =========================================================== [root@wms009 mcecchi]# nc -l 20001 bash: no job control in this shell bash-3.2$ pwd /var/spool/pbs/tmpdir/52994.gridgate.ucc.ie/https_3a_2f_2fdevel11.cnaf.infn.it_3 a9000_2fZLKFE55HSB9gKxcbqhTaeg bash-3.2$ ls interactive.sh err.log fifo https_3a_2f_2fdevel11.cnaf.infn.it_3a9000_2fZLKFE55HSB9gKxcbqhTaeg.output out.log tmp.dJPnX32021 tmp.IWdDT32037 tmp.LNLGJ32022 tmp.udGTb32036 tmp.ZEXBZ32035 bash-3.2$ ps x PID TTY STAT TIME COMMAND 31878 ? Ss 0:00 -sh 31911 ? S 0:00 /bin/sh /var/spool/pbs/mom_priv/jobs/52994.gridgate.u cc.ie.SC 31912 ? S 0:00 /bin/sh /home/dte150/.globus/.gass_cache/local/md5/55 /adef21944b1300765235bd50f58cb0/md5/d7/71611fd2c715ec1fcd4ddb5c8cf3b3/data hosts mpsize=2,hostmainmem=200 32047 ? S 0:00 /bin/sh /home/dte150/.globus/.gass_cache/local/md5/55 /adef21944b1300765235bd50f58cb0/md5/d7/71611fd2c715ec1fcd4ddb5c8cf3b3/data hosts mpsize=2,hostmainmem=200 32048 ? S 0:00 /bin/sh /home/dte150/.globus/.gass_cache/local/md5/55 /adef21944b1300765235bd50f58cb0/md5/d7/71611fd2c715ec1fcd4ddb5c8cf3b3/data hosts mpsize=2,hostmainmem=200 32049 ? S 0:00 /bin/sh /home/dte150/.globus/.gass_cache/local/md5/55 /adef21944b1300765235bd50f58cb0/md5/d7/71611fd2c715ec1fcd4ddb5c8cf3b3/data hosts mpsize=2,hostmainmem=200 32050 ? S 0:00 /usr/bin/time -p -o tmp.ZEXBZ32035 ./interactive.sh 32053 ? S 0:00 /bin/sh ./interactive.sh 32055 ? S 0:00 nc wms009.cnaf.infn.it 20001 32056 ? S 0:00 /bin/bash -i 32057 ? S 0:00 sleep 818 32065 ? R 0:00 ps x bash-3.2$ </verbatim> 818 seconds later the job exits... <verbatim> PID TTY STAT TIME COMMAND 802 ? R 0:00 ps x 31878 ? Ss 0:00 -sh 31911 ? S 0:00 /bin/sh /var/spool/pbs/mom_priv/jobs/52994.gridgate.ucc.ie.SC 31912 ? S 0:00 /bin/sh /home/dte150/.globus/.gass_cache/local/md5/55/adef21944b1300765235bd50f58cb0/md5/d7/71611fd2c715ec1fcd4ddb5c8cf3b3/data hostsmpsize=2,hostmainmem=200 32047 ? S 0:00 /bin/sh /home/dte150/.globus/.gass_cache/local/md5/55/adef21944b1300765235bd50f58cb0/md5/d7/71611fd2c715ec1fcd4ddb5c8cf3b3/data hostsmpsize=2,hostmainmem=200 32048 ? S 0:00 /bin/sh /home/dte150/.globus/.gass_cache/local/md5/55/adef21944b1300765235bd50f58cb0/md5/d7/71611fd2c715ec1fcd4ddb5c8cf3b3/data hostsmpsize=2,hostmainmem=200 32049 ? S 0:00 /bin/sh /home/dte150/.globus/.gass_cache/local/md5/55/adef21944b1300765235bd50f58cb0/md5/d7/71611fd2c715ec1fcd4ddb5c8cf3b3/data hostsmpsize=2,hostmainmem=200 32050 ? S 0:00 /usr/bin/time -p -o tmp.ZEXBZ32035 ./cloud.sh 32053 ? S 0:00 /bin/sh ./cloud.sh 32055 ? S 0:00 nc wms009.cnaf.infn.it 20001 32056 ? S 0:00 /bin/bash -i 32057 ? S 0:00 sleep 818 bash-3.2$ [root@wms009 mcecchi]# </verbatim> Considered successful if the job is killed. ---+++ bug #62211: [ yaim-wms ] Enable Glue 2.0 publishing Test description. The publication in glue2 format is verified by confronting the output of two commands: <verbatim> ldapsearch -x -H ldap://devel09.cnaf.infn.it:2170 -b mds-vo-name=resource,o=grid </verbatim> for glue1 and <verbatim> ldapsearch -x -H ldap://devel09.cnaf.infn.it:2170 -b o=glue </verbatim> for glue2. These give respectively the following output: <verbatim> # extended LDIF # # LDAPv3 # base <mds-vo-name=resource,o=grid> with scope subtree # filter: (objectclass=*) # requesting: ALL # # resource, grid dn: Mds-Vo-name=resource,o=grid Mds-Vo-name: resource objectClass: Mds # devel09.cnaf.infn.it_org.glite.wms.WMProxy_3504844140, resource, grid dn: GlueServiceUniqueID=devel09.cnaf.infn.it_org.glite.wms.WMProxy_3504844140, Mds-Vo-name=resource,o=grid GlueServiceAccessControlBaseRule: VO:atlas GlueServiceAccessControlBaseRule: VO:alice GlueServiceAccessControlBaseRule: VO:lhcb GlueServiceAccessControlBaseRule: VO:cms GlueServiceAccessControlBaseRule: VO:dteam GlueServiceAccessControlBaseRule: VO:biomed GlueServiceAccessControlBaseRule: VO:ops GlueServiceAccessControlBaseRule: VO:infngrid GlueServiceStatus: Other GlueServiceStatusInfo: ?? objectClass: GlueTop objectClass: GlueService objectClass: GlueKey objectClass: GlueSchemaVersion GlueServiceUniqueID: devel09.cnaf.infn.it_org.glite.wms.WMProxy_3504844140 GlueServiceAccessControlRule: atlas GlueServiceAccessControlRule: alice GlueServiceAccessControlRule: lhcb GlueServiceAccessControlRule: cms GlueServiceAccessControlRule: dteam GlueServiceAccessControlRule: biomed GlueServiceAccessControlRule: ops GlueServiceAccessControlRule: infngrid GlueServiceStartTime: 1970-01-01T01:00:00+01:00 GlueServiceEndpoint: https://devel09.cnaf.infn.it:7443/glite_wms_wmproxy_serve r GlueServiceVersion: 3.3.99 GlueSchemaVersionMinor: 3 GlueServiceName: INFN-CREAMTEST-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=INFN-CREAMTEST GlueServiceOwner: atlas GlueServiceOwner: alice GlueServiceOwner: lhcb GlueServiceOwner: cms GlueServiceOwner: dteam GlueServiceOwner: biomed GlueServiceOwner: ops GlueServiceOwner: infngrid GlueSchemaVersionMajor: 1 # DN, devel09.cnaf.infn.it_org.glite.wms.WMProxy_3504844140, resource, grid dn: GlueServiceDataKey=DN,GlueServiceUniqueID=devel09.cnaf.infn.it_org.glite.w ms.WMProxy_3504844140,Mds-Vo-name=resource,o=grid GlueSchemaVersionMajor: 1 objectClass: GlueTop objectClass: GlueServiceData objectClass: GlueKey objectClass: GlueSchemaVersion GlueSchemaVersionMinor: 3 GlueServiceDataKey: DN GlueChunkKey: GlueServiceUniqueID=devel09.cnaf.infn.it_org.glite.wms.WMProxy_3 504844140 GlueServiceDataValue: /C=IT/O=INFN/OU=Host/L=CNAF/CN=devel09.cnaf.infn.it # glite-info-service_version, devel09.cnaf.infn.it_org.glite.wms.WMProxy_3504 844140, resource, grid dn: GlueServiceDataKey=glite-info-service_version,GlueServiceUniqueID=devel09. cnaf.infn.it_org.glite.wms.WMProxy_3504844140,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=devel09.cnaf.infn.it_org.glite.wms.WMProxy_3 504844140 GlueServiceDataValue: 1.6 # glite-info-service_hostname, devel09.cnaf.infn.it_org.glite.wms.WMProxy_350 4844140, resource, grid dn: GlueServiceDataKey=glite-info-service_hostname,GlueServiceUniqueID=devel09 .cnaf.infn.it_org.glite.wms.WMProxy_3504844140,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=devel09.cnaf.infn.it_org.glite.wms.WMProxy_3 504844140 GlueServiceDataValue: devel09.cnaf.infn.it # search result search: 2 result: 0 Success # numResponses: 6 # numEntries: 5 </verbatim> and <verbatim> # 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 # devel09.cnaf.infn.it_3504844140, resource, glue dn: GLUE2ServiceID=devel09.cnaf.infn.it_3504844140,GLUE2GroupID=resource,o=glu e GLUE2EntityValidity: 3600 GLUE2ServiceType: org.glite.wms.WMProxy GLUE2ServiceID: devel09.cnaf.infn.it_3504844140 objectClass: GLUE2Entity objectClass: GLUE2Service GLUE2ServiceQualityLevel: production GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-service GLUE2EntityOtherInfo: InfoProviderVersion=1.0 GLUE2EntityOtherInfo: InfoProviderHost=devel09.cnaf.infn.it GLUE2ServiceComplexity: endpointType=1, share=0, resource=0 GLUE2EntityName: INFN-CREAMTEST-WMProxy GLUE2ServiceAdminDomainForeignKey: INFN-CREAMTEST GLUE2EntityCreationTime: 2011-04-21T14:43:18Z # devel09.cnaf.infn.it_3504844140_org.glite.wms.WMProxy_3504844140, devel09.c naf.infn.it_3504844140, resource, glue dn: GLUE2EndpointID=devel09.cnaf.infn.it_3504844140_org.glite.wms.WMProxy_3504 844140,GLUE2ServiceID=devel09.cnaf.infn.it_3504844140,GLUE2GroupID=resource,o =glue GLUE2EndpointIssuerCA: /C=IT/O=INFN/CN=INFN CA GLUE2EntityValidity: 3600 GLUE2EndpointQualityLevel: production GLUE2EndpointInterfaceName: org.glite.wms.WMProxy GLUE2EndpointTrustedCA: IGTF objectClass: GLUE2Entity objectClass: GLUE2Endpoint GLUE2EndpointID: devel09.cnaf.infn.it_3504844140_org.glite.wms.WMProxy_3504844 140 GLUE2EndpointInterfaceVersion: 3.3.99 GLUE2EndpointURL: https://devel09.cnaf.infn.it:7443/glite_wms_wmproxy_server GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint GLUE2EntityOtherInfo: InfoProviderVersion=1.0 GLUE2EntityOtherInfo: InfoProviderHost=devel09.cnaf.infn.it GLUE2EndpointDowntimeInfo: See the GOC DB for downtimes: https://goc.gridops.o rg/ 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: devel09.cnaf.infn.it_3504844140 GLUE2EntityName: WMProxy endpoint for Service devel09.cnaf.infn.it_3504844140 GLUE2EndpointTechnology: webservice GLUE2EntityCreationTime: 2011-04-21T14:43:18Z # DN_1, devel09.cnaf.infn.it_3504844140_org.glite.wms.WMProxy_3504844140, dev el09.cnaf.infn.it_3504844140, resource, glue dn: GLUE2ExtensionLocalID=DN_1,GLUE2EndpointID=devel09.cnaf.infn.it_3504844140 _org.glite.wms.WMProxy_3504844140,GLUE2ServiceID=devel09.cnaf.infn.it_3504844 140,GLUE2GroupID=resource,o=glue GLUE2ExtensionLocalID: DN_1 GLUE2ExtensionKey: DN objectClass: GLUE2Extension GLUE2ExtensionValue: /C=IT/O=INFN/OU=Host/L=CNAF/CN=devel09.cnaf.infn.it GLUE2ExtensionEntityForeignKey: devel09.cnaf.infn.it_3504844140_org.glite.wms. WMProxy_3504844140 # devel09.cnaf.infn.it_3504844140_org.glite.wms.WMProxy_3504844140_Policy, de vel09.cnaf.infn.it_3504844140_org.glite.wms.WMProxy_3504844140, devel09.cnaf .infn.it_3504844140, resource, glue dn: GLUE2PolicyID=devel09.cnaf.infn.it_3504844140_org.glite.wms.WMProxy_350484 4140_Policy,GLUE2EndpointID=devel09.cnaf.infn.it_3504844140_org.glite.wms.WMP roxy_3504844140,GLUE2ServiceID=devel09.cnaf.infn.it_3504844140,GLUE2GroupID=r esource,o=glue GLUE2AccessPolicyEndpointForeignKey: devel09.cnaf.infn.it_3504844140_org.glite .wms.WMProxy_3504844140 GLUE2EntityValidity: 3600 objectClass: GLUE2Entity objectClass: GLUE2Policy objectClass: GLUE2AccessPolicy GLUE2PolicyRule: VO:atlas GLUE2PolicyRule: VO:alice GLUE2PolicyRule: VO:lhcb GLUE2PolicyRule: VO:cms GLUE2PolicyRule: VO:dteam GLUE2PolicyRule: VO:biomed GLUE2PolicyRule: VO:ops GLUE2PolicyRule: VO:infngrid GLUE2PolicyScheme: org.glite.standard GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint GLUE2EntityOtherInfo: InfoProviderVersion=1.0 GLUE2EntityOtherInfo: InfoProviderHost=devel09.cnaf.infn.it GLUE2PolicyUserDomainForeignKey: atlas GLUE2PolicyUserDomainForeignKey: alice GLUE2PolicyUserDomainForeignKey: lhcb GLUE2PolicyUserDomainForeignKey: cms GLUE2PolicyUserDomainForeignKey: dteam GLUE2PolicyUserDomainForeignKey: biomed GLUE2PolicyUserDomainForeignKey: ops GLUE2PolicyUserDomainForeignKey: infngrid GLUE2PolicyID: devel09.cnaf.infn.it_3504844140_org.glite.wms.WMProxy_350484414 0_Policy GLUE2EntityName: Access control rules for Endpoint devel09.cnaf.infn.it_350484 4140_org.glite.wms.WMProxy_3504844140 GLUE2EntityCreationTime: 2011-04-21T14:43:18Z # search result search: 2 result: 0 Success # numResponses: 8 # numEntries: 7 </verbatim> Considered successful if the glue2 publication is present and correct. ---+++ bug #62709: glite_wms_wmproxy_load_monitor has a problem with lvm partitions This bug can only be tested on a machine mounting lvm partitions. ---+++ bug #64416: the proxycache purger needs to be made compatible with the latest gridsite releases ---+++ bug #64416: the proxycache purger needs to be made compatible with the latest gridsite releases Test description. <verbatim> [root@devel11 proxycache]# ll total 24 drwx------ 3 glite glite 4096 Apr 21 14:19 %2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DAlessandro%20Paolini drwx------ 14 glite glite 4096 Apr 21 15:09 %2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DFabio%20Capannini drwx------ 90 glite glite 4096 Apr 21 14:57 %2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DMarco%20Cecchi drwx------ 6 glite glite 4096 Apr 20 22:26 %2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DMarco%20Cecchi%2FCN%3D57595619 drwx------ 116 glite glite 4096 Apr 20 17:02 %2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DPadova%2FCN%3DAlessio%20Gianelle drwx------ 7 glite glite 4096 Apr 21 14:19 cache [root@devel11 proxycache]# /usr/bin/glite-wms-wmproxy-purge-proxycache Thu Apr 21 15:09:55 CEST 2011: processing file: ./%2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DAlessandro%20Paolini/paulaner/userproxy.pem Thu Apr 21 15:09:55 CEST 2011: the proxy is still valid (40105 seconds left) Thu Apr 21 15:09:55 CEST 2011: processing file: ./%2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DFabio%20Capannini/oABpQjeGPPvdLh41Tl3ybg/userproxy.pem Thu Apr 21 15:09:56 CEST 2011: the proxy is still valid (34162 seconds left) Thu Apr 21 15:09:56 CEST 2011: processing file: ./%2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DFabio%20Capannini/6xDauMvftsHomfwFTOHeEw/userproxy.pem Thu Apr 21 15:09:56 CEST 2011: the proxy is still valid (34184 seconds left) Thu Apr 21 15:09:56 CEST 2011: processing file: ./%2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DFabio%20Capannini/QDRm_Ynuz2IqbI8b_BDlng/userproxy.pem Thu Apr 21 15:09:56 CEST 2011: the proxy is still valid (27605 seconds left) Thu Apr 21 15:09:56 CEST 2011: processing file: ./tmp.LcpuIS6761 Thu Apr 21 15:09:56 CEST 2011: couldn't remove (not a proxy file) Thu Apr 21 15:09:56 CEST 2011: processing file: ./%2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DMarco%20Cecchi/zURreRHoNkG9cmb4_ctH0Q/userproxy.pem Thu Apr 21 15:09:56 CEST 2011: the proxy is still valid (21076 seconds left) Thu Apr 21 15:09:56 CEST 2011: processing file: ./%2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DMarco%20Cecchi/HCIEIbuW9bg3tTp_PihPjg/userproxy.pem Thu Apr 21 15:09:56 CEST 2011: the proxy is still valid (21113 seconds left) Thu Apr 21 15:09:56 CEST 2011: processing file: ./%2FC%3DIT%2FO%3DINFN%2FOU%3DPersonal%20Certificate%2FL%3DCNAF%2FCN%3DMarco%20Cecchi/7dyB5AN8UiPW6x7v0XucDQ/userproxy.pem Thu Apr 21 15:09:56 CEST 2011: the proxy is still valid (21074 seconds left) <...> etc. etc. </verbatim> Considered successful if the expired certificates are removed. ---+++ bug #68944: Bug in ICE's start/stop script -- Main.ElisabettaMolinari - 2010-02-24
Edit
|
Attach
|
PDF
|
H
istory
:
r30
|
r28
<
r27
<
r26
<
r25
|
B
acklinks
|
V
iew topic
|
More topic actions...
Topic revision: r26 - 2011-06-28
-
FabioCapannini
Home
Site map
CEMon web
CREAM web
Cloud web
Cyclops web
DGAS web
EgeeJra1It web
Gows web
GridOversight web
IGIPortal web
IGIRelease web
MPI web
Main web
MarcheCloud web
MarcheCloudPilotaCNAF web
Middleware web
Operations web
Sandbox web
Security web
SiteAdminCorner web
TWiki web
Training web
UserSupport web
VOMS web
WMS web
WMSMonitor web
WeNMR web
EgeeJra1It Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback