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

zhmcclient / python-zhmcclient / test-4058
80%

Build:
DEFAULT BRANCH: master
Ran 13 Oct 2025 03:03PM UTC
Jobs 12
Files 60
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

13 Oct 2025 02:56PM UTC coverage: 79.731% (-0.02%) from 79.753%
test-4058

push

github

andy-maier
Added support for make target 'end2end_check'

Details:

* Added make target 'end2end_check' which runs the existing end2end test
  function test_hmcdef_check_all_hmcs(). This was done by changing the
  'skip' marker on that test function to a new custom marker 'check_hmcs'.

* The test_hmcdef_check_all_hmcs() test function did not yet support the
  recently introduced password commands, because it created its session
  directly. Changed this to call the setup_hmc_session() function instead.

* Improved the test_hmcdef_check_all_hmcs() test function further:
  - Reduced connect timeout/retries in the retry/timeout config.
  - Setup HMC session only once for each HMC definition.
  - Fail the test when there were HMC check errors.

* Because the setup_hmc_session() function used pytest.skip() when the HMC
  is not reachable, this caused the loop through all defined HMCs to end
  prematurely. Fixed this by adding an optional 'skip_on_failure' parameter
  to setup_hmc_session(), that selects between pytest skipping and
  raising exceptions.

* Changed the assertion for correct CPCs in that test function to become
  a print() so that the test function continues through the loop of all defined
  HMCs in that case.

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

6 of 14 new or added lines in 1 file covered. (42.86%)

1 existing line in 1 file now uncovered.

9248 of 11599 relevant lines covered (79.73%)

9.52 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
48.48
-0.43% zhmcclient/testutils/_hmc_session_functions.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
48.48
-0.43% zhmcclient/testutils/_hmc_session_functions.py
Jobs
ID Job ID Ran Files Coverage
1 windows-latest,3.14,latest - test-4058.1 13 Oct 2025 03:13PM UTC 60
79.65
GitHub Action Run
2 macos-latest,3.8,latest - test-4058.2 13 Oct 2025 03:13PM UTC 60
79.54
GitHub Action Run
3 ubuntu-latest,3.14,latest - test-4058.3 13 Oct 2025 03:13PM UTC 60
79.65
GitHub Action Run
4 macos-latest,3.11,latest - test-4058.4 13 Oct 2025 03:13PM UTC 60
79.57
GitHub Action Run
5 macos-latest,3.14,minimum - test-4058.5 13 Oct 2025 03:13PM UTC 60
79.65
GitHub Action Run
6 ubuntu-latest,3.9,latest - test-4058.6 13 Oct 2025 03:13PM UTC 60
79.59
GitHub Action Run
7 windows-latest,3.14,minimum - test-4058.7 13 Oct 2025 03:13PM UTC 60
79.65
GitHub Action Run
8 windows-latest,3.8,latest - test-4058.8 13 Oct 2025 03:13PM UTC 60
79.54
GitHub Action Run
9 ubuntu-22.04,3.8,minimum - test-4058.9 13 Oct 2025 03:13PM UTC 60
79.54
GitHub Action Run
10 ubuntu-latest,3.12,latest - test-4058.10 13 Oct 2025 03:13PM UTC 60
79.57
GitHub Action Run
11 windows-latest,3.8,minimum - test-4058.11 13 Oct 2025 03:13PM UTC 60
79.54
GitHub Action Run
12 ubuntu-latest,3.14,minimum - test-4058.12 13 Oct 2025 03:13PM UTC 60
79.65
GitHub Action Run
Source Files on build test-4058
  • Tree
  • List 60
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6a773f7f on github
  • Prev Build on master (#TEST-4056)
  • Next Build on master (#TEST-4063)
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