Roundup Tracker - Issues

Message7484

Author schlatterbeck
Recipients marcus.priesch, rouilj, schlatterbeck
Date 2022-05-02.13:18:15
Message-id <20220502131811.i2pzm65xax2wzhkb@runtux.com>
In-reply-to <1651496071.98.0.892953036741.issue2551200@roundup.psfhosted.org>
On Mon, May 02, 2022 at 12:54:32PM +0000, John Rouillard wrote:

> I am not sure how things work in travis ci 8-(. I have been looking into how
> to log into a test container to debug the xfail cache issue that you may have fixed with
> changeset:   6651:da6c9050a79e.

The problem was reproduceable when running *all* tests. With all tests
(because the test_wsgi test ran before the one failing) the test you
marked xfail would fail. When only running test_liveserver it would not
fail (an uppercase X for the xfail test). Then I searched for all
strings that I thought could make a difference and hit on the Cache
stuff. Confirmed by running just the wsgi tests and test_liveserver
together.

> Does /nobackup/ralf/share/locale exist? If so this might be breakage
> from roundup trying to find the prefix and appending share/local at
> line 70 in i18n.py. This code is fragile and I am not happy with it
> but it's an attempt to find the locale directory where setup placed
> the locale files.

Hmm, the directory is not existing: It is not supposed to: I've never
installed roundup on that test-machine. So it is expected that the
directory doesn't exist.

Instead I copied the (unfortunately not quite working: I also fixed
that) trick from test_dates.py: It modifies the LOCALE_DIRS in i18n.py.
I also modified DOMAIN there so it would find the checked out (instead
of the installed) locales. (And I'm reverting the changes to i18n so
that we do not get different behaviour when all tests run vs. when only
one test runs, Marcus observed different behaviour which we traced to
the virtualenv he was using where roundup was installed before).

> I pushed both your changes to ci. We shall see how they do.
Thanks! That was quick :-)

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: office@runtux.com
History
Date User Action Args
2022-05-02 13:18:15schlatterbecksetrecipients: + schlatterbeck, rouilj, marcus.priesch
2022-05-02 13:18:15schlatterbecklinkissue2551200 messages
2022-05-02 13:18:15schlatterbeckcreate