Replication Package for ROSDiscover: Statically Detecting Run-Time Architecture Misconfigurations in Robotics Systems
Creators
- 1. Carnegie Mellon University
Description
Replication Package for ROSDiscover: Statically Detecting Run-Time Architecture Misconfigurations in Robotics Systems
This is the replication package for the paper, ROSDiscover: Statically Detecting Run-Time Architecture Misconfigurations in Robotics Systems, which has been accepted at the International Conference on Software Architecture (ICSA), 2021. A preprint of the paper is included in this replication package (paper.pdf).
This artifact is archived on Zenodo with the following DOI: https://doi.org/10.5281/zenodo.5834633
The study associated with this artifact was carried out by the following investigators:
- Christopher S. Timperley (Carnegie Mellon University)
- Tobias Dürschmid (Carnegie Mellon University)
- Bradley Schmerl (Carnegie Mellon University)
- David Garlan (Carnegie Mellon University)
- Claire Le Goues (Carnegie Mellon University)
If you have any questions regarding the research or the replication package, you should contact Christopher, Tobias, or Bradley.
Abstract
Robot systems are growing in importance and complexity. Ecosystems for robot software, such as the Robot Operating System (ROS), provide libraries of reusable software components that can be configured and composed into larger systems. To support compositionality, ROS uses late binding and architecture configuration via “launch files” that describe how to initialize the components in a system. However, late binding often leads to systems failing silently due to misconfiguration, for example by misrouting or dropping messages entirely.
In this paper we present ROSDiscover, which statically recovers the run-time architecture of ROS systems to find such architecture misconfiguration bugs. First, ROSDiscover constructs component level architectural models (ports, parameters) from source code. Second, architecture configuration files are analyzed to compose the system from these component models and derive the connections in the system. Finally, the reconstructed architecture is checked against architectural rules described in first-order logic to identify potential misconfigurations.
We present an evaluation of ROSDiscover on real world, off-the-shelf robotic systems, measuring the accuracy, effectiveness, and practicality of our approach. To that end, we collected the first data set of architecture configuration bugs in ROS from popular open-source systems and measure how effective our approach is for detecting configuration bugs in that set.