MOOSE tests failing due to an attempt running as root user #31224
Unanswered
BilboMcBong
asked this question in
Q&A Getting Started
Replies: 1 comment 1 reply
-
|
If you are trying to create an environment to share with others, you shouldn't do it as a super user. You should create the environment as a non-privileged user (yourself or a service user), and then make the environment readable (not-writeable) by others. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Check these boxes if you have followed the posting rules.
Issue or question about MOOSE
Dear Moose community,
I tried to pull and run the docker image of the Moose application exactly as described in the installation page.
After spending some time with some conda activate/deactivate issue ([(https://github.com//discussions/28798]) the application compiles and most of the tests pass.
The Issue
However, there are still some test that fail, due to running the the tests as root user which is a bad practice as the error message indicates.
I sense that this is rather a Docker but a Moose issue but I thought someone could have run into similar problem.
What I tried so far
I tried to create another sudo user and initialize conda for all users, then I commited this container to a new image. Unfortunately, this approach does not work as various files are not found when trying to build and run the tests.
My setup
I am completely new to docker and have only basic knowledge of Linux.
Any help is appreciated!
Thanks in Advance
(Optional) code in question / simulation log / errors
Encountering Errors? Please include diagnostic output
Beta Was this translation helpful? Give feedback.
All reactions