Certification report patch 4035

Author(s): Gianni.Pucciani@cernNOSPAMPLEASE.ch

Patch: https://savannah.cern.ch/patch/index.php?4035

Outcome: Certified

LFC Mysql

Clean installation

Using the script for automatic deployment:

  ./vnode-ygen.sh -i SL5-64-DH -n glite-LFC_mysql -p http://etics-repository.cern.ch/repository/pm/registered/repomd/id/53edf057-6c4d-4afd-996a-34ea6d0285e0/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
Creating a virtual machine with SL5-64-DH...
vNode CLI dir is /afs/cern.ch/user/p/pucciani/public/vnodecli/2.0.r52
working on vtb-generic-101.cern.ch
Checking out yaimgen on vtb-generic-101.cern.ch
/usr/bin/xauth:  creating new authority file /root/.Xauthority
Please, introduce the testuser password if a test suite is going to be executed
Deploying glite-LFC_mysql on vtb-generic-101.cern.ch
Yaimgen called with argments:  -n glite-LFC_mysql -p http://etics-repository.cern.ch/repository/pm/registered/repomd/id/53edf057-6c4d-4afd-996a-34ea6d0285e0/sl5_x86_64_gcc412/etics-registered-build-by-id.repo -testuserpass <password>
INFO: Host: vtb-generic-101.cern.ch
INFO: Arch: SL5 x86_64, gLite 3.2
INFO: Calling yum update
INFO: Yum update executed
INFO: Retrieving repo files...
INFO: Retrieving repo file at http://etics-repository.cern.ch/repository/pm/registered/repomd/id/53edf057-6c4d-4afd-996a-34ea6d0285e0/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
INFO: Checking for glite-LFC_mysql pre-requisites
INFO: Installing MysqlServer
INFO: Installing default packages: ca_BitFace, ctb-vomscerts, java
which: no fetch-crl in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
INFO: Target is glite-LFC_mysql
INFO: Installing glite-LFC_mysql
INFO: glite-LFC_mysql installed!
INFO: Retrieving host credentials
INFO: Downloading YAIM configuration files
INFO: Running pre-config script preconfig/preconfig-glite-LFC_mysql.sh
INFO: Script preconfig/preconfig-glite-LFC_mysql.sh executed!
INFO: Sourcing config/config-glite-LFC_mysql.sh
INFO: Running YAIM config for node glite-LFC_mysql
INFO: Command:/opt/glite/yaim/bin/yaim -c -s /etc/yaim/site-info.def -n glite-LFC_mysql
INFO: YAIM completed successfully for glite-LFC_mysql
INFO: Running post-config script postconfig/postconfig-glite-LFC_mysql.sh
INFO: Script postconfig/postconfig-glite-LFC_mysql.sh executed!
INFO: Script test/test-glite-LFC_mysql.sh not available.
INFO: yaimgen.sh took 165 seconds to run
INFO: YAIMGEN terminated successfully
glite-LFC_mysql successfully deployed on vtb-generic-101.cern.ch
The detailed yaimgen log is in 4035lfcmysql_clean.txt

Yaim was run with the following variables:

#############################
## YAIMGEN added variables ##
#############################
##LFC_mysql Variables
## Added by Yaimgen on Fri Apr 23 14:47:31 CEST 2010
LFC_HOST="vtb-generic-101.cern.ch"
LFC_DB=cns_db
LFC_DB_PASSWORD="*********"
LFC_DB_HOST=vtb-generic-101.cern.ch
LFC_CENTRAL="dteam org.glite.voms-test"
LFC_LOCAL=""

All the RPMs were correctly installed:

[root@vtb-generic-101 ~]# ./checkRPMS.sh 
Checking lcgdm-devel-1.7.4-5sec.sl5.x86_64
OK
Checking lcgdm-libs-1.7.4-5sec.sl5.x86_64
OK
Checking LFC-server-mysql-1.7.4-5sec.sl5.x86_64
OK
Checking LFC-server-oracle-1.7.4-5sec.sl5.x86_64
MISSING!
Checking lfc-1.7.4-5sec.sl5.x86_64
OK
Checking lfc-devel-1.7.4-5sec.sl5.x86_64
OK
Checking lfc-libs-1.7.4-5sec.sl5.x86_64
OK
Checking perl-lfc-1.7.4-5sec.sl5.x86_64
OK
Checking glite-yaim-lfc-4.0.6-2.noarch
OK
Checking glite-LFC_mysql-3.2.6-0.sl5.x86_64
OK
Checking glite-LFC_oracle-3.2.6-0.sl5.x86_64
MISSING!

Test report

The LFC tests in http://glite.cvs.cern.ch/cgi-bin/glite.cgi/org.glite.testsuites.ctb/LFC/tests/ where run from the CTB UI:
> ./LFC-certtest --lfc vtb-generic-101.cern
.ch
Using ./LFC-certconfig
Log files will be stored in /tmp/logs_100423150121
START Fri Apr 23 15:01:21 CEST 2010 
------------------------------------------------
LFC_HOST=vtb-generic-101.cern.ch
*Running CLI test set*
Executing LFC-CLI-dchmod
LFC-CLI-dchmod PASSED
Executing LFC-cli-delcom
LFC-cli-delcom PASSED
Executing LFC-CLI-dren
LFC-CLI-dren PASSED
Executing LFC-CLI-fchmod
LFC-CLI-fchmod PASSED
Executing LFC-CLI-fren
LFC-CLI-fren PASSED
Executing LFC-cli-getacl
LFC-cli-getacl PASSED
Executing LFC-cli-ln
LFC-cli-ln PASSED
Executing LFC-cli-mkdir
LFC-cli-mkdir PASSED
Executing LFC-CLI-mkdir
LFC-CLI-mkdir PASSED
Executing LFC-cli-ping
LFC-cli-ping PASSED
Executing LFC-cli-rename
LFC-cli-rename PASSED
Executing LFC-cli-rmdir
LFC-cli-rmdir PASSED
Executing LFC-CLI-rmdir
LFC-CLI-rmdir PASSED
Executing LFC-CLI-rmfile
LFC-CLI-rmfile PASSED
Executing LFC-cli-setacl
LFC-cli-setacl PASSED
Executing LFC-cli-setcom
LFC-cli-setcom PASSED
*Running API_PYTHON test set*
Executing LFC-addreplica
LFC-addreplica PASSED
Executing LFC-addreplicax
LFC-addreplicax PASSED
Executing LFC-chdir
LFC-chdir PASSED
Executing LFC-creatg
LFC-creatg PASSED
Executing LFC-del
LFC-del PASSED
Executing LFC-delcomment
LFC-delcomment PASSED
Executing LFC-fsize
LFC-fsize PASSED
Executing LFC-getacl
LFC-getacl PASSED
Executing LFC-getcwd
LFC-getcwd PASSED
Executing LFC-getreplica
LFC-getreplica PASSED
Executing LFC-getreplicas
LFC-getreplicas WARNING
Executing LFC-ls
LFC-ls PASSED
Executing LFC-mkdir
LFC-mkdir PASSED
Executing LFC-mkdirg
LFC-mkdirg PASSED
Executing LFC-opendir
LFC-opendir PASSED
Executing LFC-opendirg
LFC-opendirg PASSED
Executing LFC-rename
LFC-rename PASSED
Executing LFC-rmdir
LFC-rmdir PASSED
Executing LFC-setacl
LFC-setacl PASSED
Executing LFC-setatime
LFC-setatime PASSED
Executing LFC-setcomment
LFC-setcomment PASSED
Executing LFC-setfsizeg
LFC-setfsizeg PASSED
Executing LFC-stat
LFC-stat PASSED
Executing LFC-statg
LFC-statg PASSED
Executing LFC-statr
LFC-statr PASSED
Executing LFC-statx
LFC-statx PASSED
Executing LFC-undelete
LFC-undelete PASSED
Executing LFC-unlink
LFC-unlink PASSED
Executing LFC-writefile
LFC-writefile PASSED
------------------------------------------------
END Fri Apr 23 15:03:35 CEST 2010
TEST PASSED with warnings
LFC-getreplicas: results in /tmp/logs_100423150121/LFC-getreplicas_result.txt
The warning is raised from a test which is hitting an open bug:

> cat /tmp/logs_100423150121/LFC-getreplicas_result.txt
./LFC-getreplicas vtb-generic-101.cern.ch
<pre>
Start test: get  the  replica entries associated with a list of GUIDs (lfc_getreplicas)
1. Prepare environment
2. Start test run()
Test OK:                                                    [OK]
Test SE filter:                                             [OK]
Test guid length exeeds CA_MAXGUIDLEN (EINVAL) (bug):       [FAILED]
Test SE name length exeeds CA_MAXNAMELEN (EINVAL):          [OK]
Test existing replica nonexisting file (ENOENT) (bug):      [FAILED]
3. Ret test code: False
Exit
</pre>
Test is failure (BUG)

DM tests have also been run: DMtests_vtb-101.txt

Bug fix verification

As per comment #6 in the patch, the bug list has been taken from patch #3940 The bug fixes have been checked whenever possible, and bug status updated accordingly.

Upgrade from production

 > ./vnode-ygen.sh -i SL5-64-DH -n glite-LFC_mysql -m upgrade -p http://etics-repository.cern.ch/repository/pm/registered/repomd/id/53edf057-6c4d-4afd-996a-34ea6d0285e0/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
Creating a virtual machine with SL5-64-DH...
vNode CLI dir is /afs/cern.ch/user/p/pucciani/public/vnodecli/2.0.r52
working on vtb-generic-105.cern.ch
Checking out yaimgen on vtb-generic-105.cern.ch
/usr/bin/xauth:  creating new authority file /root/.Xauthority
Please, introduce the testuser password if a test suite is going to be executed
Deploying glite-LFC_mysql on vtb-generic-105.cern.ch
Yaimgen called with argments:  -m upgrade -n glite-LFC_mysql -p http://etics-repository.cern.ch/repository/pm/registered/repomd/id/53edf057-6c4d-4afd-996a-34ea6d0285e0/sl5_x86_64_gcc412/etics-registered-build-by-id.repo -testuserpass <password>
INFO: Host: vtb-generic-105.cern.ch
INFO: Arch: SL5 x86_64, gLite 3.2
INFO: Calling yum update
INFO: Yum update executed
INFO: Retrieving repo files...
INFO: Downloading production repo file http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/glite-LFC_mysql.repo
INFO: Retrieving repo file at http://etics-repository.cern.ch/repository/pm/registered/repomd/id/53edf057-6c4d-4afd-996a-34ea6d0285e0/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
INFO: Performing upgrade, disable patch repository
INFO: Checking for glite-LFC_mysql pre-requisites
INFO: Installing MysqlServer
INFO: Installing default packages: ca_BitFace, ctb-vomscerts, java
which: no fetch-crl in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
INFO: Target is glite-LFC_mysql
INFO: Installing glite-LFC_mysql
INFO: glite-LFC_mysql installed!
INFO: Retrieving host credentials
INFO: Downloading YAIM configuration files
INFO: Running pre-config script preconfig/preconfig-glite-LFC_mysql.sh
INFO: Script preconfig/preconfig-glite-LFC_mysql.sh executed!
INFO: Sourcing config/config-glite-LFC_mysql.sh
INFO: Running YAIM config for node glite-LFC_mysql
INFO: Command:/opt/glite/yaim/bin/yaim -c -s /etc/yaim/site-info.def -n glite-LFC_mysql
INFO: YAIM completed successfully for glite-LFC_mysql
INFO: Running post-config script postconfig/postconfig-glite-LFC_mysql.sh
INFO: Script postconfig/postconfig-glite-LFC_mysql.sh executed!
INFO: Script test/test-glite-LFC_mysql.sh not available.
INFO: Prepare for upgrade
INFO: Enable patch repository for http://etics-repository.cern.ch/repository/pm/registered/repomd/id/53edf057-6c4d-4afd-996a-34ea6d0285e0/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
INFO: System upgraded
INFO: Host credentials already present
INFO: Keeping the current yaim files
INFO: Running pre-config script preconfig/preconfig-glite-LFC_mysql.sh
INFO: Script preconfig/preconfig-glite-LFC_mysql.sh executed!
INFO: Sourcing config/config-glite-LFC_mysql.sh
INFO: Running YAIM config for node glite-LFC_mysql
INFO: Command:/opt/glite/yaim/bin/yaim -c -s /etc/yaim/site-info.def -n glite-LFC_mysql
INFO: YAIM completed successfully for glite-LFC_mysql
INFO: Running post-config script postconfig/postconfig-glite-LFC_mysql.sh
INFO: Script postconfig/postconfig-glite-LFC_mysql.sh executed!
INFO: Script test/test-glite-LFC_mysql.sh not available.
INFO: yaimgen.sh took 238 seconds to run
INFO: YAIMGEN terminated successfully
glite-LFC_mysql successfully deployed on vtb-generic-105.cern.ch
The detailed log is in 4035lfcmysql_upgrade.txt.

Test report

The test report is in 4035lfcmysql_upgrade-test.txt

DM tests have also been run: DMtests_vtb-105.txt

LFC Oracle

Clean installation

The yaimgen log is in 4035lfcoracle_clean.txt

Test report

The test report is in 4035lfcoracle_clean-test.txt

DM tests have also been run: DMtests_vtb-13.txt

Upgrade from production

The yaimgen log is in 4035lfcoracle_upgrade.txt

Test report

The test report is in 4035lfcoracle_upgrade-test.txt

DM tests have also been run: DMtests_vtb-113.txt

Second iteration

The certification was repeated a second time, the log files for both patches are attached to the patch in Savannah.

-- GianniPucciani - 22-Apr-2010

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt 4035lfcmoracle_upgrade-test.txt r1 manage 2.3 K 2010-04-23 - 16:30 GianniPucciani  
Texttxt 4035lfcmysql_clean.txt r1 manage 45.8 K 2010-04-23 - 16:13 GianniPucciani  
Texttxt 4035lfcmysql_upgrade-test.txt r1 manage 2.3 K 2010-04-23 - 16:26 GianniPucciani  
Texttxt 4035lfcmysql_upgrade.txt r1 manage 68.5 K 2010-04-23 - 15:42 GianniPucciani  
Texttxt 4035lfcoracle_clean-test.txt r1 manage 2.3 K 2010-04-23 - 16:27 GianniPucciani  
Texttxt 4035lfcoracle_clean.txt r1 manage 43.9 K 2010-04-23 - 15:50 GianniPucciani  
Texttxt 4035lfcoracle_upgrade-test.txt r1 manage 2.3 K 2010-04-23 - 16:33 GianniPucciani  
Texttxt 4035lfcoracle_upgrade.txt r1 manage 67.5 K 2010-04-23 - 16:15 GianniPucciani  
Texttxt DMtests_vtb-101.txt r1 manage 1.1 K 2010-04-27 - 10:45 GianniPucciani  
Texttxt DMtests_vtb-105.txt r1 manage 1.1 K 2010-04-27 - 10:46 GianniPucciani  
Texttxt DMtests_vtb-113.txt r1 manage 1.1 K 2010-04-27 - 10:45 GianniPucciani  
Texttxt DMtests_vtb-13.txt r1 manage 1.1 K 2010-04-27 - 10:46 GianniPucciani  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2010-05-07 - GianniPucciani
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback