server suite needs more network device info in results

Bug #1376284 reported by Jeff Lane 
6
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

Revision history for this message
Daniel Manrique (roadmr) wrote :

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.

Changed in plainbox-provider-checkbox:
status: New → Incomplete
Revision history for this message
Jeff Lane  (bladernr) wrote :

Grrr... I need to remember to start just automatically assigning these things to myself... heh

So I just spend a couple hours learning a bit about sockets in python and modified network_device_info to do essentially the same thing that network_info does now.

So now I've deleted that branch and will resolve this simply by adding the ethertool jobs and the network_info job to the server whitelists... that should be enough for now.

Jeff Lane  (bladernr)
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
Daniel Manrique (roadmr)
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.