sonic-buildimage/dockers
Stepan Blyshchak f83d73ba29 [scapy] update scapy to 2.4.5 and patch it (#10457)
Why I did it
Running warm-reboot in a loop for 500 times leads to this error on 318-th iteration:

Apr  2 15:56:27.346747 sonic INFO swss#/supervisord: restore_neighbors Traceback (most recent call last):
Apr  2 15:56:27.346747 sonic INFO swss#/supervisord: restore_neighbors   File "/usr/bin/restore_neighbors.py", line 24, in <module>
Apr  2 15:56:27.346747 sonic INFO swss#/supervisord: restore_neighbors     from scapy.all import conf, in6_getnsma, inet_pton, inet_ntop, in6_getnsmac, get_if_hwaddr, Ether, ARP, IPv6, ICMPv6ND_NS, ICMPv6NDOptSrcLLAddr
Apr  2 15:56:27.346795 sonic INFO swss#/supervisord: restore_neighbors   File "/usr/local/lib/python3.7/dist-packages/scapy/all.py", line 25, in <module>
Apr  2 15:56:27.346956 sonic INFO swss#/supervisord: restore_neighbors     from scapy.route import *
Apr  2 15:56:27.346995 sonic INFO swss#/supervisord: restore_neighbors   File "/usr/local/lib/python3.7/dist-packages/scapy/route.py", line 205, in <module>
Apr  2 15:56:27.347089 sonic INFO swss#/supervisord: restore_neighbors     conf.iface = get_working_if()
Apr  2 15:56:27.347129 sonic INFO swss#/supervisord: restore_neighbors   File "/usr/local/lib/python3.7/dist-packages/scapy/arch/linux.py", line 128, in get_working_if
Apr  2 15:56:27.347213 sonic INFO swss#/supervisord: restore_neighbors     ifflags = struct.unpack("16xH14x", get_if(i, SIOCGIFFLAGS))[0]
Apr  2 15:56:27.347250 sonic INFO swss#/supervisord: restore_neighbors   File "/usr/local/lib/python3.7/dist-packages/scapy/arch/common.py", line 31, in get_if
Apr  2 15:56:27.347345 sonic INFO swss#/supervisord: restore_neighbors     return ioctl(sck, cmd, struct.pack("16s16x", iff.encode("utf8")))
Apr  2 15:56:27.347365 sonic INFO swss#/supervisord: restore_neighbors OSError: [Errno 19] No such device
The issue was reported to scapy devs secdev/scapy#3369, the fix is secdev/scapy#3371, however there is no released scapy version with this fix right now, thus decided to build scapy v2.4.5 from sources and apply the fix in a form of a patch.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2022-04-10 23:17:51 -07:00
..
docker-base Add a config variable to override default container registry instead of dockerhub. (#10166) (#10260) 2022-03-19 00:09:42 +08:00
docker-base-buster Add a config variable to override default container registry instead of dockerhub. (#10166) (#10260) 2022-03-19 00:09:42 +08:00
docker-base-stretch Add a config variable to override default container registry instead of dockerhub. (#10166) (#10260) 2022-03-19 00:09:42 +08:00
docker-basic_router [supervisord]: use abspath as supervisord entrypoint (#5995) 2020-11-22 21:18:44 -08:00
docker-config-engine [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-buster [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-config-engine-stretch [docker-base-buster][docker-config-engine-buster] No longer install Python 2 (#6162) 2020-12-25 21:29:25 -08:00
docker-database [PINS] Add APPL_STATE_DB and response path log (#9082) 2021-11-24 10:31:06 -08:00
docker-dhcp-relay Fix import error for DHCP relay CLI (#9691) 2022-01-16 22:45:48 -08:00
docker-fpm-frr [chassis][bgp] create v4 and v6 peer group for VoQ internal neighbors (#9693) 2022-02-27 20:45:37 -08:00
docker-fpm-gobgp [dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7083) 2021-03-27 21:14:24 -07:00
docker-iccpd [iccpd][docker] fix initial startup configuration (#7982) 2021-07-01 00:47:26 -07:00
docker-lldp Dynamic port configuration - solve lldp issues when adding/removing ports (#9386) 2022-03-27 19:30:16 -07:00
docker-macsec [dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7083) 2021-03-27 21:14:24 -07:00
docker-mux [mux]: Call write_standby from host only 2021-10-15 09:59:59 -07:00
docker-nat [dockers][supervisor] Increase event buffer size for process exit listener; Set all event buffer sizes to 1024 (#7083) 2021-03-27 21:14:24 -07:00
docker-orchagent [scapy] update scapy to 2.4.5 and patch it (#10457) 2022-04-10 23:17:51 -07:00
docker-pde [PDE]: introduce the SONiC Platform Development Env (#7510) 2021-07-24 16:24:43 -07:00
docker-platform-monitor [pmon] Clean up supervisord chassis_db_init entry and fix startsecs (#10071) 2022-03-07 09:21:23 -08:00
docker-ptf Add a config variable to override default container registry instead of dockerhub. (#10166) (#10260) 2022-03-19 00:09:42 +08:00
docker-ptf-sai [Cherry-pick] Add ptf docker for PTF-SAI testing (#10249) 2022-03-17 10:34:44 +08:00
docker-router-advertiser [radv] Support multiple ipv6 prefixes per vlan interface (#9934) 2022-02-21 23:48:22 -08:00
docker-sflow [Monit] Deprecate the feature of monitoring the critical processes by Monit (#7676) 2021-06-04 10:16:53 -07:00
docker-snmp updated jinja template for snmp contact python2 vs python3 issue (#9949) 2022-02-13 18:04:09 -08:00
docker-sonic-mgmt Add a config variable to override default container registry instead of dockerhub. (#10166) (#10260) 2022-03-19 00:09:42 +08:00
docker-sonic-mgmt-framework [Security]: Upgrade urllib3 to fix CVE-2021-33503 2022-02-25 09:15:08 +00:00
docker-sonic-p4rt [PINS] Build P4RT container for PINS (#9083) 2021-12-08 20:59:23 +00:00
docker-sonic-restapi autorestart inside restapi docker is disabled (#8006) 2021-07-14 11:37:00 -07:00
docker-sonic-sdk [sonic-sdk] add sonic sdk and sonic sdk buildenv (#6712) 2021-05-28 10:16:02 -07:00
docker-sonic-sdk-buildenv [sonic-sdk] add sonic sdk and sonic sdk buildenv (#6712) 2021-05-28 10:16:02 -07:00
docker-sonic-telemetry [Monit] Deprecate the feature of monitoring the critical processes by Monit (#7676) 2021-06-04 10:16:53 -07:00
docker-teamd [docker-teamd]: Increase teammgrd timeout to allow graceful shutdown. (#7662) (#8045) 2021-07-07 14:48:29 +03:00
dockerfile-macros.j2 [sonic-config-engine] Clean up dependencies, pin versions; install Python 3 package in Buster container (#5656) 2020-10-26 13:48:50 -07:00