Created attachment 1591903 [details] runtime error: "integer divide by zero" Description of problem: login cluster console as cluster-admin and go to Query Browser page, search one metrics and drag in the graph to zoom in the time range if the time range is too small, there will be runtime error: "integer divide by zero" API from console https://console-openshift-console.apps.qe-juzhao-fri.qe.devcluster.openshift.com/api/prometheus/api/v1/query_range?end=1563513453.24&start=1563513453.213&step=0.00008999999999999999&query=ALERTS&timeout=5s # date --date='@1563513453.24' Fri Jul 19 01:17:33 EDT 2019 # date --date='@1563513453.213' Fri Jul 19 01:17:33 EDT 2019 Version-Release number of selected component (if applicable): 4.2.0-0.nightly-2019-07-18-120653 How reproducible: Always Steps to Reproduce: 1. See the description 2. 3. Actual results: runtime error: "integer divide by zero" if the time range is too small Expected results: Additional info:
the smallest time span is 10s if we drag and zoom in, even we set 1s in the dropdown list and drag to zoom in, the time span will be 10s. there is not runtime error now payload: 4.2.0-0.nightly-2019-07-31-162901
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2922