canonical / checkbox

Checkbox
https://checkbox.readthedocs.io
GNU General Public License v3.0
30 stars 44 forks source link

Netplan support network manager 2404 PC Desktop Test case/plan (New) #1313

Open seankingyang opened 6 days ago

seankingyang commented 6 days ago

Description

This PR only change/add the test case/plan to support the netplan test cases can be run in the 24.04 PC desktop test plan. It need the #1301 PR script will make the script can support on the NetworkManager.

Change the requires field in bellow test cases:

From:

requires:
 wireless_sta_protocol.{{ interface }}_be == 'supported'
 net_if_management.device == '{{ interface }}' and net_if_management.managed_by == 'networkd'

TO:

requires:
 wireless_sta_protocol.{{ interface }}_be == 'supported'
 (net_if_management.device == '{{ interface }}' and net_if_management.managed_by == 'networkd') or lsb.release >= "24"

Add a new test plan {after-suspend-}wireless-netplan-cert-automated to support the following test cases:

Resolved issues

Documentation

Tests

codecov[bot] commented 6 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 44.18%. Comparing base (1d1f06a) to head (a5947ff).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1313 +/- ## ======================================= Coverage 44.18% 44.18% ======================================= Files 359 359 Lines 38813 38813 Branches 6581 6581 ======================================= Hits 17148 17148 Misses 21003 21003 Partials 662 662 ``` | [Flag](https://app.codecov.io/gh/canonical/checkbox/pull/1313/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | Coverage Δ | | |---|---|---| | [provider-base](https://app.codecov.io/gh/canonical/checkbox/pull/1313/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `18.57% <ø> (ø)` | | | [provider-certification-client](https://app.codecov.io/gh/canonical/checkbox/pull/1313/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical) | `57.14% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=canonical#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.