Project

General

Profile

Bug #46735

FAIL: test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest)

Added by Sebastian Wagner 9 months ago. Updated 22 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
API Tests
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

- https://jenkins.ceph.com/job/ceph-dashboard-pr-backend/4429/
- https://pulpito.ceph.com/jafaj-2020-08-26_09:07:46-rados-wip-jan-testing-2020-08-26-0905-distro-basic-smithi/5377674/
- https://pulpito.ceph.com/laura-2020-09-04_11:10:48-rados:dashboard-wip-laura-testing-34831-35785-distro-basic-smithi/

2020-07-27 15:07:37,370.370 INFO:__main__:Starting test: test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest)
2020-07-27 15:07:37,371.371 INFO:__main__:Running ['./bin/ceph', 'log', 'Starting test tasks.mgr.dashboard.test_rgw.RgwBucketTest.test_all']
2020-07-27 15:07:38,636.636 INFO:__main__:Running ['./bin/ceph', 'health', '--format=json']
2020-07-27 15:07:44,230.230 INFO:__main__:Running ['./bin/ceph', 'health', '--format=json']
2020-07-27 15:07:53,170.170 INFO:__main__:Running ['./bin/ceph', 'health', '--format=json']
2020-07-27 15:07:53,761.761 INFO:tasks.mgr.dashboard.helper:Request POST to https://slave-ubuntu10.front.sepia.ceph.com:7789/api/rgw/bucket
/tmp/tmp.AGPrgqSy3w/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2020-07-27 15:07:54,130.130 INFO:tasks.mgr.dashboard.helper:Request GET to https://slave-ubuntu10.front.sepia.ceph.com:7789/api/rgw/bucket
/tmp/tmp.AGPrgqSy3w/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2020-07-27 15:07:54,215.215 INFO:tasks.mgr.dashboard.helper:Request GET to https://slave-ubuntu10.front.sepia.ceph.com:7789/api/rgw/bucket/teuth-test-bucket
/tmp/tmp.AGPrgqSy3w/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2020-07-27 15:07:54,409.409 INFO:tasks.mgr.dashboard.helper:Request PUT to https://slave-ubuntu10.front.sepia.ceph.com:7789/api/rgw/bucket/teuth-test-bucket
/tmp/tmp.AGPrgqSy3w/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2020-07-27 15:07:55,083.083 INFO:tasks.mgr.dashboard.helper:Request GET to https://slave-ubuntu10.front.sepia.ceph.com:7789/api/rgw/bucket/teuth-test-bucket
/tmp/tmp.AGPrgqSy3w/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2020-07-27 15:07:55,190.190 INFO:tasks.mgr.dashboard.helper:Request PUT to https://slave-ubuntu10.front.sepia.ceph.com:7789/api/rgw/bucket/teuth-test-bucket
/tmp/tmp.AGPrgqSy3w/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2020-07-27 15:07:55,584.584 INFO:tasks.mgr.dashboard.helper:Request GET to https://slave-ubuntu10.front.sepia.ceph.com:7789/api/rgw/bucket/teuth-test-bucket
/tmp/tmp.AGPrgqSy3w/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2020-07-27 15:08:01,686.686 INFO:tasks.mgr.dashboard.helper:Request PUT to https://slave-ubuntu10.front.sepia.ceph.com:7789/api/rgw/bucket/teuth-test-bucket
/tmp/tmp.AGPrgqSy3w/venv/lib/python3.6/site-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
2020-07-27 15:08:08,000.000 ERROR:tasks.mgr.dashboard.helper:Request response: {"detail": "Bad MFA credentials: RGW REST API failed request with status code 403\n(b'{\"Code\":\"AccessDenied\",\"BucketName\":\"teuth-test-bucket\",\"RequestId\":\"tx00000'\n b'0000000000000031-005f1eedd7-1158-default\",\"HostId\":\"1158-default-default\"}')", "component": "rgw"}
2020-07-27 15:08:08,001.001 INFO:__main__:Running ['./bin/ceph', 'log', 'Ended test tasks.mgr.dashboard.test_rgw.RgwBucketTest.test_all']
2020-07-27 15:08:09,072.072 INFO:__main__:test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest) ... FAIL
2020-07-27 15:08:09,072.072 INFO:__main__:Stopped test: test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest) in 31.701467s
2020-07-27 15:08:09,073.073 INFO:__main__:Running ['./bin/radosgw-admin', 'user', 'rm', '--tenant', 'testx', '--uid=teuth-test-user', '--purge-data']
2020-07-27 15:08:19,107.107 INFO:__main__:Running ['./bin/radosgw-admin', 'user', 'rm', '--tenant', 'testx2', '--uid=teuth-test-user2', '--purge-data']
2020-07-27 15:08:22,371.371 INFO:__main__:Running ['./bin/radosgw-admin', 'user', 'rm', '--uid', 'admin']
2020-07-27 15:08:25,605.605 INFO:__main__:Running ['./bin/radosgw-admin', 'user', 'rm', '--uid=teuth-test-user', '--purge-data']
2020-07-27 15:08:28,899.899 INFO:__main__:
2020-07-27 15:08:28,900.900 INFO:__main__:----------------------------------------------------------------------
2020-07-27 15:08:28,900.900 INFO:__main__:Traceback (most recent call last):
2020-07-27 15:08:28,901.901 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/mgr/dashboard/test_rgw.py", line 277, in test_all
2020-07-27 15:08:28,901.901 INFO:__main__:    self.assertStatus(200)
2020-07-27 15:08:28,901.901 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-dashboard-pr-backend/qa/tasks/mgr/dashboard/helper.py", line 386, in assertStatus
2020-07-27 15:08:28,901.901 INFO:__main__:    self.assertEqual(self._resp.status_code, status)
2020-07-27 15:08:28,901.901 INFO:__main__:AssertionError: 400 != 200
2020-07-27 15:08:28,902.902 INFO:__main__:
2020-07-27 15:08:28,902.902 INFO:__main__:----------------------------------------------------------------------
2020-07-27 15:08:28,902.902 INFO:__main__:Ran 193 tests in 5318.217s
2020-07-27 15:08:28,902.902 INFO:__main__:
2020-07-27 15:08:28,903.903 INFO:__main__:

Related issues

Related to Dashboard - Bug #44405: Test failure: test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest) Resolved

History

#1 Updated by Sebastian Wagner 9 months ago

  • Related to Bug #44405: Test failure: test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest) added

#2 Updated by Sebastian Wagner 9 months ago

  • Description updated (diff)
  • Category set to API Tests

#3 Updated by Laura Paduano 8 months ago

  • Description updated (diff)
  • Priority changed from Normal to High
  • Source set to Q/A
  • Affected Versions v16.0.0 added

#4 Updated by Laura Paduano 8 months ago

  • Description updated (diff)

#6 Updated by Lenz Grimmer 8 months ago

Per our discussion during today's standup, we'll temporarily disable/remove this test, as it seems to be very susceptible to timing issues. If possible, we should be able to run such tests separately (e.g. in some kind of "extra" test suite?), to maintain the coverage and investigate on how to make them more robust.

#8 Updated by Laura Paduano 3 months ago

  • Affected Versions v17.0.0 added

#9 Updated by Kefu Chai 3 months ago

/a//kchai-2021-02-20_09:53:59-rados-wip-kefu-testing-2021-02-20-1628-distro-basic-smithi/5898332

#10 Updated by Sage Weil 2 months ago

/a/sage-2021-02-20_16:46:42-rados-wip-sage2-testing-2021-02-20-0942-distro-basic-smithi/5898956

#11 Updated by Ernesto Puerta 22 days ago

  • Project changed from mgr to Dashboard
  • Category changed from API Tests to API Tests

Also available in: Atom PDF