Certification Report for EMI Task #20915 (GridSite 1.7.15-2, x86, SL5)

Origins

Component emi.gridsite
Task https://savannah.cern.ch/task/index.php?20915
Configuration emi-gridsite_R_1_7_15_2
Tag gridsite-core_R_1_7_15
Release Kebnekaise
Platform sl5_x86_64_gcc412EPEL
Author Zdeněk Šustr
Date 28 Jun 2011
Build Report http://etics-repository.cern.ch/repository/reports/id/2efadb29-61fb-4d5f-be8f-17b799a269e0/sl5_x86_64_gcc412EPEL/-/reports/index.html
YUM repo file http://etics-repository.cern.ch/repository/pm/registered/repomd/id/2efadb29-61fb-4d5f-be8f-17b799a269e0/sl5_x86_64_gcc412EPEL/etics-registered-build-by-id-protect.repo
Patch
Status Certified
Duration N/A, work too scattered to measure
Previous report https://twiki.cern.ch/twiki/bin/view/EGEE/CertificationReportForEMIRC4

Summary (EMI Test Report Structure)

  1. Deployment log:
    1. Clean InstallationPASS
    2. Upgrade InstallationPASS
  2. Static Code Analysis—N/A (The prevalent programming language is C)
  3. Unit Tests ExecutionN/A
  4. System tests:
    1. Basic Functionality testsPASS
    2. Regression testsPASS
    3. Performance/Scalability tests—N/A
    4. Standard Compliance/Conformance tests—N/A

Remarks:

  • GridSite does not employ YAIM for configuration. Giving a copy of YAIM log is not applicable.

Clean installation

Environment

Clean SL5 installation according to gLite guidelines (CA certificates, ...). VOMS installed to test .lsc files acceptance. Apache WebServer and mod_ssl installed by calling yum -y install httpd mod_ssl.

Process

rpm -Uvhi http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum install -y yum-priorities yum-protectbase
rpm -i http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/base/emi-release-1.0.0-1.sl5.noarch.rpm

cd /etc/yum.repos.d/
wget http://etics-repository.cern.ch/repository/pm/registered/repomd/id/2efadb29-61fb-4d5f-be8f-17b799a269e0/sl5_x86_64_gcc412EPEL/etics-registered-build-by-id-protect.repo
echo priority=45 >> etics-registered-build-by-id-protect.repo

yum install -y gridsite-apache gridsite-commands gridsite-debuginfo gridsite-devel.x86_64 gridsite-gsexec gridsite-service-clients gridsite-services gridsite-shared

Full output of the installation

[root@pelargir2 ~]# rpm -Uvhi http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Retrieving http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
warning: /var/tmp/rpm-xfer.AcjYXh: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
[root@pelargir2 ~]# yum install -y yum-priorities yum-protectbase
Loaded plugins: kernel-module
EGI-trustanchors                                                                                                                                                                       | 1.9 kB     00:00     
epel                                                                                                                                                                                   | 3.7 kB     00:00     
epel/primary_db                                                                                                                                                                        | 3.7 MB     00:00     
sl-base                                                                                                                                                                                | 2.1 kB     00:00     
sl-security                                                                                                                                                                            | 1.9 kB     00:00     
sl-security/primary_db                                                                                                                                                                 | 1.1 MB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yum-priorities.noarch 0:1.1.16-14.el5 set to be updated
---> Package yum-protectbase.noarch 0:1.1.16-14.el5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

==============================================================================================================================================================================================================
 Package                                               Arch                                         Version                                               Repository                                     Size
==============================================================================================================================================================================================================
Installing:
 yum-priorities                                        noarch                                       1.1.16-14.el5                                         sl-base                                        14 k
 yum-protectbase                                       noarch                                       1.1.16-14.el5                                         sl-base                                        12 k

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

Total download size: 25 k
Downloading Packages:
(1/2): yum-protectbase-1.1.16-14.el5.noarch.rpm                                                                                                                                        |  12 kB     00:00     
(2/2): yum-priorities-1.1.16-14.el5.noarch.rpm                                                                                                                                         |  14 kB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                          20 kB/s |  25 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : yum-protectbase                                                                                                                                                                        1/2 
  Installing     : yum-priorities                                                                                                                                                                         2/2 

Installed:
  yum-priorities.noarch 0:1.1.16-14.el5                                                                 yum-protectbase.noarch 0:1.1.16-14.el5                                                                

Complete!
[root@pelargir2 ~]# rpm -i http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/base/emi-release-1.0.0-1.sl5.noarch.rpm
warning: /var/tmp/rpm-xfer.9wZnZE: Header V3 DSA signature: NOKEY, key ID df9e12ef
[root@pelargir2 ~]# 
[root@pelargir2 ~]# cd /etc/yum.repos.d/
[root@pelargir2 yum.repos.d]# wget http://etics-repository.cern.ch/repository/pm/registered/repomd/id/2efadb29-61fb-4d5f-be8f-17b799a269e0/sl5_x86_64_gcc412EPEL/etics-registered-build-by-id-protect.repo
--2011-07-04 16:43:58--  http://etics-repository.cern.ch/repository/pm/registered/repomd/id/2efadb29-61fb-4d5f-be8f-17b799a269e0/sl5_x86_64_gcc412EPEL/etics-registered-build-by-id-protect.repo
Resolving etics-repository.cern.ch... 128.142.130.60
Connecting to etics-repository.cern.ch|128.142.130.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 890
Saving to: `etics-registered-build-by-id-protect.repo'

100%[====================================================================================================================================================================>] 890         --.-K/s   in 0s      

2011-07-04 16:43:58 (94.3 MB/s) - `etics-registered-build-by-id-protect.repo' saved [890/890]

[root@pelargir2 yum.repos.d]# echo priority=45 >> etics-registered-build-by-id-protect.repo
[root@pelargir2 yum.repos.d]# 
[root@pelargir2 yum.repos.d]# yum install -y gridsite-apache gridsite-commands gridsite-debuginfo gridsite-devel.x86_64 gridsite-gsexec gridsite-service-clients gridsite-services gridsite-shared
Loaded plugins: kernel-module, priorities, protectbase
EMI-1-base                                                                                                                                                                             | 1.9 kB     00:00     
EMI-1-base/primary_db                                                                                                                                                                  | 198 kB     00:00     
EMI-1-third-party                                                                                                                                                                      | 1.9 kB     00:00     
EMI-1-third-party/primary_db                                                                                                                                                           |  25 kB     00:00     
EMI-1-updates                                                                                                                                                                          | 1.9 kB     00:00     
EMI-1-updates/primary_db                                                                                                                                                               | 7.2 kB     00:00     
ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                                                                                                      |  764 B     00:00     
ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL/primary                                                                                              | 3.4 kB     00:00     
ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                                                                                                                       11/11
155 packages excluded due to repository priority protections
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gridsite-apache.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-commands.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-debuginfo.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-devel.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-gsexec.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-service-clients.x86_64 0:1.7.15-2.sl5 set to be updated
--> Processing Dependency: libgsoapssl.so.0()(64bit) for package: gridsite-service-clients
---> Package gridsite-services.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-shared.x86_64 0:1.7.15-2.sl5 set to be updated
--> Running transaction check
---> Package gsoap.x86_64 0:2.7.13-3.el5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

==============================================================================================================================================================================================================
 Package                                    Arch                     Version                        Repository                                                                                           Size
==============================================================================================================================================================================================================
Installing:
 gridsite-apache                            x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    69 k
 gridsite-commands                          x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    28 k
 gridsite-debuginfo                         x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                   514 k
 gridsite-devel                             x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    81 k
 gridsite-gsexec                            x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    12 k
 gridsite-service-clients                   x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    29 k
 gridsite-services                          x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    23 k
 gridsite-shared                            x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                   131 k
Installing for dependencies:
 gsoap                                      x86_64                   2.7.13-3.el5                   epel                                                                                                444 k

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

Total download size: 1.3 M
Downloading Packages:
(1/9): gridsite-gsexec-1.7.15-2.sl5.x86_64.rpm                                                                                                                                         |  12 kB     00:00     
(2/9): gridsite-services-1.7.15-2.sl5.x86_64.rpm                                                                                                                                       |  23 kB     00:00     
(3/9): gridsite-commands-1.7.15-2.sl5.x86_64.rpm                                                                                                                                       |  28 kB     00:00     
(4/9): gridsite-service-clients-1.7.15-2.sl5.x86_64.rpm                                                                                                                                |  29 kB     00:00     
(5/9): gridsite-apache-1.7.15-2.sl5.x86_64.rpm                                                                                                                                         |  69 kB     00:00     
(6/9): gridsite-devel-1.7.15-2.sl5.x86_64.rpm                                                                                                                                          |  81 kB     00:00     
(7/9): gridsite-shared-1.7.15-2.sl5.x86_64.rpm                                                                                                                                         | 131 kB     00:00     
(8/9): gsoap-2.7.13-3.el5.x86_64.rpm                                                                                                                                                   | 444 kB     00:00     
(9/9): gridsite-debuginfo-1.7.15-2.sl5.x86_64.rpm                                                                                                                                      | 514 kB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                         1.7 MB/s | 1.3 MB     00:00     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
epel/gpgkey                                                                                                                                                                            | 1.7 kB     00:00     
Importing GPG key 0x217521F6 "Fedora EPEL <epel@fedoraproject.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : gridsite-shared                                                                                                                                                                        1/9 
  Installing     : gsoap                                                                                                                                                                                  2/9 
  Installing     : gridsite-service-clients                                                                                                                                                               3/9 
  Installing     : gridsite-commands                                                                                                                                                                      4/9 
  Installing     : gridsite-apache                                                                                                                                                                        5/9 
  Installing     : gridsite-debuginfo                                                                                                                                                                     6/9 
  Installing     : gridsite-services                                                                                                                                                                      7/9 
  Installing     : gridsite-devel                                                                                                                                                                         8/9 
  Installing     : gridsite-gsexec                                                                                                                                                                        9/9 
warning: group apache does not exist - using root

Installed:
  gridsite-apache.x86_64 0:1.7.15-2.sl5          gridsite-commands.x86_64 0:1.7.15-2.sl5 gridsite-debuginfo.x86_64 0:1.7.15-2.sl5 gridsite-devel.x86_64 0:1.7.15-2.sl5 gridsite-gsexec.x86_64 0:1.7.15-2.sl5
  gridsite-service-clients.x86_64 0:1.7.15-2.sl5 gridsite-services.x86_64 0:1.7.15-2.sl5 gridsite-shared.x86_64 0:1.7.15-2.sl5   

Dependency Installed:
  gsoap.x86_64 0:2.7.13-3.el5                                                                                                                                                                                 

Complete!

Tests

Functionality Tests

TestPlan https://twiki.cern.ch/twiki/bin/view/EGEE/GridSiteTestPlan
Tests http://jra1mw.cvs.cern.ch/cgi-bin/jra1mw.cgi/org.glite.testsuites.ctb/gridsite/tests/

Preparation
yum -y install httpd mod_ssl
sed -e '1,$s!/usr/lib/httpd/modules/!modules/!' /usr/share/doc/gridsite-*/httpd-webserver.conf | sed 's!/var/www/html!/var/www/htdocs!' | sed "s/FULL.SERVER.NAME/$(hostname -f)/" | sed "s/\(GridSiteGSIProxyLimit\)/# \1/"> /tmp/httpd-webserver.conf
echo "AddHandler cgi-script .cgi" >> /tmp/httpd-webserver.conf
echo "ScriptAlias /gridsite-delegation.cgi /usr/sbin/gridsite-delegation.cgi" >> /tmp/httpd-webserver.conf
mkdir /var/www/htdocs
httpd -f /tmp/httpd-webserver.conf
cd ~/
wget -O tests.tar http://jra1mw.cvs.cern.ch/cgi-bin/jra1mw.cgi/org.glite.testsuites.ctb/gridsite/tests.tar.gz?view=tar
tar xf tests.tar
cd tests
voms-proxy-init -voms voce -key /tmp/usercred.p12 -cert /tmp/usercred.p12 -vomses /etc/vomses

Launch
./ping-remote.sh `hostname -f` --html; \
./ping-local.sh -x -f /tmp/httpd-webserver.conf; \
./gridsite-test-all.sh -x

Output
Jul 04 16:48:59 pelargir2.ics.muni.cz ping-remote.sh:    start
Testing if all binaries are available   done
Testing ping to Apache server pelargir2.ics.muni.cz   done
Testing Apache server at pelargir2.ics.muni.cz:443   done
Jul 04 16:49:01 pelargir2.ics.muni.cz ping-remote.sh:    end
Jul 04 16:49:01 pelargir2.ics.muni.cz ping-local.sh:    start
Testing if all binaries are available   done
Testing if Apache is running   done
Testing if GridSite is loaded   done
Testing if Apache is listening on port 443   done
Jul 04 16:49:01 pelargir2.ics.muni.cz ping-local.sh:    end
Jul 04 16:49:01 pelargir2.ics.muni.cz gridsite-test-all.sh:    start
Testing if all binaries are available   done
READ (Read Permissions) Plain read... Return code 403   done
With gacl... Return code 200   done
Get index (list & read permissions) Plain read... Return code 403   done
With gacl... Return code 200   done
WRITE & DELETE (write permissions) Plain write... Return code 403   done
With gacl... Return code 201   done
Try deletion... Return code 403   done
With gacl... Return code 200   done
Checking attributes passed on to the environment Run test.cgi... Return code 200   done
Check for GRST_* veriables...    done
Test the basic commands (htcp, htls, htmkdir, htmv, htrm) Testing htcp...    done
Checking by htls...    done
Testing htmv...    done
htcp, file 2...    done
Testing htrm...    done
Checking by htls...    done
Checking directory contents with htls...    done
File compare...    done
Test proxy delegation id: 1e95840243492edf   done
newid: 1e95840243492edf   done
Test handling of VOMS .lsc files (Regression test for bug #39254 and #82023) Trying without vomsdir. GRST_CRED_2 should not be present...    done
Setting up .lsf file and trying again   done
Checking for presence of FQAN...    done
Test flavours and sonames flavour '' /usr/lib64/libgridsite.so    done
flavour '_nossl' /usr/lib64/libgridsite_nossl.so    done
flavour '_globus' /usr/lib64/libgridsite_globus.so    done
Jul 04 16:49:02 pelargir2.ics.muni.cz gridsite-test-all.sh:    end

Unit Tests

The current code of GridSite does not include any unit tests.

Upgrade from production

Environment

Clean SL5 installation according to gLite guidelines (CA certificates, ...). VOMS installed to test .lsc files acceptance. Fully updated, apache WebServer and mod_ssl installed by calling yum update -y;yum -y install httpd mod_ssl

Process


rpm -Uvhi http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum install -y yum-priorities yum-protectbase
rpm -i http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/base/emi-release-1.0.0-1.sl5.noarch.rpm

yum install -y gridsite-apache gridsite-commands gridsite-debuginfo gridsite-devel.x86_64 gridsite-gsexec gridsite-service-clients gridsite-services gridsite-shared

cd /etc/yum.repos.d/
wget http://etics-repository.cern.ch/repository/pm/registered/repomd/id/2efadb29-61fb-4d5f-be8f-17b799a269e0/sl5_x86_64_gcc412EPEL/etics-registered-build-by-id-protect.repo
echo priority=45 >> etics-registered-build-by-id-protect.repo

yum update -y

Full output of the installation

[root@pelargir2 ~]# rpm -Uvhi http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Retrieving http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
warning: /var/tmp/rpm-xfer.bzOGDv: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
[root@pelargir2 ~]# yum install -y yum-priorities yum-protectbase
Loaded plugins: kernel-module
epel                                                                                                                                                                                   | 3.7 kB     00:00     
epel/primary_db                                                                                                                                                                        | 3.7 MB     00:00     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package yum-priorities.noarch 0:1.1.16-14.el5 set to be updated
---> Package yum-protectbase.noarch 0:1.1.16-14.el5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

==============================================================================================================================================================================================================
 Package                                               Arch                                         Version                                               Repository                                     Size
==============================================================================================================================================================================================================
Installing:
 yum-priorities                                        noarch                                       1.1.16-14.el5                                         sl-base                                        14 k
 yum-protectbase                                       noarch                                       1.1.16-14.el5                                         sl-base                                        12 k

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

Total download size: 25 k
Downloading Packages:
(1/2): yum-protectbase-1.1.16-14.el5.noarch.rpm                                                                                                                                        |  12 kB     00:00     
(2/2): yum-priorities-1.1.16-14.el5.noarch.rpm                                                                                                                                         |  14 kB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                          23 kB/s |  25 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : yum-protectbase                                                                                                                                                                        1/2 
  Installing     : yum-priorities                                                                                                                                                                         2/2 

Installed:
  yum-priorities.noarch 0:1.1.16-14.el5                                                                 yum-protectbase.noarch 0:1.1.16-14.el5                                                                

Complete!
[root@pelargir2 ~]# rpm -i http://emisoft.web.cern.ch/emisoft/dist/EMI/1/sl5/x86_64/base/emi-release-1.0.0-1.sl5.noarch.rpm
warning: /var/tmp/rpm-xfer.HhxqoJ: Header V3 DSA signature: NOKEY, key ID df9e12ef
[root@pelargir2 ~]# 
[root@pelargir2 ~]# yum install -y gridsite-apache gridsite-commands gridsite-debuginfo gridsite-devel.x86_64 gridsite-gsexec gridsite-service-clients gridsite-services gridsite-shared
Loaded plugins: kernel-module, priorities, protectbase
EMI-1-base                                                                                                                                                                             | 1.9 kB     00:00     
EMI-1-base/primary_db                                                                                                                                                                  | 198 kB     00:00     
EMI-1-third-party                                                                                                                                                                      | 1.9 kB     00:00     
EMI-1-third-party/primary_db                                                                                                                                                           |  25 kB     00:00     
EMI-1-updates                                                                                                                                                                          | 1.9 kB     00:00     
EMI-1-updates/primary_db                                                                                                                                                               | 7.2 kB     00:00     
155 packages excluded due to repository priority protections
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gridsite-apache.x86_64 0:1.7.13-1.sl5 set to be updated
---> Package gridsite-commands.x86_64 0:1.7.13-1.sl5 set to be updated
---> Package gridsite-debuginfo.x86_64 0:1.7.13-1.sl5 set to be updated
---> Package gridsite-devel.x86_64 0:1.7.13-1.sl5 set to be updated
---> Package gridsite-gsexec.x86_64 0:1.7.13-1.sl5 set to be updated
---> Package gridsite-service-clients.x86_64 0:1.7.13-1.sl5 set to be updated
--> Processing Dependency: libgsoapssl.so.0()(64bit) for package: gridsite-service-clients
---> Package gridsite-services.x86_64 0:1.7.13-1.sl5 set to be updated
---> Package gridsite-shared.x86_64 0:1.7.13-1.sl5 set to be updated
--> Running transaction check
---> Package gsoap.x86_64 0:2.7.13-3.el5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

==============================================================================================================================================================================================================
 Package                                                     Arch                                      Version                                            Repository                                     Size
==============================================================================================================================================================================================================
Installing:
 gridsite-apache                                             x86_64                                    1.7.13-1.sl5                                       EMI-1-base                                     69 k
 gridsite-commands                                           x86_64                                    1.7.13-1.sl5                                       EMI-1-base                                     28 k
 gridsite-debuginfo                                          x86_64                                    1.7.13-1.sl5                                       EMI-1-base                                    512 k
 gridsite-devel                                              x86_64                                    1.7.13-1.sl5                                       EMI-1-base                                     80 k
 gridsite-gsexec                                             x86_64                                    1.7.13-1.sl5                                       EMI-1-base                                     12 k
 gridsite-service-clients                                    x86_64                                    1.7.13-1.sl5                                       EMI-1-base                                     29 k
 gridsite-services                                           x86_64                                    1.7.13-1.sl5                                       EMI-1-base                                     23 k
 gridsite-shared                                             x86_64                                    1.7.13-1.sl5                                       EMI-1-base                                    130 k
Installing for dependencies:
 gsoap                                                       x86_64                                    2.7.13-3.el5                                       epel                                          444 k

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

Total download size: 1.3 M
Downloading Packages:
(1/9): gridsite-gsexec-1.7.13-1.sl5.x86_64.rpm                                                                                                                                         |  12 kB     00:00     
(2/9): gridsite-services-1.7.13-1.sl5.x86_64.rpm                                                                                                                                       |  23 kB     00:00     
(3/9): gridsite-commands-1.7.13-1.sl5.x86_64.rpm                                                                                                                                       |  28 kB     00:00     
(4/9): gridsite-service-clients-1.7.13-1.sl5.x86_64.rpm                                                                                                                                |  29 kB     00:00     
(5/9): gridsite-apache-1.7.13-1.sl5.x86_64.rpm                                                                                                                                         |  69 kB     00:00     
(6/9): gridsite-devel-1.7.13-1.sl5.x86_64.rpm                                                                                                                                          |  80 kB     00:00     
(7/9): gridsite-shared-1.7.13-1.sl5.x86_64.rpm                                                                                                                                         | 130 kB     00:00     
(8/9): gsoap-2.7.13-3.el5.x86_64.rpm                                                                                                                                                   | 444 kB     00:00     
(9/9): gridsite-debuginfo-1.7.13-1.sl5.x86_64.rpm                                                                                                                                      | 512 kB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                         1.2 MB/s | 1.3 MB     00:01     
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID df9e12ef
EMI-1-base/gpgkey                                                                                                                                                                      | 1.7 kB     00:00     
Importing GPG key 0xDF9E12EF "Doina Cristina Aiftimiei (EMI Release Manager) <aiftim@pd.infn.it>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-emi
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6
epel/gpgkey                                                                                                                                                                            | 1.7 kB     00:00     
Importing GPG key 0x217521F6 "Fedora EPEL <epel@fedoraproject.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : gridsite-shared                                                                                                                                                                        1/9 
  Installing     : gsoap                                                                                                                                                                                  2/9 
  Installing     : gridsite-apache                                                                                                                                                                        3/9 
  Installing     : gridsite-debuginfo                                                                                                                                                                     4/9 
  Installing     : gridsite-commands                                                                                                                                                                      5/9 
  Installing     : gridsite-service-clients                                                                                                                                                               6/9 
  Installing     : gridsite-devel                                                                                                                                                                         7/9 
  Installing     : gridsite-services                                                                                                                                                                      8/9 
  Installing     : gridsite-gsexec                                                                                                                                                                        9/9 

Installed:
  gridsite-apache.x86_64 0:1.7.13-1.sl5          gridsite-commands.x86_64 0:1.7.13-1.sl5 gridsite-debuginfo.x86_64 0:1.7.13-1.sl5 gridsite-devel.x86_64 0:1.7.13-1.sl5 gridsite-gsexec.x86_64 0:1.7.13-1.sl5
  gridsite-service-clients.x86_64 0:1.7.13-1.sl5 gridsite-services.x86_64 0:1.7.13-1.sl5 gridsite-shared.x86_64 0:1.7.13-1.sl5   

Dependency Installed:
  gsoap.x86_64 0:2.7.13-3.el5                                                                                                                                                                                 

Complete!
[root@pelargir2 ~]# 
[root@pelargir2 ~]# cd /etc/yum.repos.d/
[root@pelargir2 yum.repos.d]# wget http://etics-repository.cern.ch/repository/pm/registered/repomd/id/2efadb29-61fb-4d5f-be8f-17b799a269e0/sl5_x86_64_gcc412EPEL/etics-registered-build-by-id-protect.repo
--2011-07-04 17:04:11--  http://etics-repository.cern.ch/repository/pm/registered/repomd/id/2efadb29-61fb-4d5f-be8f-17b799a269e0/sl5_x86_64_gcc412EPEL/etics-registered-build-by-id-protect.repo
Resolving etics-repository.cern.ch... 128.142.130.60
Connecting to etics-repository.cern.ch|128.142.130.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 890
Saving to: `etics-registered-build-by-id-protect.repo'

100%[====================================================================================================================================================================>] 890         --.-K/s   in 0s      

2011-07-04 17:04:13 (70.9 MB/s) - `etics-registered-build-by-id-protect.repo' saved [890/890]

[root@pelargir2 yum.repos.d]# echo priority=45 >> etics-registered-build-by-id-protect.repo
[root@pelargir2 yum.repos.d]# 
[root@pelargir2 yum.repos.d]# yum update -y
Loaded plugins: kernel-module, priorities, protectbase
ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                                                                                                      |  764 B     00:00     
ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL/primary                                                                                              | 3.4 kB     00:00     
ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                                                                                                                       11/11
155 packages excluded due to repository priority protections
0 packages excluded due to repository protections
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package gridsite-apache.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-commands.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-debuginfo.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-devel.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-gsexec.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-service-clients.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-services.x86_64 0:1.7.15-2.sl5 set to be updated
---> Package gridsite-shared.x86_64 0:1.7.15-2.sl5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

==============================================================================================================================================================================================================
 Package                                    Arch                     Version                        Repository                                                                                           Size
==============================================================================================================================================================================================================
Updating:
 gridsite-apache                            x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    69 k
 gridsite-commands                          x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    28 k
 gridsite-debuginfo                         x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                   514 k
 gridsite-devel                             x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    81 k
 gridsite-gsexec                            x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    12 k
 gridsite-service-clients                   x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    29 k
 gridsite-services                          x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                    23 k
 gridsite-shared                            x86_64                   1.7.15-2.sl5                   ETICS-registered-build-2efadb29-61fb-4d5f-be8f-17b799a269e0-sl5_x86_64_gcc412EPEL                   131 k

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

Total download size: 885 k
Downloading Packages:
(1/8): gridsite-gsexec-1.7.15-2.sl5.x86_64.rpm                                                                                                                                         |  12 kB     00:00     
(2/8): gridsite-services-1.7.15-2.sl5.x86_64.rpm                                                                                                                                       |  23 kB     00:00     
(3/8): gridsite-commands-1.7.15-2.sl5.x86_64.rpm                                                                                                                                       |  28 kB     00:00     
(4/8): gridsite-service-clients-1.7.15-2.sl5.x86_64.rpm                                                                                                                                |  29 kB     00:00     
(5/8): gridsite-apache-1.7.15-2.sl5.x86_64.rpm                                                                                                                                         |  69 kB     00:00     
(6/8): gridsite-devel-1.7.15-2.sl5.x86_64.rpm                                                                                                                                          |  81 kB     00:00     
(7/8): gridsite-shared-1.7.15-2.sl5.x86_64.rpm                                                                                                                                         | 131 kB     00:00     
(8/8): gridsite-debuginfo-1.7.15-2.sl5.x86_64.rpm                                                                                                                                      | 514 kB     00:00     
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                         1.3 MB/s | 885 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating       : gridsite-shared                                                                                                                                                                       1/16 
  Updating       : gridsite-service-clients                                                                                                                                                              2/16 
  Updating       : gridsite-commands                                                                                                                                                                     3/16 
  Updating       : gridsite-apache                                                                                                                                                                       4/16 
  Updating       : gridsite-debuginfo                                                                                                                                                                    5/16 
  Updating       : gridsite-services                                                                                                                                                                     6/16 
  Updating       : gridsite-devel                                                                                                                                                                        7/16 
  Updating       : gridsite-gsexec                                                                                                                                                                       8/16 
  Cleanup        : gridsite-shared                                                                                                                                                                       9/16 
  Cleanup        : gridsite-service-clients                                                                                                                                                             10/16 
  Cleanup        : gridsite-commands                                                                                                                                                                    11/16 
  Cleanup        : gridsite-apache                                                                                                                                                                      12/16 
  Cleanup        : gridsite-debuginfo                                                                                                                                                                   13/16 
  Cleanup        : gridsite-services                                                                                                                                                                    14/16 
  Cleanup        : gridsite-devel                                                                                                                                                                       15/16 
  Cleanup        : gridsite-gsexec                                                                                                                                                                      16/16 

Updated:
  gridsite-apache.x86_64 0:1.7.15-2.sl5          gridsite-commands.x86_64 0:1.7.15-2.sl5 gridsite-debuginfo.x86_64 0:1.7.15-2.sl5 gridsite-devel.x86_64 0:1.7.15-2.sl5 gridsite-gsexec.x86_64 0:1.7.15-2.sl5
  gridsite-service-clients.x86_64 0:1.7.15-2.sl5 gridsite-services.x86_64 0:1.7.15-2.sl5 gridsite-shared.x86_64 0:1.7.15-2.sl5   

Complete!

Tests

Functionality Tests

TestPlan https://twiki.cern.ch/twiki/bin/view/EGEE/GridSiteTestPlan
Tests http://jra1mw.cvs.cern.ch/cgi-bin/jra1mw.cgi/org.glite.testsuites.ctb/gridsite/tests/

Preparation
yum -y install httpd mod_ssl
sed -e '1,$s!/usr/lib/httpd/modules/!modules/!' /usr/share/doc/gridsite-*/httpd-webserver.conf | sed 's!/var/www/html!/var/www/htdocs!' | sed "s/FULL.SERVER.NAME/$(hostname -f)/" | sed "s/\(GridSiteGSIProxyLimit\)/# \1/"> /tmp/httpd-webserver.conf
echo "AddHandler cgi-script .cgi" >> /tmp/httpd-webserver.conf
echo "ScriptAlias /gridsite-delegation.cgi /usr/sbin/gridsite-delegation.cgi" >> /tmp/httpd-webserver.conf
mkdir /var/www/htdocs
httpd -f /tmp/httpd-webserver.conf
cd ~/
wget -O tests.tar http://jra1mw.cvs.cern.ch/cgi-bin/jra1mw.cgi/org.glite.testsuites.ctb/gridsite/tests.tar.gz?view=tar
tar xf tests.tar
cd tests
voms-proxy-init -voms voce -key /tmp/usercred.p12 -cert /tmp/usercred.p12 -vomses /etc/vomses

Launch
./ping-remote.sh `hostname -f` --html; \
./ping-local.sh -x -f /tmp/httpd-webserver.conf; \
./gridsite-test-all.sh -x

Output
Jul 04 17:06:00 pelargir2.ics.muni.cz ping-remote.sh:    start
Testing if all binaries are available   done
Testing ping to Apache server pelargir2.ics.muni.cz   done
Testing Apache server at pelargir2.ics.muni.cz:443   done
Jul 04 17:06:02 pelargir2.ics.muni.cz ping-remote.sh:    end
Jul 04 17:06:02 pelargir2.ics.muni.cz ping-local.sh:    start
Testing if all binaries are available   done
Testing if Apache is running   done
Testing if GridSite is loaded   done
Testing if Apache is listening on port 443   done
Jul 04 17:06:02 pelargir2.ics.muni.cz ping-local.sh:    end
Jul 04 17:06:02 pelargir2.ics.muni.cz gridsite-test-all.sh:    start
Testing if all binaries are available   done
READ (Read Permissions) Plain read... Return code 403   done
With gacl... Return code 200   done
Get index (list & read permissions) Plain read... Return code 403   done
With gacl... Return code 200   done
WRITE & DELETE (write permissions) Plain write... Return code 403   done
With gacl... Return code 201   done
Try deletion... Return code 403   done
With gacl... Return code 200   done
Checking attributes passed on to the environment Run test.cgi... Return code 200   done
Check for GRST_* veriables...    done
Test the basic commands (htcp, htls, htmkdir, htmv, htrm) Testing htcp...    done
Checking by htls...    done
Testing htmv...    done
htcp, file 2...    done
Testing htrm...    done
Checking by htls...    done
Checking directory contents with htls...    done
File compare...    done
Test proxy delegation id: 1e95840243492edf   done
newid: 1e95840243492edf   done
Test handling of VOMS .lsc files (Regression test for bug #39254 and #82023) Trying without vomsdir. GRST_CRED_2 should not be present...    done
Setting up .lsf file and trying again   done
Checking for presence of FQAN...    done
Test flavours and sonames flavour '' /usr/lib64/libgridsite.so    done
flavour '_nossl' /usr/lib64/libgridsite_nossl.so    done
flavour '_globus' /usr/lib64/libgridsite_globus.so    done
Jul 04 17:06:03 pelargir2.ics.muni.cz gridsite-test-all.sh:    end

Unit Tests

The current code of GridSite does not include any unit tests.

Resolution of Linked Bugs (Regression Tests where applicable)

Igridsite headers lack multiple include protection and extern "C" declarations (#69632)

Prerequisities:
  • installed gridsite
  • development tools (gcc-c++, binutils)

Steps:

cat >main.cpp <<EOF
#include <gridsite.h>
int main() { GRSTgaclCredCreate("", ""); return 0; }
EOF
g++ main.cpp -lgridsite

Output before update:

[root@forkys-sl65 ~]# g++ main.cpp -lgridsite
/tmp/ccpYxX9j.o: In function `main':
main.cpp:(.text+0xf): undefined reference to `GRSTgaclCredCreate(char*, char*)'
collect2: ld returned 1 exit status

Output after update:

[root@forkys-sl65 ~]# g++ main.cpp -lgridsite
[root@forkys-sl65 ~]# echo $?
0

  • Fix Certified

Header file gridsite-gacl.h includes prototype for static function (#69635)

Checked by code review: gridsite-gacl.h from 1.7.14
  • Fix Certified

Gridsite cannot use VOMS .lsc files (#82023)

  • Functionality test gridsite-test-all.sh was extended to regression-test this bug. See above
  • Fix Certified

initialization makes pointer from integer without a cast (#83449)

Prerequisities:
  • installed: binutils gcc make doxygen httpd-devel gsoap-devel openssl-devel fuse-devel globus-gssapi-gsi-devel
  • gridsite sources:
    • previous:
      cvs -d:pserver:anonymous@glite.cvs.cern.ch:/cvs/glite co -r gridsite-core_R_1_7_13 org.gridsite.core
    • new:
      cvs -d:pserver:anonymous@glite.cvs.cern.ch:/cvs/glite co -r gridsite-core_R_1_7_14 org.gridsite.core

Steps:

cd org.gridiste.core/src
make RELEASE_VERSION=1.sl5 libdir=lib64 GSOAPDIR=`pkg-config gsoap --variable=prefix` OPENSSL_GLOBUS_FLAGS=`pkg-config globus-openssl --cflags` OPENSSL_GLOBUS_LIBS=`pkg-config globus-openssl --libs` FLAVOR_GLOBUS_EXT= HTTPD_FLAGS="-I/usr/include/httpd -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/pcre" clean build >log 2>&1
grep 'pointer from integer' log

Output with previous version:

[root@forkys-sl65 src]# grep 'pointer from integer' log
mod_gridsite.c:3667: warning: initialization makes pointer from integer without a cast
[root@forkys-sl65 src]# 

Output with current version:

[root@forkys-sl65 src]# grep 'pointer from integer' log
[root@forkys-sl65 src]# 

  • Fix Certified

Build fails when -Wl,--as-needed is used (#83450)

Prerequisities:
  • installed: binutils gcc make doxygen httpd-devel gsoap-devel openssl-devel fuse-devel globus-gssapi-gsi-devel
  • gridsite sources:
    • previous:
      cvs -d:pserver:anonymous@glite.cvs.cern.ch:/cvs/glite co -r gridsite-core_R_1_7_13 org.gridsite.core
    • new:
      cvs -d:pserver:anonymous@glite.cvs.cern.ch:/cvs/glite co -r gridsite-core_R_1_7_14 org.gridsite.core

Steps:

cd src
sed -i.orig 's/gcc /gcc -Wl,--as-needed /' Makefile
make RELEASE_VERSION=1.sl5 libdir=lib64 GSOAPDIR=`pkg-config gsoap --variable=prefix` OPENSSL_GLOBUS_FLAGS=`pkg-config globus-openssl --cflags` OPENSSL_GLOBUS_LIBS=`pkg-config globus-openssl --libs` FLAVOR_GLOBUS_EXT= HTTPD_FLAGS="-I/usr/include/httpd -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/pcre" clean build >/dev/null

Output with previous version:

...
gcc: --as-needed: linker input file unused because linking not done
./libgridsite.so: undefined reference to `xmlStrcmp'
./libgridsite.so: undefined reference to `xmlDocGetRootElement'
./libgridsite.so: undefined reference to `xmlInitParser'
./libgridsite.so: undefined reference to `xmlIsBlankNode'
./libgridsite.so: undefined reference to `xmlFreeDoc'
./libgridsite.so: undefined reference to `xmlCheckVersion'
./libgridsite.so: undefined reference to `xmlParseFile'
./libgridsite.so: undefined reference to `xmlNodeGetContent'
./libgridsite.so: undefined reference to `xmlKeepBlanksDefault'
collect2: ld returned 1 exit status
make: *** [htcp] Error 1
[root@forkys-sl65 src]# echo $?
2

Output with current version:

...
grst_xacml.c:107: warning: ‘GRSTgaclCredAddValue’ is deprecated (declared at ../interface/gridsite.h:256)
gcc: --as-needed: linker input file unused because linking not done
gcc: --as-needed: linker input file unused because linking not done
[root@forkys-sl65 src]# echo $?
0

  • Fix Certified

There's a memory leak in GRSTx509MakeProxyCert function of gridsite component (#83773)

  • Bug not replicated—Code reviewed.
  • Fix Certified

Update gridsite to 1.7.15-1 failed (bug #83945)

  • Functionality test gridsite-test-all.sh was extended to regression-test this bug. See above
  • Fix Certified

-- ZdenekSustr - 28-Jun-2011

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2011-07-04 - ZdenekSustr
 
    • 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