From nobody Thu May 23 18:00:02 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VlbYH1bLXz5L0BB; Thu, 23 May 2024 18:00:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VlbYH15vgz4sfK; Thu, 23 May 2024 18:00:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716487203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NViUAakX0jRhdEv4/qZEDLpbkPupuz7Ic8V/TP8gf7s=; b=p0Ah5mamYx+DMObnQPbujEpsNpr2cCZilMEJ10ze2Nce/+KMOswF9jQCcrEgonBB7RYrD8 ReFUKpUQu1TAkQhC11VkVNitiv6imisz6xp3iSeFJqt4joOaEjjWZhuM5hJq6sfSjre2KY gl0znP8AM4/Wwyv0mcotoH1rZoNvbnCvRB5mdy5b84sRfuVgxIU5ZQlku1NScu9KC4GqTR wpSlQeHCwl8bHEG4E5KznEG9VLcRLZPcbL6/ZlJzIi5CZyE92v7LsgtE5LsVw3TCUibKoY Zksw57iGdRhZ1jHsOXbwMxv9AaqbaruoQPRuaio+RPCcdTh2SLDVjXeg6/9zOA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716487203; a=rsa-sha256; cv=none; b=pIzA5K/4qEVU+IxM6QHLNwuAi4fO+Zw+FWKCiBprldmIg9N69uh+WqR0q1cFYmvKh3nFS7 0UYKlKYKkkY5RUsNz5KiRo3rAte+1M/vemwrr4bvOe7rGaW+PyQeSwGm/Sm6cd01aCXMOz I9SSpb5vEZMdOax1wgU5DS3zGPBkzjUkMIiRea50sgGLKlaBW6aKxbSrdbmNLaPLNyVRDV /Fg56t7I4AbFOysoLlZQqPQDhKwh5iP19GYVp1iR1ZdRtZPpjOuLIcPoJJ8Nyhfvt11fry N23vRms3iuUKSTumGjbamYD4C6ViN47IpVbMao+g3IK8VlZPHwsSC8AzzD5Paw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716487203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NViUAakX0jRhdEv4/qZEDLpbkPupuz7Ic8V/TP8gf7s=; b=iphtHpmye4J9pdv3ZKsm9CeKOH5ow3kNj9XfcCKIXwZ4KnLItZKZ7/wkYO8O5iHVKlAraK lAZlnF6mOeMkk59coEPLzgpiqcE3lY7Dq23/4/aDpURU3pgu2pcVPBimEo5T5nLpvdZklJ xRXEGj0ymkA8LT/A9XmHMBnHyAxxuqH77g+svABAi930q/8g//w5mvXxbDGBCsSuB7jkLw QI3tOPMFPeYwNYQeABOWVvox3C3rpYTMYyZuTi3xOST4bdU0Mv/SSsiazHt5Wh7gNICcRu 6ITMoGHpVMsrWRxorwf/TzgKKtun2aTmOCTt+a7QLni2OhEABDAjqT0aqPDt7w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VlbYH0htlz10Br; Thu, 23 May 2024 18:00:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44NI02hX002208; Thu, 23 May 2024 18:00:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44NI02TZ002201; Thu, 23 May 2024 18:00:02 GMT (envelope-from git) Date: Thu, 23 May 2024 18:00:02 GMT Message-Id: <202405231800.44NI02TZ002201@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: a5f03413aade - main - ci: Redirect output for builds. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a5f03413aade8f69cf954162151da043d34dd1f5 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a5f03413aade8f69cf954162151da043d34dd1f5 commit a5f03413aade8f69cf954162151da043d34dd1f5 Author: Warner Losh AuthorDate: 2024-05-23 17:37:01 +0000 Commit: Warner Losh CommitDate: 2024-05-23 17:59:40 +0000 ci: Redirect output for builds. This target is far too noisy to be at all useful. Save the output ala make universe in _. files. Also report where to find errors. Sponsored by: Netflix --- tests/ci/Makefile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/tests/ci/Makefile b/tests/ci/Makefile index 8892b0860260..fed66e5cc317 100644 --- a/tests/ci/Makefile +++ b/tests/ci/Makefile @@ -147,19 +147,31 @@ beforeclean: .PHONY clean: beforeclean .PHONY ci-buildworld: .PHONY - ${IMAKE} -j${PARALLEL_JOBS} -C ${WORLDDIR} ${METAMODE} ${CROSS_TOOLCHAIN_PARAM} __MAKE_CONF=${MAKECONF} SRCCONF=${SRCCONF} buildworld + @echo "Building world for ${TARGET_ARCH}" + ${IMAKE} -j${PARALLEL_JOBS} -C ${WORLDDIR} ${METAMODE} \ + ${CROSS_TOOLCHAIN_PARAM} __MAKE_CONF=${MAKECONF} SRCCONF=${SRCCONF} \ + buildworld > ${.CURDIR}/_.${TARGET_ARCH}.${.TARGET} 2>&1 || \ + (echo "${.TARGET} failed, check _.${TARGET_ARCH}.${.TARGET} for details" ; false) + ci-buildkernel: ci-buildworld-${TARGET_ARCH:tl} .PHONY - ${IMAKE} -j${PARALLEL_JOBS} -C ${WORLDDIR} ${METAMODE} ${CROSS_TOOLCHAIN_PARAM} __MAKE_CONF=${MAKECONF} SRCCONF=${SRCCONF} buildkernel + @echo "Building kenrel for ${TARGET_ARCH"}" + ${IMAKE} -j${PARALLEL_JOBS} -C ${WORLDDIR} ${METAMODE} \ + ${CROSS_TOOLCHAIN_PARAM} __MAKE_CONF=${MAKECONF} \ + SRCCONF=${SRCCONF} buildkernel > ${.CURDIR}/_.${TARGET_ARCH}.${.TARGET} 2>&1 || \ + (echo "${.TARGET} failed, check _.${TARGET_ARCH}.${.TARGET} for details" ; false) ci-buildimage: ${QEMUTGT} ci-buildkernel-${TARGET_ARCH:tl} .PHONY + @echo "Building ci image for ${TARGET_ARCH"}" mkdir -p ${.OBJDIR}/${.TARGET} env TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} SWAPSIZE=${SWAPSIZE} \ QEMUSTATIC=${QEMUSTATIC} CITYPE=${CITYPE} \ ${RELEASEDIR}/scripts/mk-vmimage.sh \ -C ${RELEASEDIR}/tools/vmimage.subr -d ${.OBJDIR}/${.TARGET} -F ${VMFS} \ -i ${.OBJDIR}/ci.img -s ${VMSIZE} -f ${FORMAT} \ - -S ${WORLDDIR} -o ${.OBJDIR}/${CIIMAGE} -c ${CICONF} + -S ${WORLDDIR} -o ${.OBJDIR}/${CIIMAGE} -c ${CICONF} \ + > ${.CURDIR}/_.${TARGET_ARCH}.${.TARGET} 2>&1 || \ + (echo "${.TARGET} failed, check _.${TARGET_ARCH}.${.TARGET} for details" ; false) touch ${.TARGET} ci-setsmokevar: .PHONY