From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qL37ID96DmJZowAAgWs5BA (envelope-from ) for ; Thu, 17 Feb 2022 17:39:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2ICcGT96DmJidgEAG6o9tA (envelope-from ) for ; Thu, 17 Feb 2022 17:39:27 +0100 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 DAED2296DF for ; Thu, 17 Feb 2022 17:39:26 +0100 (CET) Received: from localhost ([::1]:33426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKjoU-000156-1c for larch@yhetil.org; Thu, 17 Feb 2022 11:39:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKjo5-0000yy-V9 for bug-guix@gnu.org; Thu, 17 Feb 2022 11:39:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKjo5-0004f6-L8 for bug-guix@gnu.org; Thu, 17 Feb 2022 11:39:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKjo5-0003QQ-Iu for bug-guix@gnu.org; Thu, 17 Feb 2022 11:39:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53194: System test partition.img differs in size across hosts(?) Resent-From: david larsson Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 17 Feb 2022 16:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53194 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Received: via spool by 53194-submit@debbugs.gnu.org id=B53194.164511588813102 (code B ref 53194); Thu, 17 Feb 2022 16:39:01 +0000 Received: (at 53194) by debbugs.gnu.org; 17 Feb 2022 16:38:08 +0000 Received: from localhost ([127.0.0.1]:52566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKjnE-0003PG-Ie for submit@debbugs.gnu.org; Thu, 17 Feb 2022 11:38:08 -0500 Received: from server0.selfhosted.xyz ([217.64.149.7]:42650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKjn9-0003Oh-KP for 53194@debbugs.gnu.org; Thu, 17 Feb 2022 11:38:07 -0500 Received: from server0.selfhosted.xyz (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id D13282979343; Thu, 17 Feb 2022 17:37:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1645115877; bh=udFobFq5w7aekjngnxRgieT4fm0Rk/Lja56iwHMM3Zo=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=DYeJWs1dlElRwk3RZsQUf+VODXHPgU/uqhBPH8ux7fCaMD6ClLMZegfXDl6yDLmrf JQ9+cIaRTCHSLcGut/a9GvU/5PHFnsknBsK9MzmjZdj+54zSyCLImcoIvLXnP2WjE0 GSmPSbFQpgzGwX5hj30D/tnJJ/kBsBrI4ixYs/A0uZNgLVknAo4gJpl7E8ctScQ+Yz g0YAHd+N1iSXiAOaCcTkaqqFTzUCh51J57ELZihSFmd4o1Ulk7FTtJwuxrJm5vK9QF NLceV+7RbbvRd1BOq1kZ1+psaoI8ZebKShBUBWUN9cfyjImFdIsU16MWNgv3uUP+q8 FubA1Q7oypFPw== X-Fuglu-Suspect: 475e8994f11245ddafd50f1dff136890 X-Fuglu-Spamstatus: NO Received: from mail.selfhosted.xyz (office.selfhosted.xyz [192.168.1.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA; Thu, 17 Feb 2022 17:37:49 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Thu, 17 Feb 2022 17:37:49 +0100 From: david larsson In-Reply-To: <874k6akqlx.fsf@nckx> References: <874k6akqlx.fsf@nckx> Message-ID: <686be3f2c1cf4f7251533c521fc7bfa4@selfhosted.xyz> X-Sender: david.larsson@selfhosted.xyz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 53194@debbugs.gnu.org, bug-Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645115967; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=udFobFq5w7aekjngnxRgieT4fm0Rk/Lja56iwHMM3Zo=; b=FWUCvKKuq+Q6lvzy76Y7qhlNuvud2iRrIHivs0XzFlkBCy+64U1IFJhJITNji8B2hoI9wi fP7dsLi0SIxbfFFGGOUpLRjFLOk6aIDr26sWYt2g7QVE47MWgk9JqR0q3KIVHSsgNhdRvS cWf2zJIiqnXP+MskKJWK2RQG3cKzBcH3fHH+lrNO4pvWyKrDsF94lDWrjS47yhnYhnJuv9 BO+qigQqPtfWWH+8nlERwSkZEGMc+Wr21EO/GnOODaxrVsr/urbNlHbi5S1rI9BmqNAIWo M5shBVwMt8Cckeu+htfHtpMAkk4BuEkpLtp6TzW8CSOmNVF4KAIDex0pVO+GKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645115967; a=rsa-sha256; cv=none; b=cqrL9pCGYwdCX34ASYK9HRiEdql7br5Fmu3Ua4J1CEx3IRY1yJgXzDDdztxoZFQGsb9l4I ZNw6oZLyXN8kzrBx978sHNPeJenKG4c1xN7Uaap/b6PnHpcvCYeZ4CVtWuHjZJ4cGjNOxx fUyNI3XJYN/elpTfQE2VX4ceHNva6JR5g+lmE4cVpBa9WK2iOxuhE5Salk6sUwjj9drowl EGjUNsSOCYbHITfk0fSH2WYEMbOw5/jobYHMkdeGdvRdBurbM8mpBALRyowGFSNXnHn/uE MGKBSijS8cPoSKc9p7XdWaBkfdMWkNc2OQhxXc+NEOYQPzsXpaoi7TKS10gsDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=selfhosted.xyz header.s=dkim header.b=DYeJWs1d; dmarc=fail reason="SPF not aligned (relaxed)" header.from=selfhosted.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=selfhosted.xyz header.s=dkim header.b=DYeJWs1d; dmarc=fail reason="SPF not aligned (relaxed)" header.from=selfhosted.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DAED2296DF X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8fkDClrf3Zo+ On 2022-01-11 20:31, Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote: > Guix, > > This is weird. On berlin: > > --8<---------------cut here---------------start------------->8--- > $ guix build > /gnu/store/91wjmydy556ibl38xydpb8yisp3gvx8w-partition.img.drv > […] > Creating filesystem with 351 1k blocks and 40 inodes > […] > /gnu/store/q18ca3ilma0h5hpn4s39xhzn0kc7jm5x-partition.img > --8<---------------cut here---------------end--------------->8--- > > On my laptop: > > --8<---------------cut here---------------start------------->8--- > $ guix build > /gnu/store/91wjmydy556ibl38xydpb8yisp3gvx8w-partition.img.drv > […] > Creating filesystem with 242 1k blocks and 32 inodes > […] > Copying files into the device: ext2fs_symlink: Could not allocate > inode in ext2 filesystem while creating symlink "system" > __populate_fs: Could not allocate inode in ext2 filesystem while > writing symlink"system" > mke2fs: Could not allocate inode in ext2 filesystem while populating > file system > --8<---------------cut here---------------end--------------->8--- > > This happens with both a tmpfs and a bcachefs /tmp. > > The same make check-system TESTS="openvswitch" fails for Marius as > well, although I don't know the exact output. They tested btrfs and > tmpfs, and suggested a kernel regression. > > I don't understand how that would cause this, but I'm forced to agree: > something spooky is going on in the chroot and the kernel is a big > variable. > > The attached patch was written before I was aware of above weirdness > and only works around the issue. > > Kind regards, > > T G-R I hope Im not totally off here, so Im just hoping this is worth mentioning: Are the hosts using the same version of https://github.com/guix-mirror/guix/blob/master/gnu/system/image.scm#96 ? It might produce different sizes if the hosts are on different guix commits - or is this not a possibility at all if the derivations have the same hashes? ...because I just happened to notice that recently the guix system image command produces images that are exactly the additional size of the root offset and the esp-partition compared to what's specified with the --image-size option. I think this has changed from 1-2 years back (since Marius B. blog post reg. Ganeti). I think so because when I set up Ganeti according to that blog post I could (IIRC) create guix instances with the ganeti-instance-guix create script without problem - and it produces images with guix system image --image-size=X command - but when I did so again 1-2 weeks ago they failed with the error that Ganeti disks were too small. The size issue could be resolved by removing from the instance create-script the exact number of bytes to the --image-size=X option that corresponded to the root offset and the esp-partition sizes as defined in (gnu system image). Maybe some commit has changed the size output of guix system image? Best regards, David