2,111 research outputs found
Testing a distributed system: Generating minimal synchronised test sequences that detect output-shifting faults
A distributed system may have a number of separate interfaces called ports and in testing it may be necessary to have a separate tester at each port. This introduces a number of issues, including the necessity to use synchronised test sequences and the possibility that output-shifting faults go undetected. This paper considers the problem of generating a minimal synchronised test sequence that detects output-shifting faults when the system is specified using a finite state machine with multiple ports. The set of synchronised test sequences that detect output-shifting faults is represented by a directed graph G and test generation involves finding appropriate tours of G. This approach is illustrated using the test criterion that the test sequence contains a test segment for each transition
Injecting software faults in Python applications
As técnicas de injeção de falhas de software têm sido amplamente utilizadas como meio
para avaliar a confiabilidade de sistemas na presença de certos tipos de falhas. Apesar
da grande diversidade de ferramentas que oferecem a possibilidade de emular a presença
de falhas de software, há pouco suporte prático para emular a presença de falhas de soft ware em aplicações Python, que cada vez mais são usados para suportar serviços cloud
crĂticos para negĂłcios. Nesta tese, apresentamos uma ferramenta (de nome Fit4Python)
para injetar falhas de software em cĂłdigo Python e, de seguida, usamo-la para analisar a
eficácia da bateria de testes do OpenStack contra estas novas, prováveis, falhas de software.
Começamos por analisar os tipos de falhas que afetam o Nova Compute, um componente
central do OpenStack. Usamos a nossa ferramenta para emular a presença de novas falhas
na API Nova Compute de forma a entender como a bateria de testes unitários, funcionais
e de integração do OpenStack cobre essas novas, mas prováveis, situações. Os resultados
mostram limitações claras na eficácia da bateria de testes dos programadores do Open Stack, com muitos casos de falhas injetadas a passarem sem serem detectadas por todos
os três tipos de testes. Para além disto, observamos que que a maioria dos problemas
analisados poderia ser detectada com mudanças ou acréscimos triviais aos testes unitários
A Comprehensive Test Pattern Generation Approach Exploiting SAT Attack for Logic Locking
The need for reducing manufacturing defect escape in today's safety-critical
applications requires increased fault coverage. However, generating a test set
using commercial automatic test pattern generation (ATPG) tools that lead to
zero-defect escape is still an open problem. It is challenging to detect all
stuck-at faults to reach 100% fault coverage. In parallel, the hardware
security community has been actively involved in developing solutions for logic
locking to prevent IP piracy. Locks (e.g., XOR gates) are inserted in different
locations of the netlist so that an adversary cannot determine the secret key.
Unfortunately, the Boolean satisfiability (SAT) based attack, introduced in
[1], can break different logic locking schemes in minutes. In this paper, we
propose a novel test pattern generation approach using the powerful SAT attack
on logic locking. A stuck-at fault is modeled as a locked gate with a secret
key. Our modeling of stuck-at faults preserves the property of fault activation
and propagation. We show that the input pattern that determines the key is a
test for the stuck-at fault. We propose two different approaches for test
pattern generation. First, a single stuck-at fault is targeted, and a
corresponding locked circuit with one key bit is created. This approach
generates one test pattern per fault. Second, we consider a group of faults and
convert the circuit to its locked version with multiple key bits. The inputs
obtained from the SAT tool are the test set for detecting this group of faults.
Our approach is able to find test patterns for hard-to-detect faults that were
previously failed in commercial ATPG tools. The proposed test pattern
generation approach can efficiently detect redundant faults present in a
circuit. We demonstrate the effectiveness of the approach on ITC'99 benchmarks.
The results show that we can achieve a perfect fault coverage reaching 100%.Comment: 12 pages, 7 figures, 5 table
- …