--- Begin Message ---
Source: gopacket
Version: 1.1.11-2
Severity: serious
Tags: stretch sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20160707 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/«PKGBUILDDIR»'
> dh_auto_configure
> mkdir -p obj-x86_64-linux-gnu
> Copy decode.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/decode.go
> Copy packet.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/packet.go
> Copy writer_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/writer_test.go
> Copy writer.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/writer.go
> Copy layerclass.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layerclass.go
> Copy doc.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/doc.go
> Copy layertype.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layertype.go
> Copy parser.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/parser.go
> Copy base.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/base.go
> Copy flows.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/flows.go
> Copy benchmark_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/benchmark_test.go
> Copy afpacket/header.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/afpacket/header.go
> Copy afpacket/afpacket.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/afpacket/afpacket.go
> Copy afpacket/options.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/afpacket/options.go
> Copy afpacket/afpacket_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/afpacket/afpacket_test.go
> Copy examples/pfdump/main.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/examples/pfdump/main.go
> Copy examples/httpassembly/main.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/examples/httpassembly/main.go
> Copy examples/util/util.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/examples/util/util.go
> Copy examples/synscan/main.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/examples/synscan/main.go
> Copy examples/pcapdump/main.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/examples/pcapdump/main.go
> Copy examples/bytediff/main.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/examples/bytediff/main.go
> Copy examples/bidirectional/main.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/examples/bidirectional/main.go
> Copy examples/statsassembly/main.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/examples/statsassembly/main.go
> Copy examples/arpscan/arpscan.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/examples/arpscan/arpscan.go
> Copy tcpassembly/assembly_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/tcpassembly/assembly_test.go
> Copy tcpassembly/assembly.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/tcpassembly/assembly.go
> Copy tcpassembly/tcpreader/reader.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/tcpassembly/tcpreader/reader.go
> Copy tcpassembly/tcpreader/reader_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/tcpassembly/tcpreader/reader_test.go
> Copy layers/usb_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/usb_test.go
> Copy layers/radiotap.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/radiotap.go
> Copy layers/endpoints.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/endpoints.go
> Copy layers/igmp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/igmp.go
> Copy layers/ctp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ctp.go
> Copy layers/icmp6_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/icmp6_test.go
> Copy layers/pppoe.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/pppoe.go
> Copy layers/dot1q.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/dot1q.go
> Copy layers/tcpip_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/tcpip_test.go
> Copy layers/cdp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/cdp.go
> Copy layers/tcpip.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/tcpip.go
> Copy layers/udp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/udp.go
> Copy layers/ip4_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ip4_test.go
> Copy layers/ethernet.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ethernet.go
> Copy layers/linux_sll.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/linux_sll.go
> Copy layers/prism.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/prism.go
> Copy layers/icmp6.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/icmp6.go
> Copy layers/gre.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/gre.go
> Copy layers/gre_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/gre_test.go
> Copy layers/sflow_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/sflow_test.go
> Copy layers/doc.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/doc.go
> Copy layers/ports.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ports.go
> Copy layers/ppp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ppp.go
> Copy layers/ipsec.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ipsec.go
> Copy layers/ip6_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ip6_test.go
> Copy layers/ndp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ndp.go
> Copy layers/rudp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/rudp.go
> Copy layers/icmp4.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/icmp4.go
> Copy layers/decode_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/decode_test.go
> Copy layers/ip6.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ip6.go
> Copy layers/iana_ports.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/iana_ports.go
> Copy layers/usb.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/usb.go
> Copy layers/gen.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/gen.go
> Copy layers/lldp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/lldp.go
> Copy layers/loopback.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/loopback.go
> Copy layers/sctp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/sctp.go
> Copy layers/base_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/base_test.go
> Copy layers/sflow.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/sflow.go
> Copy layers/tcp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/tcp.go
> Copy layers/eap.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/eap.go
> Copy layers/eapol.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/eapol.go
> Copy layers/pflog.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/pflog.go
> Copy layers/udplite.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/udplite.go
> Copy layers/dot11.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/dot11.go
> Copy layers/layertypes.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/layertypes.go
> Copy layers/enums.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/enums.go
> Copy layers/fddi.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/fddi.go
> Copy layers/llc.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/llc.go
> Copy layers/etherip.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/etherip.go
> Copy layers/dot11_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/dot11_test.go
> Copy layers/arp.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/arp.go
> Copy layers/mpls.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/mpls.go
> Copy layers/dns.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/dns.go
> Copy layers/ipsec_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ipsec_test.go
> Copy layers/ip4.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/ip4.go
> Copy layers/base.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/base.go
> Copy layers/prism_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/prism_test.go
> Copy layers/radiotap_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/radiotap_test.go
> Copy layers/udp_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/layers/udp_test.go
> Copy macs/doc.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/macs/doc.go
> Copy macs/gen.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/macs/gen.go
> Copy macs/valid_mac_prefixes.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/macs/valid_mac_prefixes.go
> Copy macs/benchmark_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/macs/benchmark_test.go
> Copy dumpcommand/tcpdump.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/dumpcommand/tcpdump.go
> Copy pcapgo/write.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcapgo/write.go
> Copy pcapgo/write_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcapgo/write_test.go
> Copy pcapgo/read.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcapgo/read.go
> Copy pcapgo/read_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcapgo/read_test.go
> Copy ip4defrag/defrag_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/ip4defrag/defrag_test.go
> Copy ip4defrag/defrag.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/ip4defrag/defrag.go
> Copy bytediff/bytediff_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/bytediff/bytediff_test.go
> Copy bytediff/bytediff.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/bytediff/bytediff.go
> Copy pfring/doc.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pfring/doc.go
> Copy pfring/pfring.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pfring/pfring.go
> Copy routing/routing.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/routing/routing.go
> Copy routing/common.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/routing/common.go
> Copy routing/other.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/routing/other.go
> Copy bsdbpf/bsd_bpf_sniffer.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/bsdbpf/bsd_bpf_sniffer.go
> Copy pcap/pcap_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcap/pcap_test.go
> Copy pcap/doc.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcap/doc.go
> Copy pcap/pcap.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcap/pcap.go
> Copy pcap/pcapgo_test.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcap/pcapgo_test.go
> Copy pcap/pcap_tester.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcap/pcap_tester.go
> Copy pcap/gopacket_benchmark/benchmark.go ->
> obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcap/gopacket_benchmark/benchmark.go
> rm -rf obj-*/src/github.com/google/gopacket/examples
> obj-*/src/github.com/google/gopacket/pcap/gopacket_benchmark
> # Copy test files to build dir
> cp pcap/*.pcap obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcap/
> make[1]: Leaving directory '/«PKGBUILDDIR»'
> dh_auto_build -O--buildsystem=golang
> cd obj-x86_64-linux-gnu
> go install -v github.com/google/gopacket
> github.com/google/gopacket/afpacket github.com/google/gopacket/bytediff
> github.com/google/gopacket/dumpcommand github.com/google/gopacket/ip4defrag
> github.com/google/gopacket/layers github.com/google/gopacket/macs
> github.com/google/gopacket/pcap github.com/google/gopacket/pcapgo
> github.com/google/gopacket/pfring github.com/google/gopacket/routing
> github.com/google/gopacket/tcpassembly
> github.com/google/gopacket/tcpassembly/tcpreader
> github.com/google/gopacket
> github.com/google/gopacket/bytediff
> github.com/google/gopacket/macs
> github.com/google/gopacket/pfring
> github.com/google/gopacket/routing
> github.com/google/gopacket/afpacket
> github.com/google/gopacket/layers
> github.com/google/gopacket/pcap
> github.com/google/gopacket/ip4defrag
> github.com/google/gopacket/pcapgo
> github.com/google/gopacket/tcpassembly
> github.com/google/gopacket/dumpcommand
> github.com/google/gopacket/tcpassembly/tcpreader
> cd /«PKGBUILDDIR»
> dh_auto_test -O--buildsystem=golang
> cd obj-x86_64-linux-gnu
> go test -v github.com/google/gopacket
> github.com/google/gopacket/afpacket github.com/google/gopacket/bytediff
> github.com/google/gopacket/dumpcommand github.com/google/gopacket/ip4defrag
> github.com/google/gopacket/layers github.com/google/gopacket/macs
> github.com/google/gopacket/pcap github.com/google/gopacket/pcapgo
> github.com/google/gopacket/pfring github.com/google/gopacket/routing
> github.com/google/gopacket/tcpassembly
> github.com/google/gopacket/tcpassembly/tcpreader
> === RUN TestExponentialSizeIncreasePrepend
> --- PASS: TestExponentialSizeIncreasePrepend (0.00s)
> === RUN TestExponentialSizeIncreaseAppend
> --- PASS: TestExponentialSizeIncreaseAppend (0.00s)
> === RUN ExampleSerializeBuffer
> --- PASS: ExampleSerializeBuffer (0.00s)
> PASS
> ok github.com/google/gopacket 0.009s
> === RUN TestParseOptions
> --- PASS: TestParseOptions (0.00s)
> afpacket_test.go:32: got: afpacket.options{frameSize:4096,
> framesPerBlock:0, blockSize:2, numBlocks:128, blockTimeout:64000000,
> version:-1, socktype:3, iface:""}
> err: block size 2 must be divisible by page size 4096
> afpacket_test.go:32: got: afpacket.options{frameSize:333,
> framesPerBlock:0, blockSize:524288, numBlocks:128, blockTimeout:64000000,
> version:-1, socktype:3, iface:""}
> err: block size 524288 must be divisible by frame size 333
> afpacket_test.go:32: got: afpacket.options{frameSize:4096,
> framesPerBlock:0, blockSize:524288, numBlocks:128, blockTimeout:64000000,
> version:-3, socktype:3, iface:""}
> err: tpacket version InvalidVersion is invalid
> afpacket_test.go:32: got: afpacket.options{frameSize:4096,
> framesPerBlock:0, blockSize:524288, numBlocks:128, blockTimeout:64000000,
> version:5, socktype:3, iface:""}
> err: tpacket version InvalidVersion is invalid
> afpacket_test.go:32: got: afpacket.options{frameSize:1024,
> framesPerBlock:512, blockSize:524288, numBlocks:128, blockTimeout:64000000,
> version:-1, socktype:3, iface:""}
> err: <nil>
> PASS
> ok github.com/google/gopacket/afpacket 0.003s
> === RUN TestLCS
> --- PASS: TestLCS (0.00s)
> === RUN TestDiff
> --- PASS: TestDiff (0.00s)
> PASS
> ok github.com/google/gopacket/bytediff 0.010s
> ? github.com/google/gopacket/dumpcommand [no test files]
> === RUN TestNotFrag
> --- PASS: TestNotFrag (0.00s)
> === RUN TestDefragPing1
> --- PASS: TestDefragPing1 (0.00s)
> === RUN TestDefragPing1and2
> --- PASS: TestDefragPing1and2 (0.00s)
> === RUN TestDefragPingTooMuch
> --- PASS: TestDefragPingTooMuch (0.00s)
> PASS
> ok github.com/google/gopacket/ip4defrag 0.368s
> === RUN TestFlowMapKey
> --- PASS: TestFlowMapKey (0.00s)
> === RUN TestDecodeSimpleTCPPacket
> --- PASS: TestDecodeSimpleTCPPacket (0.00s)
> === RUN TestDecodeSmallTCPPacketHasEmptyPayload
> --- PASS: TestDecodeSmallTCPPacketHasEmptyPayload (0.00s)
> === RUN TestDecodeVLANPacket
> --- PASS: TestDecodeVLANPacket (0.00s)
> decode_test.go:504: Layer 0:
> &layers.Ethernet{BaseLayer:layers.BaseLayer{Contents:[]uint8{0x0, 0x10, 0xdb,
> 0xff, 0x10, 0x0, 0x0, 0x15, 0x2c, 0x9d, 0xcc, 0x0, 0x81, 0x0},
> Payload:[]uint8{0x1, 0xf7, 0x8, 0x0, 0x45, 0x0, 0x0, 0x28, 0x29, 0x8d, 0x40,
> 0x0, 0x7d, 0x6, 0x83, 0xa0, 0xac, 0x1b, 0xca, 0x8e, 0x45, 0x16, 0x94, 0xe2,
> 0xd4, 0xa, 0x0, 0x50, 0xdf, 0xab, 0x9c, 0xc6, 0xcd, 0x1e, 0xe5, 0xd1, 0x50,
> 0x10, 0x1, 0x0, 0x5a, 0x74, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}},
> SrcMAC:net.HardwareAddr{0x0, 0x15, 0x2c, 0x9d, 0xcc, 0x0},
> DstMAC:net.HardwareAddr{0x0, 0x10, 0xdb, 0xff, 0x10, 0x0},
> EthernetType:0x8100, Length:0x0}
> decode_test.go:504: Layer 1:
> &layers.Dot1Q{BaseLayer:layers.BaseLayer{Contents:[]uint8{0x1, 0xf7, 0x8,
> 0x0}, Payload:[]uint8{0x45, 0x0, 0x0, 0x28, 0x29, 0x8d, 0x40, 0x0, 0x7d, 0x6,
> 0x83, 0xa0, 0xac, 0x1b, 0xca, 0x8e, 0x45, 0x16, 0x94, 0xe2, 0xd4, 0xa, 0x0,
> 0x50, 0xdf, 0xab, 0x9c, 0xc6, 0xcd, 0x1e, 0xe5, 0xd1, 0x50, 0x10, 0x1, 0x0,
> 0x5a, 0x74, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}, Priority:0x0,
> DropEligible:false, VLANIdentifier:0x1f7, Type:0x800}
> decode_test.go:504: Layer 2:
> &layers.IPv4{BaseLayer:layers.BaseLayer{Contents:[]uint8{0x45, 0x0, 0x0,
> 0x28, 0x29, 0x8d, 0x40, 0x0, 0x7d, 0x6, 0x83, 0xa0, 0xac, 0x1b, 0xca, 0x8e,
> 0x45, 0x16, 0x94, 0xe2}, Payload:[]uint8{0xd4, 0xa, 0x0, 0x50, 0xdf, 0xab,
> 0x9c, 0xc6, 0xcd, 0x1e, 0xe5, 0xd1, 0x50, 0x10, 0x1, 0x0, 0x5a, 0x74, 0x0,
> 0x0}}, Version:0x4, IHL:0x5, TOS:0x0, Length:0x28, Id:0x298d, Flags:0x2,
> FragOffset:0x0, TTL:0x7d, Protocol:0x6, Checksum:0x83a0, SrcIP:net.IP{0xac,
> 0x1b, 0xca, 0x8e}, DstIP:net.IP{0x45, 0x16, 0x94, 0xe2},
> Options:[]layers.IPv4Option(nil), Padding:[]uint8(nil)}
> decode_test.go:504: Layer 3:
> &layers.TCP{BaseLayer:layers.BaseLayer{Contents:[]uint8{0xd4, 0xa, 0x0, 0x50,
> 0xdf, 0xab, 0x9c, 0xc6, 0xcd, 0x1e, 0xe5, 0xd1, 0x50, 0x10, 0x1, 0x0, 0x5a,
> 0x74, 0x0, 0x0}, Payload:[]uint8{}}, SrcPort:0xd40a, DstPort:0x50,
> Seq:0xdfab9cc6, Ack:0xcd1ee5d1, DataOffset:0x5, FIN:false, SYN:false,
> RST:false, PSH:false, ACK:true, URG:false, ECE:false, CWR:false, NS:false,
> Window:0x100, Checksum:0x5a74, Urgent:0x0, sPort:[]uint8{0xd4, 0xa},
> dPort:[]uint8{0x0, 0x50}, Options:[]layers.TCPOption{}, Padding:[]uint8(nil),
> opts:[4]layers.TCPOption{layers.TCPOption{OptionType:0x0, OptionLength:0x0,
> OptionData:[]uint8(nil)}, layers.TCPOption{OptionType:0x0, OptionLength:0x0,
> OptionData:[]uint8(nil)}, layers.TCPOption{OptionType:0x0, OptionLength:0x0,
> OptionData:[]uint8(nil)}, layers.TCPOption{OptionType:0x0, OptionLength:0x0,
> OptionData:[]uint8(nil)}},
> tcpipchecksum:layers.tcpipchecksum{pseudoheader:layers.tcpipPseudoHeader(nil)}}
> base_test.go:25: Checking packet layers, want [Ethernet Dot1Q IPv4 TCP]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 50 bytes
> base_test.go:28: Got layer Dot1Q, 4 bytes, payload of 46 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 20 bytes
> base_test.go:28: Got layer TCP, 20 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestDecodeSCTPPackets
> --- PASS: TestDecodeSCTPPackets (0.00s)
> === RUN TestDecodeCiscoDiscovery
> --- PASS: TestDecodeCiscoDiscovery (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet LLC SNAP
> CiscoDiscovery CiscoDiscoveryInfo]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 451 bytes
> base_test.go:28: Got layer LLC, 3 bytes, payload of 448 bytes
> base_test.go:28: Got layer SNAP, 5 bytes, payload of 443 bytes
> base_test.go:28: Got layer CiscoDiscovery, 4 bytes, payload of 439
> bytes
> base_test.go:28: Got layer CiscoDiscoveryInfo, 439 bytes, payload of
> 0 bytes
> base_test.go:30: PACKET: 465 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..451..] SrcMAC=00:0b:be:18:9a:41 DstMAC=01:00:0c:cc:cc:cc
> EthernetType=LLC Length=451}
> - Layer 2 (03 bytes) = LLC {Contents=[170, 170, 3]
> Payload=[..448..] DSAP=170 IG=false SSAP=170 CR=false Control=3}
> - Layer 3 (05 bytes) = SNAP {Contents=[..5..]
> Payload=[..443..] OrganizationalCode=[0, 0, 12] Type=CiscoDiscovery}
> - Layer 4 (04 bytes) = CiscoDiscovery {Contents=[2, 180, 9,
> 160] Payload=[..439..] Version=2 TTL=180 Checksum=2464 Values=[..13..]}
> - Layer 5 (439 bytes) = CiscoDiscoveryInfo
> {Contents=[..439..] Payload=[] OUI=[0, 0, 12] ProtocolID=274
> ClusterMaster=0.0.0.0 Unknown1=255.255.255.255 Version=1 SubVersion=2
> Status=32 Unknown2=255 ClusterCommander=00:00:00:00:00:00
> SwitchMAC=00:0b:be:18:9a:40 Unknown3=255 ManagementVLAN=0 DeviceID=myswitch
> Addresses=[192.168.0.253] PortID=FastEthernet0/1 Capabilities={
> L3Router=false TBBridge=false SPBridge=false L2Switch=true IsHost=false
> IGMPFilter=true L1Repeater=false IsPhone=false RemotelyManaged=false}
> Version=Cisco Internetwork Operating System Software
> IOS (tm) C2950 Software (C2950-I6K2L2Q4-M), Version
> 12.1(22)EA14, RELEASE SOFTWARE (fc1)
> Technical Support: http://www.cisco.com/techsupport
> Copyright (c) 1986-2010 by cisco Systems, Inc.
> Compiled Tue 26-Oct-10 10:35 by nburra Platform=cisco
> WS-C2950-12 IPPrefixes=[] VTPDomain=MYDOMAIN NativeVLAN=1 FullDuplex=true
> VLANReply={ ID=0 VLAN=0} VLANQuery={ ID=0 VLAN=0} PowerConsumption=0 MTU=0
> ExtendedTrust=0 UntrustedCOS=0 SysName= SysOID= MgmtAddresses=[192.168.0.253]
> Location={ Type=0 Location=} PowerRequest={ ID=0 MgmtID=0 Values=[]}
> PowerAvailable={ ID=0 MgmtID=0 Values=[]} SparePairPoe={ PSEFourWire=false
> PDArchShared=false PDRequestOn=false PSEOn=false} EnergyWise={
> EncryptedData=[] Unknown1=0 SequenceNumber=0 ModelNumber= Unknown2=0
> HardwareID= SerialNum= Unknown3=[] Role= Domain= Name= ReplyUnknown1=[]
> ReplyPort=[] ReplyAddress=[] ReplyUnknown2=[] ReplyUnknown3=[]} Unknown=[]}
>
> === RUN TestDecodeLinkLayerDiscovery
> --- PASS: TestDecodeLinkLayerDiscovery (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet
> LinkLayerDiscovery LinkLayerDiscoveryInfo]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 249 bytes
> base_test.go:28: Got layer LinkLayerDiscovery, 249 bytes, payload of
> 0 bytes
> base_test.go:28: Got layer LinkLayerDiscoveryInfo, 0 bytes, payload
> of 0 bytes
> base_test.go:30: PACKET: 263 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..249..] SrcMAC=00:01:30:f9:ad:a0 DstMAC=01:80:c2:00:00:0e
> EthernetType=LinkLayerDiscovery Length=0}
> - Layer 2 (249 bytes) = LinkLayerDiscovery
> {Contents=[..249..] Payload=[] ChassisID={ Subtype=MAC Address ID=[..6..]}
> PortID={ Subtype=Interface Name ID=[49, 47, 49]} TTL=120 Values=[..13..]}
> - Layer 3 (00 bytes) = LinkLayerDiscoveryInfo {Contents=[]
> Payload=[] PortDescription=Summit300-48-Port 1001 SysName=Summit300-48
> SysDescription=Summit300-48 - Version 7.4e.1 (Build 5) by Release_Master
> 05/27/05 04:53:11 SysCapabilities={ SystemCap={ Other=false Repeater=false
> Bridge=true WLANAP=false Router=true Phone=false DocSis=false
> StationOnly=false CVLAN=false SVLAN=false TMPR=false} EnabledCap={
> Other=false Repeater=false Bridge=true WLANAP=false Router=true Phone=false
> DocSis=false StationOnly=false CVLAN=false SVLAN=false TMPR=false}}
> MgmtAddress={ Subtype=802 media plus Ethernet 'canonical format'
> Address=[..6..] InterfaceSubtype=IfIndex InterfaceNumber=1001 OID=}
> OrgTLVs=[..8..] Unknown=[]}
>
> base_test.go:25: Checking packet layers, want [Ethernet
> LinkLayerDiscovery LinkLayerDiscoveryInfo]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 254 bytes
> base_test.go:28: Got layer LinkLayerDiscovery, 254 bytes, payload of
> 0 bytes
> base_test.go:28: Got layer LinkLayerDiscoveryInfo, 0 bytes, payload
> of 0 bytes
> base_test.go:30: PACKET: 268 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..254..] SrcMAC=00:13:21:57:ca:7f DstMAC=01:80:c2:00:00:0e
> EthernetType=LinkLayerDiscovery Length=0}
> - Layer 2 (254 bytes) = LinkLayerDiscovery
> {Contents=[..254..] Payload=[] ChassisID={ Subtype=MAC Address ID=[..6..]}
> PortID={ Subtype=Local ID=[49]} TTL=120 Values=[..10..]}
> - Layer 3 (00 bytes) = LinkLayerDiscoveryInfo {Contents=[]
> Payload=[] PortDescription=1 SysName=ProCurve Switch 2600-8-PWR
> SysDescription=ProCurve J8762A Switch 2600-8-PWR, revision H.08.89, ROM
> H.08.5X (/sw/code/build/fish(ts_08_5)) SysCapabilities={ SystemCap={
> Other=false Repeater=false Bridge=true WLANAP=false Router=true Phone=false
> DocSis=false StationOnly=false CVLAN=false SVLAN=false TMPR=false}
> EnabledCap={ Other=false Repeater=false Bridge=true WLANAP=false Router=false
> Phone=false DocSis=false StationOnly=false CVLAN=false SVLAN=false
> TMPR=false}} MgmtAddress={ Subtype=IPv4 Address=[15, 255, 122, 148]
> InterfaceSubtype=IfIndex InterfaceNumber=0 OID=} OrgTLVs=[..5..] Unknown=[]}
>
> === RUN TestDecodeNortelDiscovery
> --- PASS: TestDecodeNortelDiscovery (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet LLC SNAP
> NortelDiscovery]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 19 bytes
> base_test.go:28: Got layer LLC, 3 bytes, payload of 16 bytes
> base_test.go:28: Got layer SNAP, 5 bytes, payload of 11 bytes
> base_test.go:28: Got layer NortelDiscovery, 0 bytes, payload of 0
> bytes
> base_test.go:30: PACKET: 60 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..19..] SrcMAC=00:04:38:e0:cc:de DstMAC=01:00:81:00:01:00
> EthernetType=LLC Length=19}
> - Layer 2 (03 bytes) = LLC {Contents=[170, 170, 3]
> Payload=[..16..] DSAP=170 IG=false SSAP=170 CR=false Control=3}
> - Layer 3 (05 bytes) = SNAP {Contents=[..5..]
> Payload=[..11..] OrganizationalCode=[0, 0, 129] Type=NortelDiscovery}
> - Layer 4 (00 bytes) = NortelDiscovery {Contents=[] Payload=[]
> IPAddress=172.19.88.3 SegmentID=[0, 4, 21] Chassis=BayStack 450 10/100/1000
> Switches Backplane=Ethernet, Fast Ethernet and Gigabit Ethernet
> State=Heartbeat NumLinks=0}
>
> === RUN TestDecodeIPv6Jumbogram
> --- PASS: TestDecodeIPv6Jumbogram (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv6
> IPv6HopByHop TCP Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 70040 bytes
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 70000 bytes
> base_test.go:28: Got layer IPv6HopByHop, 8 bytes, payload of 69992
> bytes
> base_test.go:28: Got layer TCP, 20 bytes, payload of 69972 bytes
> base_test.go:28: Got layer Payload, 69972 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> base_test.go:25: Checking packet layers, want [Ethernet IPv6
> IPv6HopByHop TCP Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 70039 bytes
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 69999 bytes
> base_test.go:28: Got layer IPv6HopByHop, 8 bytes, payload of 69991
> bytes
> base_test.go:28: Got layer TCP, 20 bytes, payload of 69971 bytes
> base_test.go:28: Got layer Payload, 69971 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestDecodeUDPPacketTooSmall
> --- PASS: TestDecodeUDPPacketTooSmall (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet Dot1Q IPv4 UDP
> Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 56 bytes
> base_test.go:28: Got layer Dot1Q, 4 bytes, payload of 52 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 32 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 24 bytes
> base_test.go:28: Got layer Payload, 24 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestDecodingLayerParserFullTCPPacket
> --- PASS: TestDecodingLayerParserFullTCPPacket (0.00s)
> === RUN TestICMP
> --- PASS: TestICMP (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 ICMPv4
> Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 56 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 36 bytes
> base_test.go:28: Got layer ICMPv4, 8 bytes, payload of 28 bytes
> base_test.go:28: Got layer Payload, 28 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 70 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..56..] SrcMAC=00:1f:ca:b3:75:c0 DstMAC=24:be:05:27:0b:17
> EthernetType=IPv4 Length=0}
> - Layer 2 (20 bytes) = IPv4 {Contents=[..20..]
> Payload=[..36..] Version=4 IHL=5 TOS=0 Length=56 Id=0 Flags= FragOffset=0
> TTL=252 Protocol=ICMPv4 Checksum=55207 SrcIP=72.14.222.226 DstIP=172.29.20.15
> Options=[] Padding=[]}
> - Layer 3 (08 bytes) = ICMPv4 {Contents=[..8..]
> Payload=[..28..] TypeCode=DestinationUnreachable(CommAdminProhibited)
> Checksum=37998 Id=0 Seq=0}
> - Layer 4 (28 bytes) = Payload 28 byte(s)
>
> === RUN TestICMP6
> --- PASS: TestICMP6 (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv6 ICMPv6
> Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 72 bytes
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 32 bytes
> base_test.go:28: Got layer ICMPv6, 8 bytes, payload of 24 bytes
> base_test.go:28: Got layer Payload, 24 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestMPLS
> --- PASS: TestMPLS (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet MPLS IPv4
> ICMPv4 Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 104 bytes
> base_test.go:28: Got layer MPLS, 4 bytes, payload of 100 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 80 bytes
> base_test.go:28: Got layer ICMPv4, 8 bytes, payload of 72 bytes
> base_test.go:28: Got layer Payload, 72 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 118 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..104..] SrcMAC=00:30:96:05:28:38 DstMAC=00:30:96:e6:fc:39
> EthernetType=MPLSUnicast Length=0}
> - Layer 2 (04 bytes) = MPLS {Contents=[0, 1, 209, 255]
> Payload=[..100..] Label=29 TrafficClass=0 StackBottom=true TTL=255}
> - Layer 3 (20 bytes) = IPv4 {Contents=[..20..]
> Payload=[..80..] Version=4 IHL=5 TOS=0 Length=100 Id=11 Flags= FragOffset=0
> TTL=255 Protocol=ICMPv4 Checksum=42345 SrcIP=10.1.2.1 DstIP=10.34.0.1
> Options=[] Padding=[]}
> - Layer 4 (08 bytes) = ICMPv4 {Contents=[..8..]
> Payload=[..72..] TypeCode=EchoRequest(0) Checksum=14966 Id=2618 Seq=1579}
> - Layer 5 (72 bytes) = Payload 72 byte(s)
>
> === RUN TestPPPoE_ICMPv6
> --- PASS: TestPPPoE_ICMPv6 (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet PPPoE PPP IPv6
> ICMPv6 Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 72 bytes
> base_test.go:28: Got layer PPPoE, 6 bytes, payload of 66 bytes
> base_test.go:28: Got layer PPP, 2 bytes, payload of 64 bytes
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 24 bytes
> base_test.go:28: Got layer ICMPv6, 8 bytes, payload of 16 bytes
> base_test.go:28: Got layer Payload, 16 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestPFLog_UDP
> --- PASS: TestPFLog_UDP (0.00s)
> base_test.go:25: Checking packet layers, want [PFLog IPv4 UDP Payload]
> base_test.go:28: Got layer PFLog, 64 bytes, payload of 44 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 24 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 16 bytes
> base_test.go:28: Got layer Payload, 16 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestRegressionDot1QPriority
> --- PASS: TestRegressionDot1QPriority (0.00s)
> === RUN TestPacketMPLSInMPLS
> --- PASS: TestPacketMPLSInMPLS (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet MPLS MPLS IPv4
> ICMPv4 Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 108 bytes
> base_test.go:28: Got layer MPLS, 4 bytes, payload of 104 bytes
> base_test.go:28: Got layer MPLS, 4 bytes, payload of 100 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 80 bytes
> base_test.go:28: Got layer ICMPv4, 8 bytes, payload of 72 bytes
> base_test.go:28: Got layer Payload, 72 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 122 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..108..] SrcMAC=00:30:96:05:28:38 DstMAC=00:30:96:e6:fc:39
> EthernetType=MPLSUnicast Length=0}
> - Layer 2 (04 bytes) = MPLS {Contents=[0, 1, 32, 255]
> Payload=[..104..] Label=18 TrafficClass=0 StackBottom=false TTL=255}
> - Layer 3 (04 bytes) = MPLS {Contents=[0, 1, 1, 255]
> Payload=[..100..] Label=16 TrafficClass=0 StackBottom=true TTL=255}
> - Layer 4 (20 bytes) = IPv4 {Contents=[..20..]
> Payload=[..80..] Version=4 IHL=5 TOS=0 Length=100 Id=80 Flags= FragOffset=0
> TTL=255 Protocol=ICMPv4 Checksum=42758 SrcIP=10.31.0.1 DstIP=10.34.0.1
> Options=[] Padding=[]}
> - Layer 5 (08 bytes) = ICMPv4 {Contents=[..8..]
> Payload=[..72..] TypeCode=EchoRequest(0) Checksum=48401 Id=3941 Seq=4768}
> - Layer 6 (72 bytes) = Payload 72 byte(s)
>
> === RUN TestPacketIPv4Fragmented
> --- PASS: TestPacketIPv4Fragmented (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 Fragment]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 56 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 36 bytes
> base_test.go:28: Got layer Fragment, 36 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 70 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..56..] SrcMAC=00:40:33:d9:7c:fd DstMAC=00:00:39:cf:d9:cd
> EthernetType=IPv4 Length=0}
> - Layer 2 (20 bytes) = IPv4 {Contents=[..20..]
> Payload=[..36..] Version=4 IHL=5 TOS=0 Length=56 Id=242 Flags=MF FragOffset=0
> TTL=64 Protocol=UDP Checksum=44855 SrcIP=10.1.1.1 DstIP=129.111.30.27
> Options=[] Padding=[]}
> - Layer 3 (36 bytes) = Fragment 36 byte(s)
>
> === RUN TestPacketDNSRegression
> --- PASS: TestPacketDNSRegression (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 UDP DNS]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 68 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 48 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 40 bytes
> base_test.go:28: Got layer DNS, 40 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestParseDNSTypeTXT
> --- PASS: TestParseDNSTypeTXT (0.00s)
> base_test.go:25: Checking packet layers, want [Loopback IPv4 UDP DNS]
> base_test.go:28: Got layer Loopback, 4 bytes, payload of 115 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 95 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 87 bytes
> base_test.go:28: Got layer DNS, 87 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestPacketDot11CtrlCTS
> --- PASS: TestPacketDot11CtrlCTS (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11]
> base_test.go:28: Got layer RadioTap, 25 bytes, payload of 14 bytes
> base_test.go:28: Got layer Dot11, 10 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 39 bytes
> - Layer 1 (25 bytes) = RadioTap {Contents=[..25..]
> Payload=[..14..] Version=0 Length=25 Present=2159 TSFT=20604983
> Flags=SHORT-PREAMBLE,FCS Rate=24 Mb/s ChannelFrequency=5240 MHz
> ChannelFlags=OFDM,Ghz5 FHSS=0 DBMAntennaSignal=-79 DBMAntennaNoise=-92
> LockQuality=0 TxAttenuation=0 DBTxAttenuation=0 DBMTxPower=0 Antenna=1
> DBAntennaSignal=0 DBAntennaNoise=0 RxFlags= TxFlags= RtsRetries=0
> DataRetries=0 MCS= AMPDUStatus=ref#0 VHT=}
> - Layer 2 (10 bytes) = Dot11 {Contents=[..10..] Payload=[]
> Type=CtrlCTS Proto=0 Flags= DurationID=148 Address1=d8:a2:5e:97:61:c1
> Address2= Address3= Address4= SequenceNumber=0 FragmentNumber=0
> Checksum=2392150070}
>
> === RUN TestPacketDot11MgmtBeacon
> --- PASS: TestPacketDot11MgmtBeacon (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11
> Dot11MgmtBeacon Dot11InformationElement Dot11InformationElement
> Dot11InformationElement Dot11InformationElement Dot11InformationElement
> Dot11InformationElement Dot11InformationElement Dot11InformationElement
> Dot11InformationElement Dot11InformationElement Dot11InformationElement
> Dot11InformationElement]
> base_test.go:28: Got layer RadioTap, 18 bytes, payload of 221 bytes
> base_test.go:28: Got layer Dot11, 24 bytes, payload of 193 bytes
> base_test.go:28: Got layer Dot11MgmtBeacon, 193 bytes, payload of 181
> bytes
> base_test.go:28: Got layer Dot11InformationElement, 5 bytes, payload
> of 176 bytes
> base_test.go:28: Got layer Dot11InformationElement, 10 bytes, payload
> of 166 bytes
> base_test.go:28: Got layer Dot11InformationElement, 3 bytes, payload
> of 163 bytes
> base_test.go:28: Got layer Dot11InformationElement, 6 bytes, payload
> of 157 bytes
> base_test.go:28: Got layer Dot11InformationElement, 3 bytes, payload
> of 154 bytes
> base_test.go:28: Got layer Dot11InformationElement, 26 bytes, payload
> of 128 bytes
> base_test.go:28: Got layer Dot11InformationElement, 32 bytes, payload
> of 96 bytes
> base_test.go:28: Got layer Dot11InformationElement, 28 bytes, payload
> of 68 bytes
> base_test.go:28: Got layer Dot11InformationElement, 28 bytes, payload
> of 40 bytes
> base_test.go:28: Got layer Dot11InformationElement, 24 bytes, payload
> of 16 bytes
> base_test.go:28: Got layer Dot11InformationElement, 6 bytes, payload
> of 10 bytes
> base_test.go:28: Got layer Dot11InformationElement, 10 bytes, payload
> of 0 bytes
> base_test.go:30: PACKET: 239 bytes
> - Layer 1 (18 bytes) = RadioTap {Contents=[..18..]
> Payload=[..221..] Version=0 Length=18 Present=18478 TSFT=0 Flags=FCS Rate=6
> Mb/s ChannelFrequency=2412 MHz ChannelFlags=OFDM,Ghz2 FHSS=0
> DBMAntennaSignal=-81 DBMAntennaNoise=0 LockQuality=0 TxAttenuation=0
> DBTxAttenuation=0 DBMTxPower=0 Antenna=5 DBAntennaSignal=0 DBAntennaNoise=0
> RxFlags= TxFlags= RtsRetries=0 DataRetries=0 MCS= AMPDUStatus=ref#0 VHT=}
> - Layer 2 (24 bytes) = Dot11 {Contents=[..24..]
> Payload=[..193..] Type=MgmtBeacon Proto=0 Flags= DurationID=0
> Address1=ff:ff:ff:ff:ff:ff Address2=c0:8a:de:01:11:b8
> Address3=c0:8a:de:01:11:b8 Address4= SequenceNumber=607 FragmentNumber=48
> Checksum=361761684}
> - Layer 3 (193 bytes) = Dot11MgmtBeacon {Contents=[..193..]
> Payload=[..181..] Timestamp=84761702784 Interval=100 Flags=1057}
> - Layer 4 (05 bytes) = Dot11InformationElement 802.11
> Information Element (SSID: Wi2)
> - Layer 5 (10 bytes) = Dot11InformationElement 802.11
> Information Element (Rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0 Mbit)
> - Layer 6 (03 bytes) = Dot11InformationElement 802.11
> Information Element (ID: DSset, Length: 1, Info: 01)
> - Layer 7 (06 bytes) = Dot11InformationElement 802.11
> Information Element (ID: TIM, Length: 4, Info: 00010000)
> - Layer 8 (03 bytes) = Dot11InformationElement 802.11
> Information Element (ID: ERPinfo, Length: 1, Info: 00)
> - Layer 9 (26 bytes) = Dot11InformationElement 802.11
> Information Element (Vendor: ID: Vendor, Length: 24, OUI: 0050F202, Info:
> 0101810007A4000023A4000042435E0062322F00)
> - Layer 10 (32 bytes) = Dot11InformationElement 802.11
> Information Element (Vendor: ID: Vendor, Length: 30, OUI: 00904C33, Info:
> 8C011BFFFF000000000000000000001000000000000000000000)
> - Layer 11 (28 bytes) = Dot11InformationElement 802.11
> Information Element (ID: Unknown information element id, Length: 26, Info:
> 8C011BFFFF000000000000000000001000000000000000000000)
> - Layer 12 (28 bytes) = Dot11InformationElement 802.11
> Information Element (Vendor: ID: Vendor, Length: 26, OUI: 00904C34, Info:
> 01000000000000000000000000000000000000000000)
> - Layer 13 (24 bytes) = Dot11InformationElement 802.11
> Information Element (ID: Unknown information element id, Length: 22, Info:
> 01000000000000000000000000000000000000000000)
> - Layer 14 (06 bytes) = Dot11InformationElement 802.11
> Information Element (ID: Unknown information element id, Length: 4, Info:
> 00000000)
> - Layer 15 (10 bytes) = Dot11InformationElement 802.11
> Information Element (Vendor: ID: Vendor, Length: 8, OUI: 00139201, Info:
> 00018500)
>
> === RUN TestPacketDot11DataQOSData
> --- PASS: TestPacketDot11DataQOSData (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11
> Dot11DataQOSData Dot11Data LLC SNAP ARP]
> base_test.go:28: Got layer RadioTap, 32 bytes, payload of 68 bytes
> base_test.go:28: Got layer Dot11, 24 bytes, payload of 40 bytes
> base_test.go:28: Got layer Dot11DataQOSData, 4 bytes, payload of 36
> bytes
> base_test.go:28: Got layer Dot11Data, 0 bytes, payload of 36 bytes
> base_test.go:28: Got layer LLC, 3 bytes, payload of 33 bytes
> base_test.go:28: Got layer SNAP, 5 bytes, payload of 28 bytes
> base_test.go:28: Got layer ARP, 28 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 96 bytes
> - Layer 1 (32 bytes) = RadioTap {Contents=[..32..]
> Payload=[..68..] Version=0 Length=32 Present=264295 TSFT=638790765
> Flags=SHORT-PREAMBLE,DATAPAD Rate=54 Mb/s ChannelFrequency=0 MHz
> ChannelFlags= FHSS=0 DBMAntennaSignal=-51 DBMAntennaNoise=-96 LockQuality=0
> TxAttenuation=0 DBTxAttenuation=0 DBMTxPower=0 Antenna=2 DBAntennaSignal=0
> DBAntennaNoise=0 RxFlags= TxFlags= RtsRetries=0 DataRetries=0 MCS=
> AMPDUStatus=ref#0 VHT=}
> - Layer 2 (24 bytes) = Dot11 {Contents=[..24..]
> Payload=[..40..] Type=DataQOSData Proto=0 Flags=TO-DS DurationID=44
> Address1=06:03:7f:07:a0:16 Address2=00:19:e3:d3:53:52
> Address3=ff:ff:ff:ff:ff:ff Address4= SequenceNumber=401 FragmentNumber=16
> Checksum=374244451}
> - Layer 3 (04 bytes) = Dot11DataQOSData {Contents=[0, 0, 80,
> 170] Payload=[..36..] TID=0 EOSP=false AckPolicy=normal-ack TXOP=0}
> - Layer 4 (00 bytes) = Dot11Data {Contents=[]
> Payload=[..36..]}
> - Layer 5 (03 bytes) = LLC {Contents=[170, 170, 3]
> Payload=[..33..] DSAP=170 IG=false SSAP=170 CR=false Control=3}
> - Layer 6 (05 bytes) = SNAP {Contents=[..5..]
> Payload=[..28..] OrganizationalCode=[0, 0, 0] Type=ARP}
> - Layer 7 (28 bytes) = ARP {Contents=[..28..] Payload=[]
> AddrType=Ethernet Protocol=IPv4 HwAddressSize=6 ProtAddressSize=4 Operation=1
> SourceHwAddress=[..6..] SourceProtAddress=[169, 254, 247, 0]
> DstHwAddress=[..6..] DstProtAddress=[140, 180, 51, 68]}
>
> === RUN TestPacketDot11MgmtAction
> --- PASS: TestPacketDot11MgmtAction (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11
> Dot11MgmtAction]
> base_test.go:28: Got layer RadioTap, 18 bytes, payload of 35 bytes
> base_test.go:28: Got layer Dot11, 24 bytes, payload of 7 bytes
> base_test.go:28: Got layer Dot11MgmtAction, 7 bytes, payload of 0
> bytes
> base_test.go:30: PACKET: 53 bytes
> - Layer 1 (18 bytes) = RadioTap {Contents=[..18..]
> Payload=[..35..] Version=0 Length=18 Present=18478 TSFT=0 Flags=FCS Rate=1
> Mb/s ChannelFrequency=2412 MHz ChannelFlags=CCK,Ghz2 FHSS=0
> DBMAntennaSignal=-67 DBMAntennaNoise=0 LockQuality=0 TxAttenuation=0
> DBTxAttenuation=0 DBMTxPower=0 Antenna=5 DBAntennaSignal=0 DBAntennaNoise=0
> RxFlags= TxFlags= RtsRetries=0 DataRetries=0 MCS= AMPDUStatus=ref#0 VHT=}
> - Layer 2 (24 bytes) = Dot11 {Contents=[..24..]
> Payload=[..7..] Type=MgmtAction Proto=0 Flags= DurationID=0
> Address1=ff:ff:ff:ff:ff:ff Address2=8e:3a:e3:44:ac:c6
> Address3=8e:3a:e3:44:ac:c6 Address4= SequenceNumber=108 FragmentNumber=0
> Checksum=871381333}
> - Layer 3 (07 bytes) = Dot11MgmtAction {Contents=[..7..]
> Payload=[]}
>
> === RUN TestPacketDot11CtrlAck
> --- PASS: TestPacketDot11CtrlAck (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11]
> base_test.go:28: Got layer RadioTap, 32 bytes, payload of 14 bytes
> base_test.go:28: Got layer Dot11, 10 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 46 bytes
> - Layer 1 (32 bytes) = RadioTap {Contents=[..32..]
> Payload=[..14..] Version=0 Length=32 Present=264295 TSFT=638758038
> Flags=SHORT-PREAMBLE,FCS,DATAPAD Rate=24 Mb/s ChannelFrequency=0 MHz
> ChannelFlags= FHSS=0 DBMAntennaSignal=-39 DBMAntennaNoise=-96 LockQuality=0
> TxAttenuation=0 DBTxAttenuation=0 DBMTxPower=0 Antenna=2 DBAntennaSignal=0
> DBAntennaNoise=0 RxFlags= TxFlags= RtsRetries=0 DataRetries=0 MCS=
> AMPDUStatus=ref#0 VHT=}
> - Layer 2 (10 bytes) = Dot11 {Contents=[..10..] Payload=[]
> Type=CtrlAck Proto=0 Flags= DurationID=0 Address1=00:19:e3:d3:53:52 Address2=
> Address3= Address4= SequenceNumber=0 FragmentNumber=0 Checksum=2272717126}
>
> === RUN TestPacketDot11DataARP
> --- PASS: TestPacketDot11DataARP (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11 Dot11Data
> LLC SNAP ARP]
> base_test.go:28: Got layer RadioTap, 32 bytes, payload of 64 bytes
> base_test.go:28: Got layer Dot11, 24 bytes, payload of 36 bytes
> base_test.go:28: Got layer Dot11Data, 0 bytes, payload of 36 bytes
> base_test.go:28: Got layer LLC, 3 bytes, payload of 33 bytes
> base_test.go:28: Got layer SNAP, 5 bytes, payload of 28 bytes
> base_test.go:28: Got layer ARP, 28 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 92 bytes
> - Layer 1 (32 bytes) = RadioTap {Contents=[..32..]
> Payload=[..64..] Version=0 Length=32 Present=264295 TSFT=622463798
> Flags=SHORT-PREAMBLE,DATAPAD Rate=6 Mb/s ChannelFrequency=0 MHz ChannelFlags=
> FHSS=0 DBMAntennaSignal=-39 DBMAntennaNoise=-96 LockQuality=0 TxAttenuation=0
> DBTxAttenuation=0 DBMTxPower=0 Antenna=2 DBAntennaSignal=0 DBAntennaNoise=0
> RxFlags= TxFlags= RtsRetries=0 DataRetries=0 MCS= AMPDUStatus=ref#0 VHT=}
> - Layer 2 (24 bytes) = Dot11 {Contents=[..24..]
> Payload=[..36..] Type=Data Proto=0 Flags=FROM-DS DurationID=0
> Address1=ff:ff:ff:ff:ff:ff Address2=06:03:7f:07:a0:16
> Address3=00:19:e3:d3:53:52 Address4= SequenceNumber=511 FragmentNumber=32
> Checksum=2997778574}
> - Layer 3 (00 bytes) = Dot11Data {Contents=[]
> Payload=[..36..]}
> - Layer 4 (03 bytes) = LLC {Contents=[170, 170, 3]
> Payload=[..33..] DSAP=170 IG=false SSAP=170 CR=false Control=3}
> - Layer 5 (05 bytes) = SNAP {Contents=[..5..]
> Payload=[..28..] OrganizationalCode=[0, 0, 0] Type=ARP}
> - Layer 6 (28 bytes) = ARP {Contents=[..28..] Payload=[]
> AddrType=Ethernet Protocol=IPv4 HwAddressSize=6 ProtAddressSize=4 Operation=1
> SourceHwAddress=[..6..] SourceProtAddress=[169, 254, 247, 0]
> DstHwAddress=[..6..] DstProtAddress=[67, 8, 14, 54]}
>
> === RUN TestPacketDot11DataIP
> --- PASS: TestPacketDot11DataIP (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11 Dot11Data
> LLC SNAP IPv4 UDP Payload]
> base_test.go:28: Got layer RadioTap, 32 bytes, payload of 364 bytes
> base_test.go:28: Got layer Dot11, 24 bytes, payload of 336 bytes
> base_test.go:28: Got layer Dot11Data, 0 bytes, payload of 336 bytes
> base_test.go:28: Got layer LLC, 3 bytes, payload of 333 bytes
> base_test.go:28: Got layer SNAP, 5 bytes, payload of 328 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 308 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 300 bytes
> base_test.go:28: Got layer Payload, 300 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestPacketP6196
> --- PASS: TestPacketP6196 (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11 Dot11WEP]
> base_test.go:28: Got layer RadioTap, 48 bytes, payload of 143 bytes
> base_test.go:28: Got layer Dot11, 24 bytes, payload of 115 bytes
> base_test.go:28: Got layer Dot11WEP, 115 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 191 bytes
> - Layer 1 (48 bytes) = RadioTap {Contents=[..48..]
> Payload=[..143..] Version=0 Length=48 Present=1837163 TSFT=20605036
> Flags=WEP,FCS Rate=0 Mb/s ChannelFrequency=5240 MHz ChannelFlags=OFDM,Ghz5
> FHSS=0 DBMAntennaSignal=-69 DBMAntennaNoise=-92 LockQuality=0 TxAttenuation=0
> DBTxAttenuation=0 DBMTxPower=0 Antenna=1 DBAntennaSignal=0 DBAntennaNoise=0
> RxFlags= TxFlags= RtsRetries=0 DataRetries=0 MCS=STBC#0,num-of-ESS#0
> AMPDUStatus=ref#40140,delimiter CRC error,delimiter-CRC=30 VHT=}
> - Layer 2 (24 bytes) = Dot11 {Contents=[..24..]
> Payload=[..115..] Type=DataQOSData Proto=0 Flags=TO-DS,WEP DurationID=44
> Address1=00:25:9c:42:c2:62 Address2=d8:a2:5e:97:61:c1
> Address3=00:25:9c:42:c2:5f Address4= SequenceNumber=876 FragmentNumber=16
> Checksum=3402204673}
> - Layer 3 (115 bytes) = Dot11WEP {Contents=[..115..]
> Payload=[]}
>
> === RUN TestInformationElement
> --- PASS: TestInformationElement (0.00s)
> === RUN TestPacketGRE
> --- PASS: TestPacketGRE (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 GRE IPv4
> ICMPv4 Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 108 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 88 bytes
> base_test.go:28: Got layer GRE, 4 bytes, payload of 84 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 64 bytes
> base_test.go:28: Got layer ICMPv4, 8 bytes, payload of 56 bytes
> base_test.go:28: Got layer Payload, 56 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 122 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..108..] SrcMAC=8e:7a:12:c3:a9:71 DstMAC=3a:56:6b:69:59:5e
> EthernetType=IPv4 Length=0}
> - Layer 2 (20 bytes) = IPv4 {Contents=[..20..]
> Payload=[..88..] Version=4 IHL=5 TOS=0 Length=108 Id=33852 Flags=DF
> FragOffset=0 TTL=64 Protocol=GRE Checksum=13011 SrcIP=192.168.1.1
> DstIP=192.168.1.2 Options=[] Padding=[]}
> - Layer 3 (04 bytes) = GRE {Contents=[0, 0, 8, 0]
> Payload=[..84..] ChecksumPresent=false RoutingPresent=false KeyPresent=false
> SeqPresent=false StrictSourceRoute=false RecursionControl=0 Flags=0 Version=0
> Protocol=IPv4 Checksum=0 Offset=0 Key=0 Seq=0nil}
> - Layer 4 (20 bytes) = IPv4 {Contents=[..20..]
> Payload=[..64..] Version=4 IHL=5 TOS=0 Length=84 Id=1160 Flags=DF
> FragOffset=0 TTL=64 Protocol=ICMPv4 Checksum=56062 SrcIP=172.16.1.1
> DstIP=172.16.2.1 Options=[] Padding=[]}
> - Layer 5 (08 bytes) = ICMPv4 {Contents=[..8..]
> Payload=[..56..] TypeCode=EchoRequest(0) Checksum=33476 Id=4724 Seq=1}
> - Layer 6 (56 bytes) = Payload 56 byte(s)
>
> === RUN TestPacketEthernetOverGRE
> --- PASS: TestPacketEthernetOverGRE (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 GRE
> Ethernet IPv4 ICMPv4 Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 122 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 102 bytes
> base_test.go:28: Got layer GRE, 4 bytes, payload of 98 bytes
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 84 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 64 bytes
> base_test.go:28: Got layer ICMPv4, 8 bytes, payload of 56 bytes
> base_test.go:28: Got layer Payload, 56 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 136 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..122..] SrcMAC=d6:b9:d8:80:56:ef DstMAC=ea:6b:4c:d3:55:13
> EthernetType=IPv4 Length=0}
> - Layer 2 (20 bytes) = IPv4 {Contents=[..20..]
> Payload=[..102..] Version=4 IHL=5 TOS=0 Length=122 Id=2765 Flags=DF
> FragOffset=0 TTL=64 Protocol=GRE Checksum=44084 SrcIP=192.168.1.1
> DstIP=192.168.1.2 Options=[] Padding=[]}
> - Layer 3 (04 bytes) = GRE {Contents=[0, 0, 101, 88]
> Payload=[..98..] ChecksumPresent=false RoutingPresent=false KeyPresent=false
> SeqPresent=false StrictSourceRoute=false RecursionControl=0 Flags=0 Version=0
> Protocol=TransparentEthernetBridging Checksum=0 Offset=0 Key=0 Seq=0nil}
> - Layer 4 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..84..] SrcMAC=6e:32:3e:c7:9d:ef DstMAC=aa:6a:36:e6:c6:30
> EthernetType=IPv4 Length=0}
> - Layer 5 (20 bytes) = IPv4 {Contents=[..20..]
> Payload=[..64..] Version=4 IHL=5 TOS=0 Length=84 Id=55664 Flags=DF
> FragOffset=0 TTL=64 Protocol=ICMPv4 Checksum=1813 SrcIP=172.16.1.1
> DstIP=172.16.1.2 Options=[] Padding=[]}
> - Layer 6 (08 bytes) = ICMPv4 {Contents=[..8..]
> Payload=[..56..] TypeCode=EchoRequest(0) Checksum=16149 Id=3842 Seq=1}
> - Layer 7 (56 bytes) = Payload 56 byte(s)
>
> === RUN TestPacketICMPv6
> --- PASS: TestPacketICMPv6 (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv6 ICMPv6
> Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 64 bytes
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 24 bytes
> base_test.go:28: Got layer ICMPv6, 8 bytes, payload of 16 bytes
> base_test.go:28: Got layer Payload, 16 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestGetIPOptLengthNoOpt
> --- PASS: TestGetIPOptLengthNoOpt (0.00s)
> === RUN TestGetIPOptLengthEndOfList
> --- PASS: TestGetIPOptLengthEndOfList (0.00s)
> === RUN TestGetIPOptLengthPaddingEndOfList
> --- PASS: TestGetIPOptLengthPaddingEndOfList (0.00s)
> === RUN TestGetIPOptLengthOptionEndOfList
> --- PASS: TestGetIPOptLengthOptionEndOfList (0.00s)
> === RUN TestSerializeIPv6HeaderTLVOptions
> --- PASS: TestSerializeIPv6HeaderTLVOptions (0.00s)
> === RUN TestPacketIPv6HopByHop0Serialize
> --- PASS: TestPacketIPv6HopByHop0Serialize (0.00s)
> === RUN TestPacketIPv6HopByHop0Decode
> --- PASS: TestPacketIPv6HopByHop0Decode (0.00s)
> base_test.go:25: Checking packet layers, want [IPv6 IPv6HopByHop]
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 8 bytes
> base_test.go:28: Got layer IPv6HopByHop, 8 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestPacketIPv6Destination0Serialize
> --- PASS: TestPacketIPv6Destination0Serialize (0.00s)
> === RUN TestPacketIPv6Destination0Decode
> --- PASS: TestPacketIPv6Destination0Decode (0.00s)
> base_test.go:25: Checking packet layers, want [IPv6 IPv6Destination]
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 8 bytes
> base_test.go:28: Got layer IPv6Destination, 8 bytes, payload of 0
> bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestIPv6JumbogramSerialize
> --- PASS: TestIPv6JumbogramSerialize (0.00s)
> === RUN TestIPv6JumbogramDecode
> --- PASS: TestIPv6JumbogramDecode (0.03s)
> base_test.go:25: Checking packet layers, want [IPv6 IPv6HopByHop
> Payload]
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 65544 bytes
> base_test.go:28: Got layer IPv6HopByHop, 8 bytes, payload of 65536
> bytes
> base_test.go:28: Got layer Payload, 65536 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestPacketIPSecAHTransport
> --- PASS: TestPacketIPSecAHTransport (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 IPSecAH
> ICMPv4 Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 108 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 88 bytes
> base_test.go:28: Got layer IPSecAH, 24 bytes, payload of 64 bytes
> base_test.go:28: Got layer ICMPv4, 8 bytes, payload of 56 bytes
> base_test.go:28: Got layer Payload, 56 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestPacketIPSecAHTunnel
> --- PASS: TestPacketIPSecAHTunnel (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 IPSecAH
> IPv4 ICMPv4 Payload]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 128 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 108 bytes
> base_test.go:28: Got layer IPSecAH, 24 bytes, payload of 84 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 64 bytes
> base_test.go:28: Got layer ICMPv4, 8 bytes, payload of 56 bytes
> base_test.go:28: Got layer Payload, 56 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestPacketIPSecESP
> --- PASS: TestPacketIPSecESP (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 IPSecESP]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 136 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 116 bytes
> base_test.go:28: Got layer IPSecESP, 116 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 150 bytes
> - Layer 1 (14 bytes) = Ethernet {Contents=[..14..]
> Payload=[..136..] SrcMAC=00:11:43:4a:d7:0a DstMAC=00:00:00:00:00:12
> EthernetType=IPv4 Length=0}
> - Layer 2 (20 bytes) = IPv4 {Contents=[..20..]
> Payload=[..116..] Version=4 IHL=5 TOS=0 Length=136 Id=0 Flags=DF FragOffset=0
> TTL=64 Protocol=IPSecESP Checksum=48704 SrcIP=190.0.0.1 DstIP=190.0.0.2
> Options=[] Padding=[]}
> - Layer 3 (116 bytes) = IPSecESP {Contents=[..116..]
> Payload=[] SPI=110 Seq=19 Encrypted=[..108..]}
>
> === RUN TestPacketPrism
> --- PASS: TestPacketPrism (0.00s)
> base_test.go:25: Checking packet layers, want [Prism monitor mode
> header Dot11 Dot11MgmtProbeReq]
> base_test.go:28: Got layer Prism monitor mode header, 144 bytes,
> payload of 126 bytes
> base_test.go:28: Got layer Dot11, 24 bytes, payload of 98 bytes
> base_test.go:28: Got layer Dot11MgmtProbeReq, 98 bytes, payload of 0
> bytes
> base_test.go:30: PACKET: 270 bytes
> - Layer 1 (144 bytes) = Prism monitor mode header
> {Contents=[..144..] Payload=[..126..] Code=68 Length=144 DeviceName=ra0
> Values=[..10..]}
> - Layer 2 (24 bytes) = Dot11 {Contents=[..24..]
> Payload=[..98..] Type=MgmtProbeReq Proto=0 Flags= DurationID=0
> Address1=ff:ff:ff:ff:ff:ff Address2=cc:fa:00:ad:79:e8
> Address3=ff:ff:ff:ff:ff:ff Address4= SequenceNumber=262 FragmentNumber=32
> Checksum=0}
> - Layer 3 (98 bytes) = Dot11MgmtProbeReq
> {Contents=[..98..] Payload=[]}
>
> === RUN TestPacketRadiotap0
> --- PASS: TestPacketRadiotap0 (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11]
> base_test.go:28: Got layer RadioTap, 18 bytes, payload of 14 bytes
> base_test.go:28: Got layer Dot11, 10 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 32 bytes
> - Layer 1 (18 bytes) = RadioTap {Contents=[..18..]
> Payload=[..14..] Version=0 Length=18 Present=18478 TSFT=0 Flags=FCS Rate=1
> Mb/s ChannelFrequency=2412 MHz ChannelFlags=CCK,Ghz2 FHSS=0
> DBMAntennaSignal=-58 DBMAntennaNoise=0 LockQuality=0 TxAttenuation=0
> DBTxAttenuation=0 DBMTxPower=0 Antenna=7 DBAntennaSignal=0 DBAntennaNoise=0
> RxFlags= TxFlags= RtsRetries=0 DataRetries=0 MCS= AMPDUStatus=ref#0 VHT=}
> - Layer 2 (10 bytes) = Dot11 {Contents=[..10..] Payload=[]
> Type=CtrlAck Proto=0 Flags= DurationID=0 Address1=88:1f:a1:ae:9d:cb Address2=
> Address3= Address4= SequenceNumber=0 FragmentNumber=0 Checksum=1263218886}
>
> === RUN TestPacketRadiotap1
> --- PASS: TestPacketRadiotap1 (0.00s)
> base_test.go:25: Checking packet layers, want [RadioTap Dot11]
> base_test.go:28: Got layer RadioTap, 21 bytes, payload of 28 bytes
> base_test.go:28: Got layer Dot11, 24 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 49 bytes
> - Layer 1 (21 bytes) = RadioTap {Contents=[..21..]
> Payload=[..28..] Version=0 Length=21 Present=542762 TSFT=0 Flags=FCS Rate=0
> Mb/s ChannelFrequency=2412 MHz ChannelFlags=Ghz2,Dynamic FHSS=0
> DBMAntennaSignal=-36 DBMAntennaNoise=0 LockQuality=0 TxAttenuation=0
> DBTxAttenuation=0 DBMTxPower=0 Antenna=5 DBAntennaSignal=0 DBAntennaNoise=0
> RxFlags= TxFlags= RtsRetries=0 DataRetries=0 MCS=20,MCSIndex#7,longGI
> AMPDUStatus=ref#0 VHT=}
> - Layer 2 (24 bytes) = Dot11 {Contents=[..24..] Payload=[]
> Type=DataNull Proto=0 Flags=TO-DS,PowerManagement DurationID=44
> Address1=00:3a:9d:aa:f0:19 Address2=1c:ab:a7:f2:13:9d
> Address3=00:3a:9d:aa:f0:19 Address4= SequenceNumber=713 FragmentNumber=48
> Checksum=384936430}
>
> === RUN TestDecodeUDPSFlow
> --- PASS: TestDecodeUDPSFlow (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 UDP SFlow]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 1468 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 1448 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 1440 bytes
> base_test.go:28: Got layer SFlow, 0 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestDecodeSFlowDatagram
> --- PASS: TestDecodeSFlowDatagram (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 UDP SFlow]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 1468 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 1448 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 1440 bytes
> base_test.go:28: Got layer SFlow, 0 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestPacketPacket0
> --- PASS: TestPacketPacket0 (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 UDP SFlow]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 1160 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 1140 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 1132 bytes
> base_test.go:28: Got layer SFlow, 0 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestIPv4UDPChecksum
> --- PASS: TestIPv4UDPChecksum (0.00s)
> base_test.go:25: Checking packet layers, want [IPv4 UDP]
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 8 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestIPv6UDPChecksumWithIPv6DstOpts
> --- PASS: TestIPv6UDPChecksumWithIPv6DstOpts (0.00s)
> base_test.go:25: Checking packet layers, want [IPv6 IPv6Destination UDP]
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 16 bytes
> base_test.go:28: Got layer IPv6Destination, 8 bytes, payload of 8
> bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestIPv6JumbogramUDPChecksum
> --- PASS: TestIPv6JumbogramUDPChecksum (0.03s)
> base_test.go:25: Checking packet layers, want [IPv6 IPv6HopByHop UDP
> Payload]
> base_test.go:28: Got layer IPv6, 40 bytes, payload of 65552 bytes
> base_test.go:28: Got layer IPv6HopByHop, 8 bytes, payload of 65544
> bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 65536 bytes
> base_test.go:28: Got layer Payload, 65536 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestUDPPacketDNS
> --- PASS: TestUDPPacketDNS (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 UDP DNS]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 230 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 210 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 202 bytes
> base_test.go:28: Got layer DNS, 202 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestDNSQueryA
> --- PASS: TestDNSQueryA (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 UDP DNS]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 60 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 40 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 32 bytes
> base_test.go:28: Got layer DNS, 32 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestDNSRRA
> --- PASS: TestDNSRRA (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 UDP DNS]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 292 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 272 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 264 bytes
> base_test.go:28: Got layer DNS, 264 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestDNSAAAA
> --- PASS: TestDNSAAAA (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 UDP DNS]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 224 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 204 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 196 bytes
> base_test.go:28: Got layer DNS, 196 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestDNSMXSOA
> --- PASS: TestDNSMXSOA (0.00s)
> base_test.go:25: Checking packet layers, want [Ethernet IPv4 UDP DNS]
> base_test.go:28: Got layer Ethernet, 14 bytes, payload of 110 bytes
> base_test.go:28: Got layer IPv4, 20 bytes, payload of 90 bytes
> base_test.go:28: Got layer UDP, 8 bytes, payload of 82 bytes
> base_test.go:28: Got layer DNS, 82 bytes, payload of 0 bytes
> base_test.go:30: %!v(PANIC=reflect.Value.Interface: cannot return value
> obtained from unexported field or method)
> === RUN TestDNSDoesNotMalloc
> --- PASS: TestDNSDoesNotMalloc (0.01s)
> === RUN TestPacketUSB0
> --- PASS: TestPacketUSB0 (0.00s)
> base_test.go:25: Checking packet layers, want [USB USBInterrupt]
> base_test.go:28: Got layer USB, 40 bytes, payload of 1 bytes
> base_test.go:28: Got layer USBInterrupt, 1 bytes, payload of 0 bytes
> base_test.go:30: PACKET: 65 bytes
> - Layer 1 (40 bytes) = USB {Contents=[..40..] Payload=[4]
> ID=18446612133308938240 EventType=COMPLETE TransferType=Interrupt
> Direction=In EndpointNumber=1 DeviceAddress=1 BusID=2 TimestampSec=1348195264
> TimestampUsec=689546 Setup=false Data=true Status=0 UrbLength=1
> UrbDataLength=1 UrbInterval=0 UrbStartFrame=0 UrbCopyOfTransferFlags=0
> IsoNumDesc=0}
> - Layer 2 (01 bytes) = USBInterrupt {Contents=[4]
> Payload=[]}
>
> PASS
> ok github.com/google/gopacket/layers 0.254s
> testing: warning: no tests to run
> PASS
> ok github.com/google/gopacket/macs 0.006s
> === RUN TestPcapFileRead
> --- FAIL: TestPcapFileRead (0.00s)
> pcap_test.go:51:
>
>
>
> Processing file test_loopback.pcap
>
>
>
> panic: reflect.Value.Interface: cannot return value obtained from unexported
> field or method [recovered]
> panic: reflect.Value.Interface: cannot return value obtained from
> unexported field or method
>
> goroutine 8 [running]:
> panic(0x5d5260, 0xc821105720)
> /usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6
> testing.tRunner.func1(0xc821116000)
> /usr/lib/go-1.6/src/testing/testing.go:467 +0x192
> panic(0x5d5260, 0xc821105720)
> /usr/lib/go-1.6/src/runtime/panic.go:443 +0x4e9
> reflect.valueInterface(0x637c80, 0xc8211683b0, 0xd9, 0x1, 0x0, 0x0)
> /usr/lib/go-1.6/src/reflect/value.go:919 +0xe7
> reflect.Value.Interface(0x637c80, 0xc8211683b0, 0xd9, 0x0, 0x0)
> /usr/lib/go-1.6/src/reflect/value.go:908 +0x48
> github.com/google/gopacket.layerString(0x683960, 0xc821168280, 0x100, 0x0,
> 0x0)
>
> /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/github.com/google/gopacket/packet.go:270
> +0x99c
> github.com/google/gopacket.layerString(0x67b700, 0xc821124140, 0x670000, 0x0,
> 0x0)
>
> /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/github.com/google/gopacket/packet.go:258
> +0x285
> github.com/google/gopacket.LayerString(0x7f8f5238e2b0, 0xc821124140, 0x0, 0x0)
>
> /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/github.com/google/gopacket/packet.go:207
> +0x97
> github.com/google/gopacket.LayerDump(0x7f8f5238e2b0, 0xc821124140, 0x0, 0x0)
>
> /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/github.com/google/gopacket/packet.go:221
> +0x69
> github.com/google/gopacket.(*packet).packetDump(0xc821124000, 0x0, 0x0)
>
> /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/github.com/google/gopacket/packet.go:412
> +0x2ef
> github.com/google/gopacket.(*eagerPacket).Dump(0xc821124000, 0x0, 0x0)
>
> /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/github.com/google/gopacket/packet.go:482
> +0x34
> github.com/google/gopacket/pcap.TestPcapFileRead(0xc821116000)
>
> /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/github.com/google/gopacket/pcap/pcap_test.go:66
> +0x960
> testing.tRunner(0xc821116000, 0xa2ec60)
> /usr/lib/go-1.6/src/testing/testing.go:473 +0x98
> created by testing.RunTests
> /usr/lib/go-1.6/src/testing/testing.go:582 +0x892
> FAIL github.com/google/gopacket/pcap 0.444s
> === RUN TestCreatePcapReader
> --- PASS: TestCreatePcapReader (0.00s)
> === RUN TestCreatePcapReaderBigEndian
> --- PASS: TestCreatePcapReaderBigEndian (0.00s)
> === RUN TestCreatePcapReaderFail
> --- PASS: TestCreatePcapReaderFail (0.00s)
> === RUN TestPacket
> --- PASS: TestPacket (0.00s)
> === RUN TestPacketNano
> --- PASS: TestPacketNano (0.00s)
> === RUN TestWriteHeader
> --- PASS: TestWriteHeader (0.00s)
> === RUN TestWritePacket
> --- PASS: TestWritePacket (0.00s)
> === RUN TestCaptureInfoErrors
> --- PASS: TestCaptureInfoErrors (0.00s)
> PASS
> ok github.com/google/gopacket/pcapgo 0.511s
> ? github.com/google/gopacket/pfring [no test files]
> ? github.com/google/gopacket/routing [no test files]
> === RUN TestReorder
> --- PASS: TestReorder (0.05s)
> === RUN TestMaxPerSkip
> --- PASS: TestMaxPerSkip (0.03s)
> === RUN TestReorderFast
> --- PASS: TestReorderFast (0.00s)
> === RUN TestOverlap
> --- PASS: TestOverlap (0.00s)
> === RUN TestBufferedOverlap
> --- PASS: TestBufferedOverlap (0.00s)
> === RUN TestOverrun1
> --- PASS: TestOverrun1 (0.00s)
> === RUN TestOverrun2
> --- PASS: TestOverrun2 (0.00s)
> === RUN TestCacheLargePacket
> --- PASS: TestCacheLargePacket (0.03s)
> PASS
> ok github.com/google/gopacket/tcpassembly 0.441s
> === RUN TestRead
> Waiting for read 0
> Assembling 0
> Got read
> Waiting for read 1
> Assembly done
> Assembling 1
> Assembly done
> Got read
> All done reads
> --- PASS: TestRead (0.00s)
> === RUN TestReadSmallChunks
> Waiting for read 0
> Assembling 0
> Got read
> Waiting for read 1
> Got read
> Waiting for read 2
> Assembly done
> Assembling 1
> Assembly done
> Got read
> All done reads
> --- PASS: TestReadSmallChunks (0.02s)
> === RUN ExampleDiscardBytesToEOF
> --- PASS: ExampleDiscardBytesToEOF (0.00s)
> PASS
> ok github.com/google/gopacket/tcpassembly/tcpreader 0.263s
> dh_auto_test: go test -v github.com/google/gopacket
> github.com/google/gopacket/afpacket github.com/google/gopacket/bytediff
> github.com/google/gopacket/dumpcommand github.com/google/gopacket/ip4defrag
> github.com/google/gopacket/layers github.com/google/gopacket/macs
> github.com/google/gopacket/pcap github.com/google/gopacket/pcapgo
> github.com/google/gopacket/pfring github.com/google/gopacket/routing
> github.com/google/gopacket/tcpassembly
> github.com/google/gopacket/tcpassembly/tcpreader returned exit code 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2016/07/07/gopacket_1.1.11-2_unstable_reb.normal.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
--- End Message ---