TimeoutException

Timed out. search by Google

args : tuple
('Timed out.',)

Traceback

  1. /usr/local/lib/python3.7/unittest/case.py in testPartExecutor (arguments )

    self : _Outcome
    <unittest.case._Outcome object at 0x7fdd7a5d9c90>
    test_case : Complex
    test_complex_standard (c2tests.ec2.complex.Complex)
    isTest : bool
    True
    1. @contextlib.contextmanager
    2. def testPartExecutor(self, test_case, isTest=False):
    3. old_success = self.success
    4. self.success = True
    5. try:
    6. yield
    7. except KeyboardInterrupt:
    8. raise
    9. except SkipTest as e:
    10. self.success = False

    Locals

    exc_info : NoneType
    None
    old_success : bool
    True

    Globals

    __unittest : bool
    True
    _subtest_msg_sentinel : object
    <object object at 0x7fdd91f65fb0>
    DIFF_OMITTED : str
    Diff is %s characters long. Set self.maxDiff to None to see it.
  2. /usr/local/lib/python3.7/unittest/case.py in run (arguments )

    self : Complex
    test_complex_standard (c2tests.ec2.complex.Complex)
    result : DiagnosticsTestResult
    <xmlrunner.extra.diagnosticstestrunner.DiagnosticsTestResult run=1 errors=0 failures=0>
    1. with outcome.testPartExecutor(self):
    2. self.setUp()
    3. if outcome.success:
    4. outcome.expecting_failure = expecting_failure
    5. with outcome.testPartExecutor(self, isTest=True):
    6. testMethod()
    7. outcome.expecting_failure = False
    8. with outcome.testPartExecutor(self):
    9. self.tearDown()

    Locals

    expecting_failure : bool
    False
    expecting_failure_class : bool
    False
    expecting_failure_method : bool
    False
    orig_result : DiagnosticsTestResult
    <xmlrunner.extra.diagnosticstestrunner.DiagnosticsTestResult run=1 errors=0 failures=0>
    outcome : _Outcome
    <unittest.case._Outcome object at 0x7fdd7a5d9c90>
    testMethod : method
    <bound method Complex.test_complex of <c2tests.ec2.complex.Complex testMethod=test_complex_standard>>

    Globals

    __unittest : bool
    True
    _subtest_msg_sentinel : object
    <object object at 0x7fdd91f65fb0>
    DIFF_OMITTED : str
    Diff is %s characters long. Set self.maxDiff to None to see it.
  3. /root/c2tests/.venv/lib/python3.7/site-packages/parameterized/parameterized.py in standalone_func (arguments )

    *a : tuple
    (<c2tests.ec2.complex.Complex testMethod=test_complex_standard>,)
    1. @classmethod
    2. def param_as_standalone_func(cls, p, func, name):
    3. @wraps(func)
    4. def standalone_func(*a):
    5. return func(*(a + p.args), **p.kwargs)
    6. standalone_func.__name__ = name
    7. # place_as is used by py.test to determine what source file should be
    8. # used for this test.

    Locals

    p : param
    param(*('standard',), **{})

    Globals

    PY2 : bool
    False
    PY3 : bool
    True
    string_types : tuple
    (<class 'str'>,)
  4. /root/c2tests/.venv/lib/python3.7/site-packages/c2tests/ec2/complex.py in test_complex (arguments )

    self : Complex
    test_complex_standard (c2tests.ec2.complex.Complex)
    volume_type : str
    standard
    1. key_path, instance = self.run_instance_from_template(volume_type=volume_type)
    2. self.report("Checking network")
    3. utils.wait_long(
    4. lambda: utils.ssh_test(instance.ip_address, key_path) == instance.id)
    5. self.report("Checking attaching volumes")
    6. volume_names = ["/dev/vdb", "/dev/vdc", "/dev/vdd"]
    7. test_volumes = [

    Locals

    instance : Instance
    Instance:i-479A3B20
    key_path : str
    /tmp/tmpnq9lz3zt.pub

    Globals

    INS_MAX : int
    1
    SG_MAX : int
    2
  5. /root/c2tests/.venv/lib/python3.7/site-packages/c2tests/utils.py in wait_long (arguments )

    func : function
    <function Complex.test_complex.<locals>.<lambda> at 0x7fdd7a5c2290>
    *args : tuple
    ()
    **kwargs : dict
    {}
    1. def wait_long(func, *args, **kwargs):
    2. """Fail unless func return success within the long timeout"""
    3. return wait(5 * constants.MINUTE_SECONDS, func, *args, **kwargs)
    4. def wait_long_enough(func, *args, **kwargs):
    5. """Fail unless func return success within the enough long timeout."""

    Locals

    Globals

    _DD : str
    /bin/dd
    _QEMU_IMG : str
    /usr/bin/qemu-img
    LOG : RootLogger
    <RootLogger root (DEBUG)>
    md5 : builtin_function_or_method
    <built-in function openssl_md5>
    RULES : list
    [{'cidr_ip': '0.0.0.0/0', 'ip_protocol': 'tcp', 'from_port': '22', 'to_port': '22'}, {'cidr_ip': '0.0.0.0/0', 'ip_protocol': 'icmp', 'from_port': '-1', 'to_port': '-1'}]
  6. /root/c2tests/.venv/lib/python3.7/site-packages/c2tests/utils.py in wait (arguments )

    timeout : int
    300
    func : function
    <function Complex.test_complex.<locals>.<lambda> at 0x7fdd7a5c2290>
    *args : tuple
    ()
    **kwargs : dict
    {}
    1. result = func(*args, **kwargs)
    2. if result:
    3. return result
    4. time.sleep(min(timeout, 0.1))
    5. raise exceptions.TimeoutException()
    6. def wait_short(func, *args, **kwargs):
    7. """Fail unless func return success within the timeout"""

    Locals

    endtime : float
    1693409252.3225458
    result : bool
    False

    Globals

    _DD : str
    /bin/dd
    _QEMU_IMG : str
    /usr/bin/qemu-img
    LOG : RootLogger
    <RootLogger root (DEBUG)>
    md5 : builtin_function_or_method
    <built-in function openssl_md5>
    RULES : list
    [{'cidr_ip': '0.0.0.0/0', 'ip_protocol': 'tcp', 'from_port': '22', 'to_port': '22'}, {'cidr_ip': '0.0.0.0/0', 'ip_protocol': 'icmp', 'from_port': '-1', 'to_port': '-1'}]

Environment

Time of report generation
2023-08-30 18:27:48
Python version
3.7.9 (default, Sep 21 2022, 19:11:27) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Path to executable
/root/c2tests/.venv/bin/python
Working directory
/root/c2tests
Arguments vector
  1. /root/c2tests/.venv/bin/c2tests
  2. run
  3. -s
  4. ec2