www.ow2.org
#ow2con

ETICS supporting compliance
and interoperability
Gabriele Giammatteo
Engineering Group

14 November 2...
The OCEAN project
is building a directory of open-source cloudoriented projects focused on quality and
interoperability of...
ETICS
ETICS is a build and test automation tool

●

Web-based portal for managing configuration,
builds, tests, packages, ...
ETICS
ETICS is a build and test automation tool

●

Dependency management: build/run-time,
static/dynamic, ranges

●

Buil...
Testing with ETICS - Overview
●

static analysis
●

integration of specialised tools for code analysis like Checkstyle,
Fi...
Testing with ETICS - Overview
●

static analysis
●

●

integration of specialised tools for code analysis like Checkstyle,...
Testing with ETICS - Overview
●

static analysis
●

●

unit testing
●

●

integration of specialised tools for code analys...
Testing with ETICS - Overview
●

static analysis
●

●

unit testing
●

●

integration of Junit, CppUnit, PyUnit

functiona...
Reports

9
14 Nov 2013

www.ow2.org
www.ow2.org

#ow2con
#ow2con
Reports

10
14 Nov 2013

www.ow2.org
www.ow2.org

#ow2con
#ow2con
ETICS Multi-node testing
ETICS provides a tool-kit for the definition and automation
of complex test scenarios involving m...
Multi-node characteristics
●

tests definition through the web portal
●

●

software to be installed on each node

●

●

n...
Multi-node testing – Synch primitives
ETICS provides a synchronisation primitives to be used
in testing scripts:
●

etics-...
Multi-node testing – A simple example
Test the deployment of a Java web
application
Node A script:
1. deploy Tomcat
2. dep...
Multi-node testing – A complex example
Test deployment and set-up of a
Cassandra cluster using four nodes:
1. Cassandra 0 ...
Interoperability Testing
Multi-node testing will be used to support interoperability
tests in OCEAN project
●

modelling s...
Compliance Verification
Focusing on OCCI for which some test-suites are already
available:
●

OCCI Compliance Tool

●

DoY...
Conclusion
●

●

●

OCEAN aims at creating a directory for open-source
cloud-oriented projects
Projects information will b...
Thank You!

http://etics.res.eng.it/

http://ocean-project.eu/

19
14 Nov 2013

www.ow2.org
www.ow2.org

#ow2con
#ow2con
Upcoming SlideShare
Loading in...5
×

ETICS supporting compliance and interoperability, Gabriele Giammatteo, Engineering Group.

193

Published on

ETICS is a service-oriented system which supports its users in building, testing and in verifying the quality of the software produced. With ETICS it is possible to define, execute and analyse a large range of software testing cases, from static code analysis (e.g. documentation coverage, PMD metrics) to unit testing, to compliance testing, to deployment and functional testing in a multi-node environment created specifically for the test execution. ETICS build, testing and quality verification tools are offered as a service to open source projects within the OCEAN project. In this context ETICS mainly simplifies and supports testing activities improving the quality of the software being produced, verifying its compliance to standards and its interoperability features. This presentation can be seen as a continuation of ETICS presentation given last year at OW2 conference 2012. It aims at showing results from the use of ETICS as one of OCEAN services and at illustrating the approach developed to support software compliance and interoperability for the verification of the compatibility to OCCI and CDMI standards.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
193
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ETICS supporting compliance and interoperability, Gabriele Giammatteo, Engineering Group.

  1. 1. www.ow2.org #ow2con ETICS supporting compliance and interoperability Gabriele Giammatteo Engineering Group 14 November 2013
  2. 2. The OCEAN project is building a directory of open-source cloudoriented projects focused on quality and interoperability of software components ETICS tool is used to in OCEAN to: ● extract quality metrics from software ● verify interoperability ● check compliance to open cloud standards 2 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  3. 3. ETICS ETICS is a build and test automation tool ● Web-based portal for managing configuration, builds, tests, packages, reports ● independent from programming language, project structure and target platform: ● C, C++, Java, Scala, Python, Ruby, ... ● Make, Ant, Maven, SCons, Rake, ... ● RedHat, Debian, Windows, ... 3 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  4. 4. ETICS ETICS is a build and test automation tool ● Dependency management: build/run-time, static/dynamic, ranges ● Built-in packing system to create distribution packages (tar.gz, deb, rpm, sources, ...) ● Central repository for packages, reports, logs compatible with yum/apt formats ● Testing capabilities extendible through plug-ins 4 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  5. 5. Testing with ETICS - Overview ● static analysis ● integration of specialised tools for code analysis like Checkstyle, Findbugs, PMD, CppCheck, CCCC, PyLint, ... 5 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  6. 6. Testing with ETICS - Overview ● static analysis ● ● integration of specialised tools for code analysis like Checkstyle, Findbugs, PMD, CppCheck, CCCC, PyLint, ... unit testing ● integration of Junit, CppUnit, PyUnit 6 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  7. 7. Testing with ETICS - Overview ● static analysis ● ● unit testing ● ● integration of specialised tools for code analysis like Checkstyle, Findbugs, PMD, CppCheck, CCCC, PyLint, ... integration of Junit, CppUnit, PyUnit functional testing ● execution and reports of tests written by developers 7 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  8. 8. Testing with ETICS - Overview ● static analysis ● ● unit testing ● ● integration of Junit, CppUnit, PyUnit functional testing ● ● integration of specialised tools for code analysis like Checkstyle, Findbugs, PMD, CppCheck, CCCC, PyLint, ... execution and reports of tests written by developers multi-node testing ● realisation of complex testing scenarios involving multiple nodes 8 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  9. 9. Reports 9 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  10. 10. Reports 10 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  11. 11. ETICS Multi-node testing ETICS provides a tool-kit for the definition and automation of complex test scenarios involving multiple nodes that interact each other in a synchronised way Applicability: ● Deployment testing of services ● Functional testing of client-server applications ● Interoperability testing between services 11 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  12. 12. Multi-node characteristics ● tests definition through the web portal ● ● software to be installed on each node ● ● number and characteristics of nodes testing scripts define once run multiple times: ● ● on different versions of the software and platforms ● ● on regular base, on every commit to source repository with different values for parameters nodes dynamically created and destroyed for each test 12 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  13. 13. Multi-node testing – Synch primitives ETICS provides a synchronisation primitives to be used in testing scripts: ● etics-set: publish an information ● etics-get: retrieve an information (blocks until published) ● e.g.: ● on server node: etics-set SERVER_IP 192.168.100.12 ● on client node: etics-get SERVER_IP ● ● ● ● ● ● --------------------------------------------etics-set ------------ ● ● ● ● -----------etics-get ----------------------13 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  14. 14. Multi-node testing – A simple example Test the deployment of a Java web application Node A script: 1. deploy Tomcat 2. deploy MyWebApp in Tomcat 3. start Tomcat 4. publish node address Node B script: 1. retrieve node A address 2. contact the web application and verify returned values are the expected ones Node A Node B ETICS pool 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con 14
  15. 15. Multi-node testing – A complex example Test deployment and set-up of a Cassandra cluster using four nodes: 1. Cassandra 0 (seeder) node 2. Cassandra 1 node 3. DB initialisation node 4. Test Client 15 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  16. 16. Interoperability Testing Multi-node testing will be used to support interoperability tests in OCEAN project ● modelling software to test in ETICS ● writing tests to make services interact one each other Benefit are multiple: ● automate execution, run tests remotely ● once the test is defined, it can be executed multiple times using different combination of software components available ● early discovery bugs that could break the interoperability 16 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  17. 17. Compliance Verification Focusing on OCCI for which some test-suites are already available: ● OCCI Compliance Tool ● DoYouSpeakOcci (DYSO) Our goal is to: ● extend/complete these test-suites ● integrate them in ETICS: ● execution simplified and automated ● make them available to all OCEAN projects 17 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  18. 18. Conclusion ● ● ● OCEAN aims at creating a directory for open-source cloud-oriented projects Projects information will be enriched with data extracted by ETICS Made possible by ETICS testing capabilities: ● static analysis plug-ins ● unit and functional testing plug-ins ● multi-node testing mechanism to support ● compliance and interoperability testing 18 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  19. 19. Thank You! http://etics.res.eng.it/ http://ocean-project.eu/ 19 14 Nov 2013 www.ow2.org www.ow2.org #ow2con #ow2con
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×