Tags:
, view all tags

CEMon Testplan version 1.0

Unit tests

Not available

Deployment tests

The yum repositories to be used (apart from the OS ones) are:

Since CEMon is deployed as part of the CREAM-CE, the command to be used for yum installation is:

yum install emi-cream-ce

and for yaim-configuration:

/opt/glite/yaim/bin/yaim -c -s <site-info.def> -n creamCE

Yaim variable USE_CEMON must be set to true

System tests

Basic functionality tests

Check if the CEMon service is published in the CREAM CE resource BDII in Glue 1.3

ldapsearch -h <host> -x -p 2170 -b "o=grid" "objectclass=GlueService"

This should (also) return an objectclass for CEMon


Check if the CEMon service is published in the CREAM CE resource BDII in Glue 2

ldapsearch -h <host> -x -p 2170 -b "o=glue" "objectclass=Glue2Endpoint"

This should (also) return an objectclass for CEMon


Check if the getinfo operation works and returns information about the service:

glite-ce-monitor-getinfo --cert <cert> --key <key> https://<host>:8443/ce-monitor/services/CEMonitor


Check if the gettopics operation works and returns the list of installed topic

glite-ce-monitor-gettopics --cert <cert> --key <key> https://<host>:8443/ce-monitor/services/CEMonitor


Check if the getevent operation works and return info for the specified topic in the specified dialect

glite-ce-monitor-getevent --cert <cert> --key <key> --topic <topic> --dialect <dialect> https://<host>:8443/ce-monitor/services/CEMonitor


Check if subscriptions towards a authenticated consumer work:

Start an authenticated consumer:

glite-ce-monitor-consumer --cert <cert> --key <key>  <port>

Then create a subscription for that consumer and verifies that it receives events:

glite-ce-monitor-subscribe --key <key> --cert <cert> --topic <topic> --dialects <dialect> --consumer-url https://<host>:<port> https://<host>:8443/ce-monitor/services/CEMonitor


Check if subscriptions towards a not authenticated consumer work:

Start a not authenticated consumer:

glite-ce-monitor-consume  <port>

Then create a subscription for that consumer and verifies that it receives events:

glite-ce-monitor-subscribe --key <key> --cert <cert> --topic <topic> --dialects <dialect> --consumer-url http://<host>:<port> https://<host>:8443/ce-monitor/services/CEMonitor


Check if the unsubscribe operation works.

Unsubscribe a previously created subscription and verifies that the relevant consumer doesn't receive anymore events:

glite-ce-monitor-unsubscribe --cert <cert> --key <key> --id <subsc-id> https://<host>:8443/ce-monitor/services/CEMonitor

Regression tests

Not available

Performance and scalability tests

Not available

Standard compliance and conformance tests

Not available

Inter-component tests

Not available

-- MassimoSgaravatto - 2011-04-19

Edit | Attach | PDF | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r2 - 2012-01-30 - MassimoSgaravatto
 
  • Edit
  • Attach
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