Timed out. search by Google
/usr/local/lib/python3.7/unittest/case.py in testPartExecutor (arguments ▶)
- @contextlib.contextmanager
- def testPartExecutor(self, test_case, isTest=False):
- old_success = self.success
- self.success = True
- try:
- yield
- except KeyboardInterrupt:
- raise
- except SkipTest as e:
- self.success = False
/usr/local/lib/python3.7/unittest/case.py in run (arguments ▶)
- with outcome.testPartExecutor(self):
- self.setUp()
- if outcome.success:
- outcome.expecting_failure = expecting_failure
- with outcome.testPartExecutor(self, isTest=True):
- testMethod()
- outcome.expecting_failure = False
- with outcome.testPartExecutor(self):
- self.tearDown()
/root/c2tests/.venv/lib/python3.7/site-packages/c2tests/vpc/complex.py in test_complex (arguments ▶)
- def test_complex(self):
- """Testing complex operations on instances"""
- subnet, sec_group = self.__create_test_subnet()
- key_path, instance = self.run_instance_from_template(
- subnet_id=subnet.id,
- security_group_ids=[sec_group.id],
- )
- utils.wait_long(
- lambda: ssh_test(instance.ip_address, key_path) == subnet.cidr_block)
/root/c2tests/.venv/lib/python3.7/site-packages/c2tests/utils.py in wait_long (arguments ▶)
- def wait_long(func, *args, **kwargs):
- """Fail unless func return success within the long timeout"""
- return wait(5 * constants.MINUTE_SECONDS, func, *args, **kwargs)
- def wait_long_enough(func, *args, **kwargs):
- """Fail unless func return success within the enough long timeout."""
/root/c2tests/.venv/lib/python3.7/site-packages/c2tests/utils.py in wait (arguments ▶)
- result = func(*args, **kwargs)
- if result:
- return result
- time.sleep(min(timeout, 0.1))
- raise exceptions.TimeoutException()
- def wait_short(func, *args, **kwargs):
- """Fail unless func return success within the timeout"""