Project

Profile

Help

Issue #9009

Updated by pulpbot almost 3 years ago

 

 **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 


 ```` 

Back