##### SUMMARY
Both in the overview (see f.ex. https://app.shippable.com/github/ansible/ansible/runs/175858/summary/console) nor in the detail view for failed tests (https://app.shippable.com/github/ansible/ansible/runs/175858/82/tests) anything is shown.

This is only the case for ansible-test for `devel` when using the `integration` subcommand. `sanity` and `units` work fine.

##### ISSUE TYPE
- Bug Report

##### COMPONENT NAME
ansible-test

##### ANSIBLE VERSION
devel

"""Checks to perform at startup before running commands."""
    check_legacy_modules()
def check_legacy_modules():
    """Detect conflicts with legacy core/extras module directories to avoid problems later."""
    for directory in 'core', 'extras':
        path = 'lib/ansible/modules/%s' % directory
        for root, _dir_names, file_names in os.walk(path):
            if file_names:
                
                raise ApplicationError('Files prohibited in "%s". '
                                       'These are most likely legacy modules from version 2.2 or earlier.' % root)
def create_shell_command(command):
    """
    :type command: list[str]
    :rtype: list[str]
    """
    optional_vars = (
        'TERM',
    )
    cmd = ['/usr/bin/env']
    cmd += ['%s=%s' % (var, os.environ[var]) for var in optional_vars if var in os.environ]
    cmd += command
    return cmd
def get_setuptools_version(args, python):