Project

General

Profile

Actions

Bug #53287

closed

test_standby (tasks.mgr.test_prometheus.TestPrometheus) fails

Added by Neha Ojha over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
prometheus module
Target version:
-
% Done:

0%

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

Description

2021-11-13T19:33:42.497 INFO:tasks.cephfs_test_runner:test_standby (tasks.mgr.test_prometheus.TestPrometheus) ... FAIL
2021-11-13T19:33:42.497 INFO:tasks.cephfs_test_runner:
2021-11-13T19:33:42.498 INFO:tasks.cephfs_test_runner:======================================================================
2021-11-13T19:33:42.498 INFO:tasks.cephfs_test_runner:FAIL: test_standby (tasks.mgr.test_prometheus.TestPrometheus)
2021-11-13T19:33:42.498 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2021-11-13T19:33:42.499 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2021-11-13T19:33:42.499 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_8ade4cf5599c09abd17c05bca7e31dd62824e4aa/qa/tasks/mgr/test_prometheus.py", line 47, in test_standby
2021-11-13T19:33:42.499 INFO:tasks.cephfs_test_runner:    self.assertEqual(r.status_code, 200)
2021-11-13T19:33:42.499 INFO:tasks.cephfs_test_runner:AssertionError: 500 != 200
2021-11-13T19:33:42.500 INFO:tasks.cephfs_test_runner:
2021-11-13T19:33:42.500 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2021-11-13T19:33:42.500 INFO:tasks.cephfs_test_runner:Ran 2 tests in 171.007s
2021-11-13T19:33:42.500 INFO:tasks.cephfs_test_runner:
2021-11-13T19:33:42.501 INFO:tasks.cephfs_test_runner:FAILED (failures=1)
2021-11-13T19:33:42.501 INFO:tasks.cephfs_test_runner:
2021-11-13T19:33:42.501 INFO:tasks.cephfs_test_runner:======================================================================
2021-11-13T19:33:42.502 INFO:tasks.cephfs_test_runner:FAIL: test_standby (tasks.mgr.test_prometheus.TestPrometheus)
2021-11-13T19:33:42.502 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2021-11-13T19:33:42.502 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2021-11-13T19:33:42.503 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_ceph_ceph-c_8ade4cf5599c09abd17c05bca7e31dd62824e4aa/qa/tasks/mgr/test_prometheus.py", line 47, in test_standby
2021-11-13T19:33:42.503 INFO:tasks.cephfs_test_runner:    self.assertEqual(r.status_code, 200)
2021-11-13T19:33:42.503 INFO:tasks.cephfs_test_runner:AssertionError: 500 != 200
2021-11-13T19:33:42.503 INFO:tasks.cephfs_test_runner:

/a/yuriw-2021-11-13_17:22:34-rados-wip-yuri6-testing-2021-11-12-0808-distro-basic-smithi/6501931


Related issues 1 (0 open1 closed)

Copied to mgr - Backport #53488: pacific: test_standby (tasks.mgr.test_prometheus.TestPrometheus) failsResolvedKonstantin ShalyginActions
Actions #1

Updated by Brad Hubbard over 2 years ago

From ./remote/smithi116/log/ceph-mgr.z.log.gz

2021-11-13T19:33:41.367+0000 7f4c57592700  4 mgr get_config get_config key: mgr/prometheus/standby_behaviour
2021-11-13T19:33:41.367+0000 7f4c57592700  4 ceph_get_module_option standby_behaviour not found
2021-11-13T19:33:41.367+0000 7f4c57592700  4 mgr get_config get_config key: mgr/prometheus/standby_error_status_code
2021-11-13T19:33:41.367+0000 7f4c57592700  4 ceph_get_module_option standby_error_status_code not found
2021-11-13T19:33:41.368+0000 7f4c57592700  0 [prometheus ERROR cherrypy.error.139965103883992] [13/Nov/2021:19:33:41] HTTP
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/cherrypy/_cprequest.py", line 638, in respond
    self._do_respond(path_info)
  File "/usr/lib/python3.6/site-packages/cherrypy/_cprequest.py", line 697, in _do_respond
    response.body = self.handler()
  File "/usr/lib/python3.6/site-packages/cherrypy/lib/encoding.py", line 219, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/ceph/mgr/prometheus/module.py", line 1713, in index
    raise cherrypy.HTTPError(status, message="Keep on looking")
  File "/usr/lib/python3.6/site-packages/cherrypy/_cperror.py", line 378, in __init__
    raise ValueError('status must be between 400 and 599.')
ValueError: status must be between 400 and 599.
2021-11-13T19:33:41.369+0000 7f4c57592700  0 [prometheus INFO cherrypy.error.139965103883992] [13/Nov/2021:19:33:41] HTTP
Request Headers:
  Remote-Addr: ::ffff:172.21.0.51
  HOST: 172.21.15.116:7791
  USER-AGENT: python-requests/2.26.0
  ACCEPT-ENCODING: gzip, deflate
  ACCEPT: */*
  CONNECTION: keep-alive
2021-11-13T19:33:41.369+0000 7f4c57592700  0 [prometheus INFO cherrypy.access.139965103883992] ::ffff:172.21.0.51 - - [13/Nov/2021:19:33:41] "GET / HTTP/1.1" 500 824 "" "python-requests/2.26.0" 
Actions #2

Updated by Neha Ojha over 2 years ago

  • Category set to prometheus module
Actions #3

Updated by Aishwarya Mathuria over 2 years ago

Brad Hubbard wrote:

From ./remote/smithi116/log/ceph-mgr.z.log.gz

[...]

/a/yuriw-2021-11-20_18:01:41-rados-wip-yuri8-testing-2021-11-20-0807-distro-basic-smithi/6516600

Actions #4

Updated by Sage Weil over 2 years ago

  • Status changed from New to Fix Under Review
  • Backport set to pacific
  • Pull request ID set to 44132
Actions #5

Updated by Sage Weil over 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Backport Bot over 2 years ago

  • Copied to Backport #53488: pacific: test_standby (tasks.mgr.test_prometheus.TestPrometheus) fails added
Actions #7

Updated by Konstantin Shalygin over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF