#339 basic role fails if test case is named 'test'
Closed: SOLVED by astepano. Opened by bgoncalv.

This is a regression, this issue in on current master, but it does not happen on current STR release standard-test-roles-3.2-1.fc29

Reproducer:

---
- hosts: localhost
  roles:
    - role: standard-test-basic
      tags:
        - classic
      tests:
        - test:
            dir: ./
            run: pwd

Result, test reported fail and there is no test.log:

TASK [str-common-final : Pull out the logs from test environment to test runner] **********************************************************************************************************************************
changed: [/root/Fedora-Rawhide.qcow2]
TASK [str-common-final : Report role result] **********************************************************************************************************************************************************************
fatal: [/root/Fedora-Rawhide.qcow2]: FAILED! => {
    "msg": [
        "Tests failed: True", 
        "Tests msg: ", 
        ""
    ]
}
    to retry, use: --limit @/root/tests/tests.retry
PLAY RECAP ********************************************************************************************************************************************************************************************************
/root/Fedora-Rawhide.qcow2 : ok=22   changed=7    unreachable=0    failed=1
# ls artifacts/
default_provisioners.log  Fedora-Rawhide.qcow2.guest.log  Fedora-Rawhide.qcow2.qemu.log  PASS_str_test.log  test-err.log

Fixed: https://pagure.io/standard-test-roles/pull-request/340

Metadata Update from @astepano:
- Issue close_status updated to: SOLVED
- Issue status updated to: Closed (was: Open)

Metadata