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

zhmcclient / python-zhmcclient / test-5107
79%

Build:
DEFAULT BRANCH: master
Ran 27 Nov 2026 12:48PM UTC
Jobs 9
Files 71
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

27 Nov 2026 12:41PM UTC coverage: 79.269% (-0.3%) from 79.577%
test-5107

push

github

web-flow
Clarify name uniqueness and other fixes (#2334)

Details:

* Fixed the implementation of list() in the following resource manager classes:
  - StorageControlUnitManager
  - StoragePathManager
  - StorageSubsystemManager
  - StorageSwitchManager

* Fixed the incorrect placement of the cpc attribute that scopes the names of
  Tape Library objects by moving it from TapeLibraryManager to TapeLibrary.

* Fixed the TapeLibraryManager.request_zoning() and discover() methods by
  adding a required cpc parameter for specifying the desired CPC.

* Fixed the URLs used by the following methods:
  - StorageGroup.accept_mismatched_fcp_storage_volumes()
  - StorageGroup.reject_mismatched_fcp_storage_volumes()
  - StorageGroup.get_storage_group_histories()

* Fixed the name of the incorrect 'cpc-uris' query parameter for
  Storage Site objects to 'cpc-uri'.

* Removed prints from mock support for these HMC operations:
  - Undefine Tape Library
  - Request Tape Library Zoning

* Fixed the description of the required authorization for several storage
  related methods.

* Fixed the unit tests for resource class TapeLibrary.

* Fixed the end2end tests for storage subsystem and storage switch by
  ensuring that the storage objects are associated to the same CPC, where
  needed. As part of that, added a utility function pick_cpc().

* Fixed the end2end tests for resource types for which the name is not
  unique in the parent resource (e.g. storage related resources).
  This included a rework of the tests that are run in the generic
  runtest_find_list() function, to remove the assumption that the name
  is unique that was still partially there even for unique_name=False.
  Changed the tests to specify unique_name=False for those resource
  types.

* Needed to mark 3 end2end testcases with XFAIL because they fail due to
  a "No connection endpoint" error from the HMC, and possibly issues
  in the zhmcclient mock support. Will be fixed in a separate PR. The
  test functions... (continued)

2265 of 3342 branches covered (67.77%)

Branch coverage included in aggregate %.

81 of 142 new or added lines in 12 files covered. (57.04%)

4 existing lines in 3 files now uncovered.

11508 of 14033 relevant lines covered (82.01%)

7.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
70.63
-26.24% zhmcclient/_storage_switch.py
16
80.41
-17.92% zhmcclient/_storage_subsystem.py
7
86.81
-11.74% zhmcclient/_storage_control_unit.py
5
85.71
-10.58% zhmcclient/_storage_fabric.py
5
89.06
-10.94% zhmcclient/_storage_site.py
5
81.16
-8.84% zhmcclient/_tape_library.py
1
86.49
-0.18% zhmcclient/_storage_group_template.py

Coverage Regressions

Lines Coverage ∆ File
2
94.01
-0.14% zhmcclient/mock/_hmc.py
1
80.37
0.04% zhmcclient/mock/_urihandler.py
1
86.81
-11.74% zhmcclient/_storage_control_unit.py
Jobs
ID Job ID Ran Files Coverage
1 macos-latest,3.15,latest - test-5107.1 27 Nov 2026 12:55PM UTC 71
79.24
GitHub Action Run
2 ubuntu-latest,3.15,minimum - test-5107.2 27 Nov 2026 12:55PM UTC 71
79.23
GitHub Action Run
3 windows-latest,3.15,latest - test-5107.3 27 Nov 2026 12:55PM UTC 71
79.24
GitHub Action Run
4 windows-latest,3.12,minimum - test-5107.4 27 Nov 2026 12:55PM UTC 71
79.23
GitHub Action Run
5 ubuntu-latest,3.15,latest - test-5107.5 27 Nov 2026 12:55PM UTC 71
79.24
GitHub Action Run
6 ubuntu-latest,3.10,minimum - test-5107.6 27 Nov 2026 12:55PM UTC 71
79.23
GitHub Action Run
7 ubuntu-latest,3.10,latest - test-5107.7 27 Nov 2026 12:55PM UTC 71
79.24
GitHub Action Run
8 ubuntu-24.04,3.9,minimum - test-5107.8 27 Nov 2026 12:55PM UTC 71
79.23
GitHub Action Run
9 ubuntu-24.04,3.9,latest - test-5107.9 27 Nov 2026 12:55PM UTC 71
79.25
GitHub Action Run
Source Files on build test-5107
  • Tree
  • List 71
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 582deb4c on github
  • Prev Build on master (#TEST-5105)
  • Next Build on master (#TEST-5109)
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