Bug #44743
mgr/dashboard: ceph-api-nightly-octopus-backend and master test failure "test_purge_trash (tasks.mgr.dashboard.test_rbd.RbdTest)"
0%
Description
2020-03-24 23:06:29,875.875 INFO:__main__:test_purge_trash (tasks.mgr.dashboard.test_rbd.RbdTest) ... FAIL
2020-03-24 23:06:29,876.876 INFO:__main__:Running ['./bin/ceph', 'log', 'Ended test tasks.mgr.dashboard.test_rbd.RbdTest.test_purge_trash']
2020-03-24 23:06:31,354.354 INFO:__main__:Stopped test: test_purge_trash (tasks.mgr.dashboard.test_rbd.RbdTest) in 6.287996s
2020-03-24 23:06:31,355.355 INFO:__main__:Running ['./bin/ceph', 'osd', 'pool', 'delete', 'rbd', 'rbd', '--yes-i-really-really-mean-it']
2020-03-24 23:06:32,464.464 INFO:tasks.mgr.dashboard.helper:command result:
2020-03-24 23:06:32,464.464 INFO:__main__:Running ['./bin/ceph', 'osd', 'pool', 'delete', 'rbd_iscsi', 'rbd_iscsi', '--yes-i-really-really-mean-it']
2020-03-24 23:06:34,112.112 INFO:tasks.mgr.dashboard.helper:command result:
2020-03-24 23:06:34,113.113 INFO:__main__:Running ['./bin/ceph', 'osd', 'pool', 'delete', 'rbd_data', 'rbd_data', '--yes-i-really-really-mean-it']
2020-03-24 23:06:34,700.700 INFO:tasks.mgr.dashboard.helper:command result:
2020-03-24 23:06:34,702.702 INFO:__main__:
2020-03-24 23:06:34,702.702 INFO:__main__:======================================================================
2020-03-24 23:06:34,703.703 INFO:__main__:FAIL: test_purge_trash (tasks.mgr.dashboard.test_rbd.RbdTest)
2020-03-24 23:06:34,703.703 INFO:__main__:----------------------------------------------------------------------
2020-03-24 23:06:34,703.703 INFO:__main__:Traceback (most recent call last):
2020-03-24 23:06:34,703.703 INFO:__main__: File "/home/jenkins-build/build/workspace/ceph-api-nightly-octopus-backend/qa/tasks/mgr/dashboard/test_rbd.py", line 855, in test_purge_trash
2020-03-24 23:06:34,703.703 INFO:__main__: self.assertIsNone(trash_expired)
2020-03-24 23:06:34,704.704 INFO:__main__:AssertionError: {u'pool_name': u'rbd', u'name': u'test_rbd_expired', u'deletion_time': u'2020-03-25T03:06:27Z', u'namespace': u'', u'deferment_end_time': u'2020-03-25T03:06:27Z', u'source': u'USER', u'id': u'3caad1e0f3fc'} is not None
2020-03-24 23:06:34,704.704 INFO:__main__:
2020-03-24 23:06:34,704.704 INFO:__main__:----------------------------------------------------------------------
2020-03-24 23:06:34,704.704 INFO:__main__:Ran 161 tests in 2334.518s
2020-03-24 23:06:34,704.704 INFO:__main__:
2020-03-24 23:06:34,705.705 INFO:__main__:FAILED (failures=1)
2020-03-24 23:06:34,705.705 INFO:__main__:
2020-03-24 23:06:34,705.705 INFO:__main__:======================================================================
2020-03-24 23:06:34,705.705 INFO:__main__:FAIL: test_purge_trash (tasks.mgr.dashboard.test_rbd.RbdTest)
2020-03-24 23:06:34,705.705 INFO:__main__:----------------------------------------------------------------------
2020-03-24 23:06:34,705.705 INFO:__main__:Traceback (most recent call last):
2020-03-24 23:06:34,706.706 INFO:__main__: File "/home/jenkins-build/build/workspace/ceph-api-nightly-octopus-backend/qa/tasks/mgr/dashboard/test_rbd.py", line 855, in test_purge_trash
2020-03-24 23:06:34,706.706 INFO:__main__: self.assertIsNone(trash_expired)
2020-03-24 23:06:34,706.706 INFO:__main__:AssertionError: {u'pool_name': u'rbd', u'name': u'test_rbd_expired', u'deletion_time': u'2020-03-25T03:06:27Z', u'namespace': u'', u'deferment_end_time': u'2020-03-25T03:06:27Z', u'source': u'USER', u'id': u'3caad1e0f3fc'} is not None
2020-03-24 23:06:34,706.706 INFO:__main__:
Using guessed paths /home/jenkins-build/build/workspace/ceph-api-nightly-octopus-backend/build/lib/ ['/home/jenkins-build/build/workspace/ceph-api-nightly-octopus-backend/qa', '/home/jenkins-build/build/workspace/ceph-api-nightly-octopus-backend/build/lib/cython_modules/lib.3', '/home/jenkins-build/build/workspace/ceph-api-nightly-octopus-backend/src/pybind']
- https://jenkins.ceph.com/view/all/job/ceph-api-nightly-master-backend/116/consoleFull
- https://jenkins.ceph.com/view/all/job/ceph-api-nightly-master-backend/115/consoleFull
- https://jenkins.ceph.com/view/all/job/ceph-api-nightly-octopus-backend/16/consoleFull
- https://jenkins.ceph.com/view/all/job/ceph-api-nightly-octopus-backend/17/consoleFull
Note: The latest build for octopus https://jenkins.ceph.com/view/all/job/ceph-api-nightly-octopus-backend/18/ was successful.
We should take a look at the following builds to figure out if we need this fix for octopus as well.
Related issues
History
#1 Updated by Kiefer Chang about 4 years ago
Can't reproduce locally with commit 2c2cd78121.
Maybe it requires more time for a trashed-image to be purged.
#2 Updated by Laura Paduano about 4 years ago
- Description updated (diff)
#3 Updated by Laura Paduano about 4 years ago
Kiefer Chang wrote:
Can't reproduce locally with commit 2c2cd78121.
Maybe it requires more time for a trashed-image to be purged.
Yes, that could be the case. The build failed again this morning, I added the link to the description.
#4 Updated by Laura Paduano about 4 years ago
- Subject changed from mgr/dashboard: ceph-api-nightly-octopus-backend test failure "test_purge_trash (tasks.mgr.dashboard.test_rbd.RbdTest)" to mgr/dashboard: ceph-api-nightly-octopus-backend and master test failure "test_purge_trash (tasks.mgr.dashboard.test_rbd.RbdTest)"
- Affected Versions v16.0.0 added
#5 Updated by Kiefer Chang about 4 years ago
- Status changed from New to Fix Under Review
- Assignee set to Kiefer Chang
- Pull request ID set to 34232
#6 Updated by Laura Paduano about 4 years ago
- Priority changed from Normal to High
#7 Updated by Laura Paduano about 4 years ago
- Description updated (diff)
#8 Updated by Laura Paduano about 4 years ago
- Description updated (diff)
#9 Updated by Laura Paduano almost 4 years ago
- Status changed from Fix Under Review to Pending Backport
#10 Updated by Laura Paduano almost 4 years ago
- Backport set to octopus
#12 Updated by Laura Paduano almost 4 years ago
- Copied to Backport #44872: octopus: mgr/dashboard: ceph-api-nightly-octopus-backend and master test failure "test_purge_trash (tasks.mgr.dashboard.test_rbd.RbdTest)" added
#13 Updated by Nathan Cutler almost 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
#14 Updated by Ernesto Puerta almost 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 151 to Testing & QA