*********************************
EMI Test Report Template 
*********************************

- Product: Pseudonymity

- Release Task: 24867

- ETICS Subsystem Configuration Name: emi-pseudonymity_R_1_1_0_0

- VCS Tag: tags/1_1_0-0

- EMI Major Release: EMI-2

- Platforms: SL5/x86_64

- Author: Henri Mikkonen

- Date: 27-April-2012

- Test Report Template : v. 3.2

*************
Summary 
*************

1. Deployment tests: 
   1.1. Clean Installation - PASS
   1.2. Upgrade Installation - NA 
2. Static Code Analysis - NA
3. Unit Tests Execution - YES
4. System tests:
  4.1. Functionality tests - PASS
  4.2. Regression tests - NA
  4.3. Standard Conformance tests - NA
  4.4. Performance tests - NA
  4.5. Scalability tests - NA
  4.6. Integration tests - NA

REMARKS: No upgrade installation as this is the first EMI version.

*************************** Detailed Testing Report ***************************************

1. Deployment log 
************************

1.1. Clean Installation
-----------------------------
- YUM/APT Testing Repo file contents:

[root@hip-paha-virt7 yum.repos.d]# cat emi-2-rc-sl5.repo 
[core]
name=name=SL 5 base
baseurl=http://linuxsoft.cern.ch/scientific/5x/$basearch/SL
   http://ftp.scientificlinux.org/linux/scientific/5x/$basearch/SL
        http://ftp1.scientificlinux.org/linux/scientific/5x/$basearch/SL
        http://ftp2.scientificlinux.org/linux/scientific/5x/$basearch/SL
protect=0
gpgcheck=0

[extras]
name=epel
baseurl=http://mirror.uv.es/mirror/fedora-epel/5/$basearch
        http://ftp.fi.muni.cz/pub/linux/fedora/epel/5/$basearch
        http://mirror.switch.ch/ftp/mirror/epel/5/$basearch
        http://mirror.de.leaseweb.net/epel/5/$basearch
        http://ftp.rediris.es/mirror/fedora-epel/5/$basearch
protect=0
gpgcheck=0

[EGI-trustanchors]
name=EGI-trustanchors
baseurl=http://repository.egi.eu/sw/production/cas/1/current/
gpgkey=http://repository.egi.eu/sw/production/cas/1/GPG-KEY-EUGridPMA-RPM-3
gpgcheck=1
enabled=1

[EMI-2-RC-base]
name=EMI 2 RC Base Repository
baseurl=http://emisoft.web.cern.ch/emisoft/dist/EMI/2/RC/sl5/$basearch/base
gpgkey=http://emisoft.web.cern.ch/emisoft/dist/EMI/2/RPM-GPG-KEY-emi
priority=45
protect=1
enabled=1
gpgcheck=0

[EMI-2-RC-third-party]
name=EMI 2 RC Third-Party Repository
baseurl=http://emisoft.web.cern.ch/emisoft/dist/EMI/2/RC/sl5/$basearch/third-party
gpgkey=http://emisoft.web.cern.ch/emisoft/dist/EMI/2/RPM-GPG-KEY-emi
protect=1
enabled=1
priority=45
gpgcheck=0

[Oracle]
name=Oracle Repository (not for distribution)
baseurl=http://eticssoft.web.cern.ch/eticssoft/repository/externals/oracle-instantclient/10.2.0.4/repo/sl5/$basearch
protect=1
enabled=1
priority=45

- YUM/APT Install command: yum install pseudonymity-server pseudonymity-ui

- YUM/APT log:

Loaded plugins: kernel-module
EGI-trustanchors                                                                                    |  951 B     00:00     
EMI-2-RC-base                                                                                       | 1.9 kB     00:00     
EMI-2-RC-base/primary_db                                                                            | 600 kB     00:00     
EMI-2-RC-third-party                                                                                | 1.9 kB     00:00     
EMI-2-RC-third-party/primary_db                                                                     |  32 kB     00:00     
Oracle                                                                                              | 1.9 kB     00:00     
Not using downloaded repomd.xml because it is older than what we have:
  Current   : Sat Oct  8 23:00:31 2011
  Downloaded: Sun May  8 10:58:36 2011
core                                                                                                | 2.1 kB     00:00     
core/primary_db                                                                                     | 2.2 MB     00:00     
extras                                                                                              | 3.4 kB     00:00     
extras/primary_db                                                                                   | 3.7 MB     00:00     
sl-base                                                                                             | 1.1 kB     00:00     
sl-base/primary                                                                                                                                                   | 1.0 MB     00:01     
sl-base                                                                                                                                                                                    3702/3702
sl-security                                                                                                                                                                   | 1.9 kB     00:00     
sl-security/primary_db                                                                                                                                                        | 702 kB     00:01   
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pseudonymity-server.noarch 0:1.1.0-0.sl5 set to be updated
--> Processing Dependency: emi-trustmanager for package: pseudonymity-server
--> Processing Dependency: bouncycastle for package: pseudonymity-server
--> Processing Dependency: pseudonymity-common for package: pseudonymity-server
--> Processing Dependency: emi-trustmanager-axis for package: pseudonymity-server
--> Processing Dependency: emi-trustmanager-tomcat for package: pseudonymity-server
---> Package pseudonymity-ui.noarch 0:1.1.0-0.sl5 set to be updated
--> Running transaction check
---> Package bouncycastle.x86_64 0:1.45-6.el5 set to be updated
--> Processing Dependency: java >= 1:1.6 for package: bouncycastle
---> Package emi-trustmanager.noarch 0:3.1.3-1.sl5 set to be updated
---> Package emi-trustmanager-axis.noarch 0:2.0.2-1.sl5 set to be updated
--> Processing Dependency: axis for package: emi-trustmanager-axis
---> Package emi-trustmanager-tomcat.noarch 0:3.0.1-1.sl5 set to be updated
--> Processing Dependency: log4j for package: emi-trustmanager-tomcat
---> Package pseudonymity-common.noarch 0:1.1.0-0.sl5 set to be updated
--> Running transaction check
---> Package axis.x86_64 0:1.2.1-2jpp.6 set to be updated
--> Processing Dependency: jakarta-commons-discovery for package: axis
--> Processing Dependency: javamail for package: axis
--> Processing Dependency: jakarta-commons-logging for package: axis
--> Processing Dependency: jaf for package: axis
--> Processing Dependency: jakarta-commons-httpclient for package: axis
--> Processing Dependency: wsdl4j for package: axis
---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.25.1.10.6.el5_8 set to be updated
--> Processing Dependency: tzdata-java for package: java-1.6.0-openjdk
---> Package log4j.x86_64 0:1.2.13-3jpp.2 set to be updated
--> Processing Dependency: xml-commons-apis for package: log4j
--> Running transaction check
---> Package classpathx-jaf.x86_64 0:1.0-9jpp.1 set to be updated
---> Package classpathx-mail.x86_64 0:1.1.1-4jpp.2 set to be updated
---> Package jakarta-commons-discovery.x86_64 1:0.3-4jpp.1 set to be updated
---> Package jakarta-commons-httpclient.x86_64 1:3.0-7jpp.1 set to be updated
---> Package jakarta-commons-logging.x86_64 0:1.0.4-6jpp.1 set to be updated
---> Package jdk.x86_64 2000:1.6.0_31-fcs set to be updated
---> Package tzdata-java.x86_64 0:2012b-3.el5 set to be updated
---> Package wsdl4j.x86_64 0:1.5.2-4jpp.1 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

=====================================================================================================================================================================================================
 Package                                                Arch                               Version                                                   Repository                                 Size
=====================================================================================================================================================================================================
Installing:
 pseudonymity-server                                    noarch                             1.1.0-0.sl5                                               EMI-2-RC-base                              20 M
 pseudonymity-ui                                        noarch                             1.1.0-0.sl5                                               EMI-2-RC-base                             1.9 M
Installing for dependencies:
 axis                                                   x86_64                             1.2.1-2jpp.6                                              core                                      3.6 M
 bouncycastle                                           x86_64                             1.45-6.el5                                                extras                                    4.0 M
 classpathx-jaf                                         x86_64                             1.0-9jpp.1                                                core                                      111 k
 classpathx-mail                                        x86_64                             1.1.1-4jpp.2                                              core                                      1.2 M
 emi-trustmanager                                       noarch                             3.1.3-1.sl5                                               EMI-2-RC-base                             272 k
 emi-trustmanager-axis                                  noarch                             2.0.2-1.sl5                                               EMI-2-RC-base                              28 k
 emi-trustmanager-tomcat                                noarch                             3.0.1-1.sl5                                               EMI-2-RC-base                              30 k
 jakarta-commons-discovery                              x86_64                             1:0.3-4jpp.1                                              core                                      150 k
 jakarta-commons-httpclient                             x86_64                             1:3.0-7jpp.1                                              core                                      595 k
 jakarta-commons-logging                                x86_64                             1.0.4-6jpp.1                                              core                                      115 k
 java-1.6.0-openjdk                                     x86_64                             1:1.6.0.0-1.25.1.10.6.el5_8                               core                                       36 M
 jdk                                                    x86_64                             2000:1.6.0_31-fcs                                         core                                       68 M
 log4j                                                  x86_64                             1.2.13-3jpp.2                                             core                                      729 k
 pseudonymity-common                                    noarch                             1.1.0-0.sl5                                               EMI-2-RC-base                             1.3 M
 tzdata-java                                            x86_64                             2012b-3.el5                                               core                                      181 k
 wsdl4j                                                 x86_64                             1.5.2-4jpp.1                                              core                                      428 k

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

Total download size: 139 M
Is this ok [y/N]: y
Downloading Packages:
(1/18): emi-trustmanager-axis-2.0.2-1.sl5.noarch.rpm                                                                                                                          |  28 kB     00:00     
(2/18): emi-trustmanager-tomcat-3.0.1-1.sl5.noarch.rpm                                                                                                                        |  30 kB     00:00     
(3/18): classpathx-jaf-1.0-9jpp.1.x86_64.rpm                                                                                                                                  | 111 kB     00:00     
(4/18): jakarta-commons-logging-1.0.4-6jpp.1.x86_64.rpm                                                                                                                       | 115 kB     00:00     
(5/18): jakarta-commons-discovery-0.3-4jpp.1.x86_64.rpm                                                                                                                       | 150 kB     00:00     
(6/18): tzdata-java-2012b-3.el5.x86_64.rpm                                                                                                                                    | 181 kB     00:00     
(7/18): emi-trustmanager-3.1.3-1.sl5.noarch.rpm                                                                                                                               | 272 kB     00:00     
(8/18): wsdl4j-1.5.2-4jpp.1.x86_64.rpm                                                                                                                                        | 428 kB     00:00     
(9/18): jakarta-commons-httpclient-3.0-7jpp.1.x86_64.rpm                                                                                                                      | 595 kB     00:00     
(10/18): log4j-1.2.13-3jpp.2.x86_64.rpm                                                                                                                                       | 729 kB     00:00     
(11/18): classpathx-mail-1.1.1-4jpp.2.x86_64.rpm                                                                                                                              | 1.2 MB     00:00     
(12/18): pseudonymity-common-1.1.0-0.sl5.noarch.rpm                                                                                                                           | 1.3 MB     00:00     
(13/18): pseudonymity-ui-1.1.0-0.sl5.noarch.rpm                                                                                                                               | 1.9 MB     00:00     
(14/18): axis-1.2.1-2jpp.6.x86_64.rpm                                                                                                                                         | 3.6 MB     00:00     
(15/18): bouncycastle-1.45-6.el5.x86_64.rpm                                                                                                                                   | 4.0 MB     00:00     
(16/18): pseudonymity-server-1.1.0-0.sl5.noarch.rpm                                                                                                                           |  20 MB     00:02     
(17/18): java-1.6.0-openjdk-1.6.0.0-1.25.1.10.6.el5_8.x86_64.rpm                                                                                                              |  36 MB     00:08     
(18/18): jdk-1.6.0_31-fcs.x86_64.rpm                                                                                                                                          |  68 MB     00:14     
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                4.8 MB/s | 139 MB     00:28     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : jakarta-commons-logging                                                                                                                                                      1/18 
  Installing     : jdk                                                                                                                                                                          2/18 
Unpacking JAR files...
   rt.jar...
   jsse.jar...
   charsets.jar...
   tools.jar...
   localedata.jar...
   plugin.jar...
   javaws.jar...
   deploy.jar...
  Installing     : log4j                                                                                                                                                                        3/18 
  Installing     : classpathx-jaf                                                                                                                                                               4/18 
  Installing     : jakarta-commons-discovery                                                                                                                                                    5/18 
  Installing     : jakarta-commons-httpclient                                                                                                                                                   6/18 
  Installing     : tzdata-java                                                                                                                                                                  7/18 
  Installing     : java-1.6.0-openjdk                                                                                                                                                           8/18 
  Installing     : emi-trustmanager                                                                                                                                                             9/18 
  Installing     : bouncycastle                                                                                                                                                                10/18 
  Installing     : wsdl4j                                                                                                                                                                      11/18 
  Installing     : classpathx-mail                                                                                                                                                             12/18 
  Installing     : pseudonymity-common                                                                                                                                                         13/18 
  Installing     : axis                                                                                                                                                                        14/18 
  Installing     : emi-trustmanager-axis                                                                                                                                                       15/18 
  Installing     : emi-trustmanager-tomcat                                                                                                                                                     16/18 
  Installing     : pseudonymity-ui                                                                                                                                                             17/18 
  Installing     : pseudonymity-server                                                                                                                                                         18/18 

Installed:
  pseudonymity-server.noarch 0:1.1.0-0.sl5                                                            pseudonymity-ui.noarch 0:1.1.0-0.sl5                                                           

Dependency Installed:
  axis.x86_64 0:1.2.1-2jpp.6                     bouncycastle.x86_64 0:1.45-6.el5              classpathx-jaf.x86_64 0:1.0-9jpp.1                    classpathx-mail.x86_64 0:1.1.1-4jpp.2        
  emi-trustmanager.noarch 0:3.1.3-1.sl5          emi-trustmanager-axis.noarch 0:2.0.2-1.sl5    emi-trustmanager-tomcat.noarch 0:3.0.1-1.sl5          jakarta-commons-discovery.x86_64 1:0.3-4jpp.1
  jakarta-commons-httpclient.x86_64 1:3.0-7jpp.1 jakarta-commons-logging.x86_64 0:1.0.4-6jpp.1 java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.25.1.10.6.el5_8 jdk.x86_64 2000:1.6.0_31-fcs                 
  log4j.x86_64 0:1.2.13-3jpp.2                   pseudonymity-common.noarch 0:1.1.0-0.sl5      tzdata-java.x86_64 0:2012b-3.el5                      wsdl4j.x86_64 0:1.5.2-4jpp.1                 

Complete!


- Configuration log: Followed the details at: https://twiki.cern.ch/twiki/bin/view/EMI/PseudonymityServerConfiguration , the configuration is confidential as it contains secret information towards the online CA.

1.2. Upgrade Installation
--------------------------------
- YUM/APT Production Repo file contents: NA (See remarks)
- YUM/APT Install command: NA (See remarks)
- YUM/APT Testing Repo file contents: NA (See remarks)
- YUM/APT Upgrade command: NA (See remarks)
- YUM/APT log: NA (See remarks)
- Configuration log: NA (See remarks)

2. Static Code Analysis
******************************
- URL where static code analysis results can be accessed NA

3. Unit Tests
*****************
- URL pointing to the results of the Unit Tests.
http://etics-repository.cern.ch:8080/repository/reports/id/a71a1c15-7fd4-4c73-ab6a-b4214f308426/sl5_x86_64_gcc412EPEL/-/reports/reportModuleDetail-emi.pseudonymity.common-emi-pseudonymity-common_R_1_1_0_0.html
http://etics-repository.cern.ch:8080/repository/reports/id/a71a1c15-7fd4-4c73-ab6a-b4214f308426/sl5_x86_64_gcc412EPEL/-/reports/reportModuleDetail-emi.pseudonymity.ui-emi-pseudonymity-ui_R_1_1_0_0.html
- Code Coverage %, if available. NA

4. System tests 
*********************
- URL where the tests/testsuite can be accessed:
https://twiki.cern.ch/twiki/bin/view/EMI/PseudonymityTestPlan
- URL where the test results can be accessed:
see Summary / 4.1 below

OR 

please, use the template below to include the test results in this document:

--------------- System Test Summary ------------------
For each Basic Functionality test, please include the following summary:
* Description of the test: see 4.1
* Result: PASSED/FAILED: see 4.1

For each Regression test, please include the following summary:
* Description of the test: NA
* Test Unique ID/RfC unique ID: NA                
* Result: PASSED/FAILED: NA

For each of Performance and Scalability tests, please include the following summary:
* Description of the test: NA
* Description of the specific context: NA
* Result: PASSED/FAILED: NA

For each Standards Compliance/Conformance test, please include the following summary:
* Description of the test: NA
* Adopted Standard: NA
* Result: PASSED/FAILED: NA

For each Integration test, please include the following summary:
* Description of involved components and testbed setup: NA
* Description of the test: NA
* Description of the specific context: NA
* Result: PASSED/FAILED: NA

4.1. Basic Functionality tests
*************************************
For each test:
COPY & PASTE TEST OUTPUT.

Test-Server-Config-1:

(The configuration is invalid, because the host certificate filename is wrong:

[root@hip-paha-virt7 ~]# /etc/init.d/pseudonymity-service start
...
09:42:55.726 [main] ERROR o.g.p.s.s.PseudonymityService - Error initializing trustmanager connector: Error while reading certificates or CRLs: /etc/grid-security/hostcert_WRONG.pem (No such file or directory)
java.security.cert.CertificateException: Error while reading certificates or CRLs: /etc/grid-security/hostcert_WRONG.pem (No such file or directory)
        at org.glite.security.trustmanager.UpdatingKeyManager.loadKeystore(UpdatingKeyManager.java:322) ~[trustmanager.jar:na]
        at org.glite.security.trustmanager.UpdatingKeyManager.<init>(UpdatingKeyManager.java:178) ~[trustmanager.jar:na]
        at org.glite.security.trustmanager.ContextWrapper.initKeyManagers(ContextWrapper.java:490) ~[trustmanager.jar:na]
        at org.glite.security.trustmanager.ContextWrapper.init(ContextWrapper.java:412) ~[trustmanager.jar:na]
        at org.glite.security.trustmanager.ContextWrapper.<init>(ContextWrapper.java:263) ~[trustmanager.jar:na]
        at org.glite.pseudo.server.standalone.PseudonymityService.configureTMConnector(PseudonymityService.java:181) [pseudo.jar:na]
        at org.glite.pseudo.server.standalone.PseudonymityService.configureServer(PseudonymityService.java:248) [pseudo.jar:na]
        at org.glite.pseudo.server.standalone.PseudonymityService.<init>(PseudonymityService.java:121) [pseudo.jar:na]
        at org.glite.pseudo.server.standalone.PseudonymityService.main(PseudonymityService.java:342) [pseudo.jar:na]
...
[root@hip-paha-virt7 ~]# /etc/init.d/pseudonymity-service status
Pseudonymity Service not running!
[root@hip-paha-virt7 ~]#

PASSED

Test-Server-Config-2:

[root@hip-paha-virt7 ~]# /etc/init.d/pseudonymity-service start

[root@hip-paha-virt7 ~]# /etc/init.d/pseudonymity-service status
Pseudonymity Service running!
[root@hip-paha-virt7 ~]#

PASSED

Test-Func-1:

[root@hip-paha-virt7 ~]# pseudo-cert-request --url https://hip-paha-virt7.cern.ch:8443/pseudo/Login -p /tmp/x509up_u1000 -v
pseudo-cert-request: org.glite.pseudo.ui.PseudoInit - Copyright (c) 2011. Members of the EMI Collaboration

ServiceUrl: https://hip-paha-virt7.cern.ch:8443/pseudo/Login
New Key Password:     
Retype:     
Proxy Filename: /tmp/x509up_u1000
Connecting to the pseudonymity service ... ok
Generating a public/private keypair (1024 bit) ... ok
Submitting the certificate request ... ok

Pseudo certificate (/root/.globus/pseudocert.pem) expires on 'Sun Apr 27 09:44:01 CEST 2014'.

[root@hip-paha-virt7 ~]#

PASSED

Test-Func-2:

[root@hip-paha-virt7 ~]# openssl x509 -in /root/.globus/pseudocert.pem -subject -noout
subject= /CN=bb081b91d248465e/OU=Tech/O=HIP/DC=pseudotest/C=FI
[root@hip-paha-virt7 ~]# 

PASSED

Test-Func-3:

Output is in the Web browser.

For the user "CN=Henri Johannes Mikkonen, CN=610244, CN=mikkonen, OU=Users, OU=Organic Units, DC=cern, DC=ch", the pseudonym "CN=bb081b91d248465e,DC=pseudotest,OU=Tech,O=HIP,C=FI" exists with four events: "301: Requested certificate", "302: Issued certificate", "303: Registered certificate", "201: Issued DN".

PASSED

Test-Func-4:

Output is in the Web browser.

For the admin "CN=Henri Johannes Mikkonen, CN=610244, CN=mikkonen, OU=Users, OU=Organic Units, DC=cern, DC=ch", there is information that he has listed event details for the pseudonym.

PASSED

4.2. Regression tests
*****************************
For each test: NA

4.3. Standard Conformance tests
******************************************
For each test: NA

4.4. Performance tests 
*******************************
For each test: NA

4.5. Scalability tests 
**************************
For each test: NA

4.6. Integration tests 
**************************
For each test: NA

---------------End of System Test Summary ------------------
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2012-04-27 - HenriMikkonen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

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