From patchwork Thu Jan 11 12:55:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 761843 Delivered-To: patch@linaro.org Received: by 2002:a5d:6e02:0:b0:337:62d3:c6d5 with SMTP id h2csp2378140wrz; Thu, 11 Jan 2024 04:56:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFqyHLgVP9IQe/UWuH1DjKG+fwhRMRbnLaZ9buqlnyR/B4qnpGAhSoBRxYLzi9rEYYimIax X-Received: by 2002:a05:620a:89d:b0:783:3f99:ffc with SMTP id b29-20020a05620a089d00b007833f990ffcmr995857qka.26.1704977764896; Thu, 11 Jan 2024 04:56:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704977764; cv=none; d=google.com; s=arc-20160816; b=tnWY3gQnpY4SaqEMRKBabUwU/oh+aMCvR0o/qPsVj1Dfh5mIHypCIHljJWhfYcb1JZ fTiNfi75PunidKPFude7KjHXZWWGXhW54N8+xCpv8L9Kq5K/U3247gRdrEwqMgjnbetc S/wvZCdpQyE7/wIFOZNMf/Inzh5RpvH8sTH8Qs2cfjZQ5qz90HWdGXuVM/7Yl31jiYwo cImJ4MivbU46bkK6BbjIiVhUkC1+YKViJxvtKjxhC1h+jz7NE3iT/7DvJDnqr7wfB8ac lLLh+TyUEaxX28znmHY2W0uNLTv0bgPcES2Wv/lRoRqUf6ukHkhQJ980rF18dXkANGqx j/3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=aI2NM3sDgPdmZ0R/42EOO2Fag3IFKQi4/hyjlUe7qB0=; fh=Imwq7qqwHXzjrr6+EU4inIR48qKkS9Wf3jEiwYwr1dM=; b=yEaMIQwjXbynnXIb7R2GUBoy34M8tmMUc9rnWxHQOYAmFKPhmdXunsyki3apfCOTZe 7CkdrIKTQHpAuTh8zDfVuwu9xOCgPqL7PQPXzfcyCEU6pQeK+o64FEmIElgP28UxrMGS 9Tr2aMjDuQLqO96bdrcQi4vBFyZ3k0fnmApPlc91jgWZwNYovaMjfiEGa2lT9y+pqlEn YTwrvXPUuBxhgKpHGV0yg+zrj9EHq/FgtCn77NF4OsMAth96Y9i5n1x0AMk69XUC87lr 46Hr1lyfBd6+NVuJFnHOfnIGwTlCvCQbVLbRD0DHQgv4xBeQH9RGns+qdPS0qR0rHJUI pAuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FIiFQTKs; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k10-20020a05620a414a00b007834659bd7esi151477qko.84.2024.01.11.04.56.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Jan 2024 04:56:04 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FIiFQTKs; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNubC-0001Zn-VP; Thu, 11 Jan 2024 07:55:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNub7-0001Yb-BX for qemu-devel@nongnu.org; Thu, 11 Jan 2024 07:55:50 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNub5-0000Vz-9o for qemu-devel@nongnu.org; Thu, 11 Jan 2024 07:55:48 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40e6296636fso750315e9.2 for ; Thu, 11 Jan 2024 04:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704977745; x=1705582545; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=aI2NM3sDgPdmZ0R/42EOO2Fag3IFKQi4/hyjlUe7qB0=; b=FIiFQTKsyim9v9j1rm5fzWSxpM9+lQ7IdKwR2T661ZBeFNeJTloJGw60InCmGbAkRm qNJiJ6aFgkhLffgvGIfBLJhc8mPDKiqi3cwdZSvwrXhuIgwXpObM2UOyh1pk83CtG6BG cZsQCVn5Ro87vnqeR43JbBB9M4ODw+14N99FOEHKU4wVAEJdX1mN6xdvARoUxizNyWBS Xr+ss2UeaXaKm2N2HtyswbWwSaMTiLqtGFqko55/nSIIPzpz5qvoDivDDTsb6s+DO5Co XR/HKa9vkYvGEm+IXuS4hmqcMnEL8nwjmfqDNtFv+0JkMGuas9QJP5MqVwPNmWPCXi6c IkWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704977745; x=1705582545; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aI2NM3sDgPdmZ0R/42EOO2Fag3IFKQi4/hyjlUe7qB0=; b=fSiK+A/rqwTg0K6k8h2yeO6hY28Mm+D257OwIHoOzx4+T95DnrgrpZiPZ7zefiu7zS XMG3DXfpOOzdI1UBziSGvU06IhBQVVYtyUlpkZILRKcHipjG3O9vM40E6JUswvFhjH3q Aq0Pb2hCJLw6DAdSe99q8tW1AO4rg0dukIc1098s3cnRlVdgF4kNtDDjZpBndUfLpPBE bCynDZ1uOp9NCgUWzNchoI7539To0ZSxtwmw2N3bcOaig0+HH8elMsEnqg9tkYRnkn9e XFhFGOtjqqUpSn1JMFSQiJdqObAy74rUspZ/59c/zh3PfaP85rLu2QfBBIUUTr4NX9gc euyQ== X-Gm-Message-State: AOJu0YyDlEyOvSty/MdebrK2KQtAsPRoxKjMPcpHvO8Su3bsYHvtZIcE +SNZmpflf5zBqmDUOiX0fCzkkr7bxWuc5SRQkM4X728FCgs= X-Received: by 2002:a05:600c:2315:b0:40e:5cf9:8ec6 with SMTP id 21-20020a05600c231500b0040e5cf98ec6mr344460wmo.80.1704977745150; Thu, 11 Jan 2024 04:55:45 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id t5-20020a05600c450500b0040d6d755c90sm1845941wmo.42.2024.01.11.04.55.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 04:55:44 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH] .gitlab-ci.d/buildtest.yml: Work around htags bug when environment is large Date: Thu, 11 Jan 2024 12:55:43 +0000 Message-Id: <20240111125543.1573473-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Sometimes the CI "pages" job fails with a message like this from htags: $ htags -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU sourcecode" htags: Negative exec line limit = -371 This is due to a bug in hflags where if the environment is too large it falls over: https://lists.gnu.org/archive/html/bug-global/2024-01/msg00000.html This happens to us because GitLab CI puts the commit message of the commit under test into the CI_COMMIT_MESSAGE and/or CI_COMMIT_TAG_MESSAGE environment variables, so the job will fail if the commit happens to have a verbose commit message. Work around the htags bug by unsetting these variables while running htags. Cc: qemu-stable@nongnu.org Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2080 Reviewed-by: Philippe Mathieu-Daudé --- Cc'ing stable purely because it's probably useful to avoid flaky CI jobs when testing stable branches too. .gitlab-ci.d/buildtest.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 91663946de4..0a01746cea9 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -647,7 +647,10 @@ pages: - mkdir -p public # HTML-ised source tree - make gtags - - htags -anT --tree-view=filetree -m qemu_init + # We unset variables to work around a bug in some htags versions + # which causes it to fail when the environment is large + - CI_COMMIT_MESSAGE= CI_COMMIT_TAG_MESSAGE= htags + -anT --tree-view=filetree -m qemu_init -t "Welcome to the QEMU sourcecode" - mv HTML public/src # Project documentation