unittest failure when running tests as root: no such file or dir: 'ud'
Bug #1856096 reported by
Joshua Powers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
High
|
Joshua Powers |
Bug Description
When building master on LXD or running tox on a fresh Bionic LXD the following test failures show up:
https:/
This is not reproduced on a VM or baremetal.
This is slightly confusing as the load_file function has not be touched since in multiple years, nor as the query cmd. Is this related to the SRU lxd issues?
Steps to reproduce
---
lxc launch ubuntu-daily:b b
lxc exec b bash
git clone https:/
cd cloud-init
sudo apt update -qq
sudo apt install tox -y
tox
summary: |
- test escape on LXD: no such file or dir: 'ud' + unittest failure on LXD: no such file or dir: 'ud' |
information type: | Public → Public Security |
information type: | Public Security → Public |
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Apparently the trigger is not LXD but the fact that tox runs as root. It can reproduce it on bare metal.