From owner-freebsd-arm@freebsd.org Wed Nov 25 17:02:58 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7B730A363C0 for ; Wed, 25 Nov 2015 17:02:58 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 5F60313A7; Wed, 25 Nov 2015 17:02:58 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id D3D497A1; Wed, 25 Nov 2015 17:02:58 +0000 (UTC) Date: Wed, 25 Nov 2015 17:02:56 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: fabient@FreeBSD.org, hselasky@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <108842597.157.1448470978838.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <7781649.149.1448463777345.JavaMail.jenkins@jenkins-9.freebsd.org> References: <7781649.149.1448463777345.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #1779 - Still Failing MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2015 17:02:58 -0000 FreeBSD_HEAD_arm64 - Build #1779 - Still Failing: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1779/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1779/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1779/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 The end of the build log: [...truncated 160523 lines...] /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=geom_multipath.ko.debug geom_multipath.ko.full geom_multipath.ko --- all_subdir_geom_part --- --- g_part_bsd.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -mgeneral-regs-only -ffixed-x18 -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 -std=iso9899:1999 -c /usr/src/sys/modules/geom/geom_part/geom_part_bsd/../../../../geom/part/g_part_bsd.c -o g_part_bsd.o --- geom_bsd_enc.o --- ctfconvert -L VERSION -g geom_bsd_enc.o --- all_subdir_i2c --- --- all_subdir_iicbb --- ctfconvert -L VERSION -g iicbb.o --- all_subdir_if_enc --- ===> if_enc (all) --- all_subdir_i2c --- --- iicbb.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o iicbb.kld iicbb_if.o iicbb.o ctfmerge -L VERSION -g -o iicbb.kld iicbb_if.o iicbb.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk iicbb.kld export_syms | xargs -J% /usr/local/aarch64-freebsd/bin/objcopy % iicbb.kld --- iicbb.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o iicbb.ko.full iicbb_if.o iicbb.o --- iicbb.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug iicbb.ko.full iicbb.ko.debug --- iicbb.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=iicbb.ko.debug iicbb.ko.full iicbb.ko --- all_subdir_iicsmb --- ===> i2c/iicsmb (all) --- all_subdir_if_enc --- --- if_enc.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -mgeneral-regs-only -ffixed-x18 -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 -std=iso9899:1999 -c /usr/src/sys/net/if_enc.c -o if_enc.o --- all_subdir_geom --- --- all_subdir_geom_part_apm --- ctfconvert -L VERSION -g g_part_apm.o --- geom_part_apm.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o geom_part_apm.kld g_part_apm.o ctfmerge -L VERSION -g -o geom_part_apm.kld g_part_apm.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk geom_part_apm.kld export_syms | xargs -J% /usr/local/aarch64-freebsd/bin/objcopy % geom_part_apm.kld --- all_subdir_i2c --- --- iicsmb.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -mgeneral-regs-only -ffixed-x18 -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 -std=iso9899:1999 -c /usr/src/sys/modules/i2c/iicsmb/../../../dev/iicbus/iicsmb.c -o iicsmb.o --- all_subdir_geom --- --- geom_part_apm.ko.full --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o geom_part_apm.ko.full g_part_apm.o --- geom_part_apm.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug geom_part_apm.ko.full geom_part_apm.ko.debug --- geom_part_apm.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=geom_part_apm.ko.debug geom_part_apm.ko.full geom_part_apm.ko --- all_subdir_if_epair --- ===> if_epair (all) --- if_epair.o --- cc -B/usr/local/aarch64-freebsd/bin/ -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/arm64.aarch64/usr/src/sys/GENERIC/opt_global.h -I. -I/usr/src/sys -fno-common -g -fPIC -I/usr/obj/arm64.aarch64/usr/src/sys/GENERIC -mgeneral-regs-only -ffixed-x18 -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 -std=iso9899:1999 -c /usr/src/sys/modules/if_epair/../../net/if_epair.c -o if_epair.o --- all_subdir_geom --- --- all_subdir_geom_part_bsd --- --- g_part_bsd.o --- ctfconvert -L VERSION -g g_part_bsd.o --- geom_part_bsd.kld --- /usr/local/aarch64-freebsd/bin/ld -d -warn-common -r -d -o geom_part_bsd.kld g_part_bsd.o geom_bsd_enc.o ctfmerge -L VERSION -g -o geom_part_bsd.kld g_part_bsd.o geom_bsd_enc.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk geom_part_bsd.kld export_syms | xargs -J% /usr/local/aarch64-freebsd/bin/objcopy % geom_part_bsd.kld --- 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; ^ --- all_subdir_geom --- --- geom_part_bsd.ko.full --- --- all_subdir_if_enc --- /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; ^ /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; ^ /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; ^ /usr/src/sys/net/if_enc.c:226:9: error: incomplete definition of type 'struct ipsec_ctx_data' --- all_subdir_geom --- /usr/local/aarch64-freebsd/bin/ld -Bshareable -d -warn-common -o geom_part_bsd.ko.full g_part_bsd.o geom_bsd_enc.o --- geom_part_bsd.ko.debug --- /usr/local/aarch64-freebsd/bin/objcopy --only-keep-debug geom_part_bsd.ko.full geom_part_bsd.ko.debug --- geom_part_bsd.ko --- /usr/local/aarch64-freebsd/bin/objcopy --strip-debug --add-gnu-debuglink=geom_part_bsd.ko.debug geom_part_bsd.ko.full geom_part_bsd.ko --- all_subdir_geom_part_bsd64 --- ===> geom/geom_part/geom_part_bsd64 (all) --- all_subdir_if_enc --- 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_i2c --- ctfconvert -L VERSION -g iicsmb.o A failure has been detected in another branch of the parallel make make[5]: stopped in /usr/src/sys/modules/i2c/iicsmb *** [all_subdir_iicsmb] Error code 2 make[4]: stopped in /usr/src/sys/modules/i2c 1 error make[4]: stopped in /usr/src/sys/modules/i2c *** [all_subdir_i2c] Error code 2 make[3]: stopped in /usr/src/sys/modules --- all_subdir_geom --- A failure has been detected in another branch of the parallel make make[6]: stopped in /usr/src/sys/modules/geom/geom_part/geom_part_bsd64 *** [all_subdir_geom_part_bsd64] Error code 2 make[5]: stopped in /usr/src/sys/modules/geom/geom_part 1 error make[5]: stopped in /usr/src/sys/modules/geom/geom_part *** [all_subdir_geom_part] Error code 2 make[4]: stopped in /usr/src/sys/modules/geom 1 error make[4]: stopped in /usr/src/sys/modules/geom *** [all_subdir_geom] 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 4 errors make[3]: stopped in /usr/src/sys/modules *** [modules-all] Error code 2 make[2]: stopped in /usr/obj/arm64.aarch64/usr/src/sys/GENERIC 1 error make[2]: stopped in /usr/obj/arm64.aarch64/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_arm64] $ /bin/sh -xe /tmp/hudson4778393600105146223.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any