• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zhmcclient / zhmc-prometheus-exporter / test-1096
38%

Build:
DEFAULT BRANCH: master
Ran 22 Feb 2024 09:48AM UTC
Jobs 14
Files 3
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Feb 2024 09:46AM UTC coverage: 36.459% (+0.2%) from 36.255%
test-1096

push

github

andy-maier
New variables for if conditions; Eliminated metric warnings

Details:

* Docs: Added missing 'se_version' variable to description of 'export-condition'
  and 'fetch-condition' in the Usage section. (part of issue #459)

* Added support for the following new variables for use in 'fetch-condition' in
  the metric definition file (issue #459):

  - 'hmc_api_version' - HMC API version as a tuple of integers (M, N)
  - 'hmc_features' - List of names of HMC API features

* Added support for the following new variables for use in 'export-condition'
  in the metric definition file (issue #459):

  - 'hmc_api_version' - HMC API version as a tuple of integers (M, N)
  - 'hmc_features' - List of names of HMC API features
  - 'se_features' - List of names of SE/CPC API features
  - 'resource_obj' - zhmcclient resource object for the metric

* Used these new variables to improve the conditions in the metric definition
  file in order to eliminate the following warnings about properties not
  returned by the HMC (issue #459):

  - 'cylinders' in resource metric group 'storagevolume-resource'
    (only returned for FC-type storage groups)
  - 'max-partitions' in resource metric group 'storagegroup-resource'
    (only returned for FCP-type storage groups)
  - Various cbp related properties in resource metric groups 'cpc-resource'
    and 'logical-partition-resource' (only returned for SE versions between
    2.14.0+MCLs and 2.15.0)

* Added a unit test function test_eval_condition_resource() for testing the
  new 'resource_obj' variable in 'if' conditions.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>

346 of 949 relevant lines covered (36.46%)

5.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-20.04,3.6,minimum - test-1096.1 22 Feb 2024 09:52AM UTC 0
36.35
GitHub Action Run
2 ubuntu-latest,3.12,latest - test-1096.2 22 Feb 2024 09:52AM UTC 0
36.42
GitHub Action Run
3 ubuntu-latest,3.8,minimum - test-1096.3 22 Feb 2024 09:52AM UTC 0
36.15
GitHub Action Run
4 windows-latest,3.12,minimum - test-1096.4 22 Feb 2024 09:52AM UTC 0
36.0
GitHub Action Run
5 ubuntu-latest,3.7,minimum - test-1096.5 22 Feb 2024 09:52AM UTC 0
36.35
GitHub Action Run
6 ubuntu-20.04,3.6,latest - test-1096.6 22 Feb 2024 09:52AM UTC 0
36.35
GitHub Action Run
7 windows-latest,3.12,latest - test-1096.7 22 Feb 2024 09:52AM UTC 0
36.0
GitHub Action Run
8 macos-latest,3.12,minimum - test-1096.8 22 Feb 2024 09:52AM UTC 0
36.42
GitHub Action Run
9 ubuntu-latest,3.7,latest - test-1096.9 22 Feb 2024 09:52AM UTC 0
36.35
GitHub Action Run
10 ubuntu-latest,3.12,minimum - test-1096.10 22 Feb 2024 09:52AM UTC 0
36.42
GitHub Action Run
11 ubuntu-latest,3.8,latest - test-1096.11 22 Feb 2024 09:52AM UTC 0
36.15
GitHub Action Run
12 macos-latest,3.12,latest - test-1096.12 22 Feb 2024 09:52AM UTC 0
36.42
GitHub Action Run
13 macos-latest,3.6,latest - test-1096.13 22 Feb 2024 09:52AM UTC 0
36.35
GitHub Action Run
14 windows-latest,3.6,latest - test-1096.14 22 Feb 2024 09:52AM UTC 0
35.93
GitHub Action Run
Source Files on build test-1096
Detailed source file information is not available for this build.
  • Back to Repo
  • dcfc5eb2 on github
  • Prev Build on master (#TEST-1073)
  • Next Build on master (#TEST-1099)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc