Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2015 16:29:39 +0000 (GMT)
From:      jenkins-admin@FreeBSD.org
To:        fabient@FreeBSD.org, hselasky@FreeBSD.org, jenkins-admin@FreeBSD.org,  freebsd-current@FreeBSD.org, freebsd-i386@FreeBSD.org
Subject:   FreeBSD_HEAD_i386 - Build #1762 - Still Failing
Message-ID:  <899669768.155.1448468980805.JavaMail.jenkins@jenkins-9.freebsd.org>
In-Reply-To: <1516307138.147.1448461799723.JavaMail.jenkins@jenkins-9.freebsd.org>
References:  <1516307138.147.1448461799723.JavaMail.jenkins@jenkins-9.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD_HEAD_i386 - Build #1762 - Still Failing:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/1762/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/1762/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/1762/console

Change summaries:

291302 by hselasky:
Update usage:
- Add missing description of "-c" option.
- Add one more usage example.

291301 by fabient:
The r241129 description was wrong that the scenario is possible
only for read locks on pcbs. The same race can happen with write
lock semantics as well.

The race scenario:

- Two threads (1 and 2) locate pcb with writer semantics (INPLOOKUP_WLOCKPCB)
 and do in_pcbref() on it.
- 1 and 2 both drop the inp hash lock.
- Another thread (3) grabs the inp hash lock. Then it runs in_pcbfree(),
 which wlocks the pcb. They must happen faster than 1 or 2 come INP_WLOCK()!
- 1 and 2 congest in INP_WLOCK().
- 3 does in_pcbremlists(), drops hash lock, and runs in_pcbrele_wlocked(),
 which doesn't free the pcb due to two references on it.
 Then it unlocks the pcb.
- 1 (or 2) gets wlock on the pcb, runs in_pcbrele_wlocked(), which doesn't
 report inp as freed, due to 2 (or 1) still helding extra reference on it.
 The thread tries to do smth with a disconnected pcb and crashes.

Submitted by:	emeric.poupon@stormshield.eu
Reviewed by:	gleb@
MFC after:	1 week
Sponsored by: Stormshield
Tested by: Cassiano Peixoto, Stormshield

291300 by hselasky:
Add simple indent wrapper tool for style(9) checking GIT/SVN patches.
The indent_wrapper tool only accepts full context diffs and works by
identifying the surrounding C-block touched by a diff and passing only
that to indent for styling. In the end a diff is produced or an
external tool like meld can be invoked, to show the styling
differences.



The end of the build log:

[...truncated 181356 lines...]
--- if_disc.ko.debug ---
objcopy --only-keep-debug if_disc.ko.full if_disc.ko.debug
--- if_disc.ko ---
objcopy --strip-debug --add-gnu-debuglink=if_disc.ko.debug  if_disc.ko.full if_disc.ko
--- all_subdir_if_edsc ---
--- if_edsc.kld ---
ld -d -warn-common -r -d -o if_edsc.kld if_edsc.o
--- all_subdir_ibcs2 ---
--- ibcs2.kld ---
--- all_subdir_if_enc ---
--- all_subdir_ibcs2 ---
ld -d -warn-common -r -d -o ibcs2.kld ibcs2_errno.o ibcs2_ipc.o ibcs2_stat.o ibcs2_misc.o ibcs2_fcntl.o ibcs2_signal.o ibcs2_sysent.o ibcs2_ioctl.o ibcs2_socksys.o ibcs2_util.o ibcs2_xenix.o ibcs2_xenix_sysent.o ibcs2_isc.o ibcs2_isc_sysent.o ibcs2_msg.o ibcs2_other.o ibcs2_sysi86.o ibcs2_sysvec.o
--- all_subdir_if_edsc ---
ctfmerge -L VERSION -g -o if_edsc.kld if_edsc.o
--- all_subdir_if_enc ---
===> if_enc (all)
--- all_subdir_if_edsc ---
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk if_edsc.kld  export_syms | xargs -J% objcopy % if_edsc.kld
--- if_edsc.ko.full ---
ld -Bshareable -d -warn-common -o if_edsc.ko.full if_edsc.kld
--- all_subdir_ibcs2 ---
ctfmerge -L VERSION -g -o ibcs2.kld ibcs2_errno.o ibcs2_ipc.o ibcs2_stat.o ibcs2_misc.o ibcs2_fcntl.o ibcs2_signal.o ibcs2_sysent.o ibcs2_ioctl.o ibcs2_socksys.o ibcs2_util.o ibcs2_xenix.o ibcs2_xenix_sysent.o ibcs2_isc.o ibcs2_isc_sysent.o ibcs2_msg.o ibcs2_other.o ibcs2_sysi86.o ibcs2_sysvec.o
--- all_subdir_if_edsc ---
--- if_edsc.ko.debug ---
objcopy --only-keep-debug if_edsc.ko.full if_edsc.ko.debug
--- if_edsc.ko ---
objcopy --strip-debug --add-gnu-debuglink=if_edsc.ko.debug  if_edsc.ko.full if_edsc.ko
--- tbfadt.o ---
cc  -c -O -pipe  -g -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -Werror  /usr/src/sys/contrib/dev/acpica/components/tables/tbfadt.c
--- modules-all ---
--- all_subdir_if_enc ---
--- if_enc.o ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -I/usr/obj/usr/src/sys/GENERIC  -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c /usr/src/sys/net/if_enc.c -o if_enc.o
--- all_subdir_ibcs2 ---
:> export_syms
awk -f /usr/src/sys/conf/kmod_syms.awk ibcs2.kld  export_syms | xargs -J% objcopy % ibcs2.kld
--- ibcs2.ko.full ---
ld -Bshareable -d -warn-common -o ibcs2.ko.full ibcs2.kld
--- ibcs2.ko.debug ---
objcopy --only-keep-debug ibcs2.ko.full ibcs2.ko.debug
--- ibcs2.ko ---
objcopy --strip-debug --add-gnu-debuglink=ibcs2.ko.debug  ibcs2.ko.full ibcs2.ko
--- all_subdir_if_epair ---
--- tbfadt.o ---
ctfconvert -L VERSION -g tbfadt.o
--- modules-all ---
===> if_epair (all)
--- all_subdir_if_gif ---
===> if_gif (all)
--- all_subdir_if_enc ---
/usr/src/sys/net/if_enc.c:104:43: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
static VNET_DEFINE(int, filter_mask_in) = IPSEC_ENC_BEFORE;
                                          ^
/usr/src/sys/net/if_enc.c:105:40: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
static VNET_DEFINE(int, bpf_mask_in) = IPSEC_ENC_BEFORE;
                                       ^
--- all_subdir_if_epair ---
--- if_epair.o ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -I/usr/obj/usr/src/sys/GENERIC  -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c /usr/src/sys/modules/if_epair/../../net/if_epair.c -o if_epair.o
--- all_subdir_if_enc ---
/usr/src/sys/net/if_enc.c:106:44: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
static VNET_DEFINE(int, filter_mask_out) = IPSEC_ENC_BEFORE;
                                           ^
--- all_subdir_if_gif ---
--- if_gif.o ---
--- all_subdir_if_enc ---
/usr/src/sys/net/if_enc.c:107:41: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
static VNET_DEFINE(int, bpf_mask_out) = IPSEC_ENC_BEFORE | IPSEC_ENC_AFTER;
                                        ^
/usr/src/sys/net/if_enc.c:107:60: error: use of undeclared identifier 'IPSEC_ENC_AFTER'
static VNET_DEFINE(int, bpf_mask_out) = IPSEC_ENC_BEFORE | IPSEC_ENC_AFTER;
                                                           ^
--- all_subdir_if_gif ---
cc  -O2 -pipe  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -I/usr/obj/usr/src/sys/GENERIC  -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -c /usr/src/sys/net/if_gif.c -o if_gif.o
--- all_subdir_if_enc ---
/usr/src/sys/net/if_enc.c:226:9: error: incomplete definition of type 'struct ipsec_ctx_data'
        if (ctx->af != hhook_id)
            ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/usr/src/sys/net/if_enc.c:229:22: error: use of undeclared identifier 'HHOOK_TYPE_IPSEC_IN'
        if (((hhook_type == HHOOK_TYPE_IPSEC_IN &&
                            ^
/usr/src/sys/net/if_enc.c:230:10: error: incomplete definition of type 'struct ipsec_ctx_data'
            (ctx->enc & V_bpf_mask_in) != 0) ||
             ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/usr/src/sys/net/if_enc.c:231:21: error: use of undeclared identifier 'HHOOK_TYPE_IPSEC_OUT'
            (hhook_type == HHOOK_TYPE_IPSEC_OUT &&
                           ^
/usr/src/sys/net/if_enc.c:232:10: error: incomplete definition of type 'struct ipsec_ctx_data'
            (ctx->enc & V_bpf_mask_out) != 0)) &&
             ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/usr/src/sys/net/if_enc.c:234:15: error: incomplete definition of type 'struct ipsec_ctx_data'
                hdr.af = ctx->af;
                         ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/usr/src/sys/net/if_enc.c:235:16: error: incomplete definition of type 'struct ipsec_ctx_data'
                hdr.spi = ctx->sav->spi;
                          ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/usr/src/sys/net/if_enc.c:237:10: error: incomplete definition of type 'struct ipsec_ctx_data'
                if (ctx->sav->alg_enc != SADB_EALG_NONE)
                    ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/usr/src/sys/net/if_enc.c:239:10: error: incomplete definition of type 'struct ipsec_ctx_data'
                if (ctx->sav->alg_auth != SADB_AALG_NONE)
                    ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/usr/src/sys/net/if_enc.c:241:49: error: incomplete definition of type 'struct ipsec_ctx_data'
                bpf_mtap2(ifp->if_bpf, &hdr, sizeof(hdr), *ctx->mp);
                                                           ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/usr/src/sys/net/if_enc.c:245:7: error: use of undeclared identifier 'HHOOK_TYPE_IPSEC_IN'
        case HHOOK_TYPE_IPSEC_IN:
             ^
/usr/src/sys/net/if_enc.c:246:10: error: incomplete definition of type 'struct ipsec_ctx_data'
                if (ctx->enc == IPSEC_ENC_BEFORE) {
                    ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
/usr/src/sys/net/if_enc.c:246:19: error: use of undeclared identifier 'IPSEC_ENC_BEFORE'
                if (ctx->enc == IPSEC_ENC_BEFORE) {
                                ^
/usr/src/sys/net/if_enc.c:250:13: error: incomplete definition of type 'struct ipsec_ctx_data'
                            (*ctx->mp)->m_pkthdr.len);
                              ~~~^
/usr/src/sys/netipsec/ipsec.h:261:8: note: forward declaration of 'struct ipsec_ctx_data'
struct ipsec_ctx_data;
       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [if_enc.o] Error code 1

make[4]: stopped in /usr/src/sys/modules/if_enc
1 error

make[4]: stopped in /usr/src/sys/modules/if_enc
*** [all_subdir_if_enc] Error code 2

make[3]: stopped in /usr/src/sys/modules
--- all_subdir_if_epair ---
ctfconvert -L VERSION -g if_epair.o
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/sys/modules/if_epair
*** [all_subdir_if_epair] Error code 2

make[3]: stopped in /usr/src/sys/modules
--- all_subdir_if_gif ---
ctfconvert -L VERSION -g if_gif.o
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/sys/modules/if_gif
*** [all_subdir_if_gif] Error code 2

make[3]: stopped in /usr/src/sys/modules
--- all_subdir_if_bridge ---
ctfconvert -L VERSION -g if_bridge.o
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/sys/modules/if_bridge
*** [all_subdir_if_bridge] Error code 2

make[3]: stopped in /usr/src/sys/modules
4 errors

make[3]: stopped in /usr/src/sys/modules
*** [modules-all] Error code 2

make[2]: stopped in /usr/obj/usr/src/sys/GENERIC
1 error

make[2]: stopped in /usr/obj/usr/src/sys/GENERIC
*** [buildkernel] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [buildkernel] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src
Build step 'Execute shell' marked build as failure
[PostBuildScript] - Execution post build scripts.
[FreeBSD_HEAD_i386] $ /bin/sh -xe /tmp/hudson4103707632507652984.sh
+ export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin'
+ export 'jname=FreeBSD_HEAD_i386'
+ echo 'clean up jail FreeBSD_HEAD_i386'
clean up jail FreeBSD_HEAD_i386
+ sudo jail -r FreeBSD_HEAD_i386
+ sudo ifconfig igb0 inet6 2610:1c1:1:607c::106:1 -alias
+ sudo umount FreeBSD_HEAD_i386/usr/src
+ sudo umount FreeBSD_HEAD_i386/dev
+ sudo rm -fr FreeBSD_HEAD_i386
rm: FreeBSD_HEAD_i386/var/empty: Operation not permitted
rm: FreeBSD_HEAD_i386/var: Directory not empty
rm: FreeBSD_HEAD_i386/libexec/ld-elf.so.1: Operation not permitted
rm: FreeBSD_HEAD_i386/libexec: Directory not empty
rm: FreeBSD_HEAD_i386/sbin/init: Operation not permitted
rm: FreeBSD_HEAD_i386/sbin: Directory not empty
rm: FreeBSD_HEAD_i386/lib/libcrypt.so.5: Operation not permitted
rm: FreeBSD_HEAD_i386/lib/libc.so.7: Operation not permitted
rm: FreeBSD_HEAD_i386/lib/libthr.so.3: Operation not permitted
rm: FreeBSD_HEAD_i386/lib: Directory not empty
rm: FreeBSD_HEAD_i386/usr/bin/chfn: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/chsh: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/passwd: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/yppasswd: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/login: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/opieinfo: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/ypchfn: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/ypchsh: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/opiepasswd: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/su: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/crontab: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/chpass: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin/ypchpass: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/bin: Directory not empty
rm: FreeBSD_HEAD_i386/usr/lib/librt.so.1: Operation not permitted
rm: FreeBSD_HEAD_i386/usr/lib: Directory not empty
rm: FreeBSD_HEAD_i386/usr: Directory not empty
rm: FreeBSD_HEAD_i386: Directory not empty
+ true
+ sudo chflags -R noschg FreeBSD_HEAD_i386
+ sudo rm -fr FreeBSD_HEAD_i386
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?899669768.155.1448468980805.JavaMail.jenkins>