network script used in multi_nic test dumps trace when using --device-name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
High
|
Jeff Marcom |
Bug Description
according to Daniel's testing, the 'network' script performs fine when doing the actual network testing on the ARM server. However, when you do the info stuff that the script is capable of, tracebacks are seen in output. Specifically, when getting device-name from sysfs, the script fails because the info it's looking for does not exist in sysfs.
Here are results for each option that fails for 'network info -i eth0 --device-name'
ubuntu@
Traceback (most recent call last):
File "./network", line 382, in <module>
main()
File "./network", line 378, in main
args.func(args)
File "./network", line 319, in interface_info
key + ":", getattr(
File "./network", line 237, in device_name
return self._read_
File "./network", line 195, in _read_data
return open(os.
FileNotFoundError: [Errno 2] No such file or directory: '/sys/class/
Related branches
- Daniel Manrique (community): Approve
- Jeff Marcom (community): Needs Resubmitting
-
Diff: 15 lines (+4/-1)1 file modifiedcheckbox-old/scripts/network (+4/-1)
Changed in checkbox: | |
status: | New → In Progress |
assignee: | nobody → Jeff Marcom (jeffmarcom) |
importance: | Undecided → High |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |