Discussion:
Build and check on a big-endian system
François-Xavier Le Bail
2014-02-15 13:23:00 UTC
Permalink
Hi,

At present, the Travis test do a x86_64 build and a 'make check'.

So the checks are done on a little-endian system.

He could be useful to add a build and check on a big-endian system.

What do you think about it?

Greetings,
Francois-Xavier
Michael Richardson
2014-02-15 14:52:35 UTC
Permalink
Post by François-Xavier Le Bail
At present, the Travis test do a x86_64 build and a 'make check'.
So the checks are done on a little-endian system.
He could be useful to add a build and check on a big-endian system.
What do you think about it?
I would love it.
As far as I know, Travis does not have any big-endian systems.
(Nor is it particularly easy to install the right 32-bit x86 libraries on the
same travis instance, because a few of the devel libraries like libusb, have
conflicts between the 64-bit and 32-bit packages on ubuntu/debian)

Do you?

The wireshark folks have buildbot infrastructure, and we were suppposed to
set up a buildbot server, but it never got done.
If you wanted to take that on, it would be very much appreciated.

If you are at IETF89 London, I could set up accounts for you on bpf, but
really the buildbot server could run anywhere.

--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | network architect [
] ***@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
François-Xavier Le Bail
2014-02-15 16:11:34 UTC
Permalink
    > At present, the Travis test do a x86_64 build and a 'make
check'.
    > So the checks are done on a little-endian system.
    > He could be useful to add a build and check on a big-endian system.
    > What do you think about it?
I would love it.
As far as I know, Travis does not have any big-endian systems.
(Nor is it particularly easy to install the right 32-bit x86 libraries on the
same travis instance, because a few of the devel libraries like libusb, have
conflicts between the 64-bit and 32-bit packages on ubuntu/debian)
Do you?
I did not test, but it seems promising :
http://www.aurel32.net/info/debian_mips_qemu.php
The wireshark folks have buildbot infrastructure, and we were suppposed to
set up a buildbot server, but it never got done.
If you wanted to take that on, it would be very much appreciated.
If you are at IETF89 London, I could set up accounts for you on bpf, but
really the buildbot server could run anywhere.
Greetings,
Francois-Xavier
Michael Richardson
2014-02-15 20:49:29 UTC
Permalink
Post by François-Xavier Le Bail
Post by Michael Richardson
Do you?
http://www.aurel32.net/info/debian_mips_qemu.php
so, you are saying we should install a qemu mips emulator inside travis to do
the testing... wow.. fork the tree, enable travis, and try it out...

--
] Never tell me the odds! | ipv6 mesh networks [
] Michael Richardson, Sandelman Software Works | network architect [
] ***@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
François-Xavier Le Bail
2014-02-15 21:07:34 UTC
Permalink
Post by Michael Richardson
so, you are saying we should install a qemu mips emulator inside travis to do
the testing... wow.. fork the tree, enable travis, and try it out...
FYI, digging more, I used this link:
http://people.debian.org/~aurel32/qemu/powerpc/
with the file: debian_wheezy_powerpc_standard.qcow2

The start and build process is at present slow (for my first test).
Don't know if we can have a better response time.

# qemu-system-ppc --version
QEMU emulator version 1.1.2 (Debian 1.1.2+dfsg-6a)
# qemu-system-ppc -hda debian_wheezy_powerpc_standard.qcow2 -nographic
inside : apt-get : gcc make git flex bison autoconf
I build and check (slow!). result:
***@debian-powerpc:~/tcpdump# make check 2>&1 | tee trace
(cd tests && ./TESTrun.sh)
    lmp-v                         : passed
    print-x                       : passed
    print-xx                      : passed
    print-X                       : passed
    print-XX                      : passed
    print-A                       : passed
    print-AA                      : passed
    bgp_vpn_attrset               : passed
    mpbgp-linklocal-nexthop       : passed
    eapon1                        : passed
    esp0                          : passed
    esp1                          : TEST FAILED
    esp2                          : TEST FAILED
    esp3                          : TEST FAILED
    esp4                          : TEST FAILED
    esp5                          : TEST FAILED
    espudp1                       : TEST FAILED
    isakmp1                       : passed
    isakmp2                       : passed
    isakmp3                       : passed
    isakmp4                       : passed
    lmp                           : passed
    mpls-ldp-hello                : passed
    ospf-gmpls                    : passed
    ikev2four                     : passed
    ikev2fourv                    : passed
    ikev2fourv4                   : passed
    ikev2pI2                      : TEST FAILED
    dio01                         : passed
    dio02                         : passed
    dio03                         : passed
    dao01                         : passed
    daoack01                      : passed
    e1000g                        : passed
    forces01                      : passed
    forces01vvv                   : passed
    forces01vvvv                  : passed
    qinq                          : passed
    qinqv                         : passed
    sflow1                        : passed
    sflow2                        : passed
    ahcp-vv                       : passed
    babel1                        : passed
    babel1v                       : passed
    babel_auth                    : passed
    babel_pad1                    : passed
    pppoe                         : passed
    pppoes                        : passed
    pppoes_id                     : passed
    igmpv3-queries                : passed
    icmpv6                        : passed
    icmpv6_opt24-v                : passed
    spb                           : passed
    spb_bpduv4                    : passed
    dcb_ets                       : passed
    dcb_pfc                       : passed
    dcb_qcn                       : passed
    evb                           : passed
    ripv1v2                       : passed
    ripv2_auth                    : passed
    dhcpv6-aftr-name              : passed
    dhcpv6-ia-na                  : passed
    dhcpv6-ia-pd                  : passed
    dhcpv6-ia-ta                  : passed
    dhcpv6-ntp-server             : passed
    dhcpv6-sip-server-d           : passed
    dhcpv6-domain-list            : passed
    zmtp1v                        : passed
    pgmv                          : passed
    epgmv                         : passed
    pgm_zmtp1v                    : passed
    epgm_zmtp1v                   : passed
    msnlb                         : passed
    msnlb2                        : passed
    mptcp                         : passed
    mptcp-fclose                  : passed
    tfo                           : passed
    802.11_exthdr                 : passed
    802.11_rx-stbc                : passed
    of10_p3295-vv                 : passed
    of10_s4810-vvvv               : passed
    of10_pf5240-vv                : passed
    of10_7050q-v                  : passed
    geonet-calm-fast              : passed
    nflog-e                       : passed
    syslog-v                      : passed
    ipv6-bad-version.pcap         : passed
    loopback                      : passed
    dccp_partial_csum_v4_simple   : TEST FAILED
    dccp_partial_csum_v4_longer   : TEST FAILED
------------------------------------------------
   9 tests failed
  81 tests passed


Failed test: esp1

1,8c1,8
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1280, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1536, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1792, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2048, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2304, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2560, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2816, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 3072, length 64 (ipip-proto-4)
---
Post by Michael Richardson
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 116
Failed test: esp2

1,8c1,8
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x1), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1280, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x2), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1536, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x3), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1792, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x4), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2048, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x5), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2304, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x6), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2560, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x7), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2816, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x8), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 3072, length 64 (ipip-proto-4) (ipip-proto-4)
---
Post by Michael Richardson
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 172
Failed test: esp3

1,8c1,8
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1280, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1536, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1792, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2048, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2304, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2560, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2816, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 3072, length 64 (ipip-proto-4)
---
Post by Michael Richardson
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 116
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 116
Failed test: esp4

1,8c1,8
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x1), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1280, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x2), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1536, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x3), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1792, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x4), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2048, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x5), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2304, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x6), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2560, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x7), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2816, length 64 (ipip-proto-4) (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 172: IP 192.1.2.23 > 192.0.1.1: ESP(spi=0xabcdabcd,seq=0x8), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 3072, length 64 (ipip-proto-4) (ipip-proto-4)
---
Post by Michael Richardson
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x1), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x2), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x3), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x4), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x5), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x6), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x7), length 172
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0x12345678,seq=0x8), length 172
Failed test: esp5

1,8c1,8
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x1), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1280, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x2), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1536, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x3), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 1792, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x4), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2048, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x5), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2304, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x6), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2560, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x7), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 2816, length 64 (ipip-proto-4)
< IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x8), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 3072, length 64 (ipip-proto-4)
---
Post by Michael Richardson
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x1), length 132
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x2), length 132
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x3), length 132
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x4), length 132
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x5), length 132
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x6), length 132
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x7), length 132
IP 192.1.2.23 > 192.1.2.45: ESP(spi=0xd1234567,seq=0x8), length 132
Failed test: espudp1

2,3c2,3
< IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x2), length 116:  ip-proto-227 49
< IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x3), length 116: PIMv13, length 10
---
Post by Michael Richardson
IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x2), length 116
IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x3), length 116
6,8c6,8
< IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x6), length 116:  ip-proto-183 28
< IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x7), length 116:  ip-proto-72 34
< IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x8), length 116:  ip-proto-224 59
---
Post by Michael Richardson
IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x6), length 116
IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x7), length 116
IP 192.1.2.23.4500 > 192.1.2.45.4500: UDP-encap: ESP(spi=0x12345678,seq=0x8), length 116
Failed test: ikev2pI2

39,41c39
<     (v2e[C]: len=252 000102030405060708090a0b0c0d0e0f4bcf2da20444caca5fb591c1ab4b9b4d4f22ac7cb49e6b08d2738884fb3efd8eebc607accc1f80f890e24df65e53d61e899f1d319d89c033524d036fd4ea7e0345def93356e2865e5481a6a20a7604083de04595e1071a2e98179eefb4e6ae4708e6875ae297b4dc5b2602d971e36f66cef12303946eea897d86bbb5903115281a266f4dcb627e146972ff2f7102931df82f24a2e40df594afc11e0a85eb1c56b9eddb7e2de52fa95cf51f4b4c9b5d53237ae39f64519413d201374a987fa8d1ce460fa2d67c417462203f2948c0b9ed8b734a69a015ff63bde767f44f83c3cfe5119d72d74e695b1032b957
<             (v2IDi: len=8 0200000077657374 fqdn:west)
<             (v2auth: len=196 method=rsasig authdata=(000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) ))
---
Post by Michael Richardson
     (v2e[C]: len=252 000102030405060708090a0b0c0d0e0f4bcf2da20444caca5fb591c1ab4b9b4d4f22ac7cb49e6b08d2738884fb3efd8eebc607accc1f80f890e24df65e53d61e899f1d319d89c033524d036fd4ea7e0345def93356e2865e5481a6a20a7604083de04595e1071a2e98179eefb4e6ae4708e6875ae297b4dc5b2602d971e36f66cef12303946eea897d86bbb5903115281a266f4dcb627e146972ff2f7102931df82f24a2e40df594afc11e0a85eb1c56b9eddb7e2de52fa95cf51f4b4c9b5d53237ae39f64519413d201374a987fa8d1ce460fa2d67c417462203f2948c0b9ed8b734a69a015ff63bde767f44f83c3cfe5119d72d74e695b1032b957)
Failed test: dccp_partial_csum_v4_simple

4c4
<     139.133.209.65.5001 > 139.133.209.176.52667: CCVal 0, CsCov 0, cksum 0x9a1a (correct), response (service=0) (ack=33164071488)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.52667: CCVal 0, CsCov 0, cksum 0x9a1a (correct), response (service=0) (ack=3099300416)
10c10
<     139.133.209.65.5001 > 139.133.209.176.52667: CCVal 0, CsCov 0, cksum 0xe632 (correct), ack (ack=33164071490)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.52667: CCVal 0, CsCov 0, cksum 0xe632 (correct), ack (ack=3099300418)
14c14
<     139.133.209.65.5001 > 139.133.209.176.52667: CCVal 0, CsCov 0, cksum 0xd900 (correct), reset (code=closed) (ack=33164071491)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.52667: CCVal 0, CsCov 0, cksum 0xd900 (correct), reset (code=closed) (ack=3099300419)
Failed test: dccp_partial_csum_v4_longer

4c4
<     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xb04b (correct), response (service=0) (ack=38464816766)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xb04b (correct), response (service=0) (ack=4105078398)
10c10
<     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xfc63 (correct), ack (ack=38464816768)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xfc63 (correct), ack (ack=4105078400)
14c14
<     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0x0165 (correct), ack (ack=38464816769)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0x0165 (correct), ack (ack=4105078401)
20c20
<     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xfb32 (correct), ack (ack=38464816770)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xfb32 (correct), ack (ack=4105078402)
22c22
<     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xfa2f (correct), ack (ack=38464816771)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xfa2f (correct), ack (ack=4105078403)
28c28
<     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xfb2c (correct), ack (ack=38464816772)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xfb2c (correct), ack (ack=4105078404)
30c30
<     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xef25 (correct), reset (code=closed) (ack=38464816773)
---
Post by Michael Richardson
     139.133.209.65.5001 > 139.133.209.176.39420: CCVal 0, CsCov 0, cksum 0xef25 (correct), reset (code=closed) (ack=4105078405)
make: *** [check] Error 9

Greetings,
Francois-Xavier
Michael Richardson
2014-02-15 21:21:57 UTC
Permalink
The ESP tests are failing because you haven't got libssl-dev.
François-Xavier Le Bail
2014-02-15 22:09:56 UTC
Permalink
Post by Michael Richardson
The ESP tests are failing because you haven't got libssl-dev
Right, thanks !
remain :
    dccp_partial_csum_v4_simple   : TEST FAILED
    dccp_partial_csum_v4_longer   : TEST FAILED
Guy Harris
2014-02-15 23:12:53 UTC
Permalink
Post by Michael Richardson
The ESP tests are failing because you haven't got libssl-dev.
Yes - some tests fail if the full set of support libraries weren't available when tcpdump was built.

Perhaps we want to suppress some tests if we don't have the appropriate libraries - or have the tests compare against the results of a tcpdump built without the library or libraries in question rather than the results of one built with them.
François-Xavier Le Bail
2014-02-16 18:58:22 UTC
Permalink
Post by Guy Harris
Post by Michael Richardson
The ESP tests are failing because you haven't got libssl-dev.
Yes - some tests fail if the full set of support libraries weren't available when tcpdump was built.
Perhaps we want to suppress some tests if we don't have the appropriate libraries - or have the tests compare against the results of a tcpdump built without the library or libraries in question rather than the results of one built with them.
We could maybe add a text in INSTALL file, like:

diff --git a/INSTALL.txt b/INSTALL.txt
index 132e118..4dc61d3 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -9,6 +9,9 @@ You will need an ANSI C compiler to build tcpdump. The configure
 will abort if your compiler is not ANSI compliant. If this happens, use
 the generally available GNU C compiler (GCC).
 
+To build with crypto support, you need SSL library (libssl-dev).
+If you don't have this library, you will have some "make check" errors.
+
 After libpcap has been built (either install it with "make install" or
 make sure both the libpcap and tcpdump source trees are in the same
 directory), run ./configure (a shell script).  "configure" will


Greetings
Guy Harris
2014-02-16 23:55:35 UTC
Permalink
Post by François-Xavier Le Bail
Post by Guy Harris
Post by Michael Richardson
The ESP tests are failing because you haven't got libssl-dev.
Yes - some tests fail if the full set of support libraries weren't available when tcpdump was built.
Perhaps we want to suppress some tests if we don't have the appropriate libraries - or have the tests compare against the results of a tcpdump built without the library or libraries in question rather than the results of one built with them.
diff --git a/INSTALL.txt b/INSTALL.txt
index 132e118..4dc61d3 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -9,6 +9,9 @@ You will need an ANSI C compiler to build tcpdump. The configure
will abort if your compiler is not ANSI compliant. If this happens, use
the generally available GNU C compiler (GCC).
+To build with crypto support, you need SSL library (libssl-dev).
+If you don't have this library, you will have some "make check" errors.
Denis appears to have fixed that with

commit 9e2042ebe86c41d373930dbd89b56a6a2f06fcf0
Author: Denis Ovsienko <***@yandex.ru>
Date: Mon Feb 17 00:22:37 2014 +0400

make OpenSSL-specific tests conditional

That still leaves the NFLOG tests; that requires looking for DLT_NFLOG in the version of libpcap being used to build tcpdump, which would be a bit more work.

An alternative might be to have the configure script run a test for DLT_NFLOG and somehow do something to make "make check" skip the NFLOG test. A generalization might be to have some support for "if ... end" in the tests/TESTLIST file, with the tests checking some name specified in a file, and have the configure script add entries to that file as necessary.
François-Xavier Le Bail
2014-02-17 08:49:27 UTC
Permalink
----- Original Message -----
Sent: Monday, February 17, 2014 12:55 AM
Subject: Re: [tcpdump-workers] Build and check on a big-endian system
On Feb 16, 2014, at 10:58 AM, François-Xavier Le Bail
Post by François-Xavier Le Bail
On Feb 15, 2014, at 1:21 PM, Michael Richardson
Post by Michael Richardson
The ESP tests are failing because you haven't got libssl-dev.
Yes - some tests fail if the full set of support libraries weren't
available when tcpdump was built.
Post by François-Xavier Le Bail
Perhaps we want to suppress some tests if we don't have the
appropriate libraries - or have the tests compare against the results of a
tcpdump built without the library or libraries in question rather than the
results of one built with them.
Post by François-Xavier Le Bail
+To build with crypto support, you need SSL library (libssl-dev).
+If you don't have this library, you will have some "make
check" errors.
Denis appears to have fixed that with
    commit 9e2042ebe86c41d373930dbd89b56a6a2f06fcf0
    Date:  Mon Feb 17 00:22:37 2014 +0400
        make OpenSSL-specific tests conditional
We could maybe add a text in INSTALL file, like:

To build with crypto support, you need SSL library (libssl-dev).

Loading...