Project

General

Profile

Actions

Bug #46735

open

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

Added by Sebastian Wagner over 3 years ago. Updated 9 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Testing - API
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 1 (0 open1 closed)

Related to Dashboard - Bug #44405: Test failure: test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest)ResolvedAlfonso Martínez

Actions
Actions #1

Updated by Sebastian Wagner over 3 years ago

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

Updated by Sebastian Wagner over 3 years ago

  • Description updated (diff)
  • Category set to API Tests
Actions #3

Updated by Laura Paduano over 3 years ago

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

Updated by Laura Paduano over 3 years ago

  • Description updated (diff)
Actions #6

Updated by Lenz Grimmer over 3 years 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.

Actions #8

Updated by Laura Paduano about 3 years ago

  • Affected Versions v17.0.0 added
Actions #9

Updated by Kefu Chai about 3 years ago

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

Actions #10

Updated by Sage Weil about 3 years ago

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

Actions #11

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from API Tests to Testing - API
Actions #12

Updated by Casey Bodley 9 days ago

from https://jenkins.ceph.com/job/ceph-api/72562/consoleFull

2024-04-17 19:21:09,289.289 INFO:__main__:test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest) ... FAIL
2024-04-17 19:21:09,289.289 INFO:__main__:
2024-04-17 19:21:09,289.289 INFO:__main__:Stopped test: test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest) in 24.36709s
2024-04-17 19:21:09,290.290 INFO:__main__:> ./bin/radosgw-admin user rm --tenant testx --uid=teuth-test-user --purge-data
2024-04-17 19:21:23,572.572 INFO:__main__:> ./bin/radosgw-admin user rm --tenant testx2 --uid=teuth-test-user2 --purge-data
2024-04-17 19:21:33,146.146 INFO:__main__:> ./bin/radosgw-admin user rm --uid admin
2024-04-17 19:21:41,788.788 INFO:__main__:> ./bin/radosgw-admin user rm --uid=teuth-test-user --purge-data
2024-04-17 19:21:51,717.717 INFO:__main__:
2024-04-17 19:21:51,717.717 INFO:__main__:======================================================================
2024-04-17 19:21:51,717.717 INFO:__main__:FAIL: test_all (tasks.mgr.dashboard.test_rgw.RgwBucketTest)
2024-04-17 19:21:51,717.717 INFO:__main__:----------------------------------------------------------------------
2024-04-17 19:21:51,718.718 INFO:__main__:Traceback (most recent call last):
2024-04-17 19:21:51,718.718 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/mgr/dashboard/test_rgw.py", line 277, in test_all
2024-04-17 19:21:51,718.718 INFO:__main__:    self.assertStatus(200)
2024-04-17 19:21:51,718.718 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api/qa/tasks/mgr/dashboard/helper.py", line 497, in assertStatus
2024-04-17 19:21:51,718.718 INFO:__main__:    self.assertEqual(self._resp.status_code, status)
2024-04-17 19:21:51,718.718 INFO:__main__:AssertionError: 404 != 200
2024-04-17 19:21:51,718.718 INFO:__main__:
2024-04-17 19:21:51,719.719 INFO:__main__:> ip netns list
2024-04-17 19:21:51,723.723 INFO:__main__:> sudo ip link delete ceph-brx
Cannot find device "ceph-brx" 
2024-04-17 19:21:51,739.739 INFO:__main__:
2024-04-17 19:21:51,739.739 INFO:__main__:----------------------------------------------------------------------
2024-04-17 19:21:51,739.739 INFO:__main__:Ran 203 tests in 3457.057s
2024-04-17 19:21:51,739.739 INFO:__main__:
2024-04-17 19:21:51,739.739 INFO:__main__:FAILED (failures=1)

Actions

Also available in: Atom PDF