Project

Profile

Help

Issue #9009

CacheBasicOperationsTestCase::test_04_basic_expires unit test fails intermittently

Added by dkliban@redhat.com 3 months ago. Updated 1 day ago.

Status:
NEW
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 106
Quarter:

Description

I am seeing the following in our CI from time to time:

# Run unit tests.
cmd_prefix bash -c "PULP_DATABASES__default__USER=postgres django-admin test --noinput /usr/local/lib/python3.6/site-packages/pulpcore/tests/unit/"
Creating test database for alias 'default'...
Access policy for groups/users created.
Access policy for groups created.
Access policy for tasks updated.
Deleting Guardians' AnonymousUser
System check identified no issues (0 silenced).
.............................F.......s.............................................pulp [None]: asyncio:ERROR: Task was destroyed but it is pending!
task: <Task pending coro=<ArtifactDownloader._handle_content_unit() running at /usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.py:207> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x7f8fd9a270d8>()]>>
pulp [None]: asyncio:ERROR: Task was destroyed but it is pending!
task: <Task pending coro=<ArtifactDownloader._handle_content_unit() running at /usr/local/lib/python3.6/site-packages/pulpcore/plugin/stages/artifact_stages.py:207> wait_for=<_GatheringFuture pending cb=[<TaskWakeupMethWrapper object at 0x7f8fd9a27468>()]>>
.............
======================================================================
FAIL: test_04_basic_expires (pulpcore.tests.unit.test_cache.CacheBasicOperationsTestCase)
Tests setting values with expiration times
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pulpcore/tests/unit/test_cache.py", line 42, in test_04_basic_expires
    self.assertIsNone(ret)
AssertionError: b'hi' is not None

----------------------------------------------------------------------
Ran 96 tests in 6.627s


History

#1 Updated by gerrod 2 months ago

  • Priority changed from Normal to Low

#2 Updated by dkliban@redhat.com 2 months ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 100

#3 Updated by rchan 2 months ago

  • Sprint changed from Sprint 100 to Sprint 101

#4 Updated by ipanova@redhat.com about 2 months ago

  • Sprint changed from Sprint 101 to Sprint 102

#5 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 102 to Sprint 103

#6 Updated by rchan 28 days ago

  • Sprint changed from Sprint 103 to Sprint 104

#7 Updated by rchan 15 days ago

  • Sprint changed from Sprint 104 to Sprint 105

#8 Updated by rchan 1 day ago

  • Sprint changed from Sprint 105 to Sprint 106

Please register to edit this issue

Also available in: Atom PDF