From nobody Wed May 08 08:20:57 2024 X-Original-To: freebsd-ports@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 4VZ7QR4g9Nz5Kbxn for ; Wed, 08 May 2024 08:21:19 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn20800.outbound.protection.outlook.com [IPv6:2a01:111:f403:280c::800]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VZ7QQ2dFSz4st5 for ; Wed, 8 May 2024 08:21:18 +0000 (UTC) (envelope-from tatsuki_makino@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=GboHNi4S; dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of tatsuki_makino@hotmail.com designates 2a01:111:f403:280c::800 as permitted sender) smtp.mailfrom=tatsuki_makino@hotmail.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f3b3lzbRjdNjXuyLAxiuArCKvpiep/azI/cw9rUSXBbMneF0mf264u2zr9AuZuMinf/IokIzShwFyqouPaRUg09EO7w98hpmpCCUj3a3y/QFH5xFx8RcgVJzSkYiiUM2V/YGULvjbL1MH+rV7rCJU0CtAiE29fVEt6fRUDvHYjAFI4EbyaN7E/IvI9rss373JIhSEtbudoehUvdXovxCG+PLmCfAWC36I1FR2OSSmmV0vrk/KL2WrORq65fqrWbqNamm/b3hmo88us5SS/SqHg5+fHKneLB87cKLww6XPPosko+At4GplWX0T/bHF8BjyyXmiWuPkmbBnQOTgctwbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gRexuhvoMc3Zf0jK1Ev0/CTLJN66wU9rBT5IwpcXEpo=; b=BfcaO9aK5yLkUnlzQWPeFHShWHWj1Zgz3Tq2AQn3VdNToomaMnDYL6Qp07QIZFR/yMMElz9BUFyRbSgpDXlY9gvoDddcF7ieSAX8oWipZG/h8otIixR5TaSSOkGD3K/CVwTSW2QeBpmQp6MYgjnLoRp2NYsE25uvAv0mDrwFqySyYzqeJpJqgh5q9n7Cr0OZVTJJWEistPmHngllAm7Z2NI1uHysvZxE+5mhLKD3W2Vo/mYOh7DhfLyM40pGnXvvUCpeC/QU6MLA+Ye9qgsdSyFdTmC/9FjgyKr2gkBV/CTyvmQk/bDNp17h4Vy5W3dTdDADAe5gRFdSGlW2Ll9BPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gRexuhvoMc3Zf0jK1Ev0/CTLJN66wU9rBT5IwpcXEpo=; b=GboHNi4SvlVd7J9nBk0bFGp93rm1hcRUWrNRVQek0I8NqxXrmeDXpq6eFX1bWa4j8j3P6DWVWMkBACA7dod+QWibWmFJZnsTYDXYL0xjqX24YLxJArF2dI7+cd3nHV12d96KKBJeCVfXHDKEQ9Rntumj+jjdJWK8JPi4Kee3Excs9ivDaQ50N6bzwMqaGv1cXKy54N7PkELiD+uRAec+4WIkTJzMoPx4DyKpqsD9fdntoOP0/tP9crYfSyGs4OLbOR7HBt7NW7KjtbX/15PNDMQzp6GQe+A8D6gyh5VC0msRH9xy/LdraiO9PmCZKOVS2JtBE4V9aaKmMZsi6uNPhg== Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com (2603:1096:4:1f8::9) by TYUPR01MB5281.apcprd01.prod.exchangelabs.com (2603:1096:400:347::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.42; Wed, 8 May 2024 08:21:08 +0000 Received: from SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::1537:ef5d:9dab:474e]) by SI2PR01MB5036.apcprd01.prod.exchangelabs.com ([fe80::1537:ef5d:9dab:474e%5]) with mapi id 15.20.7544.041; Wed, 8 May 2024 08:21:08 +0000 Subject: Re: I've started collecting tmpfs usage figures from a poudriere-devel bulk -a for later publishing some of the top ones (handy for TMPFS_BLACKLIST judgments) To: Mark Millard , FreeBSD Mailing List References: <97E1D1BA-CBA1-42C6-8202-B6D654941C28@yahoo.com> <3BF173B4-E6A8-42B7-9A64-0E87E81B8597@yahoo.com> <313298B4-803A-44A9-B0B6-6C5FF4644888@yahoo.com> From: Tatsuki Makino Message-ID: Date: Wed, 8 May 2024 17:20:57 +0900 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4 In-Reply-To: <313298B4-803A-44A9-B0B6-6C5FF4644888@yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TMN: [XlWegXETGby9MSv/toNqnRSSXIitNEhB] X-ClientProxiedBy: TYCP286CA0006.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:26c::14) To SI2PR01MB5036.apcprd01.prod.exchangelabs.com (2603:1096:4:1f8::9) X-Microsoft-Original-Message-ID: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SI2PR01MB5036:EE_|TYUPR01MB5281:EE_ X-MS-Office365-Filtering-Correlation-Id: 4b99a73f-6a2f-47f0-fef5-08dc6f37cf58 X-Microsoft-Antispam: BCL:0;ARA:14566002|461199019|3412199016|440099019|1710799017; X-Microsoft-Antispam-Message-Info: mVboAD3qdeRoJO1+cf2exPZa4Fps+MpEA1QJF7kiUfuACXnvXfX2TgRjGLCDwzcrC1L+q2hhJ4R5QTA9XiiJdtjFR84jMb/axIG0JuhPclHvY3SUdWp0+E+vqtcK+tSwqvztwlFqMCqFyNWXYkwcyTTJiHyiU+LTPeBL9oNMl3raefjCmFa4OE9P5sezBet26yXb2UShSFWpxGpV8q3BNtPCCv8YjICpH+I8A8zPZV0Z5IwcnjcKliti9MJ1oyiXDISkzW/ihBf+BtstneUofGGdu6OqzHiPKZRivt0JSYigpZRd5lyPLXNOPCBE8F1n1Gwzvn8/X77DrJ2UsUtkYILJll0zUVpgUKaM2qYIMKJNz6aNpEQryj8Jo/pInEz/AXpYthmB0J7P/Ft10w1UhFWacZsP5rIeE0637hPzl0R1GCVjnNqohk0QoW5tqMCFSLWobMWK77VgXGS9LzTYeX9/bGnvDJ/YvXHXQPknx1wbzM7qgOV/0VwIGkWKsldMJgWYJHGD8eDs0Dl5n3WRIzbEr77zv8bOFLVQgCfnuDaHe9b5qUj0Q3UYNRqn+Nd0tPNbFes4oFoCMtrqFYf9LoGwdeMEZFBizOCsAGfnxzLIVj0VbkfYHdbRNpJfMEPN X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SitzVFdjRmhHdGFzYnZURkgzeHZxcURPQXUzNUZLVkxua21lVVlTejRxV3N1?= =?utf-8?B?REZscDl3UktGaHdNaHRTRlpQcFBYd1h2YXFzVE1wNTV6SzJOMHJKRTM1OU1l?= =?utf-8?B?L0xhaTV5M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= =?utf-8?B?YzlVVFJyZ1lmRDhJc2ZmbVR1WTI0VVVBTHB2SHdGaXN4MFhXa1Rmd0Z0aGEx?= =?utf-8?B?RStBMndnR1R4ZXdGTTVkeTJJSCs3aXZqWmxWNGxrZVE0RjZDblFiQkVGdURD?= =?utf-8?B?OVY1SHg4aHRCK1N4Mld0WWc1T1ZSTVlZUlphb3FERGZFd1hac1MrTkU3T0Uv?= =?utf-8?B?ZmhOaE56Y2RqNXhONXdGZ2JvYjdtVlJyNEZOeEJOOHdZcHZGQlBoQjFKMFlr?= =?utf-8?B?MWludXk0VTlrTUtRRStxMUFFeERZcXl1TjlrNUNRSDNrTlZFTTFVVlhCb2tM?= =?utf-8?B?L1FuUnNXZ0dqNUJyTFl6SFpRbVcwaUFEMDliemV1WFh5VmlLYTJxaDhjMjNX?= =?utf-8?B?UnRmc0grQ3ZlaHFkaVVIU3RtSVA3d3lFQUw4NXkxOWJZdHNWZ2JlQllDUUZG?= =?utf-8?B?K2IzdG5yVHBMK1hTSzd4Z1R3UDFNNTV6YyttUWEydnpwUG1HbklvTDBzUjYz?= =?utf-8?B?eGR0STRIcG1FcTVpVUhrejlIamxQSDgyTEZlTVR0bDZrRVUxQlFzaHVwQ25i?= =?utf-8?B?T05yWm93cGROemVvTWVsc0p4ZmNVRmVxRytLSXJPRDFqb01Sb1BvUTBzQmc5?= =?utf-8?B?d2ZTbGkxYnppRy8xUW9qdStyYnhEd21EUHpUdUxUSHRVcVVTRFE5UHR0RENZ?= =?utf-8?Q?g12mRllJW85zZKfFni1u?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-d8e84.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 4b99a73f-6a2f-47f0-fef5-08dc6f37cf58 X-MS-Exchange-CrossTenant-AuthSource: SI2PR01MB5036.apcprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2024 08:21:07.5835 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYUPR01MB5281 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.88 / 15.00]; FORGED_MUA_SEAMONKEY_MSGID_UNKNOWN(2.50)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.38)[-0.382]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f403::/49]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; FREEMAIL_FROM(0.00)[hotmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; FREEMAIL_TO(0.00)[yahoo.com,freebsd.org]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+] X-Rspamd-Queue-Id: 4VZ7QQ2dFSz4st5 Hello. Mark Millard wrote on 2024/05/05 18:15: > [Part of my hack's notation does not generalize well across > various USE_TMPFS= alternatives.] > >>>>> "<" below is what is new, ">" is what was original, in >>>>> /usr/local/share/poudriere/common.sh : >>>>> >>>>> 5928,5934d5927 >>>>> < tmpfs_at_end="$(env BLOCKSIZE=512 df -t tmpfs \ >>>>> < ${MASTERMNTROOT}/${MY_JOBID}/ \ >>>>> < ${MASTERMNTROOT}/${MY_JOBID}/.p/ \ >>>>> < ${MASTERMNTROOT}/${MY_JOBID}/usr/local/ \ >>>>> < 2>/dev/null | tail -3 \ >>>>> < | awk '{ tmpfs_use += $3; } END { printf "%s %.2f %s", "TMPFS:", tmpfs_use*512/(1024**3), "GiB" }')" > > Turns out that the above assignment fails for the likes > of USE_TMPFS=data instead of USE_TMPFS=all . The builder > stops at that line and never executes the next line (such > as when a job_msg line had been added). I think you will get "em" if $- is output just before the line there. For example, “msg $-”. If so, it will appear in the package's individual log. I don't know where it is set, but errexit of sh is set. And, if a path is specified when df is executed, it returns 1 if there is no mount point corresponding to that path. It is thought that a combination of these factors is causing the running to cease there. So it seems necessary to make sure that it always ends as 0, use if, use ||:, etc. Regards.