FreeBSD_HEAD_i386 - Build #3390 - Failure

From: <jenkins-admin_at_FreeBSD.org>
Date: Tue, 14 Jun 2016 17:16:13 +0000 (GMT)
FreeBSD_HEAD_i386 - Build #3390 - Failure:

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

Change summaries:

301891 by bdrewery:
DIRDEPS_BUILD: Update dependencies

Approved by:	re (gjb)
Sponsored by:	EMC / Isilon Storage Division

301890 by andrew:
Move the arm call to intr_pic_init_secondary earlier in the secondary CPU
initialisation. This ensures it will complete before signalling to the boot
CPU it has booted. This fixes a race with the GIC where the arm_gic_map may
not be populated before it is used to bind interrupts leading to some
interrupts becoming bound to no CPUs.

Approved by:	re (kib)
Sponsored by:	ABT Systems Ltd

301889 by bdrewery:
WITH_META_MODE: Enable printing of some of make's environment on error.

This will print a set of variables from make on error using
MAKE_PRINT_VAR_ON_ERROR.  It is already enabled for the DIRDEPS_BUILD.
It may make sense to enable this in the non-meta mode as well once
people are more used to its more verbose error output.

This makes it much simpler to see which .meta file is used when a
command files so that it may be inspected for the build command.

Suggested by:	sjg
Approved by:	re (implicit)
Sponsored by:	EMC / Isilon Storage Division

301888 by bdrewery:
WITH_META_MODE: Lessen the filemon(4) requirement scope.

- Move the sys.mk filemon requirement to bsd.init.mk as a warning.
  This is intended only to show when building directly in a subdirectory
  without filemon loaded.
- Move the error into Makefile and only apply it when building
  from the META_TGT_WHITELIST target list.

-DNO_FILEMON can be used to suppress both the warning and the error but
makes WITH_META_MODE less useful.  It will only compare build commands
in this mode rather than track all dependencies.

This fixes installing from a jail which doesn't need filemon in this
phase [1].

Reported by:	Nikolai Lifanov <lifanov_at_mail.lifanov.com> [1]
Approved by:	re (implicit)
Sponsored by:	EMC / Isilon Storage Division

301887 by bdrewery:
WITH_META_MODE: Whitelist targets that are meta-mode-safe.

META_TGT_WHITELIST is added to define which build targets are safe for
meta mode.  See comments for more details.

This fixes 'make delete-old-libs' to properly show the interactive
prompt.

Approved by:	re (implicit)
Sponsored by:	EMC / Isilon Storage Division

301886 by bdrewery:
WITH_META_MODE: Set MK_META_MODE=no with -B.

Using -B already sets .MAKE.MODE=compat but it was leaving
MK_META_MODE set which could still cause other MK_META_MODE==yes
checks to trigger.

Approved by:	re (implicit)
Sponsored by:	EMC / Isilon Storage Division

301885 by bdrewery:
Add more missing .PHONY

Approved by:	re (implicit)
Sponsored by:	EMC / Isilon Storage Division

301884 by bdrewery:
WITH_META_MODE: Fix rebuilding maketab outside of build-tools.

The bsd.dep.mk yacc targets rely on only the .c file getting a .meta
file.  However the previous code here relying on only the .h file meant
that it would be generated with a .meta file.  r301285 made it so that
the .h file is never expected to get a .meta file.  To keep this
restriction in place add in an extra dependency on the .c file so that
it is generated at this time.  It's a hack but the best for the patterns
we have at the moment for handling build-tools and side-effect-generated
files.

Reported by:	Mark Millard
Approved by:	re (implicit)
Sponsored by:	EMC / Isilon Storage Division

301883 by bdrewery:
Define targets in same order as .ORDER

This is a NOP but is done for style and to reduce confusion.

Approved by:	re (implicit)
Sponsored by:	EMC / Isilon Storage Division

301882 by bdrewery:
WITH_META_MODE: Fix rescue rebuilding build-tools.

This is the same issue as r297997.

Approved by:	re (implicit)
Sponsored by:	EMC / Isilon Storage Division

301881 by bdrewery:
WITH_META_MODE: Fix bin/csh rebuilding tc.const.h

This is the same issue as r297997, but was missed in it.

The WARNS value changes between 'build-tools' (MK_WARNS=no) and
'everything' resulting in a rebuild of this file.

Approved by:	re (implicit)
Sponsored by:	EMC / Isilon Storage Division

301880 by bdrewery:
WITH_META_MODE+WITH_DEBUG_FILES: Fix library symlinks causing bogus rebuilds.

A simplified example of the library targets with WITH_DEBUG_FILES is:

  libgeom.so.5: libgeom.so.5.full
     cp libgeom.so.5.full libgeom.so.5

  libgeom.so.5.full:
     ln -s libgeom.so.5 libgeom.so
     cc -o libgeom.so.5.full *.o

Before, or without, WITH_DEBUG_FILES it is:

  libgeom.so.5:
     ln -s libgeom.so.5 libgeom.so
     cc -o libgeom.so.5 *.o

The problem is that bmake considers the link source for the libgeom.so
link in the libgeom.so.5.full target as being a dependency for
libgeom.so.5.full.  That resolves to libgeom.so.5.  Thus a cyclic
dependency is created.  The result of this is that if libgeom.so.5 is
created with a newer timestamp than libgeom.so.5.full, then
libgeom.so.5.full will be rebuilt on the next build.  This causes a
chain reaction of everything in the build relinking, or hitting the
problem itself.

Moving the link creation to the target that actually creates
libgeom.so.5 fixes the problem.  The simplest fix here is to just
duplicate the logic.

Submitted by:	sjg
Approved by:	re (implicit)



The end of the build log:

Started by an SCM change
Building remotely on kyua4.nyi.freebsd.org (jailer) in workspace /jenkins/workspace/FreeBSD_HEAD_i386
Updating svn://svnmir.freebsd.org/base/head at revision '2016-06-14T17:14:35.668 +0000'
U         gnu/usr.bin/groff/src/libs/libbib/Makefile.depend
U         kerberos5/tools/asn1_compile/Makefile.depend
U         kerberos5/Makefile.inc
U         lib/libclang_rt/asan_cxx/Makefile.depend
U         lib/libclang_rt/profile/Makefile.depend
U         lib/libclang_rt/safestack/Makefile.depend
U         lib/libpam/static_libpam/Makefile.depend
U         libexec/fingerd/Makefile.depend
U         libexec/ftpd/Makefile.depend
U         libexec/rlogind/Makefile.depend
U         libexec/rshd/Makefile.depend
U         secure/usr.sbin/sshd/Makefile.depend
U         sys/arm/arm/mp_machdep.c
U         share/mk/local.sys.mk
U         share/mk/bsd.init.mk
U         share/mk/sys.mk
U         share/mk/bsd.crunchgen.mk
U         share/mk/bsd.lib.mk
U         tools/build/options/WITH_META_MODE
U         Makefile
U         usr.bin/awk/Makefile
U         bin/csh/Makefile
At revision 301891

No emails were triggered.
[FreeBSD_HEAD_i386] $ /bin/sh -xe /tmp/hudson7897130681456832487.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
+ true
+ sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 -alias
+ true
+ sudo umount FreeBSD_HEAD_i386/usr/src
+ true
+ sudo umount FreeBSD_HEAD_i386/dev
+ true
+ sudo rm -fr FreeBSD_HEAD_i386
+ sudo chflags -R noschg FreeBSD_HEAD_i386
+ true
+ sudo rm -fr FreeBSD_HEAD_i386
[FreeBSD_HEAD_i386] $ /bin/sh -xe /tmp/hudson7029760778487003943.sh
+ export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin'
+ export 'jname=FreeBSD_HEAD_i386'
+ echo env:
env:
+ /usr/bin/env
BUILD_NUMBER=3390
HUDSON_SERVER_COOKIE=0657dbe3541f1b1a
JOB_NAME=FreeBSD_HEAD_i386
LOGNAME=jenkins
JAVA_HOME=/usr/local/openjdk8
SVN_URL=svn://svnmir.freebsd.org/base/head
BUILDER_JAIL_IP=2610:1c1:1:607c::104:1
jname=FreeBSD_HEAD_i386
JENKINS_URL=https://jenkins.FreeBSD.org/
JENKINS_HOME=/usr/local/jenkins
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
JOB_BASE_NAME=FreeBSD_HEAD_i386
HUDSON_HOME=/usr/local/jenkins
OLDPWD=/
BUILD_ID=3390
BUILDER_NETIF=igb0
JENKINS_SERVER_COOKIE=0657dbe3541f1b1a
PWD=/jenkins/workspace/FreeBSD_HEAD_i386
BUILD_TAG=jenkins-FreeBSD_HEAD_i386-3390
NODE_LABELS=jailer kyua4.nyi.freebsd.org
BUILD_DISPLAY_NAME=#3390
HOME=/jenkins
USER=jenkins
BUILD_URL=https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/3390/
SVN_URL_1=svn://svnmir.freebsd.org/base/head
SVN_REVISION=301891
SVN_REVISION_1=301891
BUILDER_JAIL_IP6=2610:1c1:1:607c::104:1
JOB_URL=https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/
SHELL=/bin/sh
HUDSON_URL=https://jenkins.FreeBSD.org/
HUDSON_COOKIE=4133218a-da5a-4bea-b894-485ee4027f18
BUILDER_RESOLV_CONF=nameserver 2610:1c1:1:6002::100\nnameserver 2610:1c1:1:6002::200\n
WORKSPACE=/jenkins/workspace/FreeBSD_HEAD_i386
NODE_NAME=kyua4.nyi.freebsd.org
EXECUTOR_NUMBER=0
+ echo 'setup jail FreeBSD_HEAD_i386'
setup jail FreeBSD_HEAD_i386
+ fetch -m http://ftp.freebsd.org/pub/FreeBSD/releases/i386/i386/10.2-RELEASE/base.txz
+ mkdir FreeBSD_HEAD_i386
+ cd FreeBSD_HEAD_i386
+ sudo tar Jxf ../base.txz
+ cd -
+ sudo mount -t devfs devfs FreeBSD_HEAD_i386/dev
+ sudo devfs -m FreeBSD_HEAD_i386/dev rule -s 4 applyset
+ sudo mount -t nullfs src FreeBSD_HEAD_i386/usr/src
+ printf 'nameserver 2610:1c1:1:6002::100\nnameserver 2610:1c1:1:6002::200\n'
+ sudo tee FreeBSD_HEAD_i386/etc/resolv.conf
nameserver 2610:1c1:1:6002::100
nameserver 2610:1c1:1:6002::200
+ sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 alias
+ sudo jail -c persist 'name=FreeBSD_HEAD_i386' 'path=FreeBSD_HEAD_i386' 'host.hostname=FreeBSD_HEAD_i386.jail.ci.FreeBSD.org' 'ip6.addr=2610:1c1:1:607c::104:1' 'ip4=disable' allow.chflags
+ echo 'setup build environment'
setup build environment
+ echo 'build environment:'
build environment:
+ sudo jexec FreeBSD_HEAD_i386 sh -c 'uname -a'
FreeBSD FreeBSD_HEAD_i386.jail.ci.FreeBSD.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r300094: Tue May 17 22:59:06 UTC 2016     peter_at_build-11.freebsd.org:/usr/obj/usr/src/sys/CLUSTER11  i386
+ sudo pkg -j FreeBSD_HEAD_i386 info -q
pkg: Warning: Major OS version upgrade detected.  Running "pkg-static install -f pkg" recommended
[FreeBSD_HEAD_i386] $ /bin/sh -xe /tmp/hudson619887137118728011.sh
+ export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin'
+ export 'jname=FreeBSD_HEAD_i386'
+ echo 'start build in FreeBSD_HEAD_i386'
start build in FreeBSD_HEAD_i386
+ sudo jexec FreeBSD_HEAD_i386 sh -c 'cd /usr/src && make -DNO_CLEAN -j 4 buildworld'
make: "/usr/src/Makefile" line 222: Malformed conditional (${MK_META_MODE} == "yes")
make: Fatal errors encountered -- cannot continue
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/hudson3064242603223483133.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::104:1 -alias
+ sudo umount FreeBSD_HEAD_i386/usr/src
+ sudo umount FreeBSD_HEAD_i386/dev
+ sudo rm -fr FreeBSD_HEAD_i386
+ 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
Received on Tue Jun 14 2016 - 15:16:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC