Roundup Tracker - Issues

Message8524

Author rouilj
Recipients ber, cf-intevation, rouilj, schlatterbeck
Date 2026-09-17.23:12:25
Message-id <1789686746.28.0.91205432568.issue2551427@roundup-tracker.org>
In-reply-to
It looks like there are a few issues with the Docker container.

In the test output I see for test: anydbmAdminTest.testInitWithConfig_ini

  PermissionError: [Errno 13] Permission denied: 
'/mnt/share/roundup/templates/classic/config_ini.ini'

Huh. Is share/roundup/templates/classic a read only directory?
I see permission denied for other paths including __pycache__ (in the warnings output)
and roundup/test/memorydb.py.dummy. Any idea why the paths getting permission denied
can't be written?

I have to admit this is odd. It's possible there is a UID mismatch. But, I would expect a lot 
more permission failures if the uid was mismatched. What is your UID? The docker container 
builds as UID 1000. If your uid isn't 1000, you need to build using the --build-
arg="roundup_uid=3000" replacing 3000 with your uid. But as I said this is unlikely to be
the issue.

Also it looks like redis is still built into the docker container as I see failures raised
from:

  /usr/local/lib/python3.14/site-packages/redis/connection.py
  and a timestamp failure that I think happens when the test tried to use redis

Can you rebuild without redis (remove/comment it out of scripts/Docker/requirements.txt) and 
run the tests again. Hopefully that will only leave the 3 or so permission denied failures.

You can run just one of them using:

  python -m pytest --pdb -k testInitWithConfig_ini test

and see if you can figure out why you are getting permission denied when it tries to create 
the share/roundup/templates/classic/config.ini file. You can also try touching that file
from the docker shell and see if you can touch it or if you get an error.

I'm on a 16 hour shift tomorrow, so won't be back at the computer till Saturday.

Hope this helps.

-- rouilj
History
Date User Action Args
2026-09-17 23:12:26rouiljsetmessageid: <1789686746.28.0.91205432568.issue2551427@roundup-tracker.org>
2026-09-17 23:12:26rouiljsetrecipients: + rouilj, schlatterbeck, ber, cf-intevation
2026-09-17 23:12:26rouiljlinkissue2551427 messages
2026-09-17 23:12:25rouiljcreate