Skip to main content
QUICK REVIEW

[Paper Review] Automated System-Level Software Testing of Industrial Networked Embedded Systems

Per Erik Strandberg|arXiv (Cornell University)|Nov 16, 2021
Software Testing and Debugging TechniquesComputer Science8 citations
TL;DR

This thesis proposes an integrated approach to automated system-level testing in industrial networked embedded systems, addressing challenges in test flow management, test/hardware selection under constraints, intermittent failure analysis, and test result visualization. It introduces data-driven methods for test prioritization, coverage optimization, and fault classification, with empirical validation showing improved test efficiency, coverage, and actionable insights through visualization tools and metrics for intermittent failures.

ABSTRACT

Embedded systems are ubiquitous and play critical roles in management systems for industry and transport. Software failures in these domains may lead to loss of production or even loss of life, so the software in these systems needs to be reliable. Software testing is a standard approach for quality assurance of embedded software, and many software development processes strive for test automation. Out of the many challenges for successful software test automation, this thesis addresses five: (i) understanding how updated software reaches a test environment, how testing is conducted in the test environment, and how test results reach the developers that updated the software in the first place; (ii) selecting which test cases to execute in a test suite given constraints on available time and test systems; (iii) given that the test cases are run on different configurations of connected devices, selecting which hardware to use for each test case to be executed; (iv) analyzing test cases that, when executed over time on evolving software, testware or hardware revisions, appear to randomly fail; and (v) making test results information actionable with test results exploration and visualization. The challenges are tackled in several ways. [Abstract truncated.]

Motivation & Objective

  • To improve reliability and quality assurance in industrial networked embedded systems, where software failures can lead to production loss or safety risks.
  • To address key challenges in automated system-level testing: information flow, test/hardware selection under constraints, intermittent test failures, and test result usability.
  • To develop practical, data-driven solutions that enhance test efficiency, coverage, and developer trust through visualization and diagnostic metrics.
  • To bridge the gap between industrial testing practices and academic research by grounding solutions in real-world industrial data from years of nightly testing.
  • To support feedback-driven development by modeling testing as a system of feedback loops, improving decision-making across the SDLC.

Proposed method

  • Conducted interviews with five industrial practitioners to map the end-to-end information flow in embedded system testing, identifying key bottlenecks and feedback points.
  • Developed and evaluated automated test selection and hardware assignment algorithms using real industrial data from nightly regression test runs, optimizing for time and coverage.
  • Proposed a novel metric to classify test cases as intermittently or consistently failing, using historical execution data to detect patterns in failure behavior.
  • Built and evaluated a visualization and exploration tool for test results, integrating with CI/CD pipelines to support actionable insights and developer decision-making.
  • Applied combinatorial testing and search-based techniques to model test system topologies and optimize test mapping across hardware configurations.
  • Used statistical and pattern analysis on long-term test logs to identify root causes of intermittent failures and compare them with consistent failures.

Experimental results

Research questions

  • RQ1How does information flow in the software testing process for industrial embedded systems, and how can it be visualized to improve decision-making?
  • RQ2How can test cases and hardware devices be selected automatically under time and resource constraints to maximize test coverage and efficiency?
  • RQ3What factors contribute to intermittent test failures in embedded systems, and how can they be systematically classified and diagnosed?
  • RQ4How can test results be made more actionable through visualization and interactive exploration in a CI/CD context?
  • RQ5To what extent can automated feedback loops in testing improve the reliability and maintainability of embedded software systems?

Key findings

  • The study revealed that test results and feedback loops are critical for decision-making, and a centralized test results database significantly improves traceability and responsiveness.
  • Automated test selection and hardware assignment methods reduced test suite runtime and increased hardware coverage by dynamically varying device configurations across test iterations.
  • The proposed metric for classifying intermittent failures successfully identified distinct patterns, showing that such failures are often caused by environmental or configuration factors rather than code bugs alone.
  • Root cause analysis revealed that intermittently failing tests are more likely to be triggered by timing, network jitter, or hardware variability, while consistently failing tests are more often due to logical errors.
  • The visualization tool enabled developers to explore test results effectively, with usage logs showing repeated use of specific views and patterns, indicating strong practical utility.
  • The integration of test results into feedback loops was shown to enhance trust in testing and reduce false positives, especially when combined with diagnostic insights into failure patterns.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.