Re: [PATCH net-next v7] selftests: net: add tests for PPP
From: Jakub Kicinski
Date: Wed Apr 01 2026 - 11:45:04 EST
On Mon, 30 Mar 2026 11:55:44 +0800 Qingfang Deng wrote:
> Add ping and iperf3 tests for ppp_async.c and pppoe.c.
Hi! I added the new TARGET to netdev CI, the pppoe.sh test does not
seem happy:
# timeout set to 45
# selftests: net/ppp: pppoe.sh
# Plugin pppoe.so loaded.
# PPPoE plugin from pppd 2.5.1
# Send PPPOE Discovery V1T1 PADI session 0x0 length 12
# dst ff:ff:ff:ff:ff:ff src b2:36:d8:0d:61:83
# [service-name] [host-uniq 9b 08 00 00]
# Recv PPPOE Discovery V1T1 PADO session 0x0 length 73
# dst b2:36:d8:0d:61:83 src 4e:f5:66:23:13:38
# [AC-name vmksft-net-extra,debug-threads=on] [service-name] [AC-cookie e5 e4 8c f0 87 72 d8 3a 60 66 4e 32 e4 ee af 6f 9a 08 00 00] [host-uniq 9b 08 00 00]
# Send PPPOE Discovery V1T1 PADR session 0x0 length 36
# dst 4e:f5:66:23:13:38 src b2:36:d8:0d:61:83
# [service-name] [host-uniq 9b 08 00 00] [AC-cookie e5 e4 8c f0 87 72 d8 3a 60 66 4e 32 e4 ee af 6f 9a 08 00 00]
# Recv PPPOE Discovery V1T1 PADS session 0x1 length 12
# dst b2:36:d8:0d:61:83 src 4e:f5:66:23:13:38
# [service-name] [host-uniq 9b 08 00 00]
# PPP session is 1
# Connected to 4E:F5:66:23:13:38 via interface veth-client
# using channel 1
# Using interface ppp0
# Connect: ppp0 <--> veth-client
# sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x6db8fab4>]
# Modem hangup
# Connection terminated.
# Send PPPOE Discovery V1T1 PADT session 0x1 length 32
# dst 4e:f5:66:23:13:38 src b2:36:d8:0d:61:83
# [host-uniq 9b 08 00 00] [AC-cookie e5 e4 8c f0 87 72 d8 3a 60 66 4e 32 e4 ee af 6f 9a 08 00 00]
# Sent PADT
# ping: connect: Network is unreachable
# iperf3: error - unable to connect to server - server may have stopped running or use a different port, firewall issue, etc.: Network is unreachable
# TEST: PPPoE [FAIL]
not ok 1 selftests: net/ppp: pppoe.sh # exit=1