TWiki> ETICS Web>EticsGliteTesting (revision 5)EditAttachPDF

ETICS gLite testing

This section reports both the cordination of the testing activities related to gLite / LCG and the corresponding technical information

Meetings

  • Minutes of coordination meetings
  • Action Items for people (Updated: April 5,2006)

1 Andreas To provide a prototype (.PPT, whatever else ) of the kind of format he'd like to get on the long term from a test framework, to give an idea of what can be done together to provide it. Done: LCGgliteTestPresentation

2 Alberto / Meb Define a possible structure for the test metadata and the corresponding way to register the test into the ETICS system.

3 Meb / Mario Define into some detail the possible system functionality and structure of the etics_test command : What will it do ? What parameters will it require still open

4 Marian, Matvey First test with the UI installation; coordinate with Maria and Mario when possible. In Progress

5 Marian Kick" Maria and Mario to start using the existing NMI platform. provide required information for them to start Done

6 Andreas Set up a reference web page with a summary of the existing tools, frameworks abd related responsible / developers people. Done: LCGgliteTestInventory

Prototyping Information

  • UI in user space installation

This is the test.sh script I run on the NMI remote node:

#!/bin/bash export PATH=$PATH:$PWD/bin export X509_USER_PROXY=$PWD/my_proxy echo "----- Try to get UI -----" GLITE_ROOT=/tmp/glite-ui rm -rf $GLITE_ROOT mkdir $GLITE_ROOT wget --no-check-certificate https://twiki.cern.ch/twiki/pub/EGEE/DMUserspaceInstall/glite-userspace-installer-1.5.0.shar -O glite-userspace-installer-1.5.0.shar echo "----- Try to install UI -----" bash glite-userspace-installer-1.5.0.shar cd glite-userspace-installer-1.5.0 export GLITE_APT_REPOSITORY='rpm http://glitesoft.cern.ch/EGEE/gLite/APT/R1.4/ rhel30 externals Release1.4 updates' ./glite-userspace-install.sh $GLITE_ROOT bash <<EOF source $GLITE_ROOT/root/env_settings glite-userspace-apt-get update glite-userspace-apt-get install --yes glite-ui-config EOF echo "----- Try to get&install specific RPM(s) -----" mkdir -p /tmp/localrepo/RPMS.mine wget http://glite.web.cern.ch/glite/packages/R1.5/R20051130/bin/rhel30/i386/RPMS/glite-testsuites-wms-2.3.2-1.i386.rpm genbasedir /tmp/localrepo/ mkdir -p /tmp/obsoletes/glite-wn/etc/apt/sources.list.d/ echo 'rpm file:/tmp localrepo mine' >/tmp/obsoletes/glite-wn/etc/apt/sources.list.d/mine.list bash <<EOF source $GLITE_ROOT/root/env_settings glite-userspace-apt-get update glite-userspace-apt-get install --yes glite-testsuites-wms EOF ######################################################################################################################

echo "---- Configuring the UI ----"

cp glite-global.cfg.xml /tmp/glite-ui/opt/glite/etc/config /tmp/glite-ui/opt/glite/etc/config/scripts/glite-ui-config.py

####################################################################################################################### echo "----- checking node RPM composition -----" rpm -qa --dbpath /tmp/glite-ui/var/lib/rpm | grep glite

####################################################################################################################### echo "----- Try to execute test(s) -----" cd .. indir=`pwd` export LD_LIBRARY_PATH=$GLITE_ROOT/opt/globus/lib:$GLITE_ROOT/opt/glite/lib #export LD_LIBRARY_PATH=/tmp/glite-ui/opt/globus/lib export PATH=$PATH:$GLITE_ROOT/opt/globus/bin/:$GLITE_ROOT/opt/edg/bin/ #export PATH=$PATH:/tmp/glite-ui/opt/globus/bin/:/tmp/glite-ui/opt/edg/bin/ source test_site-LocalTB.conf export HTML_DIR=$PWD export MAINSCRIPT=yes export X509_CERT_DIR=$GLITE_ROOT/etc/grid-security/certificates #export X509_CERT_DIR=/tmp/glite-ui/etc/grid-security/certificates

#######################################################################################################################

/bin/cp MainScript /tmp/glite-ui/opt/glite/test/glite-wms/opt/edg/bin /bin/cp EDGLifecycle.pm /tmp/glite-ui/opt/glite/test/glite-wms/opt/edg/lib/perl/BaseTest

/bin/cp regressionTest2.reg /tmp/glite-ui/opt/glite/test/glite-wms/ /bin/cp test_site-LocalTB.conf /tmp/glite-ui/opt/glite/test/glite-wms/opt/edg/tests/etc /bin/cp lancia2-etics.sh /tmp/glite-ui/opt/glite/test/glite-wms/

ap=`id | awk 'BEGIN { FS="(" } $0 ~// {print $1}' | awk 'BEGIN { FS="=" } $0 ~// {print $2}'` cp my_proxy /tmp/x509up_u$ap

cd /tmp/glite-ui/opt/glite/test/glite-wms/ /bin/rm *.log ./lancia2-etics.sh cd /tmp/glite-ui/opt/glite/test/glite-wms/ a=`ls Main*.log` b=`tail -5 $a | grep HTML | awk 'BEGIN { FS=" "} ; $0 ~//{print $3}'` ## b=`tail -5 $a | grep HTML | awk 'BEGIN { FS=" "} ; $0 ~//{print $3}' | awk 'BEGIN { FS="/"} ; $0 ~// {print $4}' ` echo $b cp $a $indir mv $b $indir/results.tar.gz mail -s "MainLog NMI test suite" mario.reale@cernNOSPAMPLEASE.ch < $a

  • Proxy Handling / Delegation
  • Working Operational Scenarios

Links

http://etics.cern.ch/nmi/?page=results/overview http://msapunov.home.cern.ch/msapunov

-- MarioReale - 05 Apr 2006

Edit | Attach | Watch | Print version | History: r9 | r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r5 - 2006-04-13 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ETICS All webs login

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