server suite needs more network device info in results
Bug #1376284 reported by
Jeff Lane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Medium
|
Jeff Lane |
Bug Description
Several times now I've run into situations where one or more network devices failed. This is usually because of misconfiguration or some other similar issue.
It would be really useful to have ifconfig and possibly ethtool info in the output for failures.
Related branches
lp:~bladernr/checkbox/1376284
- Daniel Manrique (community): Approve
-
Diff: 114 lines (+23/-8)6 files modifiedproviders/plainbox-provider-certification-server/whitelists/network-only.whitelist (+3/-0)
providers/plainbox-provider-certification-server/whitelists/server-full-14.04.whitelist (+3/-0)
providers/plainbox-provider-certification-server/whitelists/server-functional-14.04.whitelist (+3/-0)
providers/plainbox-provider-certification-server/whitelists/server-soc-cert.whitelist (+3/-0)
providers/plainbox-provider-checkbox/bin/network_device_info (+5/-3)
providers/plainbox-provider-checkbox/bin/network_info (+6/-5)
summary: |
- network script should dump ifconfig info in its output. + server suite needs more network device info in results |
Changed in plainbox-provider-checkbox: | |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Jeff Lane (bladernr) |
status: | Triaged → In Progress |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Changed in plainbox-provider-checkbox: | |
milestone: | none → 0.14 |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We have ethernet/ ethtool_ info, it's a local job that builds ethernet/ ethertool_ check_. * jobs for each interface.
Is that enough, and could we add e.g. ethernet/ ifconfig_ info (or maybe something more generic like network_info) to dump ifconfig, route and whatnot?
Are you happy with the multiple-job (local-job) mechanism, or would a single humongous collect- all-interfaces script be better?
We can definitely add this to the network script itself. However, if it doesn't change the network configurations itself, then the config is static and we should be able to query it at any point.
To contrast, I recently added some changes to the wireless tests to output iw dev link information during testing. This had to be injected in the middle of the job's command because the test does create the connection dynamically, then destroys it after the testing is finished.
Let me know your thoughts on this.