Testing PullReq against Topology Tests

Build: #394 failed

Job: AddressSanitizer failed

Job result summary

Completed
Duration
39 minutes
Flags
Custom revisionCustom build
Agent
mininet21.lab.netdef.org
Total tests
124

Tests

  • 124 tests in total
  • 1 test failed
  • 1 failure is new
  • 10 tests were quarantined / skipped
  • 32 minutes taken in total.
New test failures 1
Status Test Duration
Collapse Failed test_bgp_vrf_netns_topo test_bgp_vrf_netns History
3 secs
test teardown failure
E   AssertionError: 
    r1: Daemon zebra killed by AddressSanitizer

Error summary

The build generated some errors. See the full build log for more details.

addgroup: The group `frr' already exists as a system group. Exiting.
r1: zebra triggered an exception by AddressSanitizer
ERROR: AddressSanitizer: heap-use-after-free on address 0x621000014100 at pc 0x0000004732a7 bp 0x7ffd39eff230 sp 0x7ffd39eff220
READ of size 8 at 0x621000014100 thread T0
    #0 0x4732a6 in zvrf_id zebra/zebra_vrf.h:163
    #1 0x4732a6 in rib_process zebra/zebra_rib.c:1628
    #2 0x4732a6 in process_subq zebra/zebra_rib.c:2102
    #3 0x4732a6 in meta_queue_process zebra/zebra_rib.c:2206
    #4 0x56a0ea in work_queue_run lib/workqueue.c:284
    #5 0x559f7e in thread_call lib/thread.c:1595
    #6 0x50365c in frr_run lib/libfrr.c:1011
    #7 0x439765 in main zebra/main.c:483
    #8 0x7fc7f854982f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #9 0x41da68 in _start (/usr/lib/frr/zebra+0x41da68)

0x621000014100 is located 0 bytes inside of 4408-byte region [0x621000014100,0x621000015238)
freed by thread T0 here:
    #0 0x7fc7f99f72ca in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x982ca)
    #1 0x50bc60 in qfree lib/memory.c:130
    #2 0x4848a5 in zebra_vrf_delete zebra/zebra_vrf.c:281
    #3 0x55bde4 in vrf_delete lib/vrf.c:243
    #4 0x4b8771 in zebra_ns_delete zebra/zebra_netns_notify.c:146
    #5 0x4b8771 in zebra_ns_notify_read zebra/zebra_netns_notify.c:256
    #6 0x559f7e in thread_call lib/thread.c:1595
    #7 0x50365c in frr_run lib/libfrr.c:1011
    #8 0x439765 in main zebra/main.c:483
    #9 0x7fc7f854982f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

previously allocated by thread T0 here:
    #0 0x7fc7f99f779a in __interceptor_calloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9879a)
    #1 0x50b4c3 in qcalloc lib/memory.c:111
    #2 0x4849dc in zebra_vrf_alloc zebra/zebra_vrf.c:396
    #3 0x484a9b in zebra_vrf_new zebra/zebra_vrf.c:95
    #4 0x55ba97 in vrf_get lib/vrf.c:209
    #5 0x55c730 in vrf_handler_create lib/vrf.c:640
    #6 0x4b832c in zebra_ns_notify_create_context_from_entry_name zebra/zebra_netns_notify.c:94
    #7 0x4b9122 in zebra_ns_notify_parse zebra/zebra_netns_notify.c:320
    #8 0x463c6a in zebra_ns_init zebra/zebra_ns.c:217
    #9 0x4396e7 in main zebra/main.c:410
    #10 0x7fc7f854982f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)

SUMMARY: AddressSanitizer: heap-use-after-free zebra/zebra_vrf.h:163 zvrf_id
Shadow bytes around the buggy address:
  0x0c427fffa7d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c427fffa7e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c427fffa7f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c427fffa800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c427fffa810: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x0c427fffa820:[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c427fffa830: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c427fffa840: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c427fffa850: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c427fffa860: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c427fffa870: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Heap right redzone:      fb
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack partial redzone:   f4
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
r1: Daemon zebra killed by AddressSanitizer2018-11-27 14:24:32,608 ERROR: assert failed at "bgp_vrf_netns.test_bgp_vrf_netns_topo/test_bgp_vrf_netns":
r1: Daemon zebra killed by AddressSanitizer
*** defaultIntf: warning: lm has no interfaces