Project

General

Profile

Actions

Bug #42959

closed

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

Added by Laura Paduano over 4 years ago. Updated about 3 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
Testing & QA
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

2019-11-21T16:20:28.815 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:28.821+0000 7f2be623f700  1 --2- 172.21.15.125:0/3712452331 >> [v2:172.21.15.125:3301/0,v1:172.21.15.125:6790/0] conn(0x7f2be01476d0 0x7f2be0143430 secure :-1 s=THROTTLE_DONE pgs=1337 cs=0 l=1 rx=0x7f2bd8010480 tx=0x7f2bd80102b0).handle_read_frame_epilogue_main read frame epilogue bytes=32
2019-11-21T16:20:28.815 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:28.821+0000 7f2bdd7fa700  1 -- 172.21.15.125:0/3712452331 <== mon.2 v2:172.21.15.125:3301/0 6 ==== mon_command_ack([{"prefix": "get_command_descriptions"}]=0  v0) v1 ==== 72+0+109949 (secure 0 0 0) 0x7f2bd8000eb0 con 0x7f2be01476d0
2019-11-21T16:20:29.029 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:29.036+0000 7f2be74a1700  1 -- 172.21.15.125:0/3712452331 --> [v2:172.21.15.125:3301/0,v1:172.21.15.125:6790/0] -- mon_command({"prefix": "log", "logtext": ["Ended test tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest.test_invalid_user_id"]} v 0) v1 -- 0x7f2be0146630 con 0x7f2be01476d0
2019-11-21T16:20:29.980 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:29.986+0000 7f2be623f700  1 --2- 172.21.15.125:0/3712452331 >> [v2:172.21.15.125:3301/0,v1:172.21.15.125:6790/0] conn(0x7f2be01476d0 0x7f2be0143430 secure :-1 s=THROTTLE_DONE pgs=1337 cs=0 l=1 rx=0x7f2bd8010480 tx=0x7f2bd80102b0).handle_read_frame_epilogue_main read frame epilogue bytes=32
2019-11-21T16:20:29.981 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:29.986+0000 7f2bdd7fa700  1 -- 172.21.15.125:0/3712452331 <== mon.2 v2:172.21.15.125:3301/0 7 ==== mon_command_ack([{"prefix": "log", "logtext": ["Ended test tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest.test_invalid_user_id"]}]=0  v1357) v1 ==== 150+0+0 (secure 0 0 0) 0x7f2bd8034910 con 0x7f2be01476d0
2019-11-21T16:20:30.000 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700 10 mgrc shutdown
2019-11-21T16:20:30.000 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 -- 172.21.15.125:0/3712452331 >> [v2:172.21.15.125:6804/132295,v1:172.21.15.125:6805/132295] conn(0x7f2bbc0227d0 msgr2=0x7f2bbc024c60 crc :-1 s=STATE_CONNECTION_ESTABLISHED l=1).mark_down
2019-11-21T16:20:30.001 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 --2- 172.21.15.125:0/3712452331 >> [v2:172.21.15.125:6804/132295,v1:172.21.15.125:6805/132295] conn(0x7f2bbc0227d0 0x7f2bbc024c60 crc :-1 s=READY pgs=20 cs=0 l=1 rx=0 tx=0).stop
2019-11-21T16:20:30.001 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 -- 172.21.15.125:0/3712452331 >> [v2:172.21.15.125:3301/0,v1:172.21.15.125:6790/0] conn(0x7f2be01476d0 msgr2=0x7f2be0143430 secure :-1 s=STATE_CONNECTION_ESTABLISHED l=1).mark_down
2019-11-21T16:20:30.001 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 --2- 172.21.15.125:0/3712452331 >> [v2:172.21.15.125:3301/0,v1:172.21.15.125:6790/0] conn(0x7f2be01476d0 0x7f2be0143430 secure :-1 s=READY pgs=1337 cs=0 l=1 rx=0x7f2bd8010480 tx=0x7f2bd80102b0).stop
2019-11-21T16:20:30.001 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 -- 172.21.15.125:0/3712452331 shutdown_connections
2019-11-21T16:20:30.002 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 --2- 172.21.15.125:0/3712452331 >> [v2:172.21.15.125:6804/132295,v1:172.21.15.125:6805/132295] conn(0x7f2bbc0227d0 0x7f2bbc024c60 unknown :-1 s=CLOSED pgs=20 cs=0 l=1 rx=0 tx=0).stop
2019-11-21T16:20:30.002 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 --2- 172.21.15.125:0/3712452331 >> [v2:172.21.15.125:3301/0,v1:172.21.15.125:6790/0] conn(0x7f2be01476d0 0x7f2be0143430 unknown :-1 s=CLOSED pgs=1337 cs=0 l=1 rx=0 tx=0).stop
2019-11-21T16:20:30.002 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 --2- 172.21.15.125:0/3712452331 >> v2:172.21.15.133:3300/0 conn(0x7f2be007b5a0 0x7f2be0113e80 unknown :-1 s=CLOSED pgs=0 cs=0 l=1 rx=0 tx=0).stop
2019-11-21T16:20:30.002 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 -- 172.21.15.125:0/3712452331 shutdown_connections
2019-11-21T16:20:30.003 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.005+0000 7f2be74a1700  1 -- 172.21.15.125:0/3712452331 wait complete.
2019-11-21T16:20:30.003 INFO:teuthology.orchestra.run.smithi125.stderr:2019-11-21T16:20:30.006+0000 7f2be74a1700  1 -- 172.21.15.125:0/3712452331 >> 172.21.15.125:0/3712452331 conn(0x7f2be011e8d0 msgr2=0x7f2be0090a80 unknown :-1 s=STATE_NONE l=0).mark_down
2019-11-21T16:20:30.016 INFO:tasks.cephfs_test_runner:
2019-11-21T16:20:30.016 INFO:tasks.cephfs_test_runner:======================================================================
2019-11-21T16:20:30.016 INFO:tasks.cephfs_test_runner:FAIL: test_invalid_user_id (tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest)
2019-11-21T16:20:30.016 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2019-11-21T16:20:30.017 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2019-11-21T16:20:30.017 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-yuri-master_baselline_11.20.19/qa/tasks/mgr/dashboard/test_rgw.py", line 105, in test_invalid_user_id
2019-11-21T16:20:30.017 INFO:tasks.cephfs_test_runner:    data['message'])
2019-11-21T16:20:30.017 INFO:tasks.cephfs_test_runner:AssertionError: 'The user "xyz" is unknown to the Object Gateway.' not found in u'No RGW found'
2019-11-21T16:20:30.017 INFO:tasks.cephfs_test_runner:
2019-11-21T16:20:30.017 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2019-11-21T16:20:30.017 INFO:tasks.cephfs_test_runner:Ran 137 tests in 1542.631s
2019-11-21T16:20:30.018 INFO:tasks.cephfs_test_runner:
2019-11-21T16:20:30.018 INFO:tasks.cephfs_test_runner:FAILED (failures=1)
2019-11-21T16:20:30.018 INFO:tasks.cephfs_test_runner:
2019-11-21T16:20:30.018 INFO:tasks.cephfs_test_runner:======================================================================
2019-11-21T16:20:30.018 INFO:tasks.cephfs_test_runner:FAIL: test_invalid_user_id (tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest)
2019-11-21T16:20:30.018 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2019-11-21T16:20:30.018 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2019-11-21T16:20:30.018 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-yuri-master_baselline_11.20.19/qa/tasks/mgr/dashboard/test_rgw.py", line 105, in test_invalid_user_id
2019-11-21T16:20:30.019 INFO:tasks.cephfs_test_runner:    data['message'])
2019-11-21T16:20:30.019 INFO:tasks.cephfs_test_runner:AssertionError: 'The user "xyz" is unknown to the Object Gateway.' not found in u'No RGW found'

also see:
http://pulpito.ceph.com/yuriw-2019-11-21_01:58:26-rados-wip-yuri-master_baselline_11.20.19-distro-basic-smithi/4528038/
http://pulpito.ceph.com/laura-2019-11-21_15:28:39-rados:dashboard-wip-laura-testing-30961-distro-basic-mira/


Related issues 1 (0 open1 closed)

Copied from Dashboard - Bug #37964: mgr/dashboard: Test failure: test_invalid_user_id (tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest)ResolvedAlfonso Martínez

Actions
Actions #1

Updated by Laura Paduano over 4 years ago

  • Copied from Bug #37964: mgr/dashboard: Test failure: test_invalid_user_id (tasks.mgr.dashboard.test_rgw.RgwApiCredentialsTest) added
Actions #3

Updated by Volker Theile over 4 years ago

I'm wondering about this

AssertionError: 'The user "xyz" is unknown to the Object Gateway.' not found in u'No RGW found'
, or more precise
No RGW found
. Is RGW still running at this time? Has it been crashed in a previous test?

Actions #4

Updated by Volker Theile over 4 years ago

The error is raised here: https://github.com/ceph/ceph/blob/master/src/pybind/mgr/dashboard/services/rgw_client.py#L74. So i assume the RGW instance is dead at that moment.

Actions #5

Updated by Alfonso Martínez over 4 years ago

I ran them locally (docker Centos 7 + python 2):

run_teuthology_tests tasks.mgr.dashboard.test_rgw

2019-11-26 15:40:02,998.998 INFO:__main__:----------------------------------------------------------------------
2019-11-26 15:40:02,998.998 INFO:__main__:Ran 26 tests in 533.537s
2019-11-26 15:40:02,998.998 INFO:__main__:
2019-11-26 15:40:02,998.998 INFO:__main__:OK
Actions #6

Updated by Laura Paduano over 4 years ago

  • Status changed from 12 to Can't reproduce

Closing this one for now, since I can't reproduce this failure in QA runs for rados/dashboard.

Actions #7

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 151 to Testing & QA
Actions

Also available in: Atom PDF