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

zhmcclient / zhmccli / test-2074

22 Oct 2025 04:37PM UTC coverage: 39.454% (-0.2%) from 39.687%
test-2074

push

github

andy-maier
Added mitigation code for HMC defects to 'nic create/update'

Details:

Added mitigation code to the "zhmc nic create" and "zhmc nic update" commands
to deal with the following HMC defects that occurred with NICs backed by
Hipersocket adapters on z17 CPCs:

* The specified NIC name was ignored by the HMC when creating or updating the
  NIC and a name was specified. This is mitigated by explicitly updating the
  name.

* When the "Create NIC" operation performed by "zhmc nic create" results in
  HTTP 500,0 with "Invalid UUID string:", the NIC was nevertheless created.
  This is mitigated by ignoring that specific error and looking up the new NIC
  by comparing the new list of NICs on the partition with the prior list of
  NICs.

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

3 of 59 new or added lines in 1 file covered. (5.08%)

2 existing lines in 1 file now uncovered.

3457 of 8762 relevant lines covered (39.45%)

3.52 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

26.19
/zhmccli/_cmd_nic.py


Source Not Available

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

© 2025 Coveralls, Inc