Charmcraft occasionally can create files in ./build that are owned by another user. These files cause the pytest-operator to raise an exception when cleaning up ./build. I have not been able to make a reproducible example to post as a bug in charmcraft, but as a mitigation added a handler here to warn on the failed deletions rather than fail entirely.
Charmcraft occasionally can create files in
./build
that are owned by another user. These files cause the pytest-operator to raise an exception when cleaning up./build
. I have not been able to make a reproducible example to post as a bug in charmcraft, but as a mitigation added a handler here to warn on the failed deletions rather than fail entirely.