Testing of CEMon 1.14.0
Unit tests
See:
http://etics-repository.cern.ch/repository/download/registered/emi/emi.cream-ce.cream-common/1.14.0/noarch/glite-ce-common-java-1.14.0-4-reports.tar.gz
Deployment tests
See deployment tests for CREAM, since CEMon is deployed along with CREAM
System tests
Basic functionality tests
Resource BDII glue1 test
Result:
PASSED
Verified that CEMon is published in the CREAM CE resource BDII in Glue 1.3
For sl5:
ldapsearch -h emitestbed29.cnaf.infn.it -x -p 2170 -b "o=grid" "objectclass=GlueService"
...
...
# emitestbed29.cnaf.infn.it_org.glite.ce.Monitor_3810702142, resource, grid
dn: GlueServiceUniqueID=emitestbed29.cnaf.infn.it_org.glite.ce.Monitor_3810702142,Mds-Vo-name=resource,o=grid
GlueServiceAccessControlBaseRule: VO:dteam
GlueServiceAccessControlBaseRule: VO:testers.eu-emi.eu
GlueServiceStatus: OK
GlueServiceStatusInfo: tomcat6 is running...[ OK ]
objectClass: GlueTop
objectClass: GlueService
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueServiceUniqueID: emitestbed29.cnaf.infn.it_org.glite.ce.Monitor_3810702142
GlueServiceAccessControlRule: dteam
GlueServiceAccessControlRule: testers.eu-emi.eu
GlueServiceStartTime: 1970-01-01T01:00:00+01:00
GlueServiceEndpoint: https://emitestbed29.cnaf.infn.it:8443/ce-monitor/services
GlueServiceVersion: 1.14.0
GlueSchemaVersionMinor: 3
GlueServiceName: INFN-CNAF_EMI-Monitor
GlueServiceType: org.glite.ce.Monitor
GlueServiceWSDL: http://grid.pd.infn.it/cemon/wsdl/org.glite.ce-mon_service.wsdl
GlueServiceSemantics: http://wiki.italiangrid.org/twiki/bin/view/CEMon/FunctionalDescription
GlueForeignKey: GlueSiteUniqueID=INFN-CNAF_EMI
GlueServiceOwner: dteam
GlueServiceOwner: testers.eu-emi.eu
GlueSchemaVersionMajor: 1
...
...
For sl6:
...
ldapsearch -h emi-demo13.cnaf.infn.it -x -p 2170 -b "o=grid" "objectclass=GlueService"
# emi-demo13.cnaf.infn.it_org.glite.ce.Monitor_3098107955, resource, grid
dn: GlueServiceUniqueID=emi-demo13.cnaf.infn.it_org.glite.ce.Monitor_3098107955,Mds-Vo-name=resource,o=grid
GlueServiceAccessControlBaseRule: VO:dteam
GlueServiceAccessControlBaseRule: VO:testers.eu-emi.eu
objectClass: GlueTop
objectClass: GlueService
objectClass: GlueKey
objectClass: GlueSchemaVersion
GlueServiceUniqueID: emi-demo13.cnaf.infn.it_org.glite.ce.Monitor_3098107955
GlueServiceAccessControlRule: dteam
GlueServiceAccessControlRule: testers.eu-emi.eu
GlueServiceEndpoint: https://emi-demo13.cnaf.infn.it:8443/ce-monitor/services
GlueServiceVersion: 1.14.0
GlueSchemaVersionMinor: 3
GlueServiceName: INFN-CNAF_EMI-Monitor
GlueServiceType: org.glite.ce.Monitor
GlueServiceWSDL: http://grid.pd.infn.it/cemon/wsdl/org.glite.ce-mon_service.wsdl
GlueServiceSemantics: http://wiki.italiangrid.org/twiki/bin/view/CEMon/FunctionalDescription
GlueForeignKey: GlueSiteUniqueID=INFN-CNAF_EMI
GlueServiceOwner: dteam
GlueServiceOwner: testers.eu-emi.eu
GlueSchemaVersionMajor: 1
GlueServiceStatus: OK
GlueServiceStartTime: 2012-05-04T07:50:14+02:00
GlueServiceStatusInfo: /etc/init.d/tomcat5 is already running (23197)
...
Resource BDII glue 2 test
Result:
PASSED
Verified that the CEMon service is published in the CREAM CE resource BDII in Glue 2.
For sl5:
ldapsearch -h emitestbed29.cnaf.infn.it -x -p 2170 -b "o=glue" "objectclass=Glue2EndPoint"
...
# emitestbed29.cnaf.infn.it_ComputingElement_org.glite.ce.Monitor_2146819513,
emitestbed29.cnaf.infn.it_ComputingElement, resource, glue
dn: GLUE2EndpointID=emitestbed29.cnaf.infn.it_ComputingElement_org.glite.ce.Monitor_2146819513,GLUE2ServiceID=emitestbed29.cnaf.infn.it_ComputingElement,GLUE2GroupID=resource,o=glue
GLUE2EntityValidity: 3600
GLUE2EndpointQualityLevel: production
GLUE2EndpointImplementor: gLite
GLUE2EndpointHealthStateInfo: tomcat6 is running...[ OK ]
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint
GLUE2EntityOtherInfo: InfoProviderVersion=1.2
GLUE2EntityOtherInfo: InfoProviderHost=emitestbed29.cnaf.infn.it
GLUE2EntityOtherInfo: MiddlewareName=EMI
GLUE2EntityOtherInfo: MiddlewareVersion=2.0.0-1
GLUE2EndpointCapability: information.monitoring
GLUE2EndpointHealthState: ok
GLUE2EndpointServiceForeignKey: emitestbed29.cnaf.infn.it_ComputingElement
GLUE2EntityName: Monitor endpoint for Service emitestbed29.cnaf.infn.it_ComputingElement
GLUE2EndpointTechnology: webservice
GLUE2EndpointWSDL: https://emitestbed29.cnaf.infn.it:8443/ce-monitor/services/CEMonitor?wsdl
GLUE2EndpointInterfaceName: org.glite.ce.Monitor
GLUE2EndpointURL: https://emitestbed29.cnaf.infn.it:8443/ce-monitor/services
GLUE2EndpointDowntimeInfo: See the GOC DB for downtimes: https://goc.egi.eu/
GLUE2EndpointImplementationVersion: 1.14.0
GLUE2EndpointSemantics: http://wiki.italiangrid.org/twiki/bin/view/CEMon/FunctionalDescription
GLUE2EndpointIssuerCA: /C=IT/O=INFN/CN=INFN CA
GLUE2EndpointServingState: production
GLUE2EndpointImplementationName: CEMon
GLUE2EndpointInterfaceVersion: 1.0
objectClass: GLUE2Endpoint
objectClass: GLUE2ComputingEndpoint
GLUE2EndpointTrustedCA: IGTF
GLUE2EndpointID: emitestbed29.cnaf.infn.it_ComputingElement_org.glite.ce.Monitor_2146819513
GLUE2EntityCreationTime: 2012-05-02T14:53:46Z
...
...
For sl6:
ldapsearch -h emi-demo13.cnaf.infn.it -x -p 2170 -b "o=glue" "objectclass=Glue2EndPoint"
...
# emi-demo13.cnaf.infn.it_ComputingElement_org.glite.ce.Monitor_1331424988, emi-demo13.cnaf.infn.it_ComputingElement, resource, glue
dn: GLUE2EndpointID=emi-demo13.cnaf.infn.it_ComputingElement_org.glite.ce.Monitor_1331424988,GLUE2ServiceID=emi-demo13.cnaf.infn.it_ComputingElement,GLUE2G
roupID=resource,o=glue
GLUE2EntityValidity: 3600
GLUE2EndpointQualityLevel: production
GLUE2EndpointImplementor: gLite
GLUE2EntityOtherInfo: InfoProviderName=glite-info-glue2-endpoint
GLUE2EntityOtherInfo: InfoProviderVersion=1.2
GLUE2EntityOtherInfo: InfoProviderHost=emi-demo13.cnaf.infn.it
GLUE2EntityOtherInfo: MiddlewareName=EMI
GLUE2EntityOtherInfo: MiddlewareVersion=2.0.0-1
GLUE2EndpointCapability: information.monitoring
GLUE2EndpointServiceForeignKey: emi-demo13.cnaf.infn.it_ComputingElement
GLUE2EntityName: Monitor endpoint for Service emi-demo13.cnaf.infn.it_ComputingElement
GLUE2EndpointTechnology: webservice
GLUE2EndpointWSDL: https://emi-demo13.cnaf.infn.it:8443/ce-monitor/services/CEMonitor?wsdl
GLUE2EndpointInterfaceName: org.glite.ce.Monitor
GLUE2EndpointURL: https://emi-demo13.cnaf.infn.it:8443/ce-monitor/services
GLUE2EndpointDowntimeInfo: See the GOC DB for downtimes: https://goc.egi.eu/
GLUE2EndpointImplementationVersion: 1.14.0
GLUE2EndpointSemantics: http://wiki.italiangrid.org/twiki/bin/view/CEMon/FunctionalDescription
GLUE2EndpointIssuerCA: /C=IT/O=INFN/CN=INFN CA
GLUE2EndpointServingState: production
objectClass: GLUE2Endpoint
objectClass: GLUE2ComputingEndpoint
GLUE2EndpointInterfaceVersion: 1.0
GLUE2EndpointImplementationName: CEMon
GLUE2EndpointTrustedCA: IGTF
GLUE2EndpointID: emi-demo13.cnaf.infn.it_ComputingElement_org.glite.ce.Monitor_1331424988
GLUE2EndpointStartTime: 2012-05-04T05:50:14Z
GLUE2EndpointHealthStateInfo: /etc/init.d/tomcat5 is already running (23197)
GLUE2EndpointHealthState: ok
GLUE2EntityCreationTime: 2012-05-04T08:21:10Z
...
Result:
PASSED
Verified that the getinfo operation works and returns information about the service.
For sl5:
$ glite-ce-monitor-getinfo --cert /tmp/x509up_u500 --key /tmp/x509up_u500 https://emitestbed29.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
Description=[cemonitor service]
Version =[1.0]
HostDN =[CN=emitestbed29.cnaf.infn.it,L=CNAF,OU=Host,O=INFN,C=IT]
Topic [CE_MONITOR]
Dialect [ISM_CLASSAD_GLUE_1.2]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_CLASSAD]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_LDIF_GLUE_1.2]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_LDIF]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Action [SendExpiredNotification::]
Action [DoNotSendNotification::]
Action [SendNotification::]
For sl6:
$ glite-ce-monitor-getinfo --cert /tmp/x509up_u500 --key /tmp/x509up_u500 https://emi-demo13.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
Description=[cemonitor service]
Version =[1.0]
HostDN =[CN=emi-demo13.cnaf.infn.it,L=CNAF,OU=Host,O=INFN,C=IT]
Topic [CE_MONITOR]
Dialect [ISM_CLASSAD_GLUE_1.2]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_CLASSAD]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_LDIF_GLUE_1.2]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_LDIF]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Action [SendExpiredNotification::]
Action [DoNotSendNotification::]
Action [SendNotification::]
Result:
PASSED
Verified that the gettopics operation works and returns the list of installed topics.
For sl5:
$ glite-ce-monitor-gettopics --cert /tmp/x509up_u500 --key /tmp/x509up_u500 https://emitestbed29.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
Topic [CE_MONITOR]
Dialect [ISM_CLASSAD_GLUE_1.2]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_CLASSAD]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_LDIF_GLUE_1.2]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_LDIF]
queryLanguage [RegEx]
queryLanguage [ClassAd]
For sl6:
$ glite-ce-monitor-gettopics --cert /tmp/x509up_u500 --key /tmp/x509up_u500 https://emi-demo13.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
Topic [CE_MONITOR]
Dialect [ISM_CLASSAD_GLUE_1.2]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_CLASSAD]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_LDIF_GLUE_1.2]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Dialect [ISM_LDIF]
queryLanguage [RegEx]
queryLanguage [ClassAd]
Result:
PASSED
Verified that the getevent operation works and return info for the specified topic in the specified dialect
For sl5:
$ glite-ce-monitor-getevent --cert /tmp/x509up_u500 --key /tmp/x509up_u500 --topic CE_MONITOR --dialect ISM_CLASSAD_GLUE_1.2 https://emitestbed29.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
cert=/tmp/x509up_u500 - key=/tmp/x509up_u500
Event[0]:
Message[0]=[[
GlueCEInfoApplicationDir = "/opt/exp_soft";
GlueHostProcessorModel = "XEON";
GlueCEName = "demo";
GlueCEHostingCluster = "emitestbed29.cnaf.infn.it";
GlueCEPolicyPriority = 1;
GlueHostProcessorVendor = "Intel";
GlueHostProcessorClockSpeed = 2800;
GlueCEStateFreeJobSlots = 0;
GlueSubClusterPhysicalCPUs = 2;
GlueCEStateEstimatedResponseTime = 2146660842;
GlueHostNetworkAdapterInboundIP = false;
GlueCEInfoDefaultSE = "lxbra1910.cern.ch";
GlueSubClusterWNTmpDir = "/tmp";
GlueCEStateStatus = "Production";
GlueCEInfoHostName = "emitestbed29.cnaf.infn.it";
GlueCEInfoContactString = "https://emitestbed29.cnaf.infn.it:8443/ce-cream/servi";
GlueCEStateTotalJobs = 0;
GlueCESEBindGroupCEUniqueID = "emitestbed29.cnaf.infn.it:8443/cream-pbs-demo";
GlueInformationServiceURL = {
"ldap://emitestbed29.cnaf.infn.it:2170/mds-vo-name=r",
"ldap://emitestbed29.cnaf.infn.it:2170/mds-vo-name=r",
"ldap://emitestbed29.cnaf.infn.it:2170/mds-vo-name=r"
};
GlueCEAccessControlBaseRule = {
"VO:dteam",
"VOMS:/testers.eu-emi.eu/Role=pilot",
"VO:testers.eu-emi.eu"
};
GlueHostOperatingSystemVersion = "Carbon";
GlueCEStateWaitingJobs = 444444;
GlueClusterService = {
"emitestbed29.cnaf.infn.it:8443/cream-pbs-demo"
};
GlueCEPolicyMaxRunningJobs = 999999999;
GlueCEInfoGatekeeperPort = 8443;
GlueCEPolicyPreemption = 0;
GlueCEPolicyMaxTotalJobs = 999999999;
GlueCEInfoLRMSVersion = "2.5.7";
GlueClusterUniqueID = "emitestbed29.cnaf.infn.it";
GlueCEInfoTotalCPUs = 2;
GlueClusterName = "emitestbed29.cnaf.infn.it";
GlueCESEBindGroupSEUniqueID = {
"lxbra1910.cern.ch",
"cvitbdpm1.cern.ch"
};
GlueHostBenchmarkSI00 = 1286;
GlueChunkKey = "GlueClusterUniqueID=emitestbed29.cnaf.infn.it";
GlueCEStateFreeCPUs = 2;
GlueCEInfoLRMSType = "pbs";
GlueCEPolicyMaxSlotsPerJob = 999999999;
GlueCEStateWorstResponseTime = 2146660842;
GlueHostNetworkAdapterOutboundIP = true;
GlueCEPolicyMaxWallClockTime = 4320;
GlueSubClusterName = "emitestbed29.cnaf.infn.it";
GlueCEImplementationName = "CREAM";
GlueHostMainMemoryVirtualSize = 4096;
GlueHostArchitectureSMPSize = 2;
GlueHostApplicationSoftwareRunTimeEnvironment = {
"CNAF",
"GLITE-3_0_0",
"GLITE-3_1_0",
"LCG-2",
"LCG-2_1_0",
"LCG-2_1_1",
"LCG-2_2_0",
"LCG-2_3_0",
"LCG-2_3_1",
"LCG-2_4_0",
"LCG-2_5_0",
"LCG-2_6_0",
"LCG-2_7_0",
"MPI-START",
"MPI-START-1.3.0",
"MPICH2",
"MPI_NO_SHARED_HOME",
"OPENMPI",
"OPENMPI-1.2.7",
"R-GMA",
"SF00MeanPerCPU_790",
"SI00MeanPerCPU_870"
};
GlueCEPolicyMaxWaitingJobs = 999999999;
GlueCECapability = "CPUScalingReferenceSI00=10";
GlueHostArchitecturePlatformType = "x86_64";
GlueCEImplementationVersion = "1.14.0";
GlueHostMainMemoryRAMSize = 2048;
GlueSubClusterLogicalCPUs = 2;
GlueForeignKey = {
"GlueClusterUniqueID=emitestbed29.cnaf.infn.it",
"GlueSiteUniqueID=INFN-CNAF_EMI",
"GlueCEUniqueID=emitestbed29.cnaf.infn.it:8443/cream-pbs-demo"
};
GlueCEInfoJobManager = "pbs";
GlueHostBenchmarkSF00 = 1496;
GlueHostProcessorOtherDescription = "Cores=1";
GlueHostOperatingSystemRelease = 6.2;
GlueCEPolicyMaxObtainableCPUTime = 2880;
GlueCEUniqueID = "emitestbed29.cnaf.infn.it:8443/cream-pbs-demo";
GlueCEPolicyAssignedJobSlots = 2;
GlueCEInfoDataDir = "unset";
GlueCEPolicyMaxCPUTime = 2880;
GlueHostOperatingSystemName = "ScientificCERNSLC";
GlueCEStateRunningJobs = 0;
GlueSubClusterUniqueID = "emitestbed29.cnaf.infn.it";
GlueSubClusterTmpDir = "/tmp";
GlueCEPolicyMaxObtainableWallClockTime = 4320;
CloseStorageElements = {
[
GlueCESEBindSEUniqueID = "cvitbdpm1.cern.ch";
GlueCESEBindCEAccesspoint = "n.a";
GlueCESEBindMountInfo = "n.a";
GlueCESEBindWeight = 0;
GlueCESEBindCEUniqueID = "emitestbed29.cnaf.infn.it:8443/cream-pbs-demo";
name = GlueCESEBindSEUniqueID;
mount = GlueCESEBindCEAccesspoint
],
[
GlueCESEBindSEUniqueID = "lxbra1910.cern.ch";
GlueCESEBindCEAccesspoint = "n.a";
GlueCESEBindMountInfo = "n.a";
GlueCESEBindWeight = 0;
GlueCESEBindCEUniqueID = "emitestbed29.cnaf.infn.it:8443/cream-pbs-demo";
name = GlueCESEBindSEUniqueID;
mount = GlueCESEBindCEAccesspoint
]
};
]]
For sl6:
$ glite-ce-monitor-getevent --cert /tmp/x509up_u500 --key /tmp/x509up_u500 --topic CE_MONITOR --dialect ISM_CLASSAD_GLUE_1.2 https://emi-demo13.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
cert=/tmp/x509up_u500 - key=/tmp/x509up_u500
Event[0]:
Message[0]=[[
GlueCEInfoApplicationDir = "/opt/exp_soft";
GlueHostProcessorModel = "XEON";
GlueCEName = "demo";
GlueCEHostingCluster = "emi-demo13.cnaf.infn.it";
GlueCEPolicyPriority = 1;
GlueHostProcessorVendor = "Intel";
GlueHostProcessorClockSpeed = 2800;
GlueCEStateFreeJobSlots = 0;
GlueSubClusterPhysicalCPUs = 2;
GlueCEStateEstimatedResponseTime = 2146660842;
GlueHostNetworkAdapterInboundIP = false;
GlueCEInfoDefaultSE = "lxbra1910.cern.ch";
GlueSubClusterWNTmpDir = "/tmp";
GlueCEStateStatus = "Production";
GlueCEInfoHostName = "emi-demo13.cnaf.infn.it";
GlueCEInfoContactString = "https://emi-demo13.cnaf.infn.it:8443/ce-cream/service";
GlueCEStateTotalJobs = 0;
GlueCESEBindGroupCEUniqueID = "emi-demo13.cnaf.infn.it:8443/cream-pbs-demo";
GlueInformationServiceURL = {
"ldap://emi-demo13.cnaf.infn.it:2170/mds-vo-name=res",
"ldap://emi-demo13.cnaf.infn.it:2170/mds-vo-name=res",
"ldap://emi-demo13.cnaf.infn.it:2170/mds-vo-name=res"
};
GlueCEAccessControlBaseRule = {
"VO:dteam",
"VOMS:/testers.eu-emi.eu/Role=pilot",
"VO:testers.eu-emi.eu"
};
GlueHostOperatingSystemVersion = "Beryllium";
GlueCEStateWaitingJobs = 444444;
GlueClusterService = {
"emi-demo13.cnaf.infn.it:8443/cream-pbs-demo"
};
GlueCEPolicyMaxRunningJobs = 999999999;
GlueCEInfoGatekeeperPort = 8443;
GlueCEPolicyPreemption = 0;
GlueCEPolicyMaxTotalJobs = 999999999;
GlueCEInfoLRMSVersion = "2.5.7";
GlueClusterUniqueID = "emi-demo13.cnaf.infn.it";
GlueCEInfoTotalCPUs = 2;
GlueClusterName = "emi-demo13.cnaf.infn.it";
GlueCESEBindGroupSEUniqueID = {
"lxbra1910.cern.ch",
"cvitbdpm1.cern.ch"
};
GlueHostBenchmarkSI00 = 1286;
GlueChunkKey = "GlueClusterUniqueID=emi-demo13.cnaf.infn.it";
GlueCEInfoLRMSType = "pbs";
GlueCEStateFreeCPUs = 2;
GlueCEPolicyMaxSlotsPerJob = 999999999;
GlueCEStateWorstResponseTime = 2146660842;
GlueHostNetworkAdapterOutboundIP = true;
GlueCEPolicyMaxWallClockTime = 4320;
GlueSubClusterName = "emi-demo13.cnaf.infn.it";
GlueCEImplementationName = "CREAM";
GlueHostMainMemoryVirtualSize = 4096;
GlueHostArchitectureSMPSize = 2;
GlueHostApplicationSoftwareRunTimeEnvironment = {
"CNAF",
"GLITE-3_0_0",
"GLITE-3_1_0",
"LCG-2",
"LCG-2_1_0",
"LCG-2_1_1",
"LCG-2_2_0",
"LCG-2_3_0",
"LCG-2_3_1",
"LCG-2_4_0",
"LCG-2_5_0",
"LCG-2_6_0",
"LCG-2_7_0",
"MPI-START",
"MPI-START-1.3.0",
"MPICH2",
"MPI_NO_SHARED_HOME",
"OPENMPI",
"OPENMPI-1.2.7",
"R-GMA",
"SF00MeanPerCPU_790",
"SI00MeanPerCPU_870"
};
GlueCEPolicyMaxWaitingJobs = 999999999;
GlueCECapability = "CPUScalingReferenceSI00=10";
GlueHostArchitecturePlatformType = "x86_64";
GlueCEImplementationVersion = "1.14.0";
GlueHostMainMemoryRAMSize = 2048;
GlueSubClusterLogicalCPUs = 2;
GlueForeignKey = {
"GlueClusterUniqueID=emi-demo13.cnaf.infn.it",
"GlueSiteUniqueID=INFN-CNAF_EMI",
"GlueCEUniqueID=emi-demo13.cnaf.infn.it:8443/cream-pbs-demo"
};
...
...
Subscription with authentication test
Result:
PASSED
For sl5:
Created a subscription towards an authenticated client:
$ glite-ce-monitor-subscribe --key /tmp/x509up_u500 --cert /tmp/x509up_u500 --topic CE_MONITOR --dialects ISM_CLASSAD_GLUE_1.2 --consumer-url https://cream-50.pd.infn.it:9988 https://emitestbed29.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
SubscriptionID=[uuid-1335971444743]
Started a consumer on that client and verified that the messages arrive:
$ glite-ce-monitor-consumer --cert /tmp/x509up_u500 --key /tmp/x509up_u500 9988
Socket connection successful on port 9988 master socket 3
Accepting connection ...
tmp=
dest=::ffff:131.154.100.61
Wed May 2 17:11:07 2012
- 1: accepted connection from IP=131.154.100.61 (emitestbed29.cnaf.infn.it)
Event Producer=CE Sensor
Event ID =-1
Topic [CE_MONITOR]
Dialect [ISM_CLASSAD_GLUE_1.2]
>>> Event #0 - Dumping messages:
Event #0 - Message #0
[
GlueCEInfoApplicationDir = "/opt/exp_soft";
GlueHostProcessorModel = "XEON";
GlueCEName = "demo";
GlueCEHostingCluster = "emitestbed29.cnaf.infn.it";
GlueCEPolicyPriority = 1;
GlueHostProcessorVendor = "Intel";
GlueHostProcessorClockSpeed = 2800;
GlueCEStateFreeJobSlots = 0;
...
...
For sl6:
Created a subscription towards an authenticated client:
$ glite-ce-monitor-subscribe --key /tmp/x509up_u500 --cert /tmp/x509up_u500 --topic CE_MONITOR --dialects ISM_CLASSAD_GLUE_1.2 --consumer-url https://cream-50.pd.infn.it:8988 https://emi-demo13.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
SubscriptionID=[uuid-1336120522529]
Started a consumer on that client and verified that the messages arrive:
$ glite-ce-monitor-consumer --cert /tmp/x509up_u500 --key /tmp/x509up_u500 8988
Socket connection successful on port 8988 master socket 3
Accepting connection ...
tmp=
dest=::ffff:131.154.101.194
Fri May 4 10:35:23 2012
- 1: accepted connection from IP=131.154.101.194 (emi-demo13.cnaf.infn.it)
Event Producer=CE Sensor
Event ID =-1
Topic [CE_MONITOR]
Dialect [ISM_CLASSAD_GLUE_1.2]
>>> Event #0 - Dumping messages:
Event #0 - Message #0
[
GlueCEInfoApplicationDir = "/opt/exp_soft";
GlueHostProcessorModel = "XEON";
GlueCEName = "demo";
GlueCEHostingCluster = "emi-demo13.cnaf.infn.it";
GlueCEPolicyPriority = 1;
GlueHostProcessorVendor = "Intel";
GlueHostProcessorClockSpeed = 2800;
GlueCEStateFreeJobSlots = 0;
GlueSubClusterPhysicalCPUs = 2;
GlueCEStateEstimatedResponseTime = 2146660842;
GlueHostNetworkAdapterInboundIP = false;
GlueCEInfoDefaultSE = "lxbra1910.cern.ch";
GlueSubClusterWNTmpDir = "/tmp";
GlueCEStateStatus = "Production";
GlueCEInfoHostName = "emi-demo13.cnaf.infn.it";
GlueCEInfoContactString = "https://emi-demo13.cnaf.infn.it:8443/ce-cream/service";
GlueCEStateTotalJobs = 0;
GlueCESEBindGroupCEUniqueID = "emi-demo13.cnaf.infn.it:8443/cream-pbs-demo";
GlueInformationServiceURL = {
"ldap://emi-demo13.cnaf.infn.it:2170/mds-vo-name=res",
"ldap://emi-demo13.cnaf.infn.it:2170/mds-vo-name=res",
"ldap://emi-demo13.cnaf.infn.it:2170/mds-vo-name=res"
};
GlueCEAccessControlBaseRule = {
"VO:dteam",
"VOMS:/testers.eu-emi.eu/Role=pilot",
"VO:testers.eu-emi.eu"
};
GlueHostOperatingSystemVersion = "Beryllium";
GlueCEStateWaitingJobs = 444444;
GlueClusterService = {
"emi-demo13.cnaf.infn.it:8443/cream-pbs-demo"
};
GlueCEPolicyMaxRunningJobs = 999999999;
GlueCEInfoGatekeeperPort = 8443;
GlueCEPolicyPreemption = 0;
GlueCEPolicyMaxTotalJobs = 999999999;
GlueCEInfoLRMSVersion = "2.5.7";
GlueClusterUniqueID = "emi-demo13.cnaf.infn.it";
GlueCEInfoTotalCPUs = 2;
GlueClusterName = "emi-demo13.cnaf.infn.it";
GlueCESEBindGroupSEUniqueID
..
...
Subscription without authentication test
Result:
PASSED
For sl5:
Created a subscription towards a non secure client:
$ glite-ce-monitor-subscribe --key /tmp/x509up_u500 --cert /tmp/x509up_u500 --topic CE_MONITOR --dialects ISM_CLASSAD_GLUE_1.2 --consumer-url http://cream-50.pd.infn.it:9999 https://emitestbed29.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
SubscriptionID=[uuid-1335971870144]
Started this non authenticated consumer and verifies that it receives messages:
$ glite-ce-monitor-consumer 9999
Socket connection successful on port 9999 master socket 3
Accepting connection ...
Wed May 2 17:17:52 2012
- 1: accepted connection from IP=131.154.100.61 (emitestbed29.cnaf.infn.it)
Event Producer=CE Sensor
Event ID =-1
Topic [CE_MONITOR]
Dialect [ISM_CLASSAD_GLUE_1.2]
>>> Event #0 - Dumping messages:
Event #0 - Message #0
[
GlueCEInfoApplicationDir = "/opt/exp_soft";
GlueHostProcessorModel = "XEON";
GlueCEName = "demo";
GlueCEHostingCluster = "emitestbed29.cnaf.infn.it";
GlueCEPolicyPriority = 1;
GlueHostProcessorVendor = "Intel";
GlueHostProcessorClockSpeed = 2800;
GlueCEStateFreeJobSlots = 0;
GlueSubClusterPhysicalCPUs = 2;
...
For sl6:
Created a subscription towards a non secure client:
$ glite-ce-monitor-subscribe --key /tmp/x509up_u500 --cert /tmp/x509up_u500 --topic CE_MONITOR --dialects ISM_CLASSAD_GLUE_1.2 --consumer-url http://cream-50.pd.infn.it:8899 https://emi-demo13.cnaf.infn.it:8443/ce-monitor/services/CEMonitor
SubscriptionID=[uuid-1336120959953]
Started this non authenticated consumer and verifies that it receives messages:
$ glite-ce-monitor-consumer 8899
Socket connection successful on port 8899 master socket 3
Accepting connection ...
Fri May 4 10:42:39 2012
- 1: accepted connection from IP=131.154.101.194 (emi-demo13.cnaf.infn.it)
Event Producer=CE Sensor
Event ID =-1
Topic [CE_MONITOR]
Dialect [ISM_CLASSAD_GLUE_1.2]
>>> Event #0 - Dumping messages:
Event #0 - Message #0
[
GlueCEInfoApplicationDir = "/opt/exp_soft";
GlueHostProcessorModel = "XEON";
GlueCEName = "demo";
GlueCEHostingCluster = "emi-demo13.cnaf.infn.it";
GlueCEPolicyPriority = 1;
GlueHostProcessorVendor = "Intel";
GlueHostProcessorClockSpeed = 2800;
GlueCEStateFreeJobSlots = 0;
GlueSubClusterPhysicalCPUs = 2;
GlueCEStateEstimatedResponseTime = 214666084
...
Unsubscription test
Result:
PASSED
Cancelled a previously created subscription and verified that the consumer doesn't receive anymore messages:
For sl5:
$ glite-ce-monitor-unsubscribe --key /tmp/x509up_u500 --cert /tmp/x509up_u500 --id uuid-1335971444743 https://emitestbed29.cnaf.infn.it:8443/ce-monitor/services
$
For sl6:
$ glite-ce-monitor-unsubscribe --key /tmp/x509up_u500 --cert /tmp/x509up_u500 --id uuid-1336120522529 https://emi-demo13.cnaf.infn.it:8443/ce-monitor/services/CEMonitor/services
$
Regression tests
Result:
PASSED
Verified that there aren't spyrious characters in the log4j conf file:
# cat /etc/glite-ce-monitor/log4j.properties
log4j.rootLogger=info, fileout
log4j.logger.httpclient.wire.content=off
log4j.logger.org.glite.voms.PKIStore=off
log4j.appender.fileout=org.apache.log4j.RollingFileAppender
log4j.appender.fileout.File=/var/log/cemonitor/glite-ce-monitor.log
log4j.appender.fileout.MaxFileSize=1000KB
log4j.appender.fileout.MaxBackupIndex=20
log4j.appender.fileout.layout=org.apache.log4j.PatternLayout
log4j.appender.fileout.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} %c - %m%n
Result:
PASSED
See functionality test above
Result:
PASSED
# grep -i backend /etc/glite-ce-monitor/cemonitor-config.xml
backendLocation="/var/cemonitor"
Result:
PASSED
See Glue 2 test above.
Verified in particular that the attributes
MiddlewareName
,
MiddlewareVersion
,
ImplementationName
,
ImplementationVersion
are properly published
Result:
PASSED
See functionality tests above
Verified that in the:
accepted connection from IP=
the IP name is correct
Integration tests
The system functionality tests have been performed also with CEMon configured to use ARGUS
--
MassimoSgaravatto - 2012-05-02