SlideShare a Scribd company logo
1 of 9
Download to read offline
Anomaly Detection
for Stability Testing
www.profilence.com
Martín Varela - Testing Assembly 2022
Profilence
platform
See the status of your
SW and solve the issues.
PSI
Telemetry client
running directly in
Android based
devices.
TAU/ZETA
Full scale test automation
solution for testing
embedded systems for
long periods of time.
POWERFUL WEB DASHBOARD
• Project management can follow progress and
trends from version to another
• Developers can solve issues by drilling down from
high level alerts all the way to low level data
PROFILENCE
CLOUD PLATFORM
or self-hosted by customers
• Receives data over secure connections from the
Profilence data providers.
• Analyses all data to automatically alert you on any
stability or non-functional issues
CENTER FOR PRODUCT DEVELOPMENT
Stability Analysis
▪ Evaluation of SW stability from end user perspective
○ Tests are run continuously for hours, days or even weeks
○ Long term testing shows what kind of problems end users would see over time
▪ Repeating an analysis is always an expensive operation
○ It’s also difficult to predict what data will be needed to solve any particular bug
○ Therefore we store full history of testing – not just test results but the data needed to
solve the issues
○ Our analytics also automatically analyse data for potential hard to find bugs – such
as memory leaks
▪ We aim at shortening the development / test feedback loop, and enable developers to
pinpoint and fix issues as quickly as possible
Logs
Full or selected logcat and kernel log
streams to debug issues
Types of data collected
Events
All crash and reset data with stack
traces, analysed to find unique issues
System profiler
Time series of system and application
memory usage to detect memory leaks
Performance
Long UI freezes and application
launch times
CPU load and stack sampling
available per use case
Energy
Energy consumption distribution
per use case, per each iteration
Test results
Test results with detailed steps,
screenshots and performance data
Video
Video of the whole test run
Logs
Full or selected logcat and kernel log
streams to debug issues
Types of data collected
Events
All crash and reset data with stack
traces, analysed to find unique issues
Today we’ll focus on these
Why Anomaly Detection?
▪ We want to shorten the development / test feedback loop, and enable
developers to pinpoint and fix issues as quickly as possible
○ Detecting anomalies in log files can help pinpoint what went wrong.
○ But
■ Logs are huge
■ Problems can happen well before the actual crash
▪ By finding likely problems in the logs, developers can identify the root cause
of problems more easily
How?
A crash or other stability event happens
x
We fetch the related logs
We train the N-gram
model, and check for
anomalies
We identify the
anomalous log lines
Limitations and Next Steps
▪ Still at the prototype stage
○ Further tuning and validation for the anomaly detection itself is necessary
○ Actual usage with developers also needed for validation
▪ UI/UX work is still needed
○ Slow and expensive, ideally would be on-demand
■ but, slow!
○ Could be done as stability issues are detected, but might be wasteful if
the results are not used
▪ Will be implemented as a standalone service that interacts asynchronously
with our analytics backend
▪ UI prototype
Thank you!
Contact Us
Martín Varela
martin.varela@profilence.com
+358 40 023 6420
www.profilence.com

More Related Content

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Martin Varela Anomaly Detection - Testing Assembly 2022.pdf

  • 1. Anomaly Detection for Stability Testing www.profilence.com Martín Varela - Testing Assembly 2022
  • 2. Profilence platform See the status of your SW and solve the issues. PSI Telemetry client running directly in Android based devices. TAU/ZETA Full scale test automation solution for testing embedded systems for long periods of time. POWERFUL WEB DASHBOARD • Project management can follow progress and trends from version to another • Developers can solve issues by drilling down from high level alerts all the way to low level data PROFILENCE CLOUD PLATFORM or self-hosted by customers • Receives data over secure connections from the Profilence data providers. • Analyses all data to automatically alert you on any stability or non-functional issues CENTER FOR PRODUCT DEVELOPMENT
  • 3. Stability Analysis ▪ Evaluation of SW stability from end user perspective ○ Tests are run continuously for hours, days or even weeks ○ Long term testing shows what kind of problems end users would see over time ▪ Repeating an analysis is always an expensive operation ○ It’s also difficult to predict what data will be needed to solve any particular bug ○ Therefore we store full history of testing – not just test results but the data needed to solve the issues ○ Our analytics also automatically analyse data for potential hard to find bugs – such as memory leaks ▪ We aim at shortening the development / test feedback loop, and enable developers to pinpoint and fix issues as quickly as possible
  • 4. Logs Full or selected logcat and kernel log streams to debug issues Types of data collected Events All crash and reset data with stack traces, analysed to find unique issues System profiler Time series of system and application memory usage to detect memory leaks Performance Long UI freezes and application launch times CPU load and stack sampling available per use case Energy Energy consumption distribution per use case, per each iteration Test results Test results with detailed steps, screenshots and performance data Video Video of the whole test run
  • 5. Logs Full or selected logcat and kernel log streams to debug issues Types of data collected Events All crash and reset data with stack traces, analysed to find unique issues Today we’ll focus on these
  • 6. Why Anomaly Detection? ▪ We want to shorten the development / test feedback loop, and enable developers to pinpoint and fix issues as quickly as possible ○ Detecting anomalies in log files can help pinpoint what went wrong. ○ But ■ Logs are huge ■ Problems can happen well before the actual crash ▪ By finding likely problems in the logs, developers can identify the root cause of problems more easily
  • 7. How? A crash or other stability event happens x We fetch the related logs We train the N-gram model, and check for anomalies We identify the anomalous log lines
  • 8. Limitations and Next Steps ▪ Still at the prototype stage ○ Further tuning and validation for the anomaly detection itself is necessary ○ Actual usage with developers also needed for validation ▪ UI/UX work is still needed ○ Slow and expensive, ideally would be on-demand ■ but, slow! ○ Could be done as stability issues are detected, but might be wasteful if the results are not used ▪ Will be implemented as a standalone service that interacts asynchronously with our analytics backend ▪ UI prototype
  • 9. Thank you! Contact Us Martín Varela martin.varela@profilence.com +358 40 023 6420 www.profilence.com