Project

General

Profile

Bug #44592

mgr/dashboard: ceph-api-nightly-nautilus-backend test failure

Added by Laura Paduano 11 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/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:

Description

2020-03-13 02:51:55.746 7fb7d6191700  1 -- [v2:172.21.2.13:6800/6942,v1:172.21.2.13:6801/6942] >> 172.21.2.13:0/3583008906 conn(0x55fd3496ed00 msgr2=0x55fd34ac1b80 crc :-1 s=STATE_CONNECTION_ESTABLISHED l=1).read_bulk peer close file descriptor 53
2020-03-13 02:51:55.746 7fb7d6191700  1 -- [v2:172.21.2.13:6800/6942,v1:172.21.2.13:6801/6942] >> 172.21.2.13:0/3583008906 conn(0x55fd3496ed00 msgr2=0x55fd34ac1b80 crc :-1 s=STATE_CONNECTION_ESTABLISHED l=1).read_until read failed
2020-03-13 02:51:55.746 7fb7d6191700  1 --2- [v2:172.21.2.13:6800/6942,v1:172.21.2.13:6801/6942] >> 172.21.2.13:0/3583008906 conn(0x55fd3496ed00 0x55fd34ac1b80 crc :-1 s=READY pgs=4 cs=0 l=1 rx=0 tx=0).handle_read_frame_preamble_main read frame length and tag failed r=-1 ((1) Operation not permitted)
2020-03-13 02:51:55.746 7fb7d6191700  1 --2- [v2:172.21.2.13:6800/6942,v1:172.21.2.13:6801/6942] >> 172.21.2.13:0/3583008906 conn(0x55fd3496ed00 0x55fd34ac1b80 crc :-1 s=READY pgs=4 cs=0 l=1 rx=0 tx=0).stop
2020-03-13 02:51:55.786 7fb7b0192700 20 mgr[dashboard] [::ffff:127.0.0.1:37774] [POST] [None] /api/auth
2020-03-13 02:51:55.786 7fb7b0192700  4 mgr get_config get_config key: mgr/dashboard/AUDIT_API_ENABLED
2020-03-13 02:51:55.786 7fb7b0192700  4 mgr get_typed_config get_typed_config AUDIT_API_ENABLED not found 
2020-03-13 02:51:56.074 7fb7b0192700 20 mgr[dashboard] Login failed
2020-03-13 02:51:56.074 7fb7b0192700  0 mgr[dashboard] dashboard_exception_handler
Traceback (most recent call last):
  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/src/pybind/mgr/dashboard/services/exception.py", line 88, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 60, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/src/pybind/mgr/dashboard/controllers/__init__.py", line 661, in inner
    ret = func(*args, **kwargs)
  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/src/pybind/mgr/dashboard/controllers/__init__.py", line 854, in wrapper
    return func(*vpath, **params)
  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/src/pybind/mgr/dashboard/controllers/auth.py", line 36, in create
    component='auth')
DashboardException: Invalid credentials

2020-03-13 02:53:09,756.756 INFO:__main__:Running ['./bin/ceph', 'dashboard', 'ac-user-show', 'admin']
2020-03-13 02:53:10,243.243 INFO:tasks.mgr.dashboard.helper:command result: {"username": "admin", "lastUpdate": 1584067903, "name": null, "roles": ["administrator"], "password": "$2b$12$U0hAvMVyTpjzEnoLY7FKteHu/BhcILERz/Kr64AG/tS05nMKfZScK", "email": null}

2020-03-13 02:53:10,244.244 INFO:__main__:Running ['./bin/ceph', 'dashboard', 'ac-user-delete', 'admin']
2020-03-13 02:53:10,770.770 INFO:tasks.mgr.dashboard.helper:command result: User 'admin' deleted

2020-03-13 02:53:10,770.770 INFO:__main__:Running ['./bin/ceph', 'dashboard', 'ac-user-create', 'admin', 'admin']
2020-03-13 02:53:11,638.638 INFO:tasks.mgr.dashboard.helper:command result: {"username": "admin", "lastUpdate": 1584067991, "name": null, "roles": [], "password": "$2b$12$Egj0yQYuBioN6iMHyunGmujdyg1DRvO6RWYmXZF9DtVTIe4U2Yc1W", "email": null}

2020-03-13 02:53:11,638.638 INFO:__main__:Running ['./bin/ceph', 'dashboard', 'ac-user-set-roles', 'admin', 'cephfs-manager']
2020-03-13 02:53:12,168.168 INFO:tasks.mgr.dashboard.helper:command result: {"username": "admin", "lastUpdate": 1584067992, "name": null, "roles": ["cephfs-manager"], "password": "$2b$12$Egj0yQYuBioN6iMHyunGmujdyg1DRvO6RWYmXZF9DtVTIe4U2Yc1W", "email": null}

2020-03-13 02:53:12,168.168 INFO:tasks.mgr.dashboard.helper:Request POST to https://braggi13:7789/api/auth
/tmp/tmp.5SG5CAyMZr/venv/local/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)
2020-03-13 02:53:12,645.645 INFO:__main__:Starting test: test_access_permissions (tasks.mgr.dashboard.test_cephfs.CephfsTest)
2020-03-13 02:53:12,645.645 INFO:__main__:Running ['./bin/ceph', 'health', '--format=json']
2020-03-13 02:53:18,154.154 INFO:__main__:Running ['./bin/ceph', 'health', '--format=json']
2020-03-13 02:53:23,675.675 INFO:__main__:Running ['./bin/ceph', 'health', '--format=json']
2020-03-13 02:53:29,203.203 INFO:__main__:Running ['./bin/ceph', 'health', '--format=json']
2020-03-13 02:53:34,738.738 INFO:__main__:Running ['./bin/ceph', 'health', '--format=json']
2020-03-13 02:53:35,260.260 INFO:__main__:test_access_permissions (tasks.mgr.dashboard.test_cephfs.CephfsTest) ... ERROR
2020-03-13 02:53:35,260.260 INFO:__main__:Stopped test: test_access_permissions (tasks.mgr.dashboard.test_cephfs.CephfsTest) in 22.615388s
2020-03-13 02:53:35,261.261 INFO:__main__:
2020-03-13 02:53:35,261.261 INFO:__main__:======================================================================
2020-03-13 02:53:35,261.261 INFO:__main__:ERROR: test_access_permissions (tasks.mgr.dashboard.test_cephfs.CephfsTest)
2020-03-13 02:53:35,261.261 INFO:__main__:----------------------------------------------------------------------
2020-03-13 02:53:35,261.261 INFO:__main__:Traceback (most recent call last):
2020-03-13 02:53:35,262.262 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/qa/tasks/mgr/dashboard/helper.py", line 154, in setUp
2020-03-13 02:53:35,262.262 INFO:__main__:    self.wait_for_health_clear(20)
2020-03-13 02:53:35,262.262 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/qa/tasks/ceph_test_case.py", line 132, in wait_for_health_clear
2020-03-13 02:53:35,262.262 INFO:__main__:    self.wait_until_true(is_clear, timeout)
2020-03-13 02:53:35,262.262 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/qa/tasks/ceph_test_case.py", line 164, in wait_until_true
2020-03-13 02:53:35,262.262 INFO:__main__:    raise RuntimeError("Timed out after {0}s".format(elapsed))
2020-03-13 02:53:35,262.262 INFO:__main__:RuntimeError: Timed out after 20s
2020-03-13 02:53:35,262.262 INFO:__main__:
2020-03-13 02:53:35,263.263 INFO:__main__:----------------------------------------------------------------------
2020-03-13 02:53:35,263.263 INFO:__main__:Ran 13 tests in 235.540s
2020-03-13 02:53:35,263.263 INFO:__main__:
2020-03-13 02:53:35,263.263 INFO:__main__:FAILED (errors=1)
2020-03-13 02:53:35,263.263 INFO:__main__:
2020-03-13 02:53:35,263.263 INFO:__main__:======================================================================
2020-03-13 02:53:35,264.264 INFO:__main__:ERROR: test_access_permissions (tasks.mgr.dashboard.test_cephfs.CephfsTest)
2020-03-13 02:53:35,264.264 INFO:__main__:----------------------------------------------------------------------
2020-03-13 02:53:35,264.264 INFO:__main__:Traceback (most recent call last):
2020-03-13 02:53:35,264.264 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/qa/tasks/mgr/dashboard/helper.py", line 154, in setUp
2020-03-13 02:53:35,264.264 INFO:__main__:    self.wait_for_health_clear(20)
2020-03-13 02:53:35,264.264 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/qa/tasks/ceph_test_case.py", line 132, in wait_for_health_clear
2020-03-13 02:53:35,264.264 INFO:__main__:    self.wait_until_true(is_clear, timeout)
2020-03-13 02:53:35,264.264 INFO:__main__:  File "/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/qa/tasks/ceph_test_case.py", line 164, in wait_until_true
2020-03-13 02:53:35,265.265 INFO:__main__:    raise RuntimeError("Timed out after {0}s".format(elapsed))
2020-03-13 02:53:35,265.265 INFO:__main__:RuntimeError: Timed out after 20s
2020-03-13 02:53:35,265.265 INFO:__main__:
Using guessed paths /home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/build/lib/ ['/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/qa', '/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/build/lib/cython_modules/lib.2', '/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/src/pybind']

Related issues

Related to CephFS - Bug #42228: mgr/dashboard: backend API test failure "test_access_permissions" Resolved

History

#1 Updated by Laura Paduano 11 months ago

  • Related to Bug #42228: mgr/dashboard: backend API test failure "test_access_permissions" added

#2 Updated by Lenz Grimmer 10 months ago

  • Status changed from New to Resolved
  • Target version set to v14.2.9
  • Pull request ID set to 34055

Likely fixed via this PR: https://github.com/ceph/ceph/pull/34055 - please re-open if this issue still persists.

#3 Updated by Laura Paduano 9 months ago

  • Assignee set to Laura Paduano
  • Affected Versions v14.2.9 added
  • Affected Versions deleted (v14.2.8)

Also available in: Atom PDF