Message8522
Hi Chris:
I can't reproduce this using the current development version nor the 2.6
released on pypi
using the stage 2 docker image.
I am using:
docker build -t roundup-app -f scripts/Docker/Dockerfile --build-
arg=source=pypi .
(or without --build-arg to use the current dev release inside an hg
checkout).
with the Dockerfile changed to include the pip command earlier on this
ticket that allows
pgp to be installed. Also scripts/Docker/requirements.txt has the redis
package commented out.
Then I am running the docker image roundup-app using:
docker run -it -v $PWD:/mnt roundup-app shell
where PWD is the root of the mercurial checkout repo.
At the shell I type:
cd /mnt
python -m pip install -r test/requirements.txt
python -m pytest test
and all tests pass.
= 1407 passed, 956 skipped, 4 xfailed, 26 subtests passed in 419.84s
(0:06:59) =
Also I have shut down mysql and postgresql to more closely match your
environment.
Given all the skipped test I assume those processes aren't running.
I am not sure what is happening to cause your testing to fail.
How you are stopping the build at stage 1 so you can get a shell?
What is the reason you are not using the stage 2 production image?
Can you paste the full errors not just the truncated summary error
messages.
I have seen an instance of the:
FAILED test/test_cgi.py::TemplateUtilsTestCase::testExpandfile -
IndexError: ...
error when pdb was used or some tests were skipped. If it's the same
cause, the logging
subsystem is not properly configured to capture logger log messages.
Checking
the log capture output by index fails. But I have never seen it with a
complete test
run top to bottom.
-- rouilj |
|
| Date |
User |
Action |
Args |
| 2026-09-16 15:48:18 | rouilj | set | messageid: <1789573698.84.0.71075887263.issue2551427@roundup-tracker.org> |
| 2026-09-16 15:48:18 | rouilj | set | recipients:
+ rouilj, schlatterbeck, ber, cf-intevation |
| 2026-09-16 15:48:18 | rouilj | link | issue2551427 messages |
| 2026-09-16 15:48:18 | rouilj | create | |
|