From 0036bcd79b929820a83b3939bf716ad1fa44bf95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Posp=C3=AD=C5=A1il?= Date: Tue, 18 Apr 2006 07:33:30 +0000 Subject: [PATCH] added LB plugin testplan --- org.glite.jp/doc/testplan.tex | 63 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 56 insertions(+), 7 deletions(-) diff --git a/org.glite.jp/doc/testplan.tex b/org.glite.jp/doc/testplan.tex index db257fe..bc5b5e4 100644 --- a/org.glite.jp/doc/testplan.tex +++ b/org.glite.jp/doc/testplan.tex @@ -12,11 +12,11 @@ \Dissemination{PUBLIC} \DocumentLink{} -\def\req{\noindent\textbf{Prerequisities:}} -\def\how{\noindent\textbf{How to run:}} -\def\result{\noindent\textbf{Expected result:}} -\def\jpps{\noindent\textbf{JP PS log should contain:}} -\def\jpis{\noindent\textbf{JP IS log should contain:}} +\def\req{\noindent\textbf{Prerequisities: }} +\def\how{\noindent\textbf{How to run: }} +\def\result{\noindent\textbf{Expected result: }} +\def\jpps{\noindent\textbf{JP PS log should contain: }} +\def\jpis{\noindent\textbf{JP IS log should contain: }} \def\path#1{{\normalfont\textsf{#1}}} \def\code#1{\texttt{#1}} @@ -127,8 +127,57 @@ The recorded value should be returned. (don't call CommitUpload) * uploaded file should be purged after timeout -\section{LB plugin} -\todo{TBD} +\section{\LB\ plugin} +%\todo{honik} +\LB\ plugin is a component integrating the \LB\ functionality into JP. + + +\subsection{Standalone tests} +\LB\ plugin as a standalone component is used for example in the \texttt{glite-lb-statistics} +program (part of org.glite.lb.utils). This program reads a dump file of events related to +one particular job and using the \LB\ plugin it computes the job state and many other job +statistics. See the \LB\ testplan for more details. + +\subsection{Integrated tests} +\req JPPS running with the \texttt{-P/path/to/the/glite\_lb\_plugin.so} + +\how +\begin{itemize} +\item call GetJobAttributes to get the LB attributes +\begin{verbatim} +$ jpps-test GetJobAttr JOBID ATTRIBUTE + +where ATTRIBUTE is one of the +http://egee.cesnet.cz/en/Schema/LB/Attributes:jobId +http://egee.cesnet.cz/en/Schema/LB/Attributes:user +http://egee.cesnet.cz/en/Schema/LB/Attributes:VO +http://egee.cesnet.cz/en/Schema/LB/Attributes:aTag +http://egee.cesnet.cz/en/Schema/LB/Attributes:rQType +http://egee.cesnet.cz/en/Schema/LB/Attributes:eDuration +http://egee.cesnet.cz/en/Schema/LB/Attributes:eNodes +http://egee.cesnet.cz/en/Schema/LB/Attributes:eProc +http://egee.cesnet.cz/en/Schema/LB/Attributes:RB +http://egee.cesnet.cz/en/Schema/LB/Attributes:CE +http://egee.cesnet.cz/en/Schema/LB/Attributes:host +http://egee.cesnet.cz/en/Schema/LB/Attributes:UIHost +http://egee.cesnet.cz/en/Schema/LB/Attributes:CPUTime +http://egee.cesnet.cz/en/Schema/LB/Attributes:NProc +http://egee.cesnet.cz/en/Schema/LB/Attributes:finalStatus +http://egee.cesnet.cz/en/Schema/LB/Attributes:finalStatusDate +http://egee.cesnet.cz/en/Schema/LB/Attributes:finalStatusReason +http://egee.cesnet.cz/en/Schema/LB/Attributes:LRMSDoneStatus +http://egee.cesnet.cz/en/Schema/LB/Attributes:LRMSStatusReason +http://egee.cesnet.cz/en/Schema/LB/Attributes:retryCount +http://egee.cesnet.cz/en/Schema/LB/Attributes:additionalReason +http://egee.cesnet.cz/en/Schema/LB/Attributes:jobType +http://egee.cesnet.cz/en/Schema/LB/Attributes:nsubjobs +http://egee.cesnet.cz/en/Schema/LB/Attributes:lastStatusHistory +http://egee.cesnet.cz/en/Schema/LB/Attributes:fullStatusHistory +\end{verbatim} +\end{itemize} + +\result Should print the corresponding LB attributes + \section{JPPS-JPIS interaction (feeds)} -- 1.8.2.3