action #95768
opencontainers: the single_container_test shows this error "Permission denied" when tries to create the directory "/var/lib/openqa/share/factory/tmp"
0%
Description
Motivation¶
Thanks to a previous issue #95179 we could see in the logs that the webui has permissions problems on the "factory" directory
e.g. https://openqa.opensuse.org/tests/1830297#step/single_container_webui/107
The reason is because the directory has the root user (in the container) but the webui is executed with the geekotest user.
Acceptance Criteria¶
- AC 1: webui can create the needed directories in /var/lib/openqa/share/factory
Suggestion¶
- Currently if the container doesn't fail the logs are not be printed, so print "docker logs openqa_webui" the logs before destroy the container
- Check if there are other directories that require to be created from the webui and can be created
Updated by ilausuch over 3 years ago
- Description updated (diff)
One suggested solution was this: https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/71 but it was rejected because rwx permissions for every user is too open.
So I created this new PR https://github.com/os-autoinst/openQA/pull/4056 that after some tests is failing on multiple_container_webui test (https://openqa.opensuse.org/tests/1848766#step/multiple_container_webui/1) but I still don't have the reason.
Updated by okurz over 3 years ago
- Priority changed from Normal to Low
- Target version set to Ready