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/oneaz_connectivity.py in test_jumbo_frames (arguments ▶)
- self.ping_via_instance(key, instance.ip_address, ping)
- def test_jumbo_frames(self):
- """NOTE: test may fail on some stands."""
- key, instances = self.infrastructure_provisioning(self.vpc, 2, 2)
- instance1, instance2, instance3, _ = instances
- # 8900 is an approximate reduced value for underlay
- # network with a max MTU value 9000
/root/c2tests/.venv/lib/python3.7/site-packages/c2tests/__init__.py in infrastructure_provisioning (arguments ▶)
- if associate_eip:
- common.parallelize(
- utils.check_ssh,
- instances,
- threads=len(instances),
- check_errors=True,
- )
- ssh_key = instances[0][0]
- instances = [i[1] for i in instances]
/root/c2tests/.venv/lib/python3.7/site-packages/c2tests/common.py in parallelize (arguments ▶)
- for thread in thread_pool:
- join_thread(thread)
- if check_errors:
- for result in results:
- if isinstance(result[1], Exception):
- raise result[1]
- results.sort(key=lambda result: result[0])
- return [result[1] for result in results]
/root/c2tests/.venv/lib/python3.7/site-packages/c2tests/common.py in worker (arguments ▶)
- task_id, element = q.get(False)
- except queue.Empty:
- break
- try:
- result = func(element)
- except Exception as e:
- if log_errors:
- logger.exception("Parallelize of %s for %s failed.", func, element)
- result = e
/root/c2tests/.venv/lib/python3.7/site-packages/c2tests/utils.py in check_ssh (arguments ▶)
- def check_ssh(instance):
- """Helper for parallel using of 'long_ssh_test'."""
- return long_ssh_test(*instance)
- RULES = [
- {
/root/c2tests/.venv/lib/python3.7/site-packages/c2tests/utils.py in long_ssh_test (arguments ▶)
- def long_ssh_test(keypath, instance):
- """Getting instance id frome metadata server w/retries"""
- wait_long(lambda: ssh_test(instance.ip_address, keypath) == instance.id)
- def check_ssh(instance):
- """Helper for parallel using of 'long_ssh_test'."""
/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"""