ROSDiscover: Statically Detecting Run-Time Architecture Misconfigurations in Robotics Systems

被引:10
|
作者
Timperley, Christopher S. [1 ]
Durschmid, Tobias [1 ]
Schmerl, Bradley [1 ]
Garlan, David [1 ]
Le Goues, Claire [1 ]
机构
[1] Carnegie Mellon Univ, Pittsburgh, PA 15213 USA
关键词
ROS; Software Architecture; Static Analysis;
D O I
10.1109/ICSA53651.2022.00019
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:112 / 123
页数:12
相关论文
共 50 条
  • [1] ROSDiscover: Statically Detecting Run-Time Architecture Misconfigurations in Robotics Systems Artifact Paper
    Timperley, Christopher S.
    Durschmid, Tobias
    Schmerl, Bradley
    Garlan, David
    Le Goues, Claire
    [J]. 2022 IEEE 19TH INTERNATIONAL CONFERENCE ON SOFTWARE ARCHITECTURE COMPANION (ICSA-C 2022), 2022, : 56 - 56
  • [2] A survey of systems for detecting serial run-time errors
    Luecke, Glenn R.
    Coyle, James
    Hoekstra, Jim
    Kraeva, Marina
    Li, Ying
    Taborskaia, Olga
    Wang, Yanmei
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2006, 18 (15): : 1885 - 1907
  • [4] Hardware-software run-time systems and robotics: A case study
    Mooney, VJ
    Ruspini, D
    Khatib, O
    De Micheli, G
    [J]. 24TH EUROMICRO CONFERENCE - PROCEEDING, VOLS 1 AND 2, 1998, : 162 - 167
  • [5] Performance regression testing and run-time verification of components in robotics systems
    Wienke, J.
    Wrede, S.
    [J]. ADVANCED ROBOTICS, 2017, 31 (22) : 1177 - 1192
  • [6] Run-time manipulation of programs in a statically-typed language
    Greiner, Sašo
    [J]. Informatica (Ljubljana), 2009, 33 (03) : 397 - 398
  • [7] Run-time Manipulation of Programs in a Statically-Typed Language
    Greiner, Saso
    [J]. INFORMATICA-JOURNAL OF COMPUTING AND INFORMATICS, 2009, 33 (03): : 397 - 398
  • [8] DRASTIC: A run-time architecture for evolving, distributed, persistent systems
    Evans, H
    Dickman, P
    [J]. ECOOP'97: OBJECT-ORIENTED PROGRAMMING, 1997, 1241 : 243 - 275
  • [9] THE POWER MACS RUN-TIME ARCHITECTURE
    THELEN, R
    [J]. BYTE, 1994, 19 (04): : 131 - &
  • [10] Architecture compliance checking at run-time
    Ganesan, Dharmalingam
    Keuler, Thorsten
    Nishimura, Yutaro
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (11) : 1586 - 1600