Skip to content

Commit

Permalink
Make network-info jobs require ethtool to be available (bugfix) (cano…
Browse files Browse the repository at this point in the history
…nical#492)

fix: make network-info jobs require ethtool to be available

Fixes: canonical#488

Co-authored-by: Devices Certification Bot <robot@canonical.com>
  • Loading branch information
2 people authored and binli committed Mar 22, 2024
1 parent fc30c64 commit a31e069
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions providers/base/units/networking/jobs.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ id: networking/info_device{__index__}_{interface}
flags: also-after-suspend
_summary: Network Information of device {__index__} ({interface})
estimated_duration: 1.0
requires: executable.name == 'ethtool'
command:
network_device_info.py info NETWORK --interface {interface}
_description:
Expand Down
2 changes: 1 addition & 1 deletion providers/base/units/networking/packaging.pxu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
unit: packaging meta-data
os-id: debian
Depends: ntpdate, net-tools
Depends: ntpdate, net-tools, ethtool

unit: packaging meta-data
os-id: debian
Expand Down
3 changes: 3 additions & 0 deletions providers/base/units/networking/test-plan.pxu
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ include:
networking/info_device.* certification-status=blocker
bootstrap_include:
device
executable

id: networking-cert-automated
unit: test plan
Expand Down Expand Up @@ -43,6 +44,7 @@ include:
networking/ntp certification-status=blocker
bootstrap_include:
device
executable

id: networking-full
unit: test plan
Expand Down Expand Up @@ -87,6 +89,7 @@ include:
after-suspend-networking/info_device.* certification-status=blocker
bootstrap_include:
device
executable

id: after-suspend-networking-automated
unit: test plan
Expand Down

0 comments on commit a31e069

Please sign in to comment.