def test014():
    test_file = "test014-BigTextFile.txt"
    test_file_path = find_file(test_file)
    
    class SimpleInfra(InfraModel):
        testbox = StaticServer("testbox", find_ip())
    infra = SimpleInfra("simple")
    
    class SimpleNamespace(NamespaceModel):
        with_variables(Var("PREFIX", ctxt.name),
                       Var("DEST", "/tmp/!{PREFIX}-!{FILE}"),
                       Var("FILE", test_file))
        target = MultiRole(Role("target", host_ref=SimpleInfra.testbox))
    ns = SimpleNamespace()
    
    class SingleCopy(ConfigModel):
        reset = CommandTask("014_reset", "/bin/rm -rf !{DEST}", removes="!{DEST}")
        copy = CopyFileTask("014_cpf", "!{DEST}",
                            src=test_file_path)
        with_dependencies(reset | copy)
        
    class MultiCopy(ConfigModel):
        task_suite = MultiTask("all-copies", ConfigClassTask("one-copy", SingleCopy),
                               SimpleNamespace.q.target.all())
        
    cfg = MultiCopy()
    
    for i in range(5):
        _ = ns.target[i]
    
    ea = AnsibleExecutionAgent(config_model_instance=cfg,
                               namespace_model_instance=ns,
                               num_threads=5, no_delay=True)
    try:
        ea.perform_config()
    except ExecutionException, e:
        import traceback
        for task, etype, value, tb in ea.get_aborted_tasks():
            print ">>>Task {} failed with the following:".format(task.name)
            traceback.print_exception(etype, value, tb, file=sys.stdout)
            print
        assert False, e.message
test014: multiple copies of the same task going against the same host to
dataset/ETHPy150Open haxsaw/actuator/src/tests/ansible_tests.py/test014