Project

General

Profile

Bug #37964

mgr/dashboard: Test failure: test_invalid_user_id (tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest)

Added by Laura Paduano 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/qa
Target version:
Start date:
01/18/2019
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

When executing the run-backend-api-tests.sh script on my local system I get the following error:

2019-01-18 15:00:13,963.963 INFO:__main__:Running ['./bin/ceph', 'health', '--format=json']
2019-01-18 15:00:14,506.506 INFO:__main__:Running ['./bin/ceph', 'dashboard', 'set-rgw-api-user-id', 'xyz']
2019-01-18 15:00:15,073.073 INFO:tasks.mgr.dashboard.helper:command result: Option RGW_API_USER_ID updated

2019-01-18 15:00:15,074.074 INFO:tasks.mgr.dashboard.helper:Request GET to https://localhost:7789/api/rgw/status
/tmp/tmp.XllFeCx3oV/venv/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
2019-01-18 15:00:15,087.087 INFO:__main__:test_invalid_user_id (tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest) ... FAIL
2019-01-18 15:00:15,087.087 INFO:__main__:Running ['./bin/ceph', 'log', 'Ended test tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest.test_invalid_user_id']
2019-01-18 15:00:16,628.628 INFO:__main__:Stopped test: test_invalid_user_id (tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest) in 16.825128s
2019-01-18 15:00:16,629.629 INFO:__main__:
2019-01-18 15:00:16,629.629 INFO:__main__:======================================================================
2019-01-18 15:00:16,629.629 INFO:__main__:FAIL: test_invalid_user_id (tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest)
2019-01-18 15:00:16,629.629 INFO:__main__:----------------------------------------------------------------------
2019-01-18 15:00:16,629.629 INFO:__main__:Traceback (most recent call last):
2019-01-18 15:00:16,630.630 INFO:__main__:  File "/ceph/qa/tasks/mgr/dashboard/test_rgw.py", line 119, in test_invalid_user_id
2019-01-18 15:00:16,630.630 INFO:__main__:    data['message'])
2019-01-18 15:00:16,630.630 INFO:__main__:AssertionError: 'The user "xyz" is unknown to the Object Gateway.' not found in u'No RGW found'
2019-01-18 15:00:16,630.630 INFO:__main__:
2019-01-18 15:00:16,630.630 INFO:__main__:----------------------------------------------------------------------
2019-01-18 15:00:16,631.631 INFO:__main__:Ran 107 tests in 1151.338s
2019-01-18 15:00:16,631.631 INFO:__main__:
2019-01-18 15:00:16,631.631 INFO:__main__:FAILED (failures=1, skipped=1)
2019-01-18 15:00:16,631.631 INFO:__main__:
2019-01-18 15:00:16,631.631 INFO:__main__:======================================================================
2019-01-18 15:00:16,632.632 INFO:__main__:FAIL: test_invalid_user_id (tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest)
2019-01-18 15:00:16,632.632 INFO:__main__:----------------------------------------------------------------------
2019-01-18 15:00:16,632.632 INFO:__main__:Traceback (most recent call last):
2019-01-18 15:00:16,632.632 INFO:__main__:  File "/ceph/qa/tasks/mgr/dashboard/test_rgw.py", line 119, in test_invalid_user_id
2019-01-18 15:00:16,632.632 INFO:__main__:    data['message'])
2019-01-18 15:00:16,632.632 INFO:__main__:AssertionError: 'The user "xyz" is unknown to the Object Gateway.' not found in u'No RGW found'

History

#1 Updated by Laura Paduano 7 months ago

Edit: Haven't seen those errors when running the Teuthology tests so far.

#2 Updated by Laura Paduano 7 months ago

  • Status changed from New to Resolved
  • Assignee set to Alfonso MH
  • Pull request ID set to 26172

Also available in: Atom PDF