FreeBSD-main-amd64-test - Build #21969 - Failure

From: <jenkins-admin_at_FreeBSD.org>
Date: Mon, 29 Aug 2022 12:06:46 UTC
FreeBSD-main-amd64-test - Build #21969 (6d4f6e4c704d17084144ac3fe0c8507015f1357f) - Failure

Build information: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-test/21969/
Full change log: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-test/21969/changes
Full build log: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-test/21969/console

Status explanation:
"Failure" - the build is suspected being broken by the following changes
"Still Failing" - the build has not been fixed by the following changes and
                  this is a notification to note that these changes have
                  not been fully tested by the CI system

Change summaries:
(Those commits are likely but not certainly responsible)

a1b59379db7d879551118b921f6e9692b4bf200c by melifaro:
routing: install prefix and loopback routes using new nhop-based KPI.

d8b2693414ae5cebdbd4c64c9559275c4baff11e by melifaro:
routing: add rib_add_default_route() wrapper

835a611e684094d82de306209071e233bb83123a by melifaro:
routing: make IPv6 defrouter code use new nhop-based KPI.

6d4f6e4c704d17084144ac3fe0c8507015f1357f by melifaro:
routing: make rib_add_redirect() use new nhop-based KPI



The end of the build log:

[...truncated 3.85 MB...]
epair1b: link state changed to DOWN
ifa_del_loopback_route: failed to delete interface epair1b route: 3
ifa_del_loopback_route: failed to delete interface epair1b route: 3
ifa_del_loopback_route: failed to delete interface epair1b route: 3
carp: demoted by -240 to 0 (vhid removed)
epair1b: promiscuous mode disabled
passed  [5.438s]
sys/netinet/carp:basic_v6  ->  bridge0: Ethernet address: 58:9c:fc:10:ff:90
epair0a: Ethernet address: 02:49:4c:6f:b1:0a
epair0b: Ethernet address: 02:49:4c:6f:b1:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair1a: Ethernet address: 02:11:9e:c9:a6:0a
epair1b: Ethernet address: 02:11:9e:c9:a6:0b
epair1a: link state changed to UP
epair1b: link state changed to UP
bridge0: link state changed to UP
epair0a: promiscuous mode enabled
epair1a: promiscuous mode enabled
epair0b: promiscuous mode enabled
carp: 1@epair0b: INIT -> BACKUP (initialization complete)
epair1b: promiscuous mode enabled
carp: 1@epair1b: INIT -> BACKUP (initialization complete)
carp: 1@epair0b: BACKUP -> MASTER (master timed out)
add_loopback_route_flags: failed to update interface epair0b route: 17
epair1a: promiscuous mode disabled
epair0a: promiscuous mode disabled
bridge0: link state changed to DOWN
epair0a: link state changed to DOWN
carp: 1@epair0b: MASTER -> INIT (hardware interface down)
carp: demoted by 240 to 240 (interface down)
epair0b: link state changed to DOWN
lock order reversal: (sleepable after non-sleepable)
 1st 0xfffff80019b7dd08 carp_softc (carp_softc, sleep mutex) @ /usr/src/sys/netinet/ip_carp.c:1992
 2nd 0xffffffff81fb6210 in6_multi_sx (in6_multi_sx, sx) @ /usr/src/sys/netinet6/in6_mcast.c:1306
lock order carp_softc -> in6_multi_sx attempted at:
#0 0xffffffff80c5c80d at witness_checkorder+0xbfd
#1 0xffffffff80bf6193 at _sx_xlock+0x63
#2 0xffffffff80e0af67 at in6_leavegroup+0x27
#3 0xffffffff8287b283 at carp_detach+0x363
#4 0xffffffff80e02cf8 at in6_purgeaddr+0x38
#5 0xffffffff80e02976 at in6_purgeifaddr+0x16
#6 0xffffffff80d14326 at if_purgeaddrs+0x146
#7 0xffffffff80d14892 at if_detach_internal+0x1c2
#8 0xffffffff80d14501 at if_detach+0x71
#9 0xffffffff8290b80b at epair_clone_destroy+0x6b
#10 0xffffffff80d1c34c at if_clone_destroyif+0x19c
#11 0xffffffff80d1c134 at if_clone_destroy+0x114
#12 0xffffffff80d18e71 at ifioctl+0x741
#13 0xffffffff80c62572 at kern_ioctl+0x202
#14 0xffffffff80c622ba at sys_ioctl+0x12a
#15 0xffffffff810ca956 at amd64_syscall+0x6a6
#16 0xffffffff8109d08b at fast_syscall_common+0xf8
carp: demoted by -240 to 0 (vhid removed)
epair0b: promiscuous mode disabled
ifa_del_loopback_route: failed to delete interface epair0b route: 3
epair1a: link state changed to DOWN
carp: 1@epair1b: BACKUP -> INIT (hardware interface down)
carp: demoted by 240 to 240 (interface down)
epair1b: link state changed to DOWN
carp: demoted by -240 to 0 (vhid removed)
epair1b: promiscuous mode disabled
ifa_del_loopback_route: failed to delete interface epair1b route: 3
passed  [5.440s]
sys/netinet/carp:nd6_ns_source_mac  ->  bridge0: Ethernet address: 58:9c:fc:10:ff:90
epair0a: Ethernet address: 02:99:bc:96:57:0a
epair0b: Ethernet address: 02:99:bc:96:57:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair1a: Ethernet address: 02:3f:12:f5:52:0a
epair1b: Ethernet address: 02:3f:12:f5:52:0b
epair1a: link state changed to UP
epair1b: link state changed to UP
bridge0: link state changed to UP
epair0a: promiscuous mode enabled
epair1a: promiscuous mode enabled
epair0b: promiscuous mode enabled
carp: 1@epair0b: INIT -> BACKUP (initialization complete)
epair1b: promiscuous mode enabled
carp: 1@epair1b: INIT -> BACKUP (initialization complete)
carp: 1@epair0b: BACKUP -> MASTER (master timed out)
add_loopback_route_flags: failed to update interface epair0b route: 17
epair1a: promiscuous mode disabled
epair0a: promiscuous mode disabled
bridge0: link state changed to DOWN
epair0a: link state changed to DOWN
carp: 1@epair0b: MASTER -> INIT (hardware interface down)
carp: demoted by 240 to 240 (interface down)
epair0b: link state changed to DOWN
carp: demoted by -240 to 0 (vhid removed)
epair0b: promiscuous mode disabled
ifa_del_loopback_route: failed to delete interface epair0b route: 3
epair1a: link state changed to DOWN
carp: 1@epair1b: BACKUP -> INIT (hardware interface down)
carp: demoted by 240 to 240 (interface down)
epair1b: link state changed to DOWN
carp: demoted by -240 to 0 (vhid removed)
epair1b: promiscuous mode disabled
ifa_del_loopback_route: failed to delete interface epair1b route: 3
passed  [18.613s]
sys/netinet/carp:negative_demotion  ->  epair0a: Ethernet address: 02:52:a7:5f:b0:0a
epair0b: Ethernet address: 02:52:a7:5f:b0:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair0a: promiscuous mode enabled
carp: 1@epair0a: INIT -> BACKUP (initialization complete)
epair0b: promiscuous mode enabled
carp: 1@epair0b: INIT -> BACKUP (initialization complete)
carp: 1@epair0a: BACKUP -> MASTER (master timed out)
carp: demoted by -1 to -1 (sysctl)
carp: 1@epair0a: MASTER -> INIT (hardware interface down)
carp: demoted by 240 to 239 (interface down)
epair0a: link state changed to DOWN
carp: 1@epair0b: BACKUP -> INIT (hardware interface down)
carp: demoted by 240 to 240 (interface down)
epair0b: link state changed to DOWN
ifa_del_loopback_route: failed to delete interface epair0a route: 3
ifa_del_loopback_route: failed to delete interface epair0a route: 3
carp: demoted by -240 to -1 (vhid removed)
epair0a: promiscuous mode disabled
ifa_del_loopback_route: failed to delete interface epair0b route: 3
ifa_del_loopback_route: failed to delete interface epair0b route: 3
ifa_del_loopback_route: failed to delete interface epair0b route: 3
carp: demoted by -240 to 0 (vhid removed)
epair0b: promiscuous mode disabled
passed  [6.356s]
sys/netinet/divert:ipdivert_ip_input_local_success  ->  epair0a: Ethernet address: 02:ee:9e:9d:03:0a
epair0b: Ethernet address: 02:ee:9e:9d:03:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair0b: link state changed to DOWN
epair0a: link state changed to DOWN
passed  [1.056s]
sys/netinet/divert:ipdivert_ip_output_remote_success  ->  epair0a: Ethernet address: 02:40:63:a4:15:0a
epair0b: Ethernet address: 02:40:63:a4:15:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
epair0b: link state changed to DOWN
epair0a: link state changed to DOWN
passed  [0.943s]
sys/netinet/fibs:fibs_ifroutes1_success  ->  epair0a: Ethernet address: 02:02:f8:98:ed:0a
epair0b: Ethernet address: 02:02:f8:98:ed:0b
epair0a: link state changed to UP
epair0b: link state changed to UP
WARNING: Adding ifaddrs to all fibs has been turned off by default. Consider tuning net.add_addr_allfibs if needed
epair0a: link state changed to DOWN
epair0b: link state changed to DOWN
passed  [0.118s]
sys/netinet/fibs_test:arpresolve_checks_interface_fib  ->  skipped: firewalls interfere with this test  [0.044s]
sys/netinet/fibs_test:default_route_with_multiple_fibs_on_same_subnet  ->  tap0: Ethernet address: 58:9c:fc:10:b1:59
tap1: Ethernet address: 58:9c:fc:10:ff:c2
passed  [0.071s]
sys/netinet/fibs_test:default_route_with_multiple_fibs_on_same_subnet_inet6  ->  tap0: Ethernet address: 58:9c:fc:10:b1:59
tap1: Ethernet address: 58:9c:fc:10:ff:c2
passed  [0.055s]
sys/netinet/fibs_test:loopback_and_network_routes_on_nondefault_fib  ->  tap0: Ethernet address: 58:9c:fc:10:b1:59
passed  [0.051s]
sys/netinet/fibs_test:loopback_and_network_routes_on_nondefault_fib_inet6  ->  tap0: Ethernet address: 58:9c:fc:10:b1:59
passed  [0.058s]
sys/netinet/fibs_test:same_ip_multiple_ifaces  ->  tap0: Ethernet address: 58:9c:fc:10:b1:59
tap1: Ethernet address: 58:9c:fc:10:ff:c2
tap2: Ethernet address: 58:9c:fc:10:ff:c4
tap3: Ethernet address: 58:9c:fc:10:b9:17
panic: Lock rib head lock not locked @ /usr/src/sys/net/route/route_ctl.c:360

cpuid = 0
time = 1661774805
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00d1d7b830
vpanic() at vpanic+0x151/frame 0xfffffe00d1d7b880
panic() at panic+0x43/frame 0xfffffe00d1d7b8e0
_rm_assert() at _rm_assert+0x263/frame 0xfffffe00d1d7b920
rib_add_route_px() at rib_add_route_px+0xbb/frame 0xfffffe00d1d7b990
add_loopback_route_flags() at add_loopback_route_flags+0x109/frame 0xfffffe00d1d7ba00
ifa_switch_loopback_route() at ifa_switch_loopback_route+0x36/frame 0xfffffe00d1d7ba50
in_scrubprefix() at in_scrubprefix+0x76/frame 0xfffffe00d1d7bad0
in_difaddr_ioctl() at in_difaddr_ioctl+0x2fb/frame 0xfffffe00d1d7bb30
in_control() at in_control+0xac/frame 0xfffffe00d1d7bbd0
ifioctl() at ifioctl+0x7f4/frame 0xfffffe00d1d7bcc0
kern_ioctl() at kern_ioctl+0x202/frame 0xfffffe00d1d7bd30
sys_ioctl() at sys_ioctl+0x12a/frame 0xfffffe00d1d7be00
amd64_syscall() at amd64_syscall+0x6a6/frame 0xfffffe00d1d7bf30
fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00d1d7bf30
--- syscall (54, FreeBSD ELF64, sys_ioctl), rip = 0x1af55b4af97a, rsp = 0x1af5571c35d8, rbp = 0x1af5571c3620 ---
KDB: enter: panic
[ thread pid 83815 tid 101224 ]
Stopped at      kdb_enter+0x32: movq    $0,0x12a4cf3(%rip)
db:0:kdb.enter.panic> show pcpu
cpuid        = 0
dynamic pcpu = 0x9c2e00
curthread    = 0xfffffe00d1b35ac0: pid 83815 tid 101224 critnest 1 "ifconfig"
curpcb       = 0xfffffe00d1b35fe0
fpcurthread  = 0xfffffe00d1b35ac0: pid 83815 "ifconfig"
idlethread   = 0xfffffe001122c3a0: tid 100003 "idle: cpu0"
self         = 0xffffffff82610000
curpmap      = 0xfffffe00d2153530
tssp         = 0xffffffff82610384
rsp0         = 0xfffffe00d1d7c000
kcr3         = 0x8000000043532638
ucr3         = 0x800000003e229e38
scr3         = 0x3e229e38
gs32p        = 0xffffffff82610404
ldt          = 0xffffffff82610444
tss          = 0xffffffff82610434
curvnet      = 0xfffff800031c1f40
spin locks held:
db:0:kdb.enter.panic>  reset
+ rc=0
+ echo 'bhyve return code = 0'
bhyve return code = 0
+ sudo /usr/sbin/bhyvectl '--vm=testvm-main-amd64-21969' --destroy
+ sh -ex freebsd-ci/scripts/test/extract-meta.sh
+ METAOUTDIR=meta-out
+ rm -fr meta-out
+ mkdir meta-out
+ tar xvf meta.tar -C meta-out
x ./
x ./disable-notyet-tests.sh
x ./disable-zfs-tests.sh
x ./run.sh
x ./run-kyua.sh
x ./disable-dtrace-tests.sh
x ./auto-shutdown
+ rm -f test-report.txt test-report.xml
+ mv 'meta-out/test-report.*' .
mv: rename meta-out/test-report.* to ./test-report.*: No such file or directory
+ report=test-report.xml
+ [ -e freebsd-ci/jobs/FreeBSD-main-amd64-test/xfail-list -a -e test-report.xml ]
+ rm -f disk-cam
+ jot 5
+ rm -f disk1
+ rm -f disk2
+ rm -f disk3
+ rm -f disk4
+ rm -f disk5
+ rm -f disk-test.img
[PostBuildScript] - [INFO] Executing post build scripts.
[FreeBSD-main-amd64-test] $ /bin/sh -xe /tmp/jenkins3835861165357751562.sh
+ ./freebsd-ci/artifact/post-link.py
Post link: {'job_name': 'FreeBSD-main-amd64-test', 'commit': '6d4f6e4c704d17084144ac3fe0c8507015f1357f', 'branch': 'main', 'target': 'amd64', 'target_arch': 'amd64', 'link_type': 'latest_tested'}
"Link created: main/latest_tested/amd64/amd64 -> ../../6d4f6e4c704d17084144ac3fe0c8507015f1357f/amd64/amd64\n"
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Checking for post-build
Performing post-build step
Checking if email needs to be generated
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Sending mail from default account using System Admin e-mail address