lueschem / edi

Embedded development infrastructure.
https://www.get-edi.io
GNU Lesser General Public License v3.0
39 stars 12 forks source link

Tests fail if user and hostname are identical #6

Closed lueschem closed 6 years ago

lueschem commented 7 years ago

Issue Type

Environment detail

+ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.2 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
+ python3 --version
Python 3.5.2
+ ansible-playbook --version
ansible-playbook 2.1.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
+ lxc --version
2.0.9
+ dpkg -l+ grep \(lxd\|ansible\)

ii  ansible                          2.1.1.0-1~ubuntu16.04.1                    all          Configuration management, deployment, and task execution system
ii  lxd                              2.0.9-0ubuntu1~16.04.2                     armhf        Container hypervisor based on LXC - daemon
ii  lxd-client                       2.0.9-0ubuntu1~16.04.2                     armhf        Container hypervisor based on LXC - client

Desired Behaviour

py.test-3 tests shall pass.

Actual Behaviour (Bug report only)

py.test-3 tests fail if the user name is identical to the hostname (e.g. username=ubuntu, hostname=ubuntu).