#34958: Intermittent `messages_tests.tests.TestLevelTags.test_lazy` test failure
----------------------------------+------------------------------------
Reporter: bcail | Owner: nobody
Type: Bug | Status: new
Component: contrib.messages | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+------------------------------------
Changes (by Natalia Bidart):
* status: closed => new
* resolution: worksforme =>
* component: Core (Other) => contrib.messages
* stage: Unreviewed => Accepted
Comment:
Accepting since we got the same failure in our CI
[https://djangoci.com/job/main-
random/database=spatialite,label=focal,python=python3.11/124/consoleFull
logs]:
{{{
Started by upstream project "main-random" build number 124
originally caused by:
Started by an SCM change
Running as SYSTEM
Building remotely on focal1 (oracle focal focal-pr) in workspace
/home/jenkins/workspace/main-
random/database/spatialite/label/focal/python/python3.11
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Using shallow clone with depth 50
Avoid fetching tags
Honoring refspec on initial clone
Cloning repository https://github.com/django/django.git
> git init /home/jenkins/workspace/main-
random/database/spatialite/label/focal/python/python3.11 # timeout=10
Fetching upstream changes from https://github.com/django/django.git
> git --version # timeout=10
> git --version # 'git version 2.25.1'
> git fetch --no-tags --force --progress --depth=50 --
https://github.com/django/django.git
+refs/heads/main:refs/remotes/origin/main # timeout=10
> git config remote.origin.url https://github.com/django/django.git #
timeout=10
> git config --add remote.origin.fetch
+refs/heads/main:refs/remotes/origin/main # timeout=10
Avoid second fetch
Checking out Revision f7389c4b07ceeb036436e065898e411b247bca78
(origin/main)
> git config core.sparsecheckout # timeout=10
> git checkout -f f7389c4b07ceeb036436e065898e411b247bca78 # timeout=10
Commit message: "Fixed #34457 -- Restored output for makemigrations
--check."
> git rev-list --no-walk 797957fb48f63760442d3d4c8985fd94f8602d5e #
timeout=10
[python3.11] $ /bin/sh -xe /tmp/jenkins9896387767571950455.sh
+ export EXTRA_RUNTESTS_ARGS=--shuffle
+ git clean -fqdx
+ cd tests
+ cp -r /home/jenkins/djangodata/apt-pin
/home/jenkins/djangodata/oracle19.env
/home/jenkins/djangodata/oragis19.env
/home/jenkins/djangodata/runtests_jenkins.sh
/home/jenkins/djangodata/test_mysql.py
/home/jenkins/djangodata/test_mysql_gis.py
/home/jenkins/djangodata/test_oracle19.py
/home/jenkins/djangodata/test_oracle19_host.py
/home/jenkins/djangodata/test_oragis19.py
/home/jenkins/djangodata/test_postgis.py
/home/jenkins/djangodata/test_postgres.py
/home/jenkins/djangodata/test_spatialite.py
/home/jenkins/djangodata/test_sqlite3.py .
+ sh runtests_jenkins.sh
...
Using shuffle seed: 5354051979 (generated)
Creating test database for alias 'default'
('file:memorydb_default?mode=memory&cache=shared')...
Found 17253 test(s).
...
test_lazy (messages_tests.tests.TestLevelTags.test_lazy) ... FAIL
(0.002s)
...
======================================================================
FAIL [0.002s]: test_lazy (messages_tests.tests.TestLevelTags.test_lazy)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/workspace/main-
random/database/spatialite/label/focal/python/python3.11/tests/messages_tests/tests.py",
line 73, in test_lazy
self.assertEqual(base.LEVEL_TAGS[constants.ERROR], "bad")
AssertionError: 'error' != 'bad'
- error
+ bad
----------------------------------------------------------------------
Ran 17251 tests in 1406.234s
FAILED (failures=1, skipped=1139, expected failures=5)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34958#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018bb991bb45-d1756654-7b24-42ef-9e3e-c8beec1593d8-000000%40eu-central-1.amazonses.com.