FreeBSD-main-amd64-gcc12_build - Build #741 - Failure

From: <jenkins-admin_at_FreeBSD.org>
Date: Tue, 04 Apr 2023 19:24:36 UTC
FreeBSD-main-amd64-gcc12_build - Build #741 (20c9c3be5acc66de9081f1f24456a62ba9395c4f) - Failure

Build information: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-gcc12_build/741/
Full change log: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-gcc12_build/741/changes
Full build log: https://ci.FreeBSD.org/job/FreeBSD-main-amd64-gcc12_build/741/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)

73ee5756dee6b2110eb6fb2b2ef3cde39a1fcb4f by rrs:
Fixes in the tcp infrastructure with respect to stack changes as well as

dac310248826c37b60306c1b25fb94c35802196d by kib:
Rename kqueue1(2) to kqueuex(2) to avoid compat issues with NetBSD

11cdffc60325580d55e0ab835429d3fda2cbc8fb by kib:
Regen

20c9c3be5acc66de9081f1f24456a62ba9395c4f by emaste:
kqueue: add close() calls to man page example



The end of the build log:

[...truncated 94.42 MB...]
ctfconvert -L VERSION -g bhnd_nvram_data_tlv.o
ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(229)]
--- all_subdir_cc ---
===> cc (all)
[Creating objdir /tmp/obj/workspace/src/amd64.amd64/sys/GENERIC/modules/workspace/src/sys/modules/cc...]
--- all_subdir_cc/cc_newreno ---
===> cc/cc_newreno (all)
[Creating objdir /tmp/obj/workspace/src/amd64.amd64/sys/GENERIC/modules/workspace/src/sys/modules/cc/cc_newreno...]
--- machine ---
--- all_subdir_bwn ---
/workspace/src/sys/dev/bwn/if_bwn.c: In function 'bwn_set_txhdr':
/workspace/src/sys/dev/bwn/if_bwn.c:6607:37: warning: 'protwh' may be used uninitialized [-Wmaybe-uninitialized]
 6607 |                 txhdr->rts_dur_fb = *(u_int16_t *)protwh->i_dur;
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/workspace/src/sys/dev/bwn/if_bwn.c:6404:33: note: 'protwh' was declared here
 6404 |         struct ieee80211_frame *protwh;
      |                                 ^~~~~~
In file included from /workspace/src/sys/dev/bwn/if_bwn.c:48:
/workspace/src/sys/sys/systm.h:262:33: warning: 'prot_ptr' may be used uninitialized [-Wmaybe-uninitialized]
  262 | #define bcopy(from, to, len)    __builtin_memmove((to), (from), (len))
      |                                 ^~~~~~~~~~~~~~~~~
/workspace/src/sys/dev/bwn/if_bwn.c:6409:18: note: 'prot_ptr' was declared here
 6409 |         uint8_t *prot_ptr;
      |                  ^~~~~~~~
--- all_subdir_cc ---
machine -> /workspace/src/sys/amd64/include
--- x86 ---
x86 -> /workspace/src/sys/x86/include
--- i386 ---
i386 -> /workspace/src/sys/i386/include
--- opt_kern_tls.h ---
ln -sf /tmp/obj/workspace/src/amd64.amd64/sys/GENERIC/opt_kern_tls.h opt_kern_tls.h
--- genoffset.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/ -c -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /tmp/obj/workspace/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/workspace/src/sys -I/workspace/src/sys/contrib/ck/include -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/workspace/src/sys/amd64/include -fdebug-prefix-map=./x86=/workspace/src/sys/x86/include -fdebug-prefix-map=./i386=/workspace/src/sys/i386/include -I/tmp/obj/workspace/src/amd64.amd64/sys/GENERIC -MD -MF.depend.genoffset.o -MTgenoffset.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=address -Wno-error=aggressive-loop-optimizations -Wno-error=array-bounds -Wno-error=attributes -Wno-error=cast-qual -Wno-error=enum-compare -Wno-error=maybe-uninitialized -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=overflow -Wno-error=sequence-point -Wno-error=shift-overflow -Wno-error=tautological-compare -Wno-error=unused-function -Wno-unused-but-set-variable -Wno-error=stringop-overflow -Wno-error=memset-elt-size -Wno-error=packed-not-aligned -Wno-address-of-packed-member -Wno-error=alloca-larger-than= -Wno-error=nonnull -Wno-dangling-pointer -Wno-zero-length-bounds -Wno-return-type -Wno-format-zero-length -finline-limit=8000 -fms-extensions --param inline-unit-growth=100 --param large-function-growth=1000 -std=iso9899:1999 -fcommon  /workspace/src/sys/kern/genoffset.c
--- offset.inc ---
sh /workspace/src/sys/kern/genoffset.sh genoffset.o > offset.inc
--- cc_newreno.o ---
/usr/local/bin/x86_64-unknown-freebsd13.1-gcc12 --sysroot=/tmp/obj/workspace/src/amd64.amd64/tmp -B/usr/local/x86_64-unknown-freebsd13.1/bin/  -O2 -pipe -fno-common  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -DKLD_TIED -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /tmp/obj/workspace/src/amd64.amd64/sys/GENERIC/opt_global.h -I. -I/workspace/src/sys -I/workspace/src/sys/contrib/ck/include -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/workspace/src/sys/amd64/include -fdebug-prefix-map=./x86=/workspace/src/sys/x86/include -fdebug-prefix-map=./i386=/workspace/src/sys/i386/include -I/tmp/obj/workspace/src/amd64.amd64/sys/GENERIC     -MD  -MF.depend.cc_newreno.o -MTcc_newreno.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=address -Wno-error=aggressive-loop-optimizations -Wno-error=array-bounds -Wno-error=attributes -Wno-error=cast-qual -Wno-error=enum-compare -Wno-error=maybe-uninitialized -Wno-error=misleading-indentation -Wno-error=nonnull-compare -Wno-error=overflow -Wno-error=sequence-point -Wno-error=shift-overflow -Wno-error=tautological-compare -Wno-error=unused-function -Wno-unused-but-set-variable -Wno-error=stringop-overflow -Wno-error=memset-elt-size -Wno-error=packed-not-aligned -Wno-address-of-packed-member -Wno-error=alloca-larger-than= -Wno-error=nonnull -Wno-dangling-pointer -Wno-zero-length-bounds -Wno-return-type -Wno-format-zero-length   -finline-limit=8000 -fms-extensions --param inline-unit-growth=100 --param large-function-growth=1000  -std=iso9899:1999 -c /workspace/src/sys/netinet/cc/cc_newreno.c -o cc_newreno.o
--- all_subdir_cam ---
In function 'xpt_action',
    inlined from 'xpt_start_tags' at /workspace/src/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at /workspace/src/sys/cam/cam_xpt.c:5438:5,
    inlined from 'camisr_runqueue' at /workspace/src/sys/cam/cam_xpt.c:5533:4,
    inlined from 'xpt_sim_poll' at /workspace/src/sys/cam/cam_xpt.c:3176:2:
/workspace/src/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'union ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]' [-Warray-bounds]
 2608 |         start_ccb->ccb_h.status = CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/workspace/src/sys/cam/cam_xpt.c: In function 'xpt_sim_poll':
/workspace/src/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size 216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at /workspace/src/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at /workspace/src/sys/cam/cam_xpt.c:5438:5,
    inlined from 'camisr_runqueue' at /workspace/src/sys/cam/cam_xpt.c:5533:4,
    inlined from 'xpt_sim_poll' at /workspace/src/sys/cam/cam_xpt.c:3176:2:
/workspace/src/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'union ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]' [-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_ccb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/workspace/src/sys/cam/cam_xpt.c: In function 'xpt_sim_poll':
/workspace/src/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size 216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
--- all_subdir_cc ---
In file included from /workspace/src/sys/netinet/cc/cc_newreno.c:84:
/workspace/src/sys/netinet/tcp_hpts.h:194:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
  194 | get_hpts_min_sleep_time()
      | ^~~~~~~~~~~~~~~~~~~~~~~
--- all_subdir_cam ---
In function 'xpt_action',
    inlined from 'xpt_start_tags' at /workspace/src/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at /workspace/src/sys/cam/cam_xpt.c:5438:5,
    inlined from 'xpt_done_td' at /workspace/src/sys/cam/cam_xpt.c:5511:4:
/workspace/src/sys/cam/cam_xpt.c:2608:33: warning: array subscript 'union ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]' [-Warray-bounds]
 2608 |         start_ccb->ccb_h.status = CAM_REQ_INPROG;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/workspace/src/sys/cam/cam_xpt.c: In function 'xpt_done_td':
/workspace/src/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size 216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
In function 'xpt_action',
    inlined from 'xpt_start_tags' at /workspace/src/sys/cam/cam_xpt.c:5053:2,
    inlined from 'xpt_done_process' at /workspace/src/sys/cam/cam_xpt.c:5438:5,
    inlined from 'xpt_done_td' at /workspace/src/sys/cam/cam_xpt.c:5511:4:
/workspace/src/sys/cam/cam_xpt.c:2609:28: warning: array subscript 'union ccb[0]' is partly outside array bounds of 'struct ccb_relsim[1]' [-Warray-bounds]
 2609 |         (*(start_ccb->ccb_h.path->bus->xport->ops->action))(start_ccb);
      |            ~~~~~~~~~~~~~~~~^~~~~
/workspace/src/sys/cam/cam_xpt.c: In function 'xpt_done_td':
/workspace/src/sys/cam/cam_xpt.c:5028:27: note: object 'crs' of size 216
 5028 |         struct ccb_relsim crs;
      |                           ^~~
--- all_subdir_carp ---
In function 'counter_u64_add',
    inlined from 'carp_send_ad_locked' at /workspace/src/sys/netinet/ip_carp.c:1026:3,
    inlined from 'carp_master_down_locked' at /workspace/src/sys/netinet/ip_carp.c:1333:3,
    inlined from 'carp_master_down' at /workspace/src/sys/netinet/ip_carp.c:1315:3:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
/workspace/src/sys/sys/cdefs.h:449:51: note: in definition of macro '__predict_false'
  449 | #define __predict_false(exp)    __builtin_expect((exp), 0)
      |                                                   ^~~
./machine/counter.h:92:9: note: in expansion of macro 'KASSERT'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |         ^~~~~~~
./machine/pcpu.h:212:33: note: in expansion of macro '__PCPU_GET'
  212 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
./machine/pcpu.h:217:26: note: in expansion of macro 'PCPU_GET'
  217 | #define IS_BSP()        (PCPU_GET(cpuid) == 0)
      |                          ^~~~~~~~
./machine/counter.h:92:17: note: in expansion of macro 'IS_BSP'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |                 ^~~~~~
In function 'counter_u64_add',
    inlined from 'carp_prepare_ad' at /workspace/src/sys/netinet/ip_carp.c:838:3,
    inlined from 'carp_prepare_ad' at /workspace/src/sys/netinet/ip_carp.c:817:1,
    inlined from 'carp_send_ad_locked' at /workspace/src/sys/netinet/ip_carp.c:1019:7,
    inlined from 'carp_master_down_locked' at /workspace/src/sys/netinet/ip_carp.c:1333:3,
    inlined from 'carp_master_down' at /workspace/src/sys/netinet/ip_carp.c:1315:3:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
/workspace/src/sys/sys/cdefs.h:449:51: note: in definition of macro '__predict_false'
  449 | #define __predict_false(exp)    __builtin_expect((exp), 0)
      |                                                   ^~~
./machine/counter.h:92:9: note: in expansion of macro 'KASSERT'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |         ^~~~~~~
./machine/pcpu.h:212:33: note: in expansion of macro '__PCPU_GET'
  212 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
./machine/pcpu.h:217:26: note: in expansion of macro 'PCPU_GET'
  217 | #define IS_BSP()        (PCPU_GET(cpuid) == 0)
      |                          ^~~~~~~~
./machine/counter.h:92:17: note: in expansion of macro 'IS_BSP'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |                 ^~~~~~
In function 'counter_u64_add',
    inlined from 'carp_send_ad_locked' at /workspace/src/sys/netinet/ip_carp.c:987:4,
    inlined from 'carp_master_down_locked' at /workspace/src/sys/netinet/ip_carp.c:1333:3,
    inlined from 'carp_master_down' at /workspace/src/sys/netinet/ip_carp.c:1315:3:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
/workspace/src/sys/sys/cdefs.h:449:51: note: in definition of macro '__predict_false'
  449 | #define __predict_false(exp)    __builtin_expect((exp), 0)
      |                                                   ^~~
./machine/counter.h:92:9: note: in expansion of macro 'KASSERT'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |         ^~~~~~~
./machine/pcpu.h:212:33: note: in expansion of macro '__PCPU_GET'
  212 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
./machine/pcpu.h:217:26: note: in expansion of macro 'PCPU_GET'
  217 | #define IS_BSP()        (PCPU_GET(cpuid) == 0)
      |                          ^~~~~~~~
./machine/counter.h:92:17: note: in expansion of macro 'IS_BSP'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |                 ^~~~~~
In function 'counter_u64_add',
    inlined from 'carp_send_ad_locked' at /workspace/src/sys/netinet/ip_carp.c:1085:3,
    inlined from 'carp_master_down_locked' at /workspace/src/sys/netinet/ip_carp.c:1333:3,
    inlined from 'carp_master_down' at /workspace/src/sys/netinet/ip_carp.c:1315:3:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
/workspace/src/sys/sys/cdefs.h:449:51: note: in definition of macro '__predict_false'
  449 | #define __predict_false(exp)    __builtin_expect((exp), 0)
      |                                                   ^~~
./machine/counter.h:92:9: note: in expansion of macro 'KASSERT'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |         ^~~~~~~
./machine/pcpu.h:212:33: note: in expansion of macro '__PCPU_GET'
  212 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
./machine/pcpu.h:217:26: note: in expansion of macro 'PCPU_GET'
  217 | #define IS_BSP()        (PCPU_GET(cpuid) == 0)
      |                          ^~~~~~~~
./machine/counter.h:92:17: note: in expansion of macro 'IS_BSP'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |                 ^~~~~~
In function 'counter_u64_add',
    inlined from 'carp_prepare_ad' at /workspace/src/sys/netinet/ip_carp.c:838:3,
    inlined from 'carp_prepare_ad' at /workspace/src/sys/netinet/ip_carp.c:817:1,
    inlined from 'carp_send_ad_locked' at /workspace/src/sys/netinet/ip_carp.c:1078:7,
    inlined from 'carp_master_down_locked' at /workspace/src/sys/netinet/ip_carp.c:1333:3,
    inlined from 'carp_master_down' at /workspace/src/sys/netinet/ip_carp.c:1315:3:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
/workspace/src/sys/sys/cdefs.h:449:51: note: in definition of macro '__predict_false'
  449 | #define __predict_false(exp)    __builtin_expect((exp), 0)
      |                                                   ^~~
./machine/counter.h:92:9: note: in expansion of macro 'KASSERT'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |         ^~~~~~~
./machine/pcpu.h:212:33: note: in expansion of macro '__PCPU_GET'
  212 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
./machine/pcpu.h:217:26: note: in expansion of macro 'PCPU_GET'
  217 | #define IS_BSP()        (PCPU_GET(cpuid) == 0)
      |                          ^~~~~~~~
./machine/counter.h:92:17: note: in expansion of macro 'IS_BSP'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |                 ^~~~~~
In function 'counter_u64_add',
    inlined from 'carp_send_ad_locked' at /workspace/src/sys/netinet/ip_carp.c:1038:4,
    inlined from 'carp_master_down_locked' at /workspace/src/sys/netinet/ip_carp.c:1333:3,
    inlined from 'carp_master_down' at /workspace/src/sys/netinet/ip_carp.c:1315:3:
./machine/pcpu.h:151:17: warning: array subscript 0 is outside array bounds of 'struct __s[0]' [-Warray-bounds]
  151 |                 __asm __volatile("mov %%gs:%1,%0"                       \
      |                 ^~~~~
/workspace/src/sys/sys/cdefs.h:449:51: note: in definition of macro '__predict_false'
  449 | #define __predict_false(exp)    __builtin_expect((exp), 0)
      |                                                   ^~~
./machine/counter.h:92:9: note: in expansion of macro 'KASSERT'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |         ^~~~~~~
./machine/pcpu.h:212:33: note: in expansion of macro '__PCPU_GET'
  212 | #define PCPU_GET(member)        __PCPU_GET(pc_ ## member)
      |                                 ^~~~~~~~~~
./machine/pcpu.h:217:26: note: in expansion of macro 'PCPU_GET'
  217 | #define IS_BSP()        (PCPU_GET(cpuid) == 0)
      |                          ^~~~~~~~
./machine/counter.h:92:17: note: in expansion of macro 'IS_BSP'
   92 |         KASSERT(IS_BSP() || c != EARLY_COUNTER, ("EARLY_COUNTER used on AP"));
      |                 ^~~~~~
--- all_subdir_bwn ---
In function 'counter_u64_add',
    inlined from 'bwn_start' at /workspace/src/sys/dev/bwn/if_bwn.c:1002:4,
    inlined from 'bwn_start' at /workspace/src/sys/dev/bwn/if_bwn.c:981:1:
       37.23 real        47.05 user         3.50 sys

make[1]: stopped in /workspace/src

make: stopped in /workspace/src
Build step 'Execute shell' marked build as failure
[WARNINGS]Skipping publisher since build result is FAILURE
[PostBuildScript] - [INFO] Executing post build scripts.
[FreeBSD-main-amd64-gcc12_build] $ /bin/sh -xe /tmp/jenkins5976777175400498596.sh
+ sh freebsd-ci/scripts/jail/clean.sh
clean jail FreeBSD-main-amd64-gcc12_build
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