sonic-buildimage/platform
Junchao-Mellanox 5ecb93f7e8 [Mellanox] Redirect ethtool stderr to subprocess for better error log (#12038)
- Why I did it
ethtool print error logs when EEPROM of a SFP is not available. It prints error like this:

INFO pmon#/supervisord: xcvrd Cannot get module EEPROM information: Input/output error
INFO pmon#/supervisord: xcvrd Cannot get Module EEPROM data: Invalid argument
However, this log does not contain the relevant SFP index which is hard for developer/qa to find the exactly SFP.

- How I did it
Redirect ethtool stderr to subprocess and log it better

- How to verify it
Manual test
2022-09-21 21:18:55 +00:00
..
barefoot [202205][Arista] Update platform submodules (#12021) 2022-09-13 19:40:16 -07:00
broadcom [202205][Arista] Update platform submodules (#12021) 2022-09-13 19:40:16 -07:00
cavium Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
centec Update Linux kernel from 5.10.46 to 5.10.103 (#10634) 2022-05-10 13:46:31 -07:00
centec-arm64 Support symcrypt fips config for aboot/uboot (#10729) 2022-06-05 15:20:20 +00:00
checkout Platform/cisco-8000 module for sonic-buildimage (#8172) 2021-08-06 09:11:54 +08:00
components [gbsyncd] Build docker-gbsyncd-broncos image (#11748) 2022-09-01 00:01:35 +00:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
innovium [innovium]: Enable syncd container autorestart for Innovium platforms (#11497) 2022-09-21 21:10:23 +00:00
marvell [202205][BRCM_SAI] update Brcm SAI dependencies (#11173) 2022-06-17 05:02:00 -07:00
marvell-arm64 Support symcrypt fips config for aboot/uboot (#10729) 2022-06-05 15:20:20 +00:00
marvell-armhf [Marvell-armhf] Fix kernel hang due to kernel upgrade to 5.10.103 (#11298) 2022-07-07 21:20:20 +00:00
mellanox [Mellanox] Redirect ethtool stderr to subprocess for better error log (#12038) 2022-09-21 21:18:55 +00:00
nephos Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
p4 Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
pddf Fix for Accton platform build failure when doing incremental build (#10541) 2022-05-09 12:17:38 -07:00
template Mount directory warmboot in docker gbsyncd (#11852) 2022-08-27 16:16:17 +00:00
vs Fix dbus-run-session command not found issue when install dbus-python (#12009) 2022-09-08 16:34:38 +00:00