Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms

Sebastiano Panichella
Sebastiano PanichellaSenior Computer Science Researcher um Zurich University of Applied Science
J1 presentation:
“Automated Identification and Qualitative Characterization of Safety Concerns
Reported in UAV Software Platforms”
Transactions on Software Engineering and Methodology.
Mon 11 - Fri 15 September 2023, Luxembourg
Sebastiano Panichella
Zurich University of Applied Sciences
https://spanichella.github.io/
Andrea Di Sorbo Fiorella Zampetti Aaron Visaggio Massimiliano Di Penta
University of Sannio
IEEE/ACM International Conference on
Automated Software Engineering (ASE 2023)
Outline
2
• DevOps shortcomings for Complex CPSs
• What types of safety bugs occur in open-source CPSs?
• Context: Cyber-physical Systems (CPSs)
The COSMOS Project has
received funding from
the European Union’s
Horizon 2020 Research
and Innovation
Programme under grant
agreement No. 957254.
UAV
“Emerging Cyber-physical Systems (CPS) will play a crucial role in the quality of
life of European citizens and the future of the European economy”
Context
• CPS relevant sectors:
• Healthcare
• Automotive
• Water Monitoring
• Railway
• Manufacturing
• Avionics
• etc.
MEDICAL DELIVERY
FOOD DELIVERY
• Avionics
3
FOOD DELIVERY
Background
First aerodynamic flight on another planet. Landed with Perseverance rover on 18 February 2021
SPACE EXPLORATION
• -
• Our (Software Engineering) view of DevOps and AI for IoT systems:
• DevOps and Continuous Delivery (CD): Whats is it?
• Present, Challenges, and Opportunities
• Relevant Research Questions
• Artificial Intelligence (AI) and Testing Automation:
• Present, Challenges, and Opportunities
• User-oriented Testing Automation
• Relevant Research Questions
“We all recognize the relevance and capacity of contemporary cyber-
physical systems for building the future of our society, but ongoing research
in the field is also clearly failing in making the right countermeasures to
avoid that CPS usage affects human being safety”. In
“Self-driving Uber kills Arizona
woman in first fatal crash involving
pedestrian”
“Swiss Post drone
crashes in Zurich
Problem Statement
“A simple software update was
the direct cause of the fatal
crashes of the Boeing 737”
6
• -
• Our (Software Engineering) view of DevOps and AI for IoT systems:
• DevOps and Continuous Delivery (CD): Whats is it?
• Present, Challenges, and Opportunities
• Relevant Research Questions
• Artificial Intelligence (AI) and Testing Automation:
• Present, Challenges, and Opportunities
• User-oriented Testing Automation
• Relevant Research Questions
“Self-driving Uber kills Arizona
woman in first fatal crash involving
pedestrian”
“Swiss Post drone
crashes in Zurich
Challenge
“A simple software update was
the direct cause of the fatal
crashes of the Boeing 737”
Observability, testability, and predictability of the behavior of emerging
CPS is highly limited and, unfortunately, their usage in the real world can
lead to fatal crashes sometimes tragically involving also humans
7
Sebastiano Panichella Sajad Khatiri
Christian Birchler
COSMOS:
DevOps for Complex Cyber-physical Systems
https://www.cosmos-devops.org/ https://twitter.com/COSMOS_DEVOPS https://lnkd.in/eUVeaYaz
9
What types of bugs occur in open-source CPSs?
CPS
Bugs
10
Famous Software Failure in a CPS: The Case of Ariane 5
11
Bugs and Failures in CPS
CPS Bug is
“a flaw in the hardware (not properly
handled by the software), or an incorrect
interaction between the software and
hardware components leading to a CPS
misbehavior’’
A CPS bug can manifest as a CPS failure,
which makes a CPS unable to deliver its
required functionality or not fulfilling some
non-functional properties
Properties
12
Bugs in the PX4 Project
https://github.com/PX4/PX4-Autopilot/issues/8980
Px4 Issue 8980: Unsuccessful flight
“ Autopilot receiving noisy sensor-data…“
13
Fiorella Zampetti, Ritu Kapur, Massimiliano Di Penta,
Sebastiano Panichella: An Empirical Characterization
of Software Bugs in Open-Source Cyber-Physical
Systems. Journal of Systems & Software (JSS).
What types of bugs occur in Open-source CPSs?
CPS
Bugs
1,151 closed issues sampled from
14 open-source CPS projects
CPS bugs taxonomy comprises
8 different high-level categories
17
What about Safety Bugs of CPSs?
CPS
Bugs
18
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano
Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in
UAV Software Platforms. Transactions on Software Engineering and Methodology.
150 Projects
19
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
CPS Safety Related Issues of UAVs
Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano
Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in
UAV Software Platforms. Transactions on Software Engineering and Methodology.
20
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
CPS Safety Related Issues of UAVs
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV
Software Platforms?
21
Gold Standard Definition
1,916 sentences
Cohen’s k = 0.68
(substantial)
837 (43.7%) safety
1,079 (56.3%) non-safety
22
Safety Bugs in open-source CPSs
Preprocessing of CPS Safety Related Issues
Tf Matrix
GitHub
Issues
Tf Matrix Tf-idf Matrix
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
23
Safety Bugs in open-source CPSs
ML prediction & Hyperparameter optimization
Tf Matrix
Tf-idf Matrix
RQ1: To what extent can machine learning models
automatically identify safety-related concerns in
issue reports of UAV software platforms?
RQ2: What are the main hazards and accidents emerging
from safety issues reported in UAV software platforms?
24
Safety Bugs in open-source CPSs
Performance of the ML classifiers
for classifying safety-related
issues in pull requests
Tf-idf wins over other
processing approaches
> 80% Precision,
Recall, and F-measure (10-
fold validation) using word
embeddings with FastText
Link to the tool behind our research
https://github.com/spanichella/SALIENT-TOOL
26
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
273 safety-related issues and PR 19 Hazard categories
7 Accident categories
27
Co-occurrences
of hazard
categories
and accident
categories
Hazard Accident
Hazard categories and
corresponding occurrences in our
dataset of 273 safety-related
issues and pull requests.
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
29
Co-occurrences
of hazard
categories
and accident
categories
Hazard Accident
Hazard categories and
corresponding occurrences in our
dataset of 273 safety-related
issues and pull requests.
Main Findings:
We need automated approaches to monitor and address safety concerns within a
CPS DevOps pipeline
What are the main Hazards and Accidents Emerging from Safety Issues
Reported in UAV Software Platforms?
Summary
30
• DevOps shortcomings for Complex CPSs
• What types of safety bugs occur in open-source CPSs?
• Context: Cyber-physical Systems (CPSs)
The COSMOS Project has
received funding from
the European Union’s
Horizon 2020 Research
and Innovation
Programme under grant
agreement No. 957254.
UAV
Thanks for the Attention!
• Any Questions?
J1 presentation:
“Automated Identification and Qualitative
Characterization of Safety Concerns Reported in UAV
Software Platforms”. Transactions on Software
Engineering and Methodology.
Mon 11 - Fri 15 September 2023, Luxembourg
Sebastiano Panichella
Zurich University of Applied Sciences
https://spanichella.github.io/
Link to the tool behind our research
https://github.com/spanichella/SALIENT-TOOL
1 von 27

Recomendados

An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ... von
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...Sebastiano Panichella
52 views35 Folien
Testing and Development Challenges for Complex Cyber-Physical Systems: Insi... von
Testing and Development Challenges for  Complex Cyber-Physical Systems:  Insi...Testing and Development Challenges for  Complex Cyber-Physical Systems:  Insi...
Testing and Development Challenges for Complex Cyber-Physical Systems: Insi...Sebastiano Panichella
39 views148 Folien
Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T... von
Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T...Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T...
Testing with Fewer Resources: Toward Adaptive Approaches for Cost-effective T...Sebastiano Panichella
249 views168 Folien
Personal Computer And Application Software D. von
Personal Computer And Application Software D.Personal Computer And Application Software D.
Personal Computer And Application Software D.Jacqueline Thomas
2 views81 Folien
No Safety Without Security von
No Safety Without SecurityNo Safety Without Security
No Safety Without SecuritySecurity Innovation
398 views21 Folien
[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A... von
[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A...[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A...
[CB16] Security in the IoT World: Analyzing the Security of Mobile Apps for A...CODE BLUE
735 views52 Folien

Más contenido relacionado

Similar a Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms

Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut... von
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...Black Duck by Synopsys
450 views17 Folien
20140121 cisec-safety criticalsoftwaredevelopment von
20140121 cisec-safety criticalsoftwaredevelopment20140121 cisec-safety criticalsoftwaredevelopment
20140121 cisec-safety criticalsoftwaredevelopmentCISEC
2.2K views41 Folien
2014-12-16 defense news - shutdown the hackers von
2014-12-16  defense news - shutdown the hackers2014-12-16  defense news - shutdown the hackers
2014-12-16 defense news - shutdown the hackersShawn Wells
326 views66 Folien
PROGRAMMING AND CYBER SECURITY von
PROGRAMMING AND CYBER SECURITYPROGRAMMING AND CYBER SECURITY
PROGRAMMING AND CYBER SECURITYSylvain Martinez
234 views23 Folien
Mechanical phish von
Mechanical phishMechanical phish
Mechanical phishDebdeep Banerjee
54 views11 Folien
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon... von
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...Black Duck by Synopsys
299 views17 Folien

Similar a Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms(20)

Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut... von Black Duck by Synopsys
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...
Open Source Insight: Who Owns Linux? TRITON Attack, App Security Testing, Fut...
20140121 cisec-safety criticalsoftwaredevelopment von CISEC
20140121 cisec-safety criticalsoftwaredevelopment20140121 cisec-safety criticalsoftwaredevelopment
20140121 cisec-safety criticalsoftwaredevelopment
CISEC2.2K views
2014-12-16 defense news - shutdown the hackers von Shawn Wells
2014-12-16  defense news - shutdown the hackers2014-12-16  defense news - shutdown the hackers
2014-12-16 defense news - shutdown the hackers
Shawn Wells326 views
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon... von Black Duck by Synopsys
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...
Open Source Insight: Auto Security & Hackers, Killer Robots, & Containers Gon...
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S... von qqlan
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...
G. Gritsai, A. Timorin, Y. Goltsev, R. Ilin, S. Gordeychik, and A. Karpin, “S...
qqlan716 views
Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps von Kevin Moran
Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile AppsMachine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps
Machine Learning-Based Prototyping of Graphical User Interfaces for Mobile Apps
Kevin Moran698 views
Defect Prediction & Prevention In Automotive Software Development von RAKESH RANA
Defect Prediction & Prevention In Automotive Software DevelopmentDefect Prediction & Prevention In Automotive Software Development
Defect Prediction & Prevention In Automotive Software Development
RAKESH RANA826 views
PHDays 8: Vulnerability Databases. Sifting thousands tons of verbal ore von Alexander Leonov
PHDays 8: Vulnerability Databases. Sifting thousands tons of verbal orePHDays 8: Vulnerability Databases. Sifting thousands tons of verbal ore
PHDays 8: Vulnerability Databases. Sifting thousands tons of verbal ore
Alexander Leonov746 views
Intelligence on the Intractable Problem of Software Security von Tyler Shields
Intelligence on the Intractable Problem of Software SecurityIntelligence on the Intractable Problem of Software Security
Intelligence on the Intractable Problem of Software Security
Tyler Shields407 views
Achieving Software Safety, Security, and Reliability Part 1: Common Industry ... von Perforce
Achieving Software Safety, Security, and Reliability Part 1: Common Industry ...Achieving Software Safety, Security, and Reliability Part 1: Common Industry ...
Achieving Software Safety, Security, and Reliability Part 1: Common Industry ...
Perforce140 views
Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb... von Black Duck by Synopsys
Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb...Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb...
Open Source Insight: Securing IoT, Atlanta Ransomware Attack, Congress on Cyb...
Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber... von Black Duck by Synopsys
Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber...Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber...
Open Source Insight: Hospital, Medical Devices, Banking, and Automotive Cyber...
Semi-Automated Security Testing of Web applications von Ram G Athreya
Semi-Automated Security Testing of Web applicationsSemi-Automated Security Testing of Web applications
Semi-Automated Security Testing of Web applications
Ram G Athreya3.6K views
Design reliability 2.0: Safety is Everything von Amir Rahat
Design reliability 2.0: Safety is Everything Design reliability 2.0: Safety is Everything
Design reliability 2.0: Safety is Everything
Amir Rahat533 views
9 th International Conference on Information Technology, Control, Chaos, Mode... von IJCSEA Journal
9 th International Conference on Information Technology, Control, Chaos, Mode...9 th International Conference on Information Technology, Control, Chaos, Mode...
9 th International Conference on Information Technology, Control, Chaos, Mode...
IJCSEA Journal5 views
Exposed! A case study on the vulnerability-proneness of Google Play Apps von Sebastiano Panichella
Exposed! A case study on the vulnerability-proneness of Google Play AppsExposed! A case study on the vulnerability-proneness of Google Play Apps
Exposed! A case study on the vulnerability-proneness of Google Play Apps
Semantic Web for Advanced Engineering von Marta Sabou
Semantic Web for Advanced EngineeringSemantic Web for Advanced Engineering
Semantic Web for Advanced Engineering
Marta Sabou720 views
Cyber Security Challenges with IoT, Smart City von Bhaskar Chattoraj
Cyber Security Challenges with IoT, Smart City Cyber Security Challenges with IoT, Smart City
Cyber Security Challenges with IoT, Smart City
Bhaskar Chattoraj2.1K views

Más de Sebastiano Panichella

The 2nd Intl. Workshop on NL-based Software Engineering von
The 2nd Intl. Workshop on NL-based Software EngineeringThe 2nd Intl. Workshop on NL-based Software Engineering
The 2nd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
878 views31 Folien
The 16th Intl. Workshop on Search-Based and Fuzz Testing von
The 16th Intl. Workshop on Search-Based and Fuzz TestingThe 16th Intl. Workshop on Search-Based and Fuzz Testing
The 16th Intl. Workshop on Search-Based and Fuzz TestingSebastiano Panichella
2.3K views37 Folien
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei... von
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...Sebastiano Panichella
35 views22 Folien
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor... von
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...Sebastiano Panichella
127 views45 Folien
Search-based Software Testing (SBST) '22 von
Search-based Software Testing (SBST) '22Search-based Software Testing (SBST) '22
Search-based Software Testing (SBST) '22Sebastiano Panichella
297 views25 Folien
NLBSE’22: Tool Competition von
NLBSE’22: Tool CompetitionNLBSE’22: Tool Competition
NLBSE’22: Tool CompetitionSebastiano Panichella
171 views17 Folien

Más de Sebastiano Panichella(20)

The 16th Intl. Workshop on Search-Based and Fuzz Testing von Sebastiano Panichella
The 16th Intl. Workshop on Search-Based and Fuzz TestingThe 16th Intl. Workshop on Search-Based and Fuzz Testing
The 16th Intl. Workshop on Search-Based and Fuzz Testing
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei... von Sebastiano Panichella
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...
Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Nei...
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor... von Sebastiano Panichella
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...
COSMOS: DevOps for complex cyber-physical systems (H2020 Project) - WASOS wor...
"An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021. von Sebastiano Panichella
 "An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021.  "An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021.
"An NLP-based Tool for Software Artifacts Analysis" at @ICSME2021.
An Empirical Investigation of Relevant Changes and Automation Needs in Modern... von Sebastiano Panichella
An Empirical Investigation of Relevant Changes and Automation Needs in Modern...An Empirical Investigation of Relevant Changes and Automation Needs in Modern...
An Empirical Investigation of Relevant Changes and Automation Needs in Modern...
Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,... von Sebastiano Panichella
Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,...Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,...
Search-Based Software Testing Tool Competition 2021 by Sebastiano Panichella,...
A Framework for Multi-source Studies based on Unstructured Data. von Sebastiano Panichella
A Framework for Multi-source Studies based on Unstructured Data.A Framework for Multi-source Studies based on Unstructured Data.
A Framework for Multi-source Studies based on Unstructured Data.
Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall... von Sebastiano Panichella
Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall...Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall...
Revisiting Test Smells in Automatically Generated Tests: Limitations, Pitfall...
Requirements-Collector: Automating Requirements Specification from Elicitatio... von Sebastiano Panichella
Requirements-Collector: Automating Requirements Specification from Elicitatio...Requirements-Collector: Automating Requirements Specification from Elicitatio...
Requirements-Collector: Automating Requirements Specification from Elicitatio...
Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ... von Sebastiano Panichella
Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ...Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ...
Testing with Fewer Resources: An Adaptive Approach to Performance-Aware Test ...
A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour... von Sebastiano Panichella
A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour...A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour...
A Mixed Graph-Relational Dataset of Socio-technical interactions in Open Sour...
Ticket Tagger: Machine Learning Driven Issue Classification von Sebastiano Panichella
Ticket Tagger: Machine Learning Driven Issue ClassificationTicket Tagger: Machine Learning Driven Issue Classification
Ticket Tagger: Machine Learning Driven Issue Classification
DRONE: A Tool to Detect and Repair Directive Defects in Java APIs Documentation von Sebastiano Panichella
DRONE: A Tool to Detect and Repair Directive Defects in Java APIs DocumentationDRONE: A Tool to Detect and Repair Directive Defects in Java APIs Documentation
DRONE: A Tool to Detect and Repair Directive Defects in Java APIs Documentation
The Cloudification Perspectives of Search-based Software Testing von Sebastiano Panichella
The Cloudification Perspectives of Search-based Software TestingThe Cloudification Perspectives of Search-based Software Testing
The Cloudification Perspectives of Search-based Software Testing

Último

OSMC 2023 | Large-scale logging made easy by Alexandr Valialkin von
OSMC 2023 | Large-scale logging made easy by Alexandr ValialkinOSMC 2023 | Large-scale logging made easy by Alexandr Valialkin
OSMC 2023 | Large-scale logging made easy by Alexandr ValialkinNETWAYS
21 views146 Folien
Prospectus (1).pdf von
Prospectus (1).pdfProspectus (1).pdf
Prospectus (1).pdfPancrazioScalambrino
14 views37 Folien
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un... von
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...NETWAYS
10 views15 Folien
OSMC 2023 | Monitoring at one of the largest retail groups in the world by Ma... von
OSMC 2023 | Monitoring at one of the largest retail groups in the world by Ma...OSMC 2023 | Monitoring at one of the largest retail groups in the world by Ma...
OSMC 2023 | Monitoring at one of the largest retail groups in the world by Ma...NETWAYS
12 views38 Folien
BLogSite (Web Programming) (1).pdf von
BLogSite (Web Programming) (1).pdfBLogSite (Web Programming) (1).pdf
BLogSite (Web Programming) (1).pdfFiverr
10 views9 Folien
OSMC 2023 | Newest developments in Checkmk Raw – the open-source monitoring s... von
OSMC 2023 | Newest developments in Checkmk Raw – the open-source monitoring s...OSMC 2023 | Newest developments in Checkmk Raw – the open-source monitoring s...
OSMC 2023 | Newest developments in Checkmk Raw – the open-source monitoring s...NETWAYS
9 views30 Folien

Último(20)

OSMC 2023 | Large-scale logging made easy by Alexandr Valialkin von NETWAYS
OSMC 2023 | Large-scale logging made easy by Alexandr ValialkinOSMC 2023 | Large-scale logging made easy by Alexandr Valialkin
OSMC 2023 | Large-scale logging made easy by Alexandr Valialkin
NETWAYS21 views
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un... von NETWAYS
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
NETWAYS10 views
OSMC 2023 | Monitoring at one of the largest retail groups in the world by Ma... von NETWAYS
OSMC 2023 | Monitoring at one of the largest retail groups in the world by Ma...OSMC 2023 | Monitoring at one of the largest retail groups in the world by Ma...
OSMC 2023 | Monitoring at one of the largest retail groups in the world by Ma...
NETWAYS12 views
BLogSite (Web Programming) (1).pdf von Fiverr
BLogSite (Web Programming) (1).pdfBLogSite (Web Programming) (1).pdf
BLogSite (Web Programming) (1).pdf
Fiverr10 views
OSMC 2023 | Newest developments in Checkmk Raw – the open-source monitoring s... von NETWAYS
OSMC 2023 | Newest developments in Checkmk Raw – the open-source monitoring s...OSMC 2023 | Newest developments in Checkmk Raw – the open-source monitoring s...
OSMC 2023 | Newest developments in Checkmk Raw – the open-source monitoring s...
NETWAYS9 views
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by... von NETWAYS
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
NETWAYS11 views
OSMC 2023 | IGNITE: Your business isn’t Green enough by Felix Frank von NETWAYS
OSMC 2023 | IGNITE: Your business isn’t Green enough by Felix FrankOSMC 2023 | IGNITE: Your business isn’t Green enough by Felix Frank
OSMC 2023 | IGNITE: Your business isn’t Green enough by Felix Frank
NETWAYS5 views
OSMC 2023 | DevOps Transformation: Introducing Incident Management and Maximi... von NETWAYS
OSMC 2023 | DevOps Transformation: Introducing Incident Management and Maximi...OSMC 2023 | DevOps Transformation: Introducing Incident Management and Maximi...
OSMC 2023 | DevOps Transformation: Introducing Incident Management and Maximi...
NETWAYS9 views
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un... von NETWAYS
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
OSMC 2023 | IGNITE: Serving Server-Side WASM with Web Awareness with NGINX Un...
NETWAYS11 views
OSMC 2023 | Elevating Open-Source Monitoring Ecosystems by Birol Yildiz von NETWAYS
OSMC 2023 | Elevating Open-Source Monitoring Ecosystems by Birol YildizOSMC 2023 | Elevating Open-Source Monitoring Ecosystems by Birol Yildiz
OSMC 2023 | Elevating Open-Source Monitoring Ecosystems by Birol Yildiz
NETWAYS7 views
Speaking with confidence-converted.pdf von Abdul salam
Speaking with confidence-converted.pdfSpeaking with confidence-converted.pdf
Speaking with confidence-converted.pdf
Abdul salam 16 views
OSMC 2023 | Current State of Icinga by Bernd Erk von NETWAYS
OSMC 2023 | Current State of Icinga by Bernd ErkOSMC 2023 | Current State of Icinga by Bernd Erk
OSMC 2023 | Current State of Icinga by Bernd Erk
NETWAYS16 views
231121 SP slides - PAS workshop November 2023.pdf von PAS_Team
231121 SP slides - PAS workshop November 2023.pdf231121 SP slides - PAS workshop November 2023.pdf
231121 SP slides - PAS workshop November 2023.pdf
PAS_Team115 views
OSMC 2023 | Making your Kubernetes-based log collection reliable & durable wi... von NETWAYS
OSMC 2023 | Making your Kubernetes-based log collection reliable & durable wi...OSMC 2023 | Making your Kubernetes-based log collection reliable & durable wi...
OSMC 2023 | Making your Kubernetes-based log collection reliable & durable wi...
NETWAYS5 views
OSMC 2023 | Extending Icinga Web with Modules: powerful, smart and easily cre... von NETWAYS
OSMC 2023 | Extending Icinga Web with Modules: powerful, smart and easily cre...OSMC 2023 | Extending Icinga Web with Modules: powerful, smart and easily cre...
OSMC 2023 | Extending Icinga Web with Modules: powerful, smart and easily cre...
NETWAYS13 views
OSMC 2023 | Replacing NSClient++ for Windows Monitoring by Sven Nielein von NETWAYS
OSMC 2023 | Replacing NSClient++ for Windows Monitoring by Sven NieleinOSMC 2023 | Replacing NSClient++ for Windows Monitoring by Sven Nielein
OSMC 2023 | Replacing NSClient++ for Windows Monitoring by Sven Nielein
NETWAYS9 views

Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms

  • 1. J1 presentation: “Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms” Transactions on Software Engineering and Methodology. Mon 11 - Fri 15 September 2023, Luxembourg Sebastiano Panichella Zurich University of Applied Sciences https://spanichella.github.io/ Andrea Di Sorbo Fiorella Zampetti Aaron Visaggio Massimiliano Di Penta University of Sannio IEEE/ACM International Conference on Automated Software Engineering (ASE 2023)
  • 2. Outline 2 • DevOps shortcomings for Complex CPSs • What types of safety bugs occur in open-source CPSs? • Context: Cyber-physical Systems (CPSs) The COSMOS Project has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement No. 957254. UAV
  • 3. “Emerging Cyber-physical Systems (CPS) will play a crucial role in the quality of life of European citizens and the future of the European economy” Context • CPS relevant sectors: • Healthcare • Automotive • Water Monitoring • Railway • Manufacturing • Avionics • etc. MEDICAL DELIVERY FOOD DELIVERY • Avionics 3
  • 5. Background First aerodynamic flight on another planet. Landed with Perseverance rover on 18 February 2021 SPACE EXPLORATION
  • 6. • - • Our (Software Engineering) view of DevOps and AI for IoT systems: • DevOps and Continuous Delivery (CD): Whats is it? • Present, Challenges, and Opportunities • Relevant Research Questions • Artificial Intelligence (AI) and Testing Automation: • Present, Challenges, and Opportunities • User-oriented Testing Automation • Relevant Research Questions “We all recognize the relevance and capacity of contemporary cyber- physical systems for building the future of our society, but ongoing research in the field is also clearly failing in making the right countermeasures to avoid that CPS usage affects human being safety”. In “Self-driving Uber kills Arizona woman in first fatal crash involving pedestrian” “Swiss Post drone crashes in Zurich Problem Statement “A simple software update was the direct cause of the fatal crashes of the Boeing 737” 6
  • 7. • - • Our (Software Engineering) view of DevOps and AI for IoT systems: • DevOps and Continuous Delivery (CD): Whats is it? • Present, Challenges, and Opportunities • Relevant Research Questions • Artificial Intelligence (AI) and Testing Automation: • Present, Challenges, and Opportunities • User-oriented Testing Automation • Relevant Research Questions “Self-driving Uber kills Arizona woman in first fatal crash involving pedestrian” “Swiss Post drone crashes in Zurich Challenge “A simple software update was the direct cause of the fatal crashes of the Boeing 737” Observability, testability, and predictability of the behavior of emerging CPS is highly limited and, unfortunately, their usage in the real world can lead to fatal crashes sometimes tragically involving also humans 7
  • 8. Sebastiano Panichella Sajad Khatiri Christian Birchler COSMOS: DevOps for Complex Cyber-physical Systems https://www.cosmos-devops.org/ https://twitter.com/COSMOS_DEVOPS https://lnkd.in/eUVeaYaz
  • 9. 9 What types of bugs occur in open-source CPSs? CPS Bugs
  • 10. 10 Famous Software Failure in a CPS: The Case of Ariane 5
  • 11. 11 Bugs and Failures in CPS CPS Bug is “a flaw in the hardware (not properly handled by the software), or an incorrect interaction between the software and hardware components leading to a CPS misbehavior’’ A CPS bug can manifest as a CPS failure, which makes a CPS unable to deliver its required functionality or not fulfilling some non-functional properties Properties
  • 12. 12 Bugs in the PX4 Project https://github.com/PX4/PX4-Autopilot/issues/8980 Px4 Issue 8980: Unsuccessful flight “ Autopilot receiving noisy sensor-data…“
  • 13. 13 Fiorella Zampetti, Ritu Kapur, Massimiliano Di Penta, Sebastiano Panichella: An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical Systems. Journal of Systems & Software (JSS). What types of bugs occur in Open-source CPSs? CPS Bugs 1,151 closed issues sampled from 14 open-source CPS projects CPS bugs taxonomy comprises 8 different high-level categories
  • 14. 17 What about Safety Bugs of CPSs? CPS Bugs
  • 15. 18 What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms? Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms. Transactions on Software Engineering and Methodology. 150 Projects
  • 16. 19 What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms? CPS Safety Related Issues of UAVs Andrea Di Sorbo, Fiorella Zampetti, Corrado A. Visaggio, Massimiliano Di Penta, and Sebastiano Panichella: Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms. Transactions on Software Engineering and Methodology.
  • 17. 20 RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms? CPS Safety Related Issues of UAVs RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms? What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 18. 21 Gold Standard Definition 1,916 sentences Cohen’s k = 0.68 (substantial) 837 (43.7%) safety 1,079 (56.3%) non-safety
  • 19. 22 Safety Bugs in open-source CPSs Preprocessing of CPS Safety Related Issues Tf Matrix GitHub Issues Tf Matrix Tf-idf Matrix RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms?
  • 20. 23 Safety Bugs in open-source CPSs ML prediction & Hyperparameter optimization Tf Matrix Tf-idf Matrix RQ1: To what extent can machine learning models automatically identify safety-related concerns in issue reports of UAV software platforms? RQ2: What are the main hazards and accidents emerging from safety issues reported in UAV software platforms?
  • 21. 24 Safety Bugs in open-source CPSs Performance of the ML classifiers for classifying safety-related issues in pull requests Tf-idf wins over other processing approaches > 80% Precision, Recall, and F-measure (10- fold validation) using word embeddings with FastText Link to the tool behind our research https://github.com/spanichella/SALIENT-TOOL
  • 22. 26 What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms? 273 safety-related issues and PR 19 Hazard categories 7 Accident categories
  • 23. 27 Co-occurrences of hazard categories and accident categories Hazard Accident Hazard categories and corresponding occurrences in our dataset of 273 safety-related issues and pull requests. What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 24. What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 25. 29 Co-occurrences of hazard categories and accident categories Hazard Accident Hazard categories and corresponding occurrences in our dataset of 273 safety-related issues and pull requests. Main Findings: We need automated approaches to monitor and address safety concerns within a CPS DevOps pipeline What are the main Hazards and Accidents Emerging from Safety Issues Reported in UAV Software Platforms?
  • 26. Summary 30 • DevOps shortcomings for Complex CPSs • What types of safety bugs occur in open-source CPSs? • Context: Cyber-physical Systems (CPSs) The COSMOS Project has received funding from the European Union’s Horizon 2020 Research and Innovation Programme under grant agreement No. 957254. UAV
  • 27. Thanks for the Attention! • Any Questions? J1 presentation: “Automated Identification and Qualitative Characterization of Safety Concerns Reported in UAV Software Platforms”. Transactions on Software Engineering and Methodology. Mon 11 - Fri 15 September 2023, Luxembourg Sebastiano Panichella Zurich University of Applied Sciences https://spanichella.github.io/ Link to the tool behind our research https://github.com/spanichella/SALIENT-TOOL