Difference: Cream1133TestingReport (15 vs. 16)

Revision 162011-11-14 - AlessioGianelle

Line: 1 to 1
 
META TOPICPARENT name="CreamTesting"

Testing Report for CREAM 1.13-3 (Savannah task #24022)

Line: 216 to 215
 Glue validator output is here
Added:
>
>

Nagios probes test

Clean installation

Environment

Clean SL5 installation plus an EMI-UI according to EMI guidelines.

[root@devel15 ~]# cat /etc/emi-version 
1.5.0-1

Repositories

Install

yum install emi-cream-nagios

[root@devel15 yum.repos.d]# yum install emi-cream-nagios
Loaded plugins: downloadonly, kernel-module, priorities, protect-packages, protectbase, security, verify, versionlock
Repository EGI-trustanchors is listed more than once in the configuration
4169 packages excluded due to repository priority protections
23 packages excluded due to repository protections
Reading version lock configuration
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package emi-cream-nagios.noarch 0:1.0.0-5 set to be updated
--> Processing Dependency: nagios-submit-conf >= 0.2 for package: emi-cream-nagios
--> Processing Dependency: python-suds >= 0.3.5 for package: emi-cream-nagios
--> Processing Dependency: python-GridMon >= 1.1.10 for package: emi-cream-nagios
--> Processing Dependency: python-ldap for package: emi-cream-nagios
--> Running transaction check
---> Package nagios-submit-conf.noarch 0:0.2-2.el5 set to be updated
---> Package python-GridMon.noarch 0:1.1.12-1.el5 set to be updated
---> Package python-ldap.x86_64 0:2.2.0-2.1 set to be updated
---> Package python-suds.noarch 0:0.3.7-1.el5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

=============================================================================================================================================================
 Package                                   Arch                          Version                             Repository                                 Size
=============================================================================================================================================================
Installing:
 emi-cream-nagios                          noarch                        1.0.0-5                             EMI-1-testing-base                        1.1 M
Installing for dependencies:
 nagios-submit-conf                        noarch                        0.2-2.el5                           egi-sam                                   3.4 k
 python-GridMon                            noarch                        1.1.12-1.el5                        egi-sam                                   153 k
 python-ldap                               x86_64                        2.2.0-2.1                           sl-base                                   123 k
 python-suds                               noarch                        0.3.7-1.el5                         egi-sam                                   220 k

Transaction Summary
=============================================================================================================================================================
Install       5 Package(s)
Upgrade       0 Package(s)

Total download size: 1.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/5): nagios-submit-conf-0.2-2.el5.noarch.rpm                                                                                        | 3.4 kB     00:00     
(2/5): python-ldap-2.2.0-2.1.x86_64.rpm                                                                                               | 123 kB     00:00     
(3/5): python-GridMon-1.1.12-1.el5.noarch.rpm                                                                                         | 153 kB     00:00     
(4/5): python-suds-0.3.7-1.el5.noarch.rpm                                                                                             | 220 kB     00:00     
(5/5): emi-cream-nagios-1.0.0-5.noarch.rpm                                                                                            | 1.1 MB     00:01     
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                         43 kB/s | 1.5 MB     00:36     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : python-ldap                                                                                                                           1/5 
  Installing     : nagios-submit-conf                                                                                                                    2/5 
  Installing     : python-suds                                                                                                                           3/5 
  Installing     : python-GridMon                                                                                                                        4/5 
  Installing     : emi-cream-nagios                                                                                                                      5/5 

Installed:
  emi-cream-nagios.noarch 0:1.0.0-5                                                                                                                          

Dependency Installed:
  nagios-submit-conf.noarch 0:0.2-2.el5     python-GridMon.noarch 0:1.1.12-1.el5     python-ldap.x86_64 0:2.2.0-2.1     python-suds.noarch 0:0.3.7-1.el5    

Complete!

Upgrade from production

N/A: This is the initial release. No previous version to upgrade from.

Unit Tests

N/A: The nagios probes are interpretted python scripts. Unit tests do not apply.

Regression Tests

N/A: This is the initial release. No associated bugs exist.

Functional Tests

Preparation

Log as a user and create a valid voms proxy

[root@devel15 ~]# su - gianelle
[gianelle@devel15 ~]$ voms-proxy-init -voms dteam
Your identity: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle
Creating temporary proxy ........................................... Done
Contacting  voms.hellasgrid.gr:15004 [/C=GR/O=HellasGrid/OU=hellasgrid.gr/CN=voms.hellasgrid.gr] "dteam" Done
Creating proxy ......................... Done

Your proxy is valid until Mon Nov 14 23:48:53 2011

CreamProbe (Worker node's metrics)

  • State + Monit + Cancel

[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCE-probe --vo dteam -x /tmp/x509up_u502 -H cream-19.pd.infn.it -m emi.cream.CREAMCE-JobState --wms cream-45.pd.infn.it --no-mb
OK: [Submitted]
OK: [Submitted]

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


====================== glite-wms-job-submit Success ======================

The job has been successfully submitted to the WMProxy
Your job identifier is:

https://cream-45.pd.infn.it:9000/K-OoDSFdwo3mBi50dNs5pg

The job identifier has been saved in the following file:
/var/lib/gridprobes/dteam/emi.cream/CREAMCE/cream-19.pd.infn.it/jobID

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


[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCE-probe --vo dteam -x /tmp/x509up_u502 -H cream-19.pd.infn.it -m emi.cream.CREAMCE-JobMonit   --pass-check-dest active
metric results >>> <cream-19.pd.infn.it,emi.cream.CREAMCE-JobState-dteam>
OK: [Ready] https://cream-45.pd.infn.it:9000/K-OoDSFdwo3mBi50dNs5pg
OK: [Ready] https://cream-45.pd.infn.it:9000/K-OoDSFdwo3mBi50dNs5pg
Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
glite-wms-job-status https://cream-45.pd.infn.it:9000/K-OoDSFdwo3mBi50dNs5pg


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

Status info for the Job : https://cream-45.pd.infn.it:9000/K-OoDSFdwo3mBi50dNs5pg
Current Status:     Ready 
Destination:        cream-19.pd.infn.it:8443/cream-lsf-creamcert1
Submitted:          Mon Nov 14 11:49:15 2011 CET
==========================================================================
OK: Jobs processed - 1
OK: Jobs processed - 1
[Ready] : 1|jobs_processed=1;; DONE=0;; RUNNING=0;; SCHEDULED=0;; SUBMITTED=0;; READY=1;; WAITING=0;; WAITING-CANCELLED=0;; WAITING-CANCEL=0;; ABORTED=0;; CANCELLED=0;; CLEARED=0;; MISSED=0;; UNDETERMINED=0;; unknown=0;1;2
[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCE-probe --vo dteam -x /tmp/x509up_u502 -H cream-19.pd.infn.it -m emi.cream.CREAMCE-JobCancel
OK: job cancelled
OK: job cancelled
Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
Job cancellation request sent:
glite-wms-job-cancel --noint  -i /var/lib/gridprobes/dteam/emi.cream/CREAMCE/cream-19.pd.infn.it/jobID
Job bookkeeping files deleted.
[gianelle@devel15 ~]$ glite-wms-job-status https://cream-45.pd.infn.it:9000/K-OoDSFdwo3mBi50dNs5pg


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

Status info for the Job : https://cream-45.pd.infn.it:9000/K-OoDSFdwo3mBi50dNs5pg
Current Status:     Cancelled 
Destination:        cream-19.pd.infn.it:8443/cream-lsf-creamcert1
Submitted:          Mon Nov 14 11:49:15 2011 CET
==========================================================================

Summary: PASSED

  • State + Monit without notification

[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCE-probe --vo dteam -x /tmp/x509up_u502 -H cream-19.pd.infn.it -m emi.cream.CREAMCE-JobState --wms cream-45.pd.infn.it --no-mb
OK: [Submitted]
OK: [Submitted]

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


====================== glite-wms-job-submit Success ======================

The job has been successfully submitted to the WMProxy
Your job identifier is:

https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg

The job identifier has been saved in the following file:
/var/lib/gridprobes/dteam/emi.cream/CREAMCE/cream-19.pd.infn.it/jobID

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


[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCE-probe --vo dteam -x /tmp/x509up_u502 -H cream-19.pd.infn.it -m emi.cream.CREAMCE-JobMonit   --pass-check-dest active
metric results >>> <cream-19.pd.infn.it,emi.cream.CREAMCE-JobState-dteam>
OK: [Scheduled] https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg
OK: [Scheduled] https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg
Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
glite-wms-job-status https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg


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

Status info for the Job : https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg
Current Status:     Scheduled 
Status Reason:      unavailable
Destination:        cream-19.pd.infn.it:8443/cream-lsf-creamcert1
Submitted:          Mon Nov 14 11:56:54 2011 CET
==========================================================================
OK: Jobs processed - 1
OK: Jobs processed - 1
[Scheduled] : 1|jobs_processed=1;; DONE=0;; RUNNING=0;; SCHEDULED=1;; SUBMITTED=0;; READY=0;; WAITING=0;; WAITING-CANCELLED=0;; WAITING-CANCEL=0;; ABORTED=0;; CANCELLED=0;; CLEARED=0;; MISSED=0;; UNDETERMINED=0;; unknown=0;1;2
[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCE-probe --vo dteam -x /tmp/x509up_u502 -H cream-19.pd.infn.it -m emi.cream.CREAMCE-JobState --wms cream-45.pd.infn.it --no-mb
OK: Active job - Scheduled [2011-11-14T10:56:56Z]
OK: Active job - Scheduled [2011-11-14T10:56:56Z]
Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg
[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCE-probe --vo dteam -x /tmp/x509up_u502 -H cream-19.pd.infn.it -m emi.cream.CREAMCE-JobMonit   --pass-check-dest active
metric results >>> <cream-19.pd.infn.it,emi.cream.CREAMCE-JobSubmit-dteam>
OK: success.
OK: success.

Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
glite-wms-job-status https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg


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

Status info for the Job : https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg
Current Status:     Done (Success)
Exit code:          0
Status Reason:      Job Terminated Successfully
Destination:        cream-19.pd.infn.it:8443/cream-lsf-creamcert1
Submitted:          Mon Nov 14 11:56:54 2011 CET
==========================================================================
Getting job output: OK.

metric results >>> <cream-19.pd.infn.it,emi.cream.CREAMCE-JobState-dteam>
OK: success.
OK: success.

Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
glite-wms-job-status https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg


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

Status info for the Job : https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg
Current Status:     Done (Success)
Exit code:          0
Status Reason:      Job Terminated Successfully
Destination:        cream-19.pd.infn.it:8443/cream-lsf-creamcert1
Submitted:          Mon Nov 14 11:56:54 2011 CET
==========================================================================
Getting job output: OK.

OK: Jobs processed - 1
OK: Jobs processed - 1
Done : 1|jobs_processed=1;; DONE=1;; RUNNING=0;; SCHEDULED=0;; SUBMITTED=0;; READY=0;; WAITING=0;; WAITING-CANCELLED=0;; WAITING-CANCEL=0;; ABORTED=0;; CANCELLED=0;; CLEARED=0;; MISSED=0;; UNDETERMINED=0;; unknown=0;1;2
[gianelle@devel15 ~]$ glite-wms-job-status https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg


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

Status info for the Job : https://cream-45.pd.infn.it:9000/g4lwum36B0ICfoMiF8SIbg
Current Status:     Cleared 
Status Reason:      user retrieved output sandbox
Destination:        cream-19.pd.infn.it:8443/cream-lsf-creamcert1
Submitted:          Mon Nov 14 11:56:54 2011 CET
==========================================================================

[gianelle@devel15 ~]$ ls -l /var/lib/gridprobes/dteam/emi.cream/CREAMCE/cream-19.pd.infn.it/jobOutput/gianelle_g4lwum36B0ICfoMiF8SIbg/
total 16
-rw-r--r-- 1 gianelle emitestbed 3627 Nov 14 11:58 gridjob.out
-rw-r--r-- 1 gianelle emitestbed 8955 Nov 14 11:58 wnlogs.tgz

[gianelle@devel15 ~]$ cat /var/lib/gridprobes/dteam/emi.cream/CREAMCE/cream-19.pd.infn.it/jobOutput/gianelle_g4lwum36B0ICfoMiF8SIbg/gridjob.out
Launched with parameters: -v dteam -t 600 -w 1 -m
=== [Mon Nov 14 11:57:09 CET 2011] ===
=== Running on ===
=== Site: INFN-EMITESTBED
=== CE: cream-19.pd.infn.it:8443/cream-lsf-creamcert1
=== WN: prod-wn-001.pn.pd.infn.it
=== WN arch: x86_64.
=== [Mon Nov 14 11:57:09 CET 2011] ===
=== Running on ===
=== Site: INFN-EMITESTBED
=== CE: cream-19.pd.infn.it:8443/cream-lsf-creamcert1
=== WN: prod-wn-001.pn.pd.infn.it
=== WN arch: x86_64
Check Python version:
/usr/bin/python
Python 2.4.3
Can we import Python LDAP ... 
YES.
Setting Nagios configuration.

Nagios Core 3.2.1
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-09-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config directory '/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/etc/common.d'...
Processing object config file '/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/etc/common.d/host.cfg'...
Processing object config file '/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/etc/common.d/contacts.cfg'...
Processing object config file '/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/etc/common.d/timeperiods.cfg'...
Processing object config file '/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/etc/common.d/commands.cfg'...
Processing object config directory '/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/etc/wn.d'...
Processing object config directory '/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/etc/wn.d/emi.wn'...
Processing object config file '/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/etc/wn.d/emi.wn/services.cfg'...
Processing object config file '/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/etc/wn.d/emi.wn/commands.cfg'...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
   Checked 3 services.
Checking hosts...
   Checked 1 hosts.
Checking host groups...
   Checked 0 host groups.
Checking service groups...
   Checked 0 service groups.
Checking contacts...
   Checked 1 contacts.
Checking contact groups...
   Checked 1 contact groups.
Checking service escalations...
   Checked 0 service escalations.
Checking service dependencies...
   Checked 0 service dependencies.
Checking host escalations...
   Checked 0 host escalations.
Checking host dependencies...
   Checked 0 host dependencies.
Checking commands...
   Checked 4 commands.
Checking time periods...
   Checked 1 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check
Launching Nagios: Mon Nov 14 11:57:09 CET 2011
Launch Nagios as background process.

Nagios Core 3.2.1
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-09-2010
License: GPL

Website: http://www.nagios.org
Nagios 3.2.1 starting... (PID=22714)
Local time is Mon Nov 14 11:57:09 CET 2011
Nagios pid: 22714
>>>>>>>>>>>>>>>>>> Mon Nov 14 11:57:18 CET 2011
T |S |c |U |O |W |C |A |P |
3 |3 |3 |0 |3 |0 |0 |3 |0 |
Services Total 3 Checked: 3
All services were checked. Killing Nagios.
Nagios was successfully killed.
tar: Removing leading `/' from member names
Mon Nov 14 11:57:20 CET 2011
================== Mon Nov 14 11:57:20 CET 2011

[gianelle@devel15 ~]$ tar ztvf /var/lib/gridprobes/dteam/emi.cream/CREAMCE/cream-19.pd.infn.it/jobOutput/gianelle_g4lwum36B0ICfoMiF8SIbg/wnlogs.tgz 
drwxr-xr-x dteam017/dteam    0 2011-11-14 11:57:18 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/
-rw-r--r-- dteam017/dteam  920 2011-11-14 11:57:18 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/nagios.log
drwxr-xr-x dteam017/dteam    0 2011-11-14 11:56:53 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/rw/
-rw-r--r-- dteam017/dteam    0 2011-11-11 17:28:52 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/rw/.emptydir
drwxr-xr-x dteam017/dteam    0 2011-11-14 11:56:53 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/archives/
-rw-r--r-- dteam017/dteam    0 2011-11-11 17:28:52 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/archives/.emptydir
-rw-r--r-- dteam017/dteam 5804 2011-11-14 11:57:09 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/objects.cache
drwxr-xr-x dteam017/dteam    0 2011-11-14 11:56:53 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/spool/
-rw-r--r-- dteam017/dteam    0 2011-11-11 17:28:52 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/spool/.emptydir
drwxr-xr-x dteam017/dteam    0 2011-11-14 11:57:15 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/spool/checkresults/
-rw-r--r-- dteam017/dteam    0 2011-11-11 17:28:52 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/spool/checkresults/.emptydir
-rw-r--r-- dteam017/dteam 69472 2011-11-14 11:57:18 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/nagios.debug
-rw-r--r-- dteam017/dteam     0 2011-11-11 17:28:52 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/var/.emptydir
drwxr-xr-x dteam017/dteam     0 2011-11-14 11:56:53 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/tmp/
-rw-r--r-- dteam017/dteam     0 2011-11-11 17:25:56 home/dteam017/home_cre19_413248857/CREAM413248857/nagios/tmp/.emptydir
drwxr-xr-x dteam017/dteam     0 2011-11-14 11:57:13 tmp/sam.22681.23260/msg-outgoing/
drwxrwxr-x dteam017/dteam     0 2011-11-14 11:57:13 tmp/sam.22681.23260/msg-outgoing/obsolete/
drwxrwxr-x dteam017/dteam     0 2011-11-14 11:57:15 tmp/sam.22681.23260/msg-outgoing/00000000/
drwxrwxr-x dteam017/dteam     0 2011-11-14 11:57:15 tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f40b024200/
-rw-rw-r-- dteam017/dteam   778 2011-11-14 11:57:15 tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f40b024200/text_body
-rw-rw-r-- dteam017/dteam    83 2011-11-14 11:57:15 tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f40b024200/header
drwxrwxr-x dteam017/dteam     0 2011-11-14 11:57:13 tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f409051e7b/
-rw-rw-r-- dteam017/dteam  1018 2011-11-14 11:57:13 tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f409051e7b/text_body
-rw-rw-r-- dteam017/dteam    83 2011-11-14 11:57:13 tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f409051e7b/header
drwxrwxr-x dteam017/dteam     0 2011-11-14 11:57:14 tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f40a06c66f/
-rw-rw-r-- dteam017/dteam   396 2011-11-14 11:57:14 tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f40a06c66f/text_body
-rw-rw-r-- dteam017/dteam    83 2011-11-14 11:57:14 tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f40a06c66f/header
drwxrwxr-x dteam017/dteam     0 2011-11-14 11:57:15 tmp/sam.22681.23260/msg-outgoing/temporary/

[gianelle@devel15 tmp]$ cat tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f40b024200/text_body
serviceURI: cream-19.pd.infn.it:8443/cream-lsf-creamcert1
hostName: localhost.localdomain
serviceFlavour: CE
siteName: INFN-EMITESTBED
metricStatus: OK
metricName: emi.wn.WN-SoftVer
summaryData: OK: EMI 1.3.0-1
gatheredAt: prod-wn-001.pn.pd.infn.it
timestamp: 2011-11-14T10:57:15Z
nagiosName: emi.wn.WN-SoftVer-dteam
role: site
voName: dteam
serviceType: emi.wn.WN
detailsData: Installed software version\n+ type=unknow\n+ mwver=error\n+ type -f glite-version\n/home/dteam017/home_cre19_413248857/CREAM413248857/nagios/probes/emi.wn/sam/WN-softver: line 31: type: glite-version: not found\n+ '[' -f /etc/emi-version ']'\n+ type=EMI\n++ cat /etc/emi-version\n+ mwver=1.3.0-1\n+ set +x\nVersion pattern: ^2\\.[456789]OR^3\\.OR^1\\.\nDeducted middleware version: EMI 1.3.0-1\n
EOT
[gianelle@devel15 tmp]$ cat tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f409051e7b/text_body
serviceURI: cream-19.pd.infn.it:8443/cream-lsf-creamcert1
hostName: localhost.localdomain
serviceFlavour: CE
siteName: INFN-EMITESTBED
metricStatus: OK
metricName: emi.wn.WN-Bi
summaryData: OK: getCE: cream-19.pd.infn.it:8443/cream-lsf-creamcert1
gatheredAt: prod-wn-001.pn.pd.infn.it
timestamp: 2011-11-14T10:57:13Z
nagiosName: emi.wn.WN-Bi-dteam
role: site
voName: dteam
serviceType: emi.wn.WN
detailsData: Checking if BrokerInfo works\nBrokerInfo file: /home/dteam017/home_cre19_413248857/CREAM413248857/.BrokerInfo\n+ ls -l /home/dteam017/home_cre19_413248857/CREAM413248857/.BrokerInfo\n-rw-r--r-- 1 dteam017 dteam 2282 Nov 14 11:57 /home/dteam017/home_cre19_413248857/CREAM413248857/.BrokerInfo\n+ set +x\nCheck if we can get the name of CE using glite-brokerinfo command\n+ glite-brokerinfo -v getCE\nBrokerInfo::getBIFileName(): /home/dteam017/home_cre19_413248857/CREAM413248857/.BrokerInfo\nBrokerInfo::getCE(): \n -> cream-19.pd.infn.it:8443/cream-lsf-creamcert1\n -> BI_SUCCESS\n+ result=0\n+ set +x\n
EOT
[gianelle@devel15 tmp]$ cat tmp/sam.22681.23260/msg-outgoing/00000000/4ec0f40a06c66f/text_body
serviceURI: cream-19.pd.infn.it:8443/cream-lsf-creamcert1
hostName: localhost.localdomain
serviceFlavour: CE
siteName: INFN-EMITESTBED
metricStatus: OK
metricName: emi.wn.WN-Csh
summaryData: OK
gatheredAt: prod-wn-001.pn.pd.infn.it
timestamp: 2011-11-14T10:57:14Z
nagiosName: emi.wn.WN-Csh-dteam
role: site
voName: dteam
serviceType: emi.wn.WN
detailsData: Checking if CSH works\nTest: OK.\n
EOT

Summary: PASSED

  • State + Monit with notification

[gianelle@devel15 tmp]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCE-probe --vo dteam -x /tmp/x509up_u502 -H cream-19.pd.infn.it -m emi.cream.CREAMCE-JobState --wms cream-45.pd.infn.it --mb-uri stomp://cream-12.pd.infn.it:61613 --mb-destination /tmp/msg
OK: [Submitted]
OK: [Submitted]

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


====================== glite-wms-job-submit Success ======================

The job has been successfully submitted to the WMProxy
Your job identifier is:

https://cream-45.pd.infn.it:9000/0hoj1P_hz_t0opoSlVU7RA

The job identifier has been saved in the following file:
/var/lib/gridprobes/dteam/emi.cream/CREAMCE/cream-19.pd.infn.it/jobID

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

[gianelle@devel15 tmp]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCE-probe --vo dteam -x /tmp/x509up_u502 -H cream-19.pd.infn.it -m emi.cream.CREAMCE-JobMonit   --pass-check-dest active
metric results >>> <cream-19.pd.infn.it,emi.cream.CREAMCE-JobSubmit-dteam>
OK: success.
OK: success.

Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
glite-wms-job-status https://cream-45.pd.infn.it:9000/0hoj1P_hz_t0opoSlVU7RA


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

Status info for the Job : https://cream-45.pd.infn.it:9000/0hoj1P_hz_t0opoSlVU7RA
Current Status:     Done (Success)
Exit code:          0
Status Reason:      Job Terminated Successfully
Destination:        cream-19.pd.infn.it:8443/cream-lsf-creamcert2
Submitted:          Mon Nov 14 12:07:20 2011 CET
==========================================================================
Getting job output: OK.

metric results >>> <cream-19.pd.infn.it,emi.cream.CREAMCE-JobState-dteam>
OK: success.
OK: success.

Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
glite-wms-job-status https://cream-45.pd.infn.it:9000/0hoj1P_hz_t0opoSlVU7RA


======================= glite-wms-job-status Success =====================
BOOKKEEPING INFORMATION:
 
Added:
>
>
Status info for the Job : https://cream-45.pd.infn.it:9000/0hoj1P_hz_t0opoSlVU7RA Current Status: Done (Success) Exit code: 0 Status Reason: Job Terminated Successfully Destination: cream-19.pd.infn.it:8443/cream-lsf-creamcert2 Submitted: Mon Nov 14 12:07:20 2011 CET ====================================================================== Getting job output: OK.
 
Added:
>
>
OK: Jobs processed - 1 OK: Jobs processed - 1 Done : 1|jobs_processed=1;; DONE=1;; RUNNING=0;; SCHEDULED=0;; SUBMITTED=0;; READY=0;; WAITING=0;; WAITING-CANCELLED=0;; WAITING-CANCEL=0;; ABORTED=0;; CANCELLED=0;; CLEARED=0;; MISSED=0;; UNDETERMINED=0;; unknown=0;1;2

And from the log file of the Message Broker server:

2011-11-14 12:07:40,088 [Thread-2] coilmq.server.socketserver.StompRequestHandler - DEBUG - Processing frame: SEND
content-length:1017
ROC:UNDEFINED
sitename:INFN-EMITESTBED
destination:/tmp/msg
persistent:true
nagios_host:localhost.localdomain
role:site

serviceURI: cream-19.pd.infn.it:8443/cream-lsf-creamcert2
hostName: localhost.localdomain
serviceFlavour: CE
siteName: INFN-EMITESTBED
metricStatus: OK
metricName: emi.wn.WN-Bi
summaryData: OK: getCE: cream-19.pd.infn.it:8443/cream-lsf-creamcert2
gatheredAt: prod-wn-001.pn.pd.infn.it
timestamp: 2011-11-14T11:07:39Z
nagiosName: emi.wn.WN-Bi-dteam
role: site
voName: dteam
serviceType: emi.wn.WN
detailsData: Checking if BrokerInfo works\nBrokerInfo file: /home/dteam017/home_cre19_698717429/CREAM698717429/.BrokerInfo\n+ ls -l /home/dteam017/home_cre19_698717429/CREAM698717429/.BrokerInfo\n-rw-r--r-- 1 dteam017 dteam 367 Nov 14 12:07 /home/dteam017/home_cre19_698717429/CREAM698717429/.BrokerInfo\n+ set +x\nCheck if we can get the name of CE using glite-brokerinfo command\n+ glite-brokerinfo -v getCE\nBrokerInfo::getBIFileName(): /home/dteam017/home_cre19_698717429/CREAM698717429/.BrokerInfo\nBrokerInfo::getCE(): \n -> cream-19.pd.infn.it:8443/cream-lsf-creamcert2\n -> BI_SUCCESS\n+ result=0\n+ set +x\n
EOT

2011-11-14 12:07:41,089 [Thread-2] coilmq.server.socketserver.StompRequestHandler - DEBUG - Processing frame: SEND
content-length:396
ROC:UNDEFINED
sitename:INFN-EMITESTBED
destination:/tmp/msg
persistent:true
nagios_host:localhost.localdomain
role:site

serviceURI: cream-19.pd.infn.it:8443/cream-lsf-creamcert2
hostName: localhost.localdomain
serviceFlavour: CE
siteName: INFN-EMITESTBED
metricStatus: OK
metricName: emi.wn.WN-Csh
summaryData: OK
gatheredAt: prod-wn-001.pn.pd.infn.it
timestamp: 2011-11-14T11:07:40Z
nagiosName: emi.wn.WN-Csh-dteam
role: site
voName: dteam
serviceType: emi.wn.WN
detailsData: Checking if CSH works\nTest: OK.\n
EOT

2011-11-14 12:07:42,090 [Thread-2] coilmq.server.socketserver.StompRequestHandler - DEBUG - Processing frame: SEND
content-length:778
ROC:UNDEFINED
sitename:INFN-EMITESTBED
destination:/tmp/msg
persistent:true
nagios_host:localhost.localdomain
role:site

serviceURI: cream-19.pd.infn.it:8443/cream-lsf-creamcert2
hostName: localhost.localdomain
serviceFlavour: CE
siteName: INFN-EMITESTBED
metricStatus: OK
metricName: emi.wn.WN-SoftVer
summaryData: OK: EMI 1.3.0-1
gatheredAt: prod-wn-001.pn.pd.infn.it
timestamp: 2011-11-14T11:07:41Z
nagiosName: emi.wn.WN-SoftVer-dteam
role: site
voName: dteam
serviceType: emi.wn.WN
detailsData: Installed software version\n+ type=unknow\n+ mwver=error\n+ type -f glite-version\n/home/dteam017/home_cre19_698717429/CREAM698717429/nagios/probes/emi.wn/sam/WN-softver: line 31: type: glite-version: not found\n+ '[' -f /etc/emi-version ']'\n+ type=EMI\n++ cat /etc/emi-version\n+ mwver=1.3.0-1\n+ set +x\nVersion pattern: ^2\\.[456789]OR^3\\.OR^1\\.\nDeducted middleware version: EMI 1.3.0-1\n
EOT

Summary: PASSED

CreamDJSProbe (Direct Job Submission)

  • JobState + JobMonit

[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u502 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-DirectJobState --resource cream-30.pd.infn.it:8443/cream-pbs-cert
OK: Job was submitted [https://cream-30.pd.infn.it:8443/CREAM763597948].
OK: Job was submitted [https://cream-30.pd.infn.it:8443/CREAM763597948].
Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL

https://cream-30.pd.infn.it:8443/CREAM763597948

[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u502 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-DirectJobMonit --pass-check-dest active
metric results >>> <cream-30.pd.infn.it,emi.cream.CREAMCEDJS-DirectJobState-dteam>
OK: [REALLY-RUNNING] https://cream-30.pd.infn.it:8443/CREAM763597948
OK: [REALLY-RUNNING] https://cream-30.pd.infn.it:8443/CREAM763597948

glite-ce-job-status https://cream-30.pd.infn.it:8443/CREAM763597948

******  JobID=[https://cream-30.pd.infn.it:8443/CREAM763597948]
   Status        = [REALLY-RUNNING]
OK: Jobs processed - 1
OK: Jobs processed - 1
[REALLY-RUNNING] : 1|jobs_processed=1;; DONE=0;; REALLY-RUNNING=1;; RUNNING=0;; REGISTERED=0;; PENDING=0;; IDLE=0;; HELD=0;; CANCELLED=0;; ABORTED=0;; UNKNOWN=0;; MISSED=0;; UNDETERMINED=0;; unknown=0;1;2

[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u502 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-DirectJobMonit --pass-check-dest active
OK: DONE.
metric results >>> <cream-30.pd.infn.it,emi.cream.CREAMCEDJS-DirectJobSubmit-dteam>



metric results >>> <cream-30.pd.infn.it,emi.cream.CREAMCEDJS-DirectJobState-dteam>



OK: Jobs processed - 1
OK: Jobs processed - 1
DONE : 1|jobs_processed=1;; DONE=1;; REALLY-RUNNING=0;; RUNNING=0;; REGISTERED=0;; PENDING=0;; IDLE=0;; HELD=0;; CANCELLED=0;; ABORTED=0;; UNKNOWN=0;; MISSED=0;; UNDETERMINED=0;; unknown=0;1;2

[gianelle@devel15 ~]$ cat /var/lib/gridprobes/dteam/emi.cream/CREAMCEDJS/cream-30.pd.infn.it/jobOutput/cream-30.pd.infn.it_8443_CREAM763597948/cream.out 
cream-wn-030.pn.pd.infn.it

Summary: PASSED

  • JobState + JobMonit + JobCancel

[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u502 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-DirectJobState --resource cream-30.pd.infn.it:8443/cream-pbs-cert
OK: Job was submitted [https://cream-30.pd.infn.it:8443/CREAM585707591].
OK: Job was submitted [https://cream-30.pd.infn.it:8443/CREAM585707591].
Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL

https://cream-30.pd.infn.it:8443/CREAM585707591

[gianelle@devel15 ~]$ glite-ce-job-status https://cream-30.pd.infn.it:8443/CREAM585707591

******  JobID=[https://cream-30.pd.infn.it:8443/CREAM585707591]
   Status        = [REALLY-RUNNING]



[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u502 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-DirectJobCancel
OK: job cancelled
OK: job cancelled
Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
Job cancellation request sent:
glite-ce-job-cancel --noint https://cream-30.pd.infn.it:8443/CREAM585707591
Job bookkeeping files deleted.

[gianelle@devel15 ~]$ glite-ce-job-status https://cream-30.pd.infn.it:8443/CREAM585707591
******  JobID=[https://cream-30.pd.infn.it:8443/CREAM585707591]
   Status        = [CANCELLED]
   ExitCode      = []
   Description   = [Cancelled by user]

Summary: PASSED

  • DelegateProxy

[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u502 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-DelegateProxy
OK: [Delegated]
OK: [Delegated]
glite-ce-delegate-proxy -e cream-30.pd.infn.it:8443 dteam-1d597
2011-11-14 12:23:34,573 NOTICE - Proxy with delegation id [dteam-1d597] succesfully delegated to endpoint [https://cream-30.pd.infn.it:8443//ce-cream/services/gridsite-delegation]

[gianelle@devel15 ~]$ glite-ce-job-submit -D dteam-1d597 -r cream-30.pd.infn.it:8443/cream-pbs-cert test.jdl 
https://cream-30.pd.infn.it:8443/CREAM343968812
[gianelle@devel15 ~]$ glite-ce-job-status https://cream-30.pd.infn.it:8443/CREAM343968812

******  JobID=[https://cream-30.pd.infn.it:8443/CREAM343968812]
   Status        = [DONE-OK]
   ExitCode      = [0]

[gianelle@devel15 ~]$ glite-ce-job-status -L 2 https://cream-30.pd.infn.it:8443/CREAM343968812 | grep "Deleg Proxy ID"
   Deleg Proxy ID = [dteam-1d597]

Summary: PASSED

  • ServiceInfo


[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u502 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-ServiceInfo
OK: success
OK: success
Testing from: devel15.cnaf.infn.it
DN: /C=IT/O=INFN/OU=Personal Certificate/L=Padova/CN=Alessio Gianelle/CN=proxy
VOMS FQANs: /dteam/Role=NULL/Capability=NULL, /dteam/NGI_IT/Role=NULL/Capability=NULL
success
description = CREAM 2
doesAcceptNewJobSubmissions = True
interfaceVersion = 2.1
property = [(Property){
   name = "cemon_url"
   value = "NA"
 }]
serviceVersion = 1.13
startupTime = 2011-10-10 14:44:12.000638
status = RUNNING

Summary: PASSED

  • SubmitAllowed

[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u502 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-SubmitAllowed
OK: [Submission Allowed]
OK: [Submission Allowed]
glite-ce-allowed-submission  cream-30.pd.infn.it:8443
Job Submission to this CREAM CE is enabled


[gianelle@devel15 ~]$ glite-ce-disable-submission cream-30.pd.infn.it
Operation for disabling new submissions succeeded
[gianelle@devel15 ~]$ /usr/libexec/grid-monitoring/probes/emi.cream/CREAMCEDJS-probe --vo dteam -x /tmp/x509up_u502 -H cream-30.pd.infn.it -m emi.cream.CREAMCEDJS-SubmitAllowed
OK: [Submission Allowed]
OK: [Submission Allowed]
glite-ce-allowed-submission  cream-30.pd.infn.it:8443
Job Submission to this CREAM CE is disabled

Summary: PASSED

 

-- MassimoSgaravatto - 2011-11-09

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