try and get some visibility into test failures

pull/715/head
Steven Robertson 4 years ago
parent e1e28f14e3
commit 207e36194d

@ -46,5 +46,5 @@ with ci_lib.Fold('machine_prep'):
with ci_lib.Fold('ansible'): with ci_lib.Fold('ansible'):
os.chdir(TESTS_DIR) os.chdir(TESTS_DIR)
playbook = os.environ.get('PLAYBOOK', 'all.yml') playbook = os.environ.get('PLAYBOOK', 'all.yml')
run('./run_ansible_playbook.py %s -l target %s', run('./run_ansible_playbook.py %s -l target %s -vvv',
playbook, ' '.join(sys.argv[1:])) playbook, ' '.join(sys.argv[1:]))

@ -559,9 +559,6 @@ class SysModulesMethod(FinderMethod):
""" """
Find `fullname` using its :data:`__file__` attribute. Find `fullname` using its :data:`__file__` attribute.
""" """
# see if collections are being loaded in sys.path here
if 'synchronize' in fullname:
raise ValueError(sys.path)
module = sys.modules.get(fullname) module = sys.modules.get(fullname)
if not isinstance(module, types.ModuleType): if not isinstance(module, types.ModuleType):
LOG.debug('%r: sys.modules[%r] absent or not a regular module', LOG.debug('%r: sys.modules[%r] absent or not a regular module',

@ -56,8 +56,4 @@ else:
args += ['-e', json.dumps(extra)] args += ['-e', json.dumps(extra)]
args += sys.argv[1:] args += sys.argv[1:]
# get visibility into what's being ran
print('*' * 80)
print(args)
print('*' * 80)
os.execvp(args[0], args) os.execvp(args[0], args)

Loading…
Cancel
Save