COCOMA – a framework for COntrolled COntentious and MAlicious patterns Carmelo Ragusa and Philip Robinson, SAP Belfast RG SPEC, 17 October 2012.

Slides:



Advertisements
Ähnliche Präsentationen
OSGi ‘Enterprise expert group‘ workshop input
Advertisements

Security and Trust in the Future Internet
Jennifer Kroner & Veronica OLooney Translation Forum, June 19, 2007 The PIC Process in AP.
SAP Rapid-Deployment Solution for Financial Close and Disclosure Management Solution Summary.
Claudius Metze, ISM Healthcare
SAP Best Practices 業種別および業種共通のノウハウを組み込んだパッケージ
G21Billing Document Outbound via EDI Overview
Maintain Employee Information with Funds or Grants Management (981)
Year-end Closing of Funds Management Overview
SAP ERP Reporting for HCM (559)
SAP Best Practices Conversion Tool
Time Administration with Funds or Grants Management (983)
Time Processing – Cross Application Timesheet (CATS) with Funds or Grants Management (984) SAP Best Practices.
G66 Empties Processing Overview
SAP Best Practices Canada
Scenario Overview – 1 Purpose and Benefits: Purpose Benefits
G20 Sales Order Processing via EDI Overview
SAP Best Practices Baseline Package U.S. Scenario Overview
Revenue Recognition Processing
SAP Best Practices Canada
Decentralized Budget Preparation with Budget Control System Overview
C63 – Opportunity Management Process Diagram EHP2 for SAP CRM 7.0 EHP2 for SAP CRM 7.0, version for SAP HANA.
Muster- und Simulationskalkulation
Unternehmensstruktur Übersicht SAP Best Practices.
Account- und Kontaktmanagement
Manufacturing Analytics SAP Best Practices for Business Warehousing V2
Financial Accounting (J03) Overview Colombia
Transportation Management Overview (G82)
Rapid database migration to Sybase Adaptive Server Enterprise Solution Summary.
SAP SRM Rapid-Deployment Solution for Self-Service Procurement Solution Summary.
SAP Manufacturing Execution rapid- deployment solution for discrete manufacturing Solution Summary.
SAP SCM Rapid-Deployment Solution for Advanced Production Scheduling
SAP BusinessObjects Net Margin Analysis Rapid Deployment Solution Solution Summary.
SAP Business Objects Supply Chain Performance Management rapid-deployment solution Solution Summary.
User Isolation vs. Layered Workspaces. SAP AG 2005, Title of Presentation / Speaker Name / 2 Basic Ideas Workspace Concept Content from inactive and active.
Towards an Integration of SWS into existing WS Infrastructures Christian Drumm SAP AG.
使用计算方案 估计工作量 SAP CRM Best Practices
INTERNAL Top Fixes 9.0 PL09 SAP Business One. ©2014 SAP AG. All rights reserved.2 Möglichkeit der Eingrenzung des Datums bei Durchführung der Bestandsbuchungsliste.
GPO Commodity Marketing April, 2013
Pull Marketing: The Disruptive New Force in Localization Catherine Mbeng and Devyani Bhattacharjee June 12, 2012.
Enterprise Services Standards
C66 – Account and Contact Management Process Diagram EHP2 for SAP CRM 7.0 EHP2 for SAP CRM 7.0, version for SAP HANA.
SAP InnoJam SUP 2011 BlackBelt InnoJam in Walldorf September, 2011.
CONFIDENTIAL Predictive Analytics Consulting SAP Performance and Insight Optimization April 2012.
SAP Screen Personas Attraktive Benutzeroberfächen ohne Programmierung!
ISS Due Diligence Project Sophia 27 November 2008.
SAP runs SAP E-Recruiting
How To Guide – Workflow BCS
Neues bei V1.603 SAP Best Practices for Chemicals (Deutschland) SAP Best Practices.
Interaktives Reporting SAP Best Practices for CRM
Voraussetzungen und Annahmen für die Aufwandsschätzung
Einkauf SAP Best Practices for Business Intelligence
Enterprise Structure SAP Best Practices Baseline Package (Japan)
SAP License Key Learning Map
Globalization & SAP’s Labs Organization Dr. Vishal Sikka SAP AG
DA-Intro Benchmark Manipulation Matthias Klein Nov 22, 2007.
J64 Production Planning and Discrete Manufacturing Overview
Title G81 - Integrated WM with PO Return. G81 - Integrated WM with PO Return / 2 Overview Scenario – Integrated WM In this scenario you are shown a complete.
SAP Best Practices Baseline Package U.S. Scenario Overview
Ventas y Distribución (J04) Overview Argentina SAP AG.
Martin Rink, SAP Trust Center Services SAP Trust Center Services SAP Passports - Scenarios of Usage.
Interaktives Reporting
Fertigung SAP Best Practices for Business Intelligence SAP Best Practices.
Unternehmensstruktur Übersicht
Financial Analytics SAP Best Practices for Business Warehousing V2.701 SAP Best Practices.
Purchasing Analytics SAP Best Practices for Business Warehousing V2.701 SAP Best Practices.
Interaction Center (IC) Serviceanforderungsmanagement SAP Best Practices.
? What is Open PS? SAP Open PS based on EPS 4.0
Integriertes Angebots- und Auftragsmanagement SAP Best Practices.
Szenarioübersicht Terminierung mittels Rechnungen und Nachberechnung.
 Präsentation transkript:

COCOMA – a framework for COntrolled COntentious and MAlicious patterns Carmelo Ragusa and Philip Robinson, SAP Belfast RG SPEC, 17 October 2012

©2012 SAP AG. All rights reserved.2 The General Business Problem of Software Testing [1] M-C. Ballou, "Improving Software Quality to Drive Business Agility", IDC Survey and White Paper (Sponsored by Coverity Inc.), 2008 [2] B. Gauf, E. Dustin, "The Case for Automated Software Testing", Journal of Software Technology, v.10, n.3, October 2007 Testing is Expensive (30 – 50% of Budget [1]) …but so are bugs [2]

©2012 SAP AG. All rights reserved.3 Using the Cloud for testing, but what does it mean? Different flavours: In-cloud testing: Performed inside a cloud to ensure the quality of the services offered by the cloud infrastructure itself Cloud for testing: Using the cloud to create a critical mass of users/traffic towards a System Under Test Over-cloud testing: To ensure the quality of the end-to-end cloud-application over the cloud

©2012 SAP AG. All rights reserved.4 Difficult to decide! ? ?

©2012 SAP AG. All rights reserved.5 What do we want then? Our research questions, when executing testing of a SuT in a cloud infrastructure, are the following: How can we assess the platform where tests are carried out? How can we compare the different platforms where we can carry out our tests? Which infrastructure pattern to carry out our tests is more effective for our SuT specific needs? SAP is partner in BonFIRE*, FP7 project: A multi-site cloud facility for applications, services and systems research and experimentation SAP was in charge of one of the native experiments (concluded in May 2012), Effective Cloud software testing * Acknowledgment: The BonFIRE project has received research funding from the EC's Seventh Framework Programs (EU ICT IP under the Information and Communication Technologies Program).

©2012 SAP AG. All rights reserved.6 What we have done so far We derived a set of criteria for assessing and comparing the effectiveness of platforms and infrastructure patterns for supporting cloud software testing: Identified an initial set from preliminary studies published in [3]: –Cost-effectiveness –Simplicity –Target representation –Observability –Controllability –Predictability –Reproducibility Extended and refined from conducting our experiment in BonFIRE: –Availability –Reliability –Reproducible environment conditions [3] Robinson, P. and Ragusa, C. (2011) "Taxonomy and Requirements Rationalization for Infrastructure in Cloud-based Software Testing", Proceedings of the IEEE International Conference and Workshops on Cloud Computing Technology and Science (CloudCom)

©2012 SAP AG. All rights reserved.7 Reproducing environment conditions Cloud Infrastructure Soft- ware Unknown How can we create/manage/control reproducible environment conditions? In what environment conditions are we interested? Contentiousness Maliciousness Faultiness COntrolled COntentious and MAlicious patterns => deliberately make the platform misbehave – contention, faults and attacks

©2012 SAP AG. All rights reserved.8 Approach: Effect Emulation versus Cause Emulation State of the art: Cause Emulation in SW Testing (e.g. Create instances of colocated workloads) Test Environment SuT 123* Load 123* Test Environment SuT COCOMA Load 1 123* COCOMA Approach: Effect Emulation in SW Testing (e.g. Emulate resource effects of colocated workloads)

©2012 SAP AG. All rights reserved.9 Use case: COCOMA walkthrough in BonFIRE From RESTfully client Deploy SuT, Zabbix and COCOMA Create emulation From COCOMA Create a distribution Schedule runs of the distribution Send metrics values to Zabbix Start Load to SuT From RESTfully client Manage emulation Check status Delete … From COCOMA Emulation Logs are saved BonFIRE Onrequest SuT Load * RESTfully script ZabbixZabbix Create emulation COCOMA Check emulation Distribution Emulation

©2012 SAP AG. All rights reserved.10 Distributions in COCOMA Contentious Target resources CPU RAM I/O Network Patterns Linear Poisson … Cloud specific Malicious Privileges Browse/listen Basic user Advanced user Admin user Owner Payloads Snoop/scan Read Alter Deny/damage Control

©2012 SAP AG. All rights reserved.11 COCOMA Design Test Environment SuT COCOMA Stressapptest

©2012 SAP AG. All rights reserved.12 Benefits in adopting COCOMA Experimenters will be able to study their system under real world effects conditions control those conditions correlate distributions and performances/results of their system under test use those findings to discover weaknesses and tune/enhance their system COCOMA will be released as open source under Apache v2 license We envisage new distributions contributions to the framework Ideally common cloud patterns which can be validated and afterwards used by other experimenters Easy integration within an existing infrastructure Ability to create and reproduce complex experimental scenarios

©2012 SAP AG. All rights reserved.13 Potential Stakeholders Cloud Service Providers E.g. Enhance cloud management with infrastructure assessment Cloud Application Administrators E.g. Enhance cloud application management with platform assessment Application Developers and Testers E.g. Contributing to PaaS application testing best-practices Benchmarks and Standards Groups E.g. Possible contribution to validation of cloud usage patterns (SPEC – RG Cloud WG)

Thank You!

©2012 SAP AG. All rights reserved.15 No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle and Java are registered trademarks of Oracle and/or its affiliates. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C ®, World Wide Web Consortium, Massachusetts Institute of Technology. © 2012 SAP AG. All rights reserved. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company. Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of SAP AG.

©2012 SAP AG. All rights reserved.16 © 2012 SAP AG. Alle Rechte vorbehalten. Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden. Die von SAP AG oder deren Vertriebsfirmen angebotenen Softwareprodukte können Softwarekomponenten auch anderer Softwarehersteller enthalten. Microsoft, Windows, Excel, Outlook, und PowerPoint sind eingetragene Marken der Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli und Informix sind Marken oder eingetragene Marken der IBM Corporation. Linux ist eine eingetragene Marke von Linus Torvalds in den USA und anderen Ländern. Adobe, das Adobe-Logo, Acrobat, PostScript und Reader sind Marken oder eingetragene Marken von Adobe Systems Incorporated in den USA und/oder anderen Ländern. Oracle und Java sind eingetragene Marken von Oracle und/oder ihrer Tochtergesellschaften. UNIX, X/Open, OSF/1 und Motif sind eingetragene Marken der Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame und MultiWin sind Marken oder eingetragene Marken von Citrix Systems, Inc. HTML, XML, XHTML und W3C sind Marken oder eingetragene Marken des W3C ®, World Wide Web Consortium, Massachusetts Institute of Technology. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork und weitere im Text erwähnte SAP-Produkte und ­ Dienstleistungen sowie die entsprechenden Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und anderen Ländern. Business Objects und das Business-Objects-Logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius und andere im Text erwähnte Business-Objects-Produkte und ­Dienstleistungen sowie die entsprechenden Logos sind Marken oder eingetragene Marken der Business Objects Software Ltd. Business Objects ist ein Unternehmen der SAP AG. Sybase und Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere und weitere im Text erwähnte Sybase-Produkte und -Dienstleistungen sowie die entsprechenden Logos sind Marken oder eingetragene Marken der Sybase Inc. Sybase ist ein Unternehmen der SAP AG. Alle anderen Namen von Produkten und Dienstleistungen sind Marken der jeweiligen Firmen. Die Angaben im Text sind unverbindlich und dienen lediglich zu Informationszwecken. Produkte können länderspezifische Unterschiede aufweisen. Die in dieser Publikation enthaltene Information ist Eigentum der SAP. Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, nur mit ausdrücklicher schriftlicher Genehmigung durch SAP AG gestattet.