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

zhmcclient / zhmc-ansible-modules / test-3609
46%

Build:
DEFAULT BRANCH: master
Ran 05 Nov 2026 06:53AM UTC
Jobs 11
Files 46
Run time 1min
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

05 Nov 2026 06:49AM UTC coverage: 45.996% (+3.0%) from 42.966%
test-3609

push

github

web-flow
Fixed end2end tests, Fixed zhmc_partition module with expand_crypto (#1465)

Details:

* In the zhmc_partition module, fixed a KeyError when expand_crypto is
  specified and the partition has no crypto configuration.

* In the end2end test function test_zhmc_partition_boot_stovol(), fixed
  an incorrect filter that specified property 'port:' (weith colon).

* In the end2end test module test_zhmc_partition.py, the 'expand_nics'
  input parameter of the zhmc_partition module was always set to False,
  but the test function always expected a 'nics' property in the returned
  partition properties.

  This was introduced when the 'expand_nics' parameter was added (with
  a default of True for backwards compatibility) without also updating
  the test assertions. Has been fixed by passing the input parameter to
  the test assertion function to properly handle it. Added testcases
  that provide variations for the value of the parameter.

* In the end2end test module test_zhmc_partition.py, added testcases that
  provide variations of the 'expand_storage_groups' and 'expand_crypto_config'
  input parameters and updating the test assertions accordingly.

* Added utility functions for checking whether CPCs are available:
  - unavailable_cpcs()
  - available_dpm_cpcs()

* Added a utility function for changing property names from hyphen to
  underscore:
  - underscored_properties()

* Added a utility function for getting the password from an HMC definition,
  that supports both providing it idirectly and as a password command.
  For now, an internal function in zhmcclient.testutils is used to run
  the password command. Updated the test_zhmc_session.py testcases to use
  that function.

* Updated end2end testcases that require all managed CPCs to be available, to
  check that with unavailable_cpcs().

* Updated end2end testcases for storage groups to test on a CPC that is
  available, by using available_dpm_cpcs().

* In the end2end test modules test_zhmc_cpc_list... (continued)

699 of 2242 branches covered (31.18%)

1 of 1 new or added line in 1 file covered. (100.0%)

8 existing lines in 8 files now uncovered.

3021 of 6568 relevant lines covered (46.0%)

4.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
89.33
41.33% plugins/modules/zhmc_storage_group_list.py
1
85.96
29.82% plugins/modules/zhmc_ldap_server_definition_list.py
1
51.0
18.0% plugins/modules/zhmc_user_list.py
1
80.0
29.23% plugins/modules/zhmc_cpc_list.py
1
85.96
29.82% plugins/modules/zhmc_password_rule_list.py
1
85.96
29.82% plugins/modules/zhmc_user_role_list.py
1
83.52
45.05% plugins/modules/zhmc_nic_list.py
1
84.31
21.57% plugins/modules/zhmc_user_pattern_list.py
Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest,3.10,minimum - test-3609.1 05 Nov 2026 07:00AM UTC 46
17.01
GitHub Action Run
2 ubuntu-latest,3.14,minimum - test-3609.2 05 Nov 2026 07:00AM UTC 46
17.01
GitHub Action Run
3 ubuntu-latest,3.11,ansible - test-3609.3 05 Nov 2026 07:00AM UTC 46
46.0
GitHub Action Run
4 ubuntu-latest,3.14,latest - test-3609.4 05 Nov 2026 07:00AM UTC 46
46.0
GitHub Action Run
5 macos-latest,3.11,latest - test-3609.5 05 Nov 2026 07:00AM UTC 46
45.81
GitHub Action Run
6 macos-latest,3.14,latest - test-3609.6 05 Nov 2026 07:00AM UTC 46
46.0
GitHub Action Run
7 ubuntu-latest,3.10,latest - test-3609.7 05 Nov 2026 07:00AM UTC 46
46.0
GitHub Action Run
8 ubuntu-latest,3.13,ansible - test-3609.8 05 Nov 2026 07:00AM UTC 46
46.0
GitHub Action Run
9 ubuntu-latest,3.10,ansible - test-3609.9 05 Nov 2026 07:00AM UTC 46
46.0
GitHub Action Run
10 ubuntu-latest,3.12,ansible - test-3609.10 05 Nov 2026 07:00AM UTC 46
46.0
GitHub Action Run
11 ubuntu-latest,3.14,ansible - test-3609.11 05 Nov 2026 07:00AM UTC 46
46.0
GitHub Action Run
Source Files on build test-3609
  • Tree
  • List 46
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 3e49ddc2 on github
  • Prev Build on master (#TEST-3604)
  • Next Build on master (#TEST-3615)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc