From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iOolIePVI2WB3QAA9RJhRA:P1 (envelope-from ) for ; Mon, 09 Oct 2023 12:28:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iOolIePVI2WB3QAA9RJhRA (envelope-from ) for ; Mon, 09 Oct 2023 12:28:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4DF0A55113 for ; Mon, 9 Oct 2023 12:28:51 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yahoo.com header.s=s2048 header.b=SOv3wPul; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696847331; h=from:from:sender:sender: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: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=07xcBK8KkjNSeSDMGa4PCUSkTevDyydlYgzvaj7b0jY=; b=Rp1OTn/DrmxQDLxwNX+0hJYz/ffOMH3+6gJ/iC992RM+GMFGg8tcf0BHg1JOX9zynRRU69 iDMlT1PSsSJqdj6NG+YzbEreztyw+wS6gafQbFFfsQzVIQclx6smuGrFQDnrX4rMt/T8Bo AWnkrjfUuj5nq5z8kZw5aZpBzOvnz2fxuRZPzY/v3atGQjIVCeX1KMvaBJNBWMuk+/XMqS 2dVkuk7XDk2F/E1USr0dxp73IWr/uom7hlMycdU1QZoYtodgCaXPQdDxGqV7LRsn6E9WDN v02E2+PEbso3TNR/QY1FIj00214IEy8YOoovsGGxfXq49yQP5tWBJzBJotCG8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yahoo.com header.s=s2048 header.b=SOv3wPul; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696847331; a=rsa-sha256; cv=none; b=teSZNIJ/qHDceLxcI9eIYjkf1LoWCDR+xhXR5tSjFZu4BlHyRDsGGby+OpjbrnmGWgSSJZ R0xVPcA07yx5u/UrHgOOzHAWA0YtEc/7X8MD3m7v185TYSRggivhNCJ6B+C0az8O/IlpXW DmK040yqQtEh7IJRnQ1P0AWMBJoLsR2hwLK8tQc2+Z5VNqT9Dd/Ad0YUjFf+JOoGeBCTlg YX6v3RHubG0SjqlyELRfPWlspIBLVy9pK5aCcLle9AqX/f4o9heQTSMYslkTCX3ic2m/Uz ltVrqHkok/MHRRXSYQgsofePqoiu5+ubK38cDG+ieq5GVP2WjEpPO1cHhGbADQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpnUW-0003qu-8K; Mon, 09 Oct 2023 06:28:00 -0400 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 1qper0-0004hU-By for help-guix@gnu.org; Sun, 08 Oct 2023 21:14:39 -0400 Received: from sonic307-22.consmr.mail.sg3.yahoo.com ([106.10.241.39]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qpeqx-0000Xn-U7 for help-guix@gnu.org; Sun, 08 Oct 2023 21:14:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1696814070; bh=07xcBK8KkjNSeSDMGa4PCUSkTevDyydlYgzvaj7b0jY=; h=Subject:From:To:Date:References:From:Subject:Reply-To; b=SOv3wPulBMJKvwwf0P/vruU9oP6V0Bvbt4bPmYAM/sYuT4PLA1GFR9kUxY4CX/zlQxm+ZxWiGJ7gscXL959z4C0YblvkuSu2o8Ub11BJBfaIz7U0Su08mKL67AKB/YJCye9BmWuVPD9yalqbBh0sc7qvCUzhw0wnqAc5PEF8xj7Rg7GETmfDTas5TXDLY5g4Og39XAp9jGQwJTXVLXUJtW0gpfsOwDNr4S7b7DoMTjPHo94e4V4gvotmF2NToNFj7P4Vvu2abirJQu1YaoREq4REzmJM4GahHjV21ZecGo2IhUghBY2J4ATcAGBmG/SNxj14Xm3v7N5eTT/2jNxsfA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1696814070; bh=sO53NTZQrRpLVHvGuKbF1axsfccfW6ewwCLftiL8e6t=; h=X-Sonic-MF:Subject:From:To:Date:From:Subject; b=sAo7hYvH6vThyLWY0gzgqyAqOatsTXR9GSKg3e79LPFilA5cnVL0cGGwt0CjHHwmGUnRcH3ZFEmaDbaagg3bgqDEfyP6mQ40dPCSiGPJijIKq8xr2kvBxD00Gs6fqEHSK6Oqfsm9rbWGg5qQxD5bMyrnZ0RSCTB+zRZjaLtnfvy0kluTYEAZP/eQnNi7LsDqUEc4zUP5FPpAMQC2WEqPvZUIgHa2Ah2Yy+qE8g6d5NQ2kapwC5CegpjEUx2ZTEmAhemCqVELmhpc7tKG4z57H1oeHuh2wU8NybgSJ6SFjzfmK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ba49G.INEXpYYoS rW6EOC4rYNDkqSWfA1RvCfR4Uio_2dhfqLdkx2DImOGdgVnpAg.uAczXfSkpZmjHqN9O1ZgReLf3 TDFWxAajPbJIIVd2jT8KxhFGxTH5jpraGT5TT3.LEM0IHiWMjMGJ94CiX67TsRrzPYCs_PeiyFgw 40bSQqrairy2kEOeiQA2pvtW0eQ-- X-Sonic-MF: X-Sonic-ID: 1f9aa366-6323-4060-b99e-373dbc8ff891 Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.sg3.yahoo.com with HTTP; Mon, 9 Oct 2023 01:14:30 +0000 Received: by hermes--production-sg3-64dc67fbb6-cd52p (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID fe95b9a83a4524172cfed629b3e62428; Mon, 09 Oct 2023 01:14:26 +0000 (UTC) Message-ID: Subject: Cuirass remote worker is stuck building with 1 core From: Parnikkapore To: help-guix@gnu.org Date: Mon, 09 Oct 2023 09:14:25 +0800 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 MIME-Version: 1.0 References: X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=106.10.241.39; envelope-from=poomklao@yahoo.com; helo=sonic307-22.consmr.mail.sg3.yahoo.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 09 Oct 2023 06:27:52 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.54 X-Spam-Score: -9.54 X-Migadu-Queue-Id: 4DF0A55113 X-Migadu-Scanner: mx2.migadu.com X-TUID: Zyeor348jJNV I noticed that the Cuirass remote worker in my channel-building VM only bui= lds things with 1 core, despite me having configured Guix to use multiple c= ores per build. # Reproduction instructions On a multi-core QEMU VM running Guix System with a Cuirass setup, run the f= ollowing command: ``` cuirass remote-worker -w 1 ``` This will result in the message "starting 1 workers (parallelism: 1 cores)"= . # Expected output The remote worker tries to build with the number of cores specified in guix= -daemon's --cores. That, or $(nproc). It should be noted that my bare-metal foreign distro install correctly sele= cts $(nproc)-core parallelism. However, I have created multiple QEMU VMs ru= nning Guix System, and they all reproduce this bug. # Appendix ## channels.scm ``` (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "577fd21122ca50ab7594be9adf0c5c06d5b26678") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) ``` ## repro script ``` cd "$(dirname "$0")" | exit guix time-machine -C ./channels.scm -- shell cuirass -- sh -c 'sudo $(which= cuirass) remote-server --no-publish -c /tmp/cuirass-cache & sudo $(which c= uirass) remote-worker -w 1' ```