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

- Product: STS

- Release Task: 34081

- ETICS Subsystem Configuration Name: emi-sts_R_1_0_0_0_rc3

- VCS Tag: 1_0_0-rc3

- EMI Major Release: EMI-3

- Platforms: SL5/x64_64

- Author: Henri Mikkonen 

- Date: 11-February-2013

- 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-virt5 yum.repos.d]# cat emi-3-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

[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=0
enabled=1

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

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

[Oracle-11]
name=Oracle Repository (not for distribution)
baseurl=http://emisoft.web.cern.ch/emisoft/dist/elcaro/oracle-instantclient/11/repo/sl5/$basearch
protect=1
enabled=1
priority=45
gpgcheck=0

- YUM/APT Install command:

yum install sts

- YUM/APT log:

Loaded plugins: kernel-module
EGI-trustanchors                                                                                                                                                                                                      |  951 B     00:00
EMI-3-testing-base                                                                                                                                                                                                    | 1.9 kB     00:00
EMI-3-testing-base/primary_db                                                                                                                                                                                         | 683 kB     00:00
EMI-3-testing-third-party                                                                                                                                                                                             | 1.9 kB     00:00
EMI-3-testing-third-party/primary_db                                                                                                                                                                                  |  63 kB     00:00
Oracle-11                                                                                                                                                                                                             | 1.9 kB     00:00
core                                                                                                                                                                                                                  | 2.1 kB     00:00
extras                                                                                                                                                                                                                | 3.7 kB     00:00
sl-base                                                                                                                                                                                                               | 2.1 kB     00:00
sl-base/primary_db                                                                                                                                                                                                    | 2.2 MB     00:02
sl-security                                                                                                                                                                                                           | 1.9 kB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package sts.noarch 0:1.0.0-0.el5 set to be updated
--> Processing Dependency: java >= 1.6 for package: sts
--> Processing Dependency: canl-java >= 1.1 for package: sts
--> Running transaction check
---> Package canl-java.noarch 0:1.1.0-1.sl5 set to be updated
--> Processing Dependency: bcprov = 1.46 for package: canl-java
--> Processing Dependency: jakarta-commons-io >= 1.4 for package: canl-java
---> Package java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.33.1.11.6.el5_9 set to be updated
--> Processing Dependency: tzdata-java for package: java-1.6.0-openjdk
--> Running transaction check
---> Package bouncycastle146.noarch 0:1.46-1.el5 set to be updated
---> Package jakarta-commons-io.noarch 0:1.4-3.el5 set to be updated
---> Package tzdata-java.x86_64 0:2012j-1.el5 set to be updated
--> Finished Dependency Resolution
Beginning Kernel Module Plugin
Finished Kernel Module Plugin

Dependencies Resolved

=============================================================================================================================================================================================================================================
 Package                                                   Arch                                          Version                                                             Repository                                                 Size
=============================================================================================================================================================================================================================================
Installing:
 sts                                                       noarch                                        1.0.0-0.el5                                                         EMI-3-testing-base                                         23 M
Installing for dependencies:
 bouncycastle146                                           noarch                                        1.46-1.el5                                                          EMI-3-testing-base                                        1.9 M
 canl-java                                                 noarch                                        1.1.0-1.sl5                                                         EMI-3-testing-base                                        262 k
 jakarta-commons-io                                        noarch                                        1.4-3.el5                                                           extras                                                    105 k
 java-1.6.0-openjdk                                        x86_64                                        1:1.6.0.0-1.33.1.11.6.el5_9                                         sl-security                                                36 M
 tzdata-java                                               x86_64                                        2012j-1.el5                                                         sl-security                                               183 k

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

Total download size: 61 M
Is this ok [y/N]: y
Downloading Packages:
(1/6): jakarta-commons-io-1.4-3.el5.noarch.rpm                                                                                                                                                                        | 105 kB     00:00
(2/6): tzdata-java-2012j-1.el5.x86_64.rpm                                                                                                                                                                             | 183 kB     00:00
(3/6): canl-java-1.1.0-1.sl5.noarch.rpm                                                                                                                                                                               | 262 kB     00:00
(4/6): bouncycastle146-1.46-1.el5.noarch.rpm                                                                                                                                                                          | 1.9 MB     00:00
(5/6): sts-1.0.0-0.el5.noarch.rpm                                                                                                                                                                                     |  23 MB     00:02
(6/6): java-1.6.0-openjdk-1.6.0.0-1.33.1.11.6.el5_9.x86_64.rpm                                                                                                                                                        |  36 MB     00:22
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                        2.3 MB/s |  61 MB     00:26
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : tzdata-java                                                                                                                                                                                                           1/6
  Installing     : java-1.6.0-openjdk                                                                                                                                                                                                    2/6
  Installing     : bouncycastle146                                                                                                                                                                                                       3/6
  Installing     : jakarta-commons-io                                                                                                                                                                                                    4/6
  Installing     : canl-java                                                                                                                                                                                                             5/6
  Installing     : sts                                                                                                                                                                                                                   6/6

Installed:
  sts.noarch 0:1.0.0-0.el5

Dependency Installed:
  bouncycastle146.noarch 0:1.46-1.el5         canl-java.noarch 0:1.1.0-1.sl5         jakarta-commons-io.noarch 0:1.4-3.el5         java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.33.1.11.6.el5_9         tzdata-java.x86_64 0:2012j-1.el5

Complete!

- Configuration log:

Followed the details at: https://twiki.cern.ch/twiki/bin/view/EMI/STSConfiguration , 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.

NA (Unit tests are run during the build, and the build fails if any unit test fails).

- Code Coverage %, if available. NA

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

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
*************************************

[Test-Server-Config-1]:

[root@hip-paha-virt5 yum.repos.d]# /etc/init.d/sts-service start
ERROR StandaloneService - Could not read the private key and/or certificate from the file
The service encountered an error that could not be dealt with, shutting down!
Error: Could not read the private key and/or certificate from the file
org.glite.sts.STSException: Could not read the private key and/or certificate from the file
        at org.glite.sts.standalone.StandaloneService.configureConnector(StandaloneService.java:185)
        at org.glite.sts.standalone.StandaloneService.configureServer(StandaloneService.java:261)
        at org.glite.sts.standalone.StandaloneService.<init>(StandaloneService.java:128)
        at org.glite.sts.standalone.StandaloneService.main(StandaloneService.java:394)
Caused by: java.io.FileNotFoundException: /etc/grid-security/hostkeyWRONG.pem (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:137)
        at java.io.FileInputStream.<init>(FileInputStream.java:96)
        at eu.emi.security.authn.x509.impl.PEMCredential.<init>(PEMCredential.java:222)
        at org.glite.sts.standalone.StandaloneService.configureConnector(StandaloneService.java:175)
        ... 3 more
ERROR StandaloneService - Could not read the private key and/or certificate from the file
org.glite.sts.STSException: Could not read the private key and/or certificate from the file
        at org.glite.sts.standalone.StandaloneService.configureConnector(StandaloneService.java:185) [sts-server-1.0.0.jar:na]
        at org.glite.sts.standalone.StandaloneService.configureServer(StandaloneService.java:261) [sts-server-1.0.0.jar:na]
        at org.glite.sts.standalone.StandaloneService.<init>(StandaloneService.java:128) [sts-server-1.0.0.jar:na]
        at org.glite.sts.standalone.StandaloneService.main(StandaloneService.java:394) [sts-server-1.0.0.jar:na]
Caused by: java.io.FileNotFoundException: /etc/grid-security/hostkeyWRONG.pem (No such file or directory)
        at java.io.FileInputStream.open(Native Method) ~[na:1.6.0_24]
        at java.io.FileInputStream.<init>(FileInputStream.java:137) ~[na:1.6.0_24]
        at java.io.FileInputStream.<init>(FileInputStream.java:96) ~[na:1.6.0_24]
        at eu.emi.security.authn.x509.impl.PEMCredential.<init>(PEMCredential.java:222) ~[canl-1.1.0.jar:1.1.0]
        at org.glite.sts.standalone.StandaloneService.configureConnector(StandaloneService.java:175) [sts-server-1.0.0.jar:na]

[root@hip-paha-virt5 yum.repos.d]# /etc/init.d/sts-service status
STS service not running...removing stale pid file
STS service not running!

[Test-Server-Config-2]:

[root@hip-paha-virt5 yum.repos.d]# /etc/init.d/sts-service start
[root@hip-paha-virt5 yum.repos.d]# The STS server has been successfully started.

[root@hip-paha-virt5 yum.repos.d]# /etc/init.d/sts-service status
STS service running!

Other tests:

[lxplus444] ~/stsclient $ sh sts-test-client.sh https://hip-paha-virt5.cern.ch:8443/sts
==================================================================================================
Starting tests for https://hip-paha-virt5.cern.ch:8443/sts
==================================================================================================
Running tests for general WS-Trust message processing... done!
[Test-Func-WsTrust-01] Test invalid framework    : true
[Test-Func-WsTrust-02] Test valid framework      : true
[Test-Func-WsTrust-03] Test expired timestamp    : true
[Test-Func-WsTrust-04] Test valid timetamp       : true
[Test-Func-WsTrust-05] Test future timetamp      : true
[Test-Func-WsTrust-06] Test relatest-to          : true
[Test-Func-WsTrust-07] Test null message ID      : true
[Test-Func-WsTrust-08] Test valid action         : true
[Test-Func-WsTrust-09] Test invalid action       : true
[Test-Func-WsTrust-10] Test valid request type   : true
[Test-Func-WsTrust-11] Test invalid request type : true
==================================================================================================
Running tests for the LDAP authentication... done!
[Test-Func-LDAP-01] Test invalid password : true
[Test-Func-LDAP-02] Test valid password   : true
==================================================================================================
Running tests for the SAML authentication... done!
[Test-Func-SAML-01] Test ECP initiation endpoint         : true
[Test-Func-SAML-02] Test invalid signature assertion     : true
[Test-Func-SAML-03] Test valid signature assertion       : true
[Test-Func-SAML-04] Test expired assertion               : true
[Test-Func-SAML-05] Test issue instant -valid assertion  : true
[Test-Func-SAML-06] Test future-issued assertion         : true
[Test-Func-SAML-07] Test authn-expired assertion         : true
[Test-Func-SAML-08] Test valid authn assertion           : true
[Test-Func-SAML-09] Test future authn assertion          : true
[Test-Func-SAML-10] Test expired conditions assertion    : true
[Test-Func-SAML-11] Test valid conditions assertion      : true
[Test-Func-SAML-12] Test future conditions assertion     : true
[Test-Func-SAML-13] Test expired confirmation assertion  : true
[Test-Func-SAML-14] Test valid confirmation assertion    : true
[Test-Func-SAML-15] Test invalid inResponseTo assertion  : true
[Test-Func-SAML-16] Test valid inResponseTo assertion    : true
[Test-Func-SAML-17] Test invalid attributes in assertion : true
[Test-Func-SAML-18] Test valid attributes in assertion   : true
==================================================================================================
Running tests for the token issuance using LDAP... done!
[Test-Func-Issue-LDAP-01] Test invalid token type         : true
[Test-Func-Issue-LDAP-02] Test valid token type           : true
[Test-Func-Issue-LDAP-03] Test certificate issuance       : true
[Test-Func-Issue-LDAP-04] Test proxy certificate issuance : true
==================================================================================================
Running tests for the token issuance using SAML... done!
[Test-Func-Issue-SAML-01] Test certificate issuance       : true
[Test-Func-Issue-SAML-02] Test proxy certificate issuance : true

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 - 2013-02-11 - 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