From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6952976920918097920 X-Received: by 2002:a05:600c:298:: with SMTP id 24mr4169741wmk.116.1631786492871; Thu, 16 Sep 2021 03:01:32 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:aacd:: with SMTP id i13ls615274wrc.3.gmail; Thu, 16 Sep 2021 03:01:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZHXLvva9rmS1dcRncLfRV6sCiXJ2VjdYlfggpGk5/AbS5gzzjUAXWbZbbtcVBaW38J8AW X-Received: by 2002:adf:d1b2:: with SMTP id w18mr5222336wrc.6.1631786491886; Thu, 16 Sep 2021 03:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631786491; cv=none; d=google.com; s=arc-20160816; b=l3vyedhXcKf9gNDPY7D6MLHl032KpwWseIjWnIVrkhfbw84YdgIqBujhRdye0wWQ2Y NYeQhB8gtPlcIGIisiPYaHZJlsR1TmJJEEi8yGp+l0/01xdr5FEEtK3uEbzHvfR4s+FJ Z6ujSftWW/BO9N0vPe8V9HLkaTptomNkrSLyw0t4zamslWT9/DqBSnxRB4Id2XUnoMi9 YYefYUqUA1DTcVjf6TTEWw/TD+le/rJIzfa9vPYXVrfBxe6hBMdr48Qa6a5UhtLQ5f6m tToHB80HAZMFQmWTycAOGsamO+L1UfKZ3+6zy14LSqzAodK88JyLV04lEIb/Hj/C5iaL PXnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=igjnfuIlrCgJtM9SMzhUH526Y1ZJ1tMdEq1Mze0qOII=; b=EO1AMnpI2ldyKaVro7eFY/SzoMR+1gZQohrtXFVe/RABzeotb0/rqGHS4CXMDm6gbc gXAtdu3Hz1yYdUap7DWO90KW8I9sm0+5on+4QasWmQDb3L6+YdAeYn8fRhUB2jtSYwlv 4oJYKY3O0oMC5q/EEAopSwJojn2y5K5d2yqRujSGeKPgJ4g3j0wESHCfroUuJT93ByG+ bm8sAP1W3o9pkig07BfvL4TvYeT0akWSoPpB25MRmA3GSWLwJ9og0s2CfPtXW5c49kwS tmUEjtHpUzbAHvXD4cf5e3IMVlbXEbRp4GKJSVMUzU+mz8Z8rCSPAGy60yZQSXVgfMAk p4bw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from lizzard.sbs.de (lizzard.sbs.de. [194.138.37.39]) by gmr-mx.google.com with ESMTPS id q195si519117wme.1.2021.09.16.03.01.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Sep 2021 03:01:31 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 as permitted sender) client-ip=194.138.37.39; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 194.138.37.39 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by lizzard.sbs.de (8.15.2/8.15.2) with ESMTPS id 18GA1VgY011082 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 16 Sep 2021 12:01:31 +0200 Received: from md1za8fc.ad001.siemens.net ([139.22.39.159]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 18GA1Vru010041; Thu, 16 Sep 2021 12:01:31 +0200 Date: Thu, 16 Sep 2021 12:01:30 +0200 From: Henning Schild To: Anton Mikanovich Cc: "Q. Gylstorff" , jan.kiszka@siemens.com, isar-users@googlegroups.com Subject: Re: [PATCH v14 0/2] CPIO & OVA Images Message-ID: <20210916120130.117c8393@md1za8fc.ad001.siemens.net> In-Reply-To: <20210914125445.57ce08e5@md1za8fc.ad001.siemens.net> References: <20210708084238.2933-1-Quirin.Gylstorff@siemens.com> <20210914125445.57ce08e5@md1za8fc.ad001.siemens.net> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: Vp83Y/wFINs7 I just read some logs where three wic images are created in the same chroot. The first one failed to umount tmp > umount: /builds/.../build/tmp: target is busy. Followed by the other two not being able to find wic_fakeroot. I guess we will have to see how to react on mount/umount issues to make them fail ... and not some follow-up. And roughly looking at the code i guess we will have to grab a buildchroot lock in do_wic_image. In fact i guess the locking of the buildchroot should probably be implemented inside buildchroot_do_mounts. Henning Am Tue, 14 Sep 2021 12:54:45 +0200 schrieb Henning Schild : > I kind of want to bet this has to do with mounting again. > generate_wic_image does quite a bit of layer mounting and umounting. > If mounting the base isar layer fails that script can probably "go > missing". And i am not sure those mounts will be cleaned up when the > task does not finish correctly. > > regards, > Henning > > Am Fri, 20 Aug 2021 12:07:53 +0300 > schrieb Anton Mikanovich : > > > 08.07.2021 11:42, Q. Gylstorff wrote: > > > From: Quirin Gylstorff > > > > > > - Generate cpio images for rescue images > > > - generate ova images for VMWare & Virtualbox > > > > > We've experienced floating issue during full CI testing if include > > this patchset: > > > > 00:14:20 INFO: Creating image(s)... > > 00:14:20 > > 00:14:20 ERROR: _exec_cmd: export > > PATH=//sbin://usr/sbin://usr/bin://bin:None:$PATH;export > > PSEUDO_PREFIX=//usr;export > > PSEUDO_LOCALSTATEDIR=/workspace/build/isar_am_devel/110/build/tmp/work/debian-buster-amd64/isar-image-base-qemuamd64-wic-img/1.0-r0/rootfs/../pseudo;export > > PSEUDO_PASSWD=/workspace/build/isar_am_devel/110/build/tmp/work/debian-buster-amd64/isar-image-base-qemuamd64-wic-img/1.0-r0/rootfs;export > > PSEUDO_NOSYMLINKEXP=1;export > > PSEUDO_IGNORE_PATHS=/tmp/tmp.nSYNbkMHKq/isar-image-base-debian-buster-qemuamd64.wic/tmp.wic.4t1qlax6/rootfs_platform.2.ext4,/;/workspace/build/isar_am_devel/110/scripts/wic_fakeroot > > fsck.ext4 -pvfD > > /tmp/tmp.nSYNbkMHKq/isar-image-base-debian-buster-qemuamd64.wic/tmp.wic.4t1qlax6/rootfs_platform.2.ext4 > > returned '127' instead of 0 > > 00:14:20 output: /bin/sh: 1: > > /workspace/build/isar_am_devel/110/scripts/wic_fakeroot: not found > > 00:14:20 > > 00:14:20 WARNING: exit code 1 from a shell command. > > > > It doesn't looks like something virtual images related, so not sure > > if it was caused by this patchset. > > But for some reason it was happened only if CPIO&OVA v14 was > > included. > > > > The failed builds are: > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fci.isar-build.org%3A8080%2Fjob%2Fisar_am_devel%2F110%2FconsoleFull&data=04%7C01%7Cde173c00-e982-4fda-8644-47edf4671d63%40ad011.siemens.com%7C11c07c50cd7c46b53c8d08d963ba0572%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637650473333123853%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=N%2Bwdk5CdmnSnxZSYawz9V9N5Doo5lBsWrU5bUodPNfY%3D&reserved=0 > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fci.isar-build.org%3A8080%2Fjob%2Fisar_am_devel%2F111%2FconsoleFull&data=04%7C01%7Cde173c00-e982-4fda-8644-47edf4671d63%40ad011.siemens.com%7C11c07c50cd7c46b53c8d08d963ba0572%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637650473333123853%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=AOlB1MufUym42Fx9MxA9i75lM%2FmgDYuH6pqYI93Ibek%3D&reserved=0 > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fci.isar-build.org%3A8080%2Fjob%2Fisar_am_devel%2F115%2FconsoleFull&data=04%7C01%7Cde173c00-e982-4fda-8644-47edf4671d63%40ad011.siemens.com%7C11c07c50cd7c46b53c8d08d963ba0572%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637650473333133842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=W7WUqLyo0VrLMGiJMEUc%2Bpvoqzj7xutMRo2wjhmBPnE%3D&reserved=0 > > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fci.isar-build.org%3A8080%2Fjob%2Fisar_am_devel%2F123%2FconsoleFull&data=04%7C01%7Cde173c00-e982-4fda-8644-47edf4671d63%40ad011.siemens.com%7C11c07c50cd7c46b53c8d08d963ba0572%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637650473333133842%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4z1JroTZd%2Fdwf7T%2F4ptKvV30AfdEYvQqgu0p861EbSw%3D&reserved=0 > > >