device-crash-test (6cb4f6db4f4367faa33da85b15f75bbbd2bed2a6) device-crash-test (abf0bf998dcb20807195018bfdd7abca2930dbbd)
1#!/usr/bin/env python
2#
3# Copyright (c) 2017 Red Hat Inc
4#
5# Author:
6# Eduardo Habkost <ehabkost@redhat.com>
7#
8# This program is free software; you can redistribute it and/or modify

--- 22 unchanged lines hidden (view full) ---

31import logging
32import traceback
33import re
34import random
35import argparse
36from itertools import chain
37
38sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'python'))
1#!/usr/bin/env python
2#
3# Copyright (c) 2017 Red Hat Inc
4#
5# Author:
6# Eduardo Habkost <ehabkost@redhat.com>
7#
8# This program is free software; you can redistribute it and/or modify

--- 22 unchanged lines hidden (view full) ---

31import logging
32import traceback
33import re
34import random
35import argparse
36from itertools import chain
37
38sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'python'))
39from qemu import QEMUMachine
39from qemu.machine import QEMUMachine
40
41logger = logging.getLogger('device-crash-test')
42dbg = logger.debug
43
44
45# Purposes of the following whitelist:
46# * Avoiding verbose log messages when we find known non-fatal
47# (exitcode=1) errors

--- 528 unchanged lines hidden ---
40
41logger = logging.getLogger('device-crash-test')
42dbg = logger.debug
43
44
45# Purposes of the following whitelist:
46# * Avoiding verbose log messages when we find known non-fatal
47# (exitcode=1) errors

--- 528 unchanged lines hidden ---