Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPV6 tests always meet runtime error in bind call #31

Open
liuyd96 opened this issue Feb 3, 2020 · 0 comments
Open

IPV6 tests always meet runtime error in bind call #31

liuyd96 opened this issue Feb 3, 2020 · 0 comments

Comments

@liuyd96
Copy link

liuyd96 commented Feb 3, 2020

Hi, all.
Recently i test packetdrill by "packetdrill/run_all.py -L -l -v tcp" on Debian 9. kernel v5.5
I always meet runtime error in bind call.
This error is unstable, run 10times, appear 7times.

liuyd@inn:/result/packetdrill/defaults/lkp-ivb-2ep1/debian-x86_64-20191114.cgz/x86_64-rhel-7.6/gcc-7/v5.5$ grep "bind call" */stderr | sort -n
0/stderr:no-coalesce-small.pkt:9: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
0/stderr:reset_tsval.pkt:10: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
0/stderr:small.pkt:11: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
1/stderr:user_timeout.pkt:6: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
3/stderr:ioctl-siocinq-fin.pkt:9: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
3/stderr:sack-shift-sacked-7-3-4-8-9-fack.pkt:10: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
3/stderr:syscall-invalid-buf-ptr.pkt:8: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
4/stderr:user_timeout.pkt:6: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
7/stderr:server.pkt:8: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
9/stderr:batch.pkt:10: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
9/stderr:sendfile-simple.pkt:14: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
9/stderr:shutdown-rdwr-write-queue-close.pkt:12: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
9/stderr:user-timeout-probe.pkt:6: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
10/stderr:epoll_edge.pkt:14: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
10/stderr:sack-shift-sacked-2-6-8-3-9-nofack.pkt:12: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)

Only IPV6 tests failed due to this error.
Take rt 0 as an example. no-coalesce-small reset_tsval small tests meet bind call error.

0/stderr:no-coalesce-small.pkt:9: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
0/stderr:reset_tsval.pkt:10: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
0/stderr:small.pkt:11: runtime error in bind call: Expected result 0 but got -1 with errno 99 (Cannot assign requested address)
liuyd@inn:/result/packetdrill/defaults/lkp-ivb-2ep1/debian-x86_64-20191114.cgz/x86_64-rhel-7.6/gcc-7/v5.5/0$ cat packetdrill | grep -E "reset_tsval|no-coalesce-small|small"
FAIL [/lkp/benchmarks/packetdrill/gtests/net/tcp/ts_recent/reset_tsval.pkt (ipv6)]
OK [/lkp/benchmarks/packetdrill/gtests/net/tcp/eor/no-coalesce-small.pkt (ipv4)]
FAIL [/lkp/benchmarks/packetdrill/gtests/net/tcp/eor/no-coalesce-small.pkt (ipv6)]
FAIL [/lkp/benchmarks/packetdrill/gtests/net/tcp/zerocopy/small.pkt (ipv6)]
OK [/lkp/benchmarks/packetdrill/gtests/net/tcp/eor/no-coalesce-small.pkt (ipv4-mapped-v6)]
OK [/lkp/benchmarks/packetdrill/gtests/net/tcp/ts_recent/reset_tsval.pkt (ipv4-mapped-v6)]
OK [/lkp/benchmarks/packetdrill/gtests/net/tcp/zerocopy/small.pkt (ipv4-mapped-v6)]
OK [/lkp/benchmarks/packetdrill/gtests/net/tcp/ts_recent/reset_tsval.pkt (ipv4)]
OK [/lkp/benchmarks/packetdrill/gtests/net/tcp/zerocopy/small.pkt (ipv4)]

dcaratti pushed a commit to dcaratti/packetdrill that referenced this issue Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant