Skip to content

IPV6 tests always meet runtime error in bind call #31

@liuyd96

Description

@liuyd96

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)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions