The writehosts command line option to etce-lxc start adds LXC container entries to the system /etc/hosts file. Automating hostname/address mapping is essential, but it's preferable for ETCE to avoid changing any system state. Look into an alternative, including bind mounting /etc/hosts to another location during test execution.