~sylvain-pineau/checkbox-support:udevadm_export_list_only

Last commit made on 2017-04-03
Get this branch:
git clone -b udevadm_export_list_only https://git.launchpad.net/~sylvain-pineau/checkbox-support
Only Sylvain Pineau can upload to this branch. If you are Sylvain Pineau please log in for upload directions.

Branch merges

Branch information

Name:
udevadm_export_list_only
Repository:
lp:~sylvain-pineau/checkbox-support

Recent commits

5a31108... by Sylvain Pineau

parsers:udevadm: Record only the list of devices when exporting to json

Previous: {"devices": []}
New: []

c363ae1... by PMR <pmr@pmr-lander>

Merge #321447 from ~sylvain-pineau/checkbox-support:fix-pidvid-wireless-without-iface

ecd83a1... by Sylvain Pineau

parsers:udevadm: Avoid overriding devide pid/vid with parent data when unnecessary

For wireless devices without known interfaces don't look at parent in the udev
stack for pid/vid as in that case we're often getting the pci hub ids.

fea2858... by PMR <pmr@pmr-lander>

Merge #321282 from ~sylvain-pineau/checkbox-support:fix-1677167

1e8576c... by Sylvain Pineau

parsers:udev: Detect missing NVME DISK devices

Previous parsing was able to report NVME disks with paths like this:
P: /devices/pci0000:40/0000:40:03.0/0000:44:00.0/0000:45:04.0/0000:46:00.0/block/nvme0n1

Sometimes NVME disk devices can also be reported as follow:
P: /devices/pci0000:00/0000:00:1d.0/0000:3e:00.0/nvme/nvme0/nvme0n1

In that case we can see both /dev/nvme0 and /dev/nvme0n1 but only nvme0n1 is
the disk we need to report.
It means having to look 2 level up in the stack to find driver/bus/pid/vid information.

Fixes LP: #1677167

54b3a73... by PMR <pmr@pmr-lander>

Merge #321199 from ~sylvain-pineau/checkbox-support:wwan_category

fd96af4... by Sylvain Pineau

parsers:udevadm: Create the WWAN category

Many jobs use the device category NETWORK and expect to run tests on Ethernet ports.
But wwan devices were reported as NETWORK making device filters unreliable.

Using the DEVTYPE=wwan rule, we can now create the WWAN category and then
keep NETWORK for ethernet devices.

Signed-off-by: Sylvain Pineau <email address hidden>

d5474c1... by PMR <pmr@pmr-lander>

Merge #320862 from ~rodsmith/checkbox-support:fix-undetected-mellanox

fe18535... by PMR <pmr@pmr-lander>

Merge #321152 from ~kissiel/checkbox-support:add-interactive-cmd

5ebe0d6... by Rod Smith

Changes to address kissiel's comments.