Certification Report for Patch 4547 (GridSite 1.7.9-3, x86, SL5)

Origins

Build Report http://etics-repository.cern.ch/repository/reports/id/8c931a38-8341-41ea-8d51-794b863729a5/sl5_x86_64_gcc412/-/reports/index.html
YUM repo file http://etics-repository.cern.ch/repository/pm/registered/repomd/id/8c931a38-8341-41ea-8d51-794b863729a5/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
Patch https://savannah.cern.ch/patch/?4547
Components org.gridsite subsystem
Status Certified
Duration 7 hrs.

Clean installation

Environment

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

Process

cd /etc/yum.repos.d/
wget http://etics-repository.cern.ch/repository/pm/registered/repomd/id/8c931a38-8341-41ea-8d51-794b863729a5/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
install gridsite-apache gridsite-commands gridsite-debuginfo gridsite-devel gridsite-gsexec gridsite-service-clients gridsite-services gridsite-shared

Full output of the installation

[root@delwin ~]# cd /etc/yum.repos.d/
[root@delwin yum.repos.d]# wget http://etics-repository.cern.ch/repository/pm/registered/repomd/id/8c931a38-8341-41ea-8d51-794b863729a5/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
--14:46:24--  http://etics-repository.cern.ch/repository/pm/registered/repomd/id/8c931a38-8341-41ea-8d51-794b863729a5/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
Resolving etics-repository.cern.ch... 128.142.130.62
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 846
Saving to: `etics-registered-build-by-id.repo'

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

14:46:24 (80.7 MB/s) - `etics-registered-build-by-id.repo' saved [846/846]

[root@delwin yum.repos.d]# yum -y install gridsite-apache gridsite-commands gridsite-debuginfo gridsite-devel gridsite-gsexec gridsite-service-clients gridsite-services gridsite-shared
Loaded plugins: kernel-module
ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412           |  764 B     00:00     
primary.xml.gz                                                                          | 2.7 kB     00:00     
ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl 8/8
sl-base                                                                                 | 1.1 kB     00:00     
sl-security                                                                             | 1.9 kB     00:00     
primary.sqlite.bz2                                                                      | 1.6 MB     00:04     
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gridsite-apache.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-commands.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-shared.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-debuginfo.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-services.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-service-clients.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-devel.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-gsexec.x86_64 0:1.7.9-3.sl5 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.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   70 k
 gridsite-commands
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   29 k
 gridsite-debuginfo
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412  405 k
 gridsite-devel
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   80 k
 gridsite-gsexec
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   12 k
 gridsite-service-clients
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   79 k
 gridsite-services
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   69 k
 gridsite-shared
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412  129 k

Transaction Summary
===============================================================================================================
Install      8 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 872 k
Downloading Packages:
(1/8): gridsite-gsexec-1.7.9-3.sl5.x86_64.rpm                                           |  12 kB     00:00     
(2/8): gridsite-commands-1.7.9-3.sl5.x86_64.rpm                                         |  29 kB     00:00     
(3/8): gridsite-services-1.7.9-3.sl5.x86_64.rpm                                         |  69 kB     00:00     
(4/8): gridsite-apache-1.7.9-3.sl5.x86_64.rpm                                           |  70 kB     00:00     
(5/8): gridsite-service-clients-1.7.9-3.sl5.x86_64.rpm                                  |  79 kB     00:00     
(6/8): gridsite-devel-1.7.9-3.sl5.x86_64.rpm                                            |  80 kB     00:00     
(7/8): gridsite-shared-1.7.9-3.sl5.x86_64.rpm                                           | 129 kB     00:00     
(8/8): gridsite-debuginfo-1.7.9-3.sl5.x86_64.rpm                                        | 405 kB     00:00     
---------------------------------------------------------------------------------------------------------------
Total                                                                          441 kB/s | 872 kB     00:01     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : gridsite-shared                                   [1/8] 
  Installing     : gridsite-service-clients                          [2/8] 
  Installing     : gridsite-debuginfo                                [3/8] 
  Installing     : gridsite-services                                 [4/8] 
  Installing     : gridsite-commands                                 [5/8] 
  Installing     : gridsite-apache                                   [6/8] 
  Installing     : gridsite-devel                                    [7/8] 
  Installing     : gridsite-gsexec                                   [8/8] 
warning: group apache does not exist - using root

Installed: gridsite-apache.x86_64 0:1.7.9-3.sl5 gridsite-commands.x86_64 0:1.7.9-3.sl5 gridsite-debuginfo.x86_64 0:1.7.9-3.sl5 gridsite-devel.x86_64 0:1.7.9-3.sl5 gridsite-gsexec.x86_64 0:1.7.9-3.sl5 gridsite-service-clients.x86_64 0:1.7.9-3.sl5 gridsite-services.x86_64 0:1.7.9-3.sl5 gridsite-shared.x86_64 0:1.7.9-3.sl5
Complete!

Tests

Test preparations:

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

Ping Tests

Process:

cvs -d:pserver:anonymous@glite.cvs.cern.ch:/cvs/glite co org.glite.testsuites.ctb/gridsite
cd org.glite.testsuites.ctb/gridsite/tests
./ping-remote.sh `hostname -f` --html
./ping-local.sh -x -f /tmp/httpd-webserver.conf

Output:

[root@delwin tests]# ./ping-remote.sh `hostname -f` --html
Dec 07 14:55:41 delwin.fi.muni.cz ping-remote.sh:    start
Testing if all binaries are available   done
| Testing ping to Apache server delwin.fi.muni.cz   done
| Testing Apache server at delwin.fi.muni.cz:443   done
Dec 07 14:55:43 delwin.fi.muni.cz ping-remote.sh:    end

[root@delwin tests]# ./ping-local.sh -x -f /tmp/httpd-webserver.conf
Dec 07 15:12:26 delwin.fi.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
Dec 07 15:12:26 delwin.fi.muni.cz ping-local.sh:    end

TestPlan 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/

[root@delwin tests]# ./gridsite-test-all.sh -x
Dec 07 15:13:18 delwin.fi.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: 009e5d97c208e244   done
newid: 009e5d97c208e244   done
Dec 07 15:13:19 delwin.fi.muni.cz gridsite-test-all.sh:    end

Upgrade from production

Environment

Clean SL5 installation according to gLite guidelines (CA certificates, ...). Fully updated. Apache WebServer and mod_ssl installed by calling yum -y install httpd mod_ssl

Process

On a clean, up-to-date system:
cat > list.txt <<EOF
http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-apache-1.7.9-2.sl5.x86_64.rpm
http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-commands-1.7.9-2.sl5.x86_64.rpm
http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-debuginfo-1.7.9-2.sl5.x86_64.rpm
http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-devel-1.7.9-2.sl5.x86_64.rpm
http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-gsexec-1.7.9-2.sl5.x86_64.rpm
http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-service-clients-1.7.9-2.sl5.x86_64.rpm
http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-services-1.7.9-2.sl5.x86_64.rpm
http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-shared-1.7.9-2.sl5.x86_64.rpm
EOF
mkdir /var/cache/glite-local
cd /var/cache/glite-local
wget -i ~/list.txt
createrepo .
cd
cat > /etc/yum.repos.d/glite-local.repo <<EOF
[main]
[glite-local]
name=Local glite RPMS repository
baseurl=file:///var/cache/glite-local
enabled=1
EOF
yum clean all
yum install -y gridsite-apache gridsite-commands gridsite-debuginfo gridsite-devel gridsite-gsexec gridsite-shared gridsite-services gridsite-service-clients

cd /etc/yum.repos.d/
wget http://etics-repository.cern.ch/repository/pm/registered/repomd/id/8c931a38-8341-41ea-8d51-794b863729a5/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
yum -y update

Full output of the installation

[root@delwin ~]# cat > list.txt <<EOF
> http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-apache-1.7.9-2.sl5.x86_64.rpm
> http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-commands-1.7.9-2.sl5.x86_64.rpm
> http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-debuginfo-1.7.9-2.sl5.x86_64.rpm
> http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-devel-1.7.9-2.sl5.x86_64.rpm
> http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-gsexec-1.7.9-2.sl5.x86_64.rpm
> http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-service-clients-1.7.9-2.sl5.x86_64.rpm
> http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-services-1.7.9-2.sl5.x86_64.rpm
> http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-shared-1.7.9-2.sl5.x86_64.rpm
> EOF
[root@delwin ~]# mkdir /var/cache/glite-local
[root@delwin ~]# cd /var/cache/glite-local
[root@delwin glite-local]# wget -i ~/list.txt
--2010-12-07 18:07:35--  http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-apache-1.7.9-2.sl5.x86_64.rpm
Resolving etics-repository.cern.ch... 128.142.130.62
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: `gridsite-apache-1.7.9-2.sl5.x86_64.rpm'

    [ <=>                                                                  ] 71,249      --.-K/s   in 0.06s   

2010-12-07 18:07:35 (1.12 MB/s) - `gridsite-apache-1.7.9-2.sl5.x86_64.rpm' saved [71249]

--2010-12-07 18:07:35--  http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-commands-1.7.9-2.sl5.x86_64.rpm
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: `gridsite-commands-1.7.9-2.sl5.x86_64.rpm'

    [ <=>                                                                  ] 29,250      --.-K/s   in 0.04s   

2010-12-07 18:07:35 (706 KB/s) - `gridsite-commands-1.7.9-2.sl5.x86_64.rpm' saved [29250]

--2010-12-07 18:07:35--  http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-debuginfo-1.7.9-2.sl5.x86_64.rpm
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: `gridsite-debuginfo-1.7.9-2.sl5.x86_64.rpm'

    [ <=>                                                                  ] 415,080     2.12M/s   in 0.2s    

2010-12-07 18:07:35 (2.12 MB/s) - `gridsite-debuginfo-1.7.9-2.sl5.x86_64.rpm' saved [415080]

--2010-12-07 18:07:35--  http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-devel-1.7.9-2.sl5.x86_64.rpm
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: `gridsite-devel-1.7.9-2.sl5.x86_64.rpm'

    [ <=>                                                                  ] 81,592      --.-K/s   in 0.08s   

2010-12-07 18:07:35 (964 KB/s) - `gridsite-devel-1.7.9-2.sl5.x86_64.rpm' saved [81592]

--2010-12-07 18:07:35--  http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-gsexec-1.7.9-2.sl5.x86_64.rpm
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: `gridsite-gsexec-1.7.9-2.sl5.x86_64.rpm'

    [ <=>                                                                  ] 12,398      --.-K/s   in 0.02s   

2010-12-07 18:07:35 (564 KB/s) - `gridsite-gsexec-1.7.9-2.sl5.x86_64.rpm' saved [12398]

--2010-12-07 18:07:35--  http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-service-clients-1.7.9-2.sl5.x86_64.rpm
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: `gridsite-service-clients-1.7.9-2.sl5.x86_64.rpm'

    [ <=>                                                                  ] 81,104      --.-K/s   in 0.08s   

2010-12-07 18:07:35 (962 KB/s) - `gridsite-service-clients-1.7.9-2.sl5.x86_64.rpm' saved [81104]

--2010-12-07 18:07:35--  http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-services-1.7.9-2.sl5.x86_64.rpm
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: `gridsite-services-1.7.9-2.sl5.x86_64.rpm'

    [ <=>                                                                  ] 70,249      --.-K/s   in 0.06s   

2010-12-07 18:07:35 (1.08 MB/s) - `gridsite-services-1.7.9-2.sl5.x86_64.rpm' saved [70249]

--2010-12-07 18:07:35--  http://etics-repository.cern.ch/repository/download/volatile/default/org.glite/org.gridsite.core/1.7.9/sl5_x86_64_gcc412/gridsite-shared-1.7.9-2.sl5.x86_64.rpm
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified
Saving to: `gridsite-shared-1.7.9-2.sl5.x86_64.rpm'

    [ <=>                                                                  ] 131,630     --.-K/s   in 0.1s    

2010-12-07 18:07:36 (1.17 MB/s) - `gridsite-shared-1.7.9-2.sl5.x86_64.rpm' saved [131630]

FINISHED --2010-12-07 18:07:36--
Downloaded: 8 files, 872K in 0.6s (1.32 MB/s)
[root@delwin glite-local]# createrepo .
8/8 - gridsite-commands-1.7.9-2.sl5.x86_64.rpm                                  
Saving Primary metadata
Saving file lists metadata
Saving other metadata
[root@delwin glite-local]# cd
[root@delwin ~]# cat > /etc/yum.repos.d/glite-local.repo <<EOF
> [main]
> [glite-local]
> name=Local glite RPMS repository
> baseurl=file:///var/cache/glite-local
> enabled=1
> EOF
[root@delwin ~]# yum clean all
Loaded plugins: kernel-module
Cleaning up Everything
[root@delwin ~]# yum install -y gridsite-apache gridsite-commands gridsite-debuginfo gridsite-devel gridsite-gsexec gridsite-shared gridsite-services gridsite-service-clients
Loaded plugins: kernel-module
glite-local                                                                             |  951 B     00:00     
glite-local/primary                                                                     | 2.5 kB     00:00     
glite-local                                                                                                8/8
sl-base                                                                                 | 1.1 kB     00:00     
sl-base/primary                                                                         | 905 kB     00:01     
sl-base                                                                                              3409/3409
sl-security                                                                             | 1.9 kB     00:00     
sl-security/primary_db                                                                  | 1.6 MB     00:03     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gridsite-apache.x86_64 0:1.7.9-2.sl5 set to be updated
---> Package gridsite-commands.x86_64 0:1.7.9-2.sl5 set to be updated
---> Package gridsite-debuginfo.x86_64 0:1.7.9-2.sl5 set to be updated
---> Package gridsite-devel.x86_64 0:1.7.9-2.sl5 set to be updated
---> Package gridsite-gsexec.x86_64 0:1.7.9-2.sl5 set to be updated
---> Package gridsite-service-clients.x86_64 0:1.7.9-2.sl5 set to be updated
---> Package gridsite-services.x86_64 0:1.7.9-2.sl5 set to be updated
---> Package gridsite-shared.x86_64 0:1.7.9-2.sl5 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.9-2.sl5             glite-local              70 k
 gridsite-commands                    x86_64             1.7.9-2.sl5             glite-local              29 k
 gridsite-debuginfo                   x86_64             1.7.9-2.sl5             glite-local             405 k
 gridsite-devel                       x86_64             1.7.9-2.sl5             glite-local              80 k
 gridsite-gsexec                      x86_64             1.7.9-2.sl5             glite-local              12 k
 gridsite-service-clients             x86_64             1.7.9-2.sl5             glite-local              79 k
 gridsite-services                    x86_64             1.7.9-2.sl5             glite-local              69 k
 gridsite-shared                      x86_64             1.7.9-2.sl5             glite-local             129 k

Transaction Summary
===============================================================================================================
Install      8 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 872 k
Downloading Packages:
---------------------------------------------------------------------------------------------------------------
Total                                                                          258 MB/s | 872 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : gridsite-shared                                                                         1/8 
  Installing     : gridsite-debuginfo                                                                      2/8 
  Installing     : gridsite-services                                                                       3/8 
  Installing     : gridsite-gsexec                                                                         4/8 
warning: group apache does not exist - using root
  Installing     : gridsite-service-clients                                                                5/8 
  Installing     : gridsite-commands                                                                       6/8 
  Installing     : gridsite-devel                                                                          7/8 
  Installing     : gridsite-apache                                                                         8/8 

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

Complete!
[root@delwin ~]# 
[root@delwin ~]# cd /etc/yum.repos.d/
[root@delwin yum.repos.d]# wget http://etics-repository.cern.ch/repository/pm/registered/repomd/id/8c931a38-8341-41ea-8d51-794b863729a5/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
--2010-12-07 18:08:11--  http://etics-repository.cern.ch/repository/pm/registered/repomd/id/8c931a38-8341-41ea-8d51-794b863729a5/sl5_x86_64_gcc412/etics-registered-build-by-id.repo
Resolving etics-repository.cern.ch... 128.142.130.62
Connecting to etics-repository.cern.ch|128.142.130.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 846
Saving to: `etics-registered-build-by-id.repo'

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

2010-12-07 18:08:11 (57.6 MB/s) - `etics-registered-build-by-id.repo' saved [846/846]

[root@delwin yum.repos.d]# yum -y update
Loaded plugins: kernel-module
ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412           |  764 B     00:00     
ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412/primary   | 2.7 kB     00:00     
ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412                              8/8
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package gridsite-apache.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-commands.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-debuginfo.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-devel.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-gsexec.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-service-clients.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-services.x86_64 0:1.7.9-3.sl5 set to be updated
---> Package gridsite-shared.x86_64 0:1.7.9-3.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.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   70 k
 gridsite-commands
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   29 k
 gridsite-debuginfo
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412  405 k
 gridsite-devel
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   80 k
 gridsite-gsexec
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   12 k
 gridsite-service-clients
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   79 k
 gridsite-services
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412   69 k
 gridsite-shared
    x86_64  1.7.9-3.sl5   ETICS-registered-build-8c931a38-8341-41ea-8d51-794b863729a5-sl5_x86_64_gcc412  129 k

Transaction Summary
===============================================================================================================
Install      0 Package(s)         
Update       8 Package(s)         
Remove       0 Package(s)         

Total download size: 872 k
Downloading Packages:
(1/8): gridsite-gsexec-1.7.9-3.sl5.x86_64.rpm                                           |  12 kB     00:00     
(2/8): gridsite-commands-1.7.9-3.sl5.x86_64.rpm                                         |  29 kB     00:00     
(3/8): gridsite-services-1.7.9-3.sl5.x86_64.rpm                                         |  69 kB     00:00     
(4/8): gridsite-apache-1.7.9-3.sl5.x86_64.rpm                                           |  70 kB     00:00     
(5/8): gridsite-service-clients-1.7.9-3.sl5.x86_64.rpm                                  |  79 kB     00:00     
(6/8): gridsite-devel-1.7.9-3.sl5.x86_64.rpm                                            |  80 kB     00:00     
(7/8): gridsite-shared-1.7.9-3.sl5.x86_64.rpm                                           | 129 kB     00:00     
(8/8): gridsite-debuginfo-1.7.9-3.sl5.x86_64.rpm                                        | 405 kB     00:00     
---------------------------------------------------------------------------------------------------------------
Total                                                                          995 kB/s | 872 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-debuginfo                                                                     3/16 
  Updating       : gridsite-services                                                                      4/16 
  Updating       : gridsite-commands                                                                      5/16 
  Updating       : gridsite-apache                                                                        6/16 
  Updating       : gridsite-devel                                                                         7/16 
  Updating       : gridsite-gsexec                                                                        8/16 
warning: group apache does not exist - using root
  Cleanup        : gridsite-service-clients                                                               9/16 
  Cleanup        : gridsite-debuginfo                                                                    10/16 
  Cleanup        : gridsite-services                                                                     11/16 
  Cleanup        : gridsite-shared                                                                       12/16 
  Cleanup        : gridsite-commands                                                                     13/16 
  Cleanup        : gridsite-apache                                                                       14/16 
  Cleanup        : gridsite-devel                                                                        15/16 
  Cleanup        : gridsite-gsexec                                                                       16/16 

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

Complete!

Tests

Test preparations:

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

Ping Tests

Process:

cvs -d:pserver:anonymous@glite.cvs.cern.ch:/cvs/glite co org.glite.testsuites.ctb/gridsite
cd org.glite.testsuites.ctb/gridsite/tests
./ping-remote.sh `hostname -f` --html
./ping-local.sh -x -f /tmp/httpd-webserver.conf

Output:

[root@delwin tests]# ./ping-remote.sh `hostname -f` --html
Dec 07 18:11:22 delwin.fi.muni.cz ping-remote.sh:    start
Testing if all binaries are available   done
Testing ping to Apache server delwin.fi.muni.cz   done
Testing Apache server at delwin.fi.muni.cz:443   done
Dec 07 18:11:24 delwin.fi.muni.cz ping-remote.sh:    end
[root@delwin tests]# ./ping-local.sh -x -f /tmp/httpd-webserver.conf
Dec 07 18:11:31 delwin.fi.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
Dec 07 18:11:31 delwin.fi.muni.cz ping-local.sh:    end

TestPlan 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/

[root@delwin tests]# ./gridsite-test-all.sh -x

Dec 07 18:12:27 delwin.fi.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: 009e5d97c208e244   done
newid: 009e5d97c208e244   done
Dec 07 18:12:29 delwin.fi.muni.cz gridsite-test-all.sh:    end

Resolution of Linked Bugs

#75904 – Bad SONAME in gridsite...

Before Update

[root@delwin tests]# readelf -a /usr/lib64/libgridsite.so.1.7.9 | grep SONAME
 0x000000000000000e (SONAME)             Library soname: [libgridsite.so.1.7]

After Update

[root@delwin tests]# readelf -a /usr/lib64/libgridsite.so.1.7.9 | grep SONAME
 0x000000000000000e (SONAME)             Library soname: [libgridsite.so.1.5]

This is a temporary fix for backward compatibility. The minor version will be left out altogether in the next major release.

  • Fix Certified

-- ZdenekSustr - 07-Dec-2010

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2010-12-08 - 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