Project

General

Profile

Actions

Bug #53451

closed

run-tox-grafana-query-test fails on arm64

Added by Sage Weil over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Immediate
Category:
Monitoring
Target version:
% Done:

0%

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

Description

 18/257 Test #254: run-tox-grafana-query-test ................***Failed   21.37 sec
...
Feature: Hosts Overview Dashboard # tests/features/hosts_overview.feature:1

  Scenario: "Test network load succeeds"                        # tests/features/hosts_overview.feature:3
    Given the following series                                  # tests/features/environment.py:66
      | metrics                                                          | values |
      | node_network_receive_bytes{instance="127.0.0.1", device="eth1"}  | 10 100 |
      | node_network_receive_bytes{instance="127.0.0.1", device="eth2"}  | 10 100 |
      | node_network_transmit_bytes{instance="127.0.0.1", device="eth1"} | 10 100 |
      | node_network_transmit_bytes{instance="127.0.0.1", device="eth2"} | 10 100 |
    When variable `osd_hosts` is `127.0.0.1`                    # tests/features/environment.py:101
    Then Grafana panel `Network Load` with legend `EMPTY` shows # tests/features/environment.py:106
      | metrics | values |
      | {}      | 6      |
Unit Testing:  /tmp/tmploigr9dn
  FAILED:
    expr: "sum (\n\t(\n\t\tirate(node_network_receive_bytes{instance=~\"(UNSET VARIABLE_hosts|mon_hosts|mds_hosts|rgw_hosts).*\",device!=\"lo\"}[1m]) or\n\t\tirate(node_network_receive_bytes_total{instance=~\"(UNSET VARIABLE_hosts|mon_hosts|mds_hosts|rgw_hosts).*\",device!=\"lo\"}[1m])\n\t) unless on (device, instance)\n\tlabel_replace((bonding_slaves > 0), \"device\", \"$1\", \"master\", \"(.+)\")\n) +\nsum (\n\t(\n\t\tirate(node_network_transmit_bytes{instance=~\"(UNSET VARIABLE_hosts|mon_hosts|mds_hosts|rgw_hosts).*\",device!=\"lo\"}[1m]) or\n\t\tirate(node_network_transmit_bytes_total{instance=~\"(UNSET VARIABLE_hosts|mon_hosts|mds_hosts|rgw_hosts).*\",device!=\"lo\"}[1m])\n\t) unless on (device, instance)\n\tlabel_replace((bonding_slaves > 0), \"device\", \"$1\", \"master\", \"(.+)\")\n\t)\n", time: 1m0s,
        exp:"{} 6E+00" 
        got:"nil" 

https://jenkins.ceph.com/job/ceph-pull-requests-arm64/20208/consoleFull#-1950012021e2f9bd1b-f570-4eac-a6c0-0080730e3135

Related issues 1 (0 open1 closed)

Copied to Dashboard - Backport #53602: pacific: run-tox-grafana-query-test fails on arm64Resolvedavan thakkarActions
Actions #1

Updated by Ernesto Puerta over 2 years ago

  • Project changed from mgr to Dashboard
  • Category set to Monitoring
  • Status changed from New to In Progress
  • Assignee set to Ernesto Puerta
  • Target version set to v17.0.0
  • Source set to Development

While debugging the underlying issue, let's simply disable the Grafana query testing in ARM builds. (That said this test passed in ARM for the original PR)

Actions #2

Updated by Ernesto Puerta over 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 44163
Actions #3

Updated by Ernesto Puerta over 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to pacific
Actions #4

Updated by Backport Bot over 2 years ago

  • Copied to Backport #53602: pacific: run-tox-grafana-query-test fails on arm64 added
Actions #5

Updated by Ernesto Puerta over 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF