SlideShare a Scribd company logo
1 of 20
Download to read offline
Automated Misconfiguration Repair of
Configurable Cyber-Physical Systems
with Search: an Industrial Case Study on
Elevator Dispatching Algorithms
Let’s
discuss at
ISSTA’23
Pablo Valle Aitor Arrieta Maite Arratibel
2
Example of a Cyber-Physical System
3
Configurability and Variability in
Elevators
55% of issues that appeared in
operation were due to
misconfigurations
4
Challenges for Automated Repair of
Misconfigurations
Expensive Test
Execution
Large Configuration
Space
Multiple Requirements
Need to prioritize
severe scenarios
5
Approach Overview
Misconfiguration
Repair Algorithm
Decision
Maker
Patch Validator
</>
Misc
FTC
Failing test
suite
PTC
Passing test
suite
Test
Oracle
</>
Plausible
Patch
</>
Patch
Partial
patch
archive
</>
Partial
Patch
FTC
</>
Misc’
6
Misconfiguration Repair Algorithm
7
Misconfiguration Repair Algorithm
Expensive Test
Execution
Archive-based search strategy
Parallelization of the simulation-
based test execution
Tried to accelerate test execution
through surrogate models, but…
didn’t work!
8
Misconfiguration Repair Algorithm
Large Configuration
Space
Mechanism to measure
parameters’ suspiciousness
Parameters with high
suspiciousness get higher
probability to be mutated
9
Misconfiguration Repair Algorithm
Multiple
Requirements
Each requirement modeled through
one test oracle that provides a
score [-1,0]
Solution stored in Archive based
on Pareto-optimality
Maximun of 2 x # of Reqs. solutions
in the Archive
10
Misconfiguration Repair Algorithm
Need to prioritize
severe scenarios
Consider worst case scenario
per requirement for all test cases
executed
11
• Select a partial patch based on domain-specific rules
• Priority 1: Select all partial patches with WT < 25 seconds
• Priority 2: Select all partial patches which had < 10% of
passengers waiting more than 55 seconds
• …
• After all priorities, if more than one patch exists, select
the patch with minimal changes to the original one
(based on Hamming Distance)
Decision Maker
12
• Passing test cases are executed
• Encompassing full-day traffic profiles
• Regression test oracle employed (comparison with misconfigured
version)
• Other types of test cases executed using metamorphic
testing for CPSs
Patch Validator
13
RQ1 – Sanity check: How does our approach compare to
the baseline?
RQ2 – Comparison with state of the practice: How does
our approach compare to manual repair carried out by
domain experts?
Evaluation – Research Questions
14
• Case study
• Orona’s CGC dispatching algorithm
• Real misconfiguration that appeared in a real installation
• Operational data was available
• Data from manual repair was available
• Baseline algorithm: unguided version of our algorithm
(similar to random search)
• Evaluation metrics
• Hypervolume
• Individual objectives (after the patch is selected by the DM)
• Runs
• 10 executions for randomization
• 12 hours time budget
• Statistical tests
Evaluation – Experimental setup
15
Results
Setup: No threshold provided  Optimize as much as possible
all objectives
16
Results
Misconf Manual Baseline Repair
AWT (sec) 25.99 23.10 22.66 22.77
LWT (sec) 435.70 223.00 241.55 213.72
%WT>55 sec (%) 12.78 11.99 9.93 9.92
ATT (sec) 42.01 41.60 41.77 41.58
LTT (sec) 209.8 220.60 206.24 195.56
%WT>70 sec (%) 10.24 10.02 9.64 9.45
Setup: No threshold provided  Optimize as much as possible
all objectives
17
For out of 14 executions, for our algorithm, half of the
executions repaired the misconfiguration in around 3.5
hours
Results (not in the paper)
Setup: Threshold specified
For out of 14 executions, for the baseline, only one of the
executions repaired the misconfiguration in 11 hours
18
Answer to RQs
Our approach outperforms both
the baseline and the manual repair
provided by the domain experts.
19
• Lesson 1 – Reduction of personnel cost
• Lesson 2 – Scalable technique
• Lesson 3 – Surrogate models did not help
• Lesson 4 – Challenging conflicting installation, with
many unforeseen situations
Conclusion and Lessons Learned
We provide a scalable and automated
approach for automated misconfiguration
repair in the context of configurable CPSs
Thank you!
Aitor Arrieta
aarrieta@mondragon.edu
Pablo Valle Aitor Arrieta Maite Arratibel

More Related Content

Similar to Automated Misconfiguration Repair of Configurable Cyber-Physical Systems with Search

Aplication of on line data analytics to a continuous process polybetene unit
Aplication of on line data analytics to a continuous process polybetene unitAplication of on line data analytics to a continuous process polybetene unit
Aplication of on line data analytics to a continuous process polybetene unitEmerson Exchange
 
MiL Testing of Highly Configurable Continuous Controllers
MiL Testing of Highly Configurable Continuous ControllersMiL Testing of Highly Configurable Continuous Controllers
MiL Testing of Highly Configurable Continuous ControllersLionel Briand
 
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...Lionel Briand
 
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016MLconf
 
MLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott ClarkMLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott ClarkSigOpt
 
Dealing with the Three Horrible Problems in Verification
Dealing with the Three Horrible Problems in VerificationDealing with the Three Horrible Problems in Verification
Dealing with the Three Horrible Problems in VerificationDVClub
 
SE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software TestingSE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software TestingAmr E. Mohamed
 
Automated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsAutomated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsLionel Briand
 
Performance Test Driven Development with Oracle Coherence
Performance Test Driven Development with Oracle CoherencePerformance Test Driven Development with Oracle Coherence
Performance Test Driven Development with Oracle Coherencearagozin
 
Seven deadly sins of ElasticSearch Benchmarking
Seven deadly sins of ElasticSearch BenchmarkingSeven deadly sins of ElasticSearch Benchmarking
Seven deadly sins of ElasticSearch BenchmarkingFan Robbin
 
Testing of Cyber-Physical Systems: Diversity-driven Strategies
Testing of Cyber-Physical Systems: Diversity-driven StrategiesTesting of Cyber-Physical Systems: Diversity-driven Strategies
Testing of Cyber-Physical Systems: Diversity-driven StrategiesLionel Briand
 
Supply chain design and operation
Supply chain design and operationSupply chain design and operation
Supply chain design and operationAngelainBay
 
Performance tuning Grails applications
 Performance tuning Grails applications Performance tuning Grails applications
Performance tuning Grails applicationsGR8Conf
 
Performance tuning Grails applications
Performance tuning Grails applicationsPerformance tuning Grails applications
Performance tuning Grails applicationsLari Hotari
 
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxIntro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxDeepakJangid87
 
Gale Technologies - A Leading Innovative Software Solutions Provider Explains...
Gale Technologies - A Leading Innovative Software Solutions Provider Explains...Gale Technologies - A Leading Innovative Software Solutions Provider Explains...
Gale Technologies - A Leading Innovative Software Solutions Provider Explains...Galetech
 
Wait-free data structures on embedded multi-core systems
Wait-free data structures on embedded multi-core systemsWait-free data structures on embedded multi-core systems
Wait-free data structures on embedded multi-core systemsMenlo Systems GmbH
 

Similar to Automated Misconfiguration Repair of Configurable Cyber-Physical Systems with Search (20)

Aplication of on line data analytics to a continuous process polybetene unit
Aplication of on line data analytics to a continuous process polybetene unitAplication of on line data analytics to a continuous process polybetene unit
Aplication of on line data analytics to a continuous process polybetene unit
 
MiL Testing of Highly Configurable Continuous Controllers
MiL Testing of Highly Configurable Continuous ControllersMiL Testing of Highly Configurable Continuous Controllers
MiL Testing of Highly Configurable Continuous Controllers
 
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
 
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
Scott Clark, Co-Founder and CEO, SigOpt at MLconf SF 2016
 
MLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott ClarkMLConf 2016 SigOpt Talk by Scott Clark
MLConf 2016 SigOpt Talk by Scott Clark
 
Dealing with the Three Horrible Problems in Verification
Dealing with the Three Horrible Problems in VerificationDealing with the Three Horrible Problems in Verification
Dealing with the Three Horrible Problems in Verification
 
SE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software TestingSE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software Testing
 
Automated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance SystemsAutomated Testing of Autonomous Driving Assistance Systems
Automated Testing of Autonomous Driving Assistance Systems
 
Performance Test Driven Development with Oracle Coherence
Performance Test Driven Development with Oracle CoherencePerformance Test Driven Development with Oracle Coherence
Performance Test Driven Development with Oracle Coherence
 
Seven deadly sins of ElasticSearch Benchmarking
Seven deadly sins of ElasticSearch BenchmarkingSeven deadly sins of ElasticSearch Benchmarking
Seven deadly sins of ElasticSearch Benchmarking
 
C010241521
C010241521C010241521
C010241521
 
Ajila (1)
Ajila (1)Ajila (1)
Ajila (1)
 
Testing of Cyber-Physical Systems: Diversity-driven Strategies
Testing of Cyber-Physical Systems: Diversity-driven StrategiesTesting of Cyber-Physical Systems: Diversity-driven Strategies
Testing of Cyber-Physical Systems: Diversity-driven Strategies
 
Supply chain design and operation
Supply chain design and operationSupply chain design and operation
Supply chain design and operation
 
Performance tuning Grails applications
 Performance tuning Grails applications Performance tuning Grails applications
Performance tuning Grails applications
 
Performance tuning Grails applications
Performance tuning Grails applicationsPerformance tuning Grails applications
Performance tuning Grails applications
 
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxIntro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
 
Mathworks CAE simulation suite – case in point from automotive and aerospace.
Mathworks CAE simulation suite – case in point from automotive and aerospace.Mathworks CAE simulation suite – case in point from automotive and aerospace.
Mathworks CAE simulation suite – case in point from automotive and aerospace.
 
Gale Technologies - A Leading Innovative Software Solutions Provider Explains...
Gale Technologies - A Leading Innovative Software Solutions Provider Explains...Gale Technologies - A Leading Innovative Software Solutions Provider Explains...
Gale Technologies - A Leading Innovative Software Solutions Provider Explains...
 
Wait-free data structures on embedded multi-core systems
Wait-free data structures on embedded multi-core systemsWait-free data structures on embedded multi-core systems
Wait-free data structures on embedded multi-core systems
 

Recently uploaded

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 

Recently uploaded (20)

Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 

Automated Misconfiguration Repair of Configurable Cyber-Physical Systems with Search

  • 1. Automated Misconfiguration Repair of Configurable Cyber-Physical Systems with Search: an Industrial Case Study on Elevator Dispatching Algorithms Let’s discuss at ISSTA’23 Pablo Valle Aitor Arrieta Maite Arratibel
  • 2. 2 Example of a Cyber-Physical System
  • 3. 3 Configurability and Variability in Elevators 55% of issues that appeared in operation were due to misconfigurations
  • 4. 4 Challenges for Automated Repair of Misconfigurations Expensive Test Execution Large Configuration Space Multiple Requirements Need to prioritize severe scenarios
  • 5. 5 Approach Overview Misconfiguration Repair Algorithm Decision Maker Patch Validator </> Misc FTC Failing test suite PTC Passing test suite Test Oracle </> Plausible Patch </> Patch Partial patch archive </> Partial Patch FTC </> Misc’
  • 7. 7 Misconfiguration Repair Algorithm Expensive Test Execution Archive-based search strategy Parallelization of the simulation- based test execution Tried to accelerate test execution through surrogate models, but… didn’t work!
  • 8. 8 Misconfiguration Repair Algorithm Large Configuration Space Mechanism to measure parameters’ suspiciousness Parameters with high suspiciousness get higher probability to be mutated
  • 9. 9 Misconfiguration Repair Algorithm Multiple Requirements Each requirement modeled through one test oracle that provides a score [-1,0] Solution stored in Archive based on Pareto-optimality Maximun of 2 x # of Reqs. solutions in the Archive
  • 10. 10 Misconfiguration Repair Algorithm Need to prioritize severe scenarios Consider worst case scenario per requirement for all test cases executed
  • 11. 11 • Select a partial patch based on domain-specific rules • Priority 1: Select all partial patches with WT < 25 seconds • Priority 2: Select all partial patches which had < 10% of passengers waiting more than 55 seconds • … • After all priorities, if more than one patch exists, select the patch with minimal changes to the original one (based on Hamming Distance) Decision Maker
  • 12. 12 • Passing test cases are executed • Encompassing full-day traffic profiles • Regression test oracle employed (comparison with misconfigured version) • Other types of test cases executed using metamorphic testing for CPSs Patch Validator
  • 13. 13 RQ1 – Sanity check: How does our approach compare to the baseline? RQ2 – Comparison with state of the practice: How does our approach compare to manual repair carried out by domain experts? Evaluation – Research Questions
  • 14. 14 • Case study • Orona’s CGC dispatching algorithm • Real misconfiguration that appeared in a real installation • Operational data was available • Data from manual repair was available • Baseline algorithm: unguided version of our algorithm (similar to random search) • Evaluation metrics • Hypervolume • Individual objectives (after the patch is selected by the DM) • Runs • 10 executions for randomization • 12 hours time budget • Statistical tests Evaluation – Experimental setup
  • 15. 15 Results Setup: No threshold provided  Optimize as much as possible all objectives
  • 16. 16 Results Misconf Manual Baseline Repair AWT (sec) 25.99 23.10 22.66 22.77 LWT (sec) 435.70 223.00 241.55 213.72 %WT>55 sec (%) 12.78 11.99 9.93 9.92 ATT (sec) 42.01 41.60 41.77 41.58 LTT (sec) 209.8 220.60 206.24 195.56 %WT>70 sec (%) 10.24 10.02 9.64 9.45 Setup: No threshold provided  Optimize as much as possible all objectives
  • 17. 17 For out of 14 executions, for our algorithm, half of the executions repaired the misconfiguration in around 3.5 hours Results (not in the paper) Setup: Threshold specified For out of 14 executions, for the baseline, only one of the executions repaired the misconfiguration in 11 hours
  • 18. 18 Answer to RQs Our approach outperforms both the baseline and the manual repair provided by the domain experts.
  • 19. 19 • Lesson 1 – Reduction of personnel cost • Lesson 2 – Scalable technique • Lesson 3 – Surrogate models did not help • Lesson 4 – Challenging conflicting installation, with many unforeseen situations Conclusion and Lessons Learned We provide a scalable and automated approach for automated misconfiguration repair in the context of configurable CPSs
  • 20. Thank you! Aitor Arrieta aarrieta@mondragon.edu Pablo Valle Aitor Arrieta Maite Arratibel