Project

Profile

Help

Issue #9009

closed

CacheBasicOperationsTestCase::test_04_basic_expires unit test fails intermittently

Added by dkliban@redhat.com over 2 years ago. Updated about 2 years ago.

Status:
CLOSED - DUPLICATE
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 112
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/2023":https://github.com/pulp/pulpcore/issues/2023


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


Actions #1

Updated by gerrod over 2 years ago

  • Priority changed from Normal to Low
Actions #2

Updated by dkliban@redhat.com over 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 100
Actions #3

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 100 to Sprint 101
Actions #4

Updated by ipanova@redhat.com over 2 years ago

  • Sprint changed from Sprint 101 to Sprint 102
Actions #5

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 102 to Sprint 103
Actions #6

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 103 to Sprint 104
Actions #7

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 104 to Sprint 105
Actions #8

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 105 to Sprint 106
Actions #9

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 106 to Sprint 107
Actions #10

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 107 to Sprint 108
Actions #11

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 108 to Sprint 109
Actions #12

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 109 to Sprint 110
Actions #13

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 110 to Sprint 111
Actions #14

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 111 to Sprint 112
Actions #15

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF