From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Tue, 06 Aug 2024 17:16:33 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-lj1-f184.google.com (mail-lj1-f184.google.com [209.85.208.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 476FGVDR009826 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 6 Aug 2024 17:16:32 +0200 Received: by mail-lj1-f184.google.com with SMTP id 38308e7fff4ca-2f0276170f9sf8856361fa.2 for ; Tue, 06 Aug 2024 08:16:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1722957386; cv=pass; d=google.com; s=arc-20160816; b=QIR0D44LUniV7IbLzhrIVvPichozDslocgT0/gst/5mXf+lTAn3KBykCAY2DlhBoqM m8bSYkvh+RaL1aLIZamP316shsZd+nMoh4Q0vw+bL1hU8eb3n4UWi8ML/1w1BYOvXYWq W9QNB3ldB+BpPOhDGNKVFx3Gkpb5wYUTHOE4hT7xEkzKcIAPFlfnyDBEojqokPAttPhd sOEjeS/4QODKnj6+OOCCcS79qrdkzfH0RFKat7oYybJooA0QE9nUPbSENsQhYv+iyNvS ZN0BqKMY8xCrYG/u3+O9cDEhOJiCqLGDT3Z5Ma4rZBaXiBZg55WG+OP72jk9A4+XzYQu oYqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:user-agent :content-transfer-encoding:autocrypt:references:in-reply-to:date:to :from:subject:message-id:sender:dkim-signature; bh=MqOPT88DyalxO2qIxXqqArSTplYnq1kdujSnvJ2MxIg=; fh=HDoY8dxkDVMTYdpBaeKoIBKPVb+XyWGYGC2woZWqijM=; b=l0CMXD0+rDf2O5Lnx0wctMi6wyRkoM5Tk1DQcSFP0D0Av5zCeI1xSA99hgPV14veQ/ 90z+IzlaePrrv+BBQQFby3keF+G6VocSPf2CfyOwYk+KR7aGjQjf6iq6hbOPfSIjWDUe 3WwsBpfLCirJmdSDLt7p8KuTJIXvpTgW4emVvxh14teUz3jW5T2bIlMu6Yte4D+uXiid /CXbQVx58oRou0jX++aFe3lU0uzzecSkzSLSRfrmDU+6XNBuy5fSsfC2qNsZ8pRXGSM1 EEl+JmiejLahv3KUA8nWbZEM2k308hhSBsltyYwnILDCw1oIvrExAeLCC/+bHdgUJ69I HwQQ==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1722957386; x=1723562186; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:user-agent:content-transfer-encoding :autocrypt:references:in-reply-to:date:to:from:subject:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=MqOPT88DyalxO2qIxXqqArSTplYnq1kdujSnvJ2MxIg=; b=P+dj7mTLO7K6ao1kel0e02qnln5ZxJSsefQjcgxvq1lFIhrh+Pj2M3LVEntKppyfmP WkqhBWftxp4fhk5Ge3bhcj0YXGPH7cdH/6nt5W3K5Edb3oFfnyK7d1u16/94860OmrHg cfKWO/Skh2Ez0DXPc/xEaiSWgCHYiBErnqF4i05aBMhC0JB1N9DClsru/7lepjs6q9uz bwlTVnOnp6yYCJAjmKL35lP5XLK8FDnHXyIwlTEwuhaYVfxhPQtDZXV+zNOKlL76TaXG rNahaQBQKt+Skb6+M6C0zMKtxx5SR+UdbXOYDXTddNc/YI0PKzkoD9iUYqmeEO5dnOQK tmVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722957386; x=1723562186; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:to:from:subject:message-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=MqOPT88DyalxO2qIxXqqArSTplYnq1kdujSnvJ2MxIg=; b=vgV7dG7DiQ0QGTHRKIo2wXkaRODqfRstVgi6CmEkSjBQPjsXiaBPzzquQIb37zM9pD WTPJueaUtNfCtPyzv0nwSrGyBkqtS+uyn6LDM2D2Dq/2P2akwNk31/9iRJ2lTuj7Ntqx mNSE3IFzscstUeI7tXDVbSygrOWNl/2Qm1INc5HKdABGR9+mKTArgYiifpaVL6fDLCSy B0aqturowTkmqDdzv9u7BE27cRpfi6gg30YY+FUdkkAS5EdmsMd78gAleOgKJXNFwKWl 00EGytCvrZ/+nWs7wBzaoP6s92+sI5bttJBWrZC9lbAqyjPR76FshmNV+rjwj+Mt7DFj eNOg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCU0m8LYmhxyVC/9ExpFlmhPQb08ICxOKjfk9yRDdeaTZBsaCJrN7hHCm3ZGd6xL0MYdxritghmsToDBX8fx8SvGBX8= X-Gm-Message-State: AOJu0Yxyxv5BWe957dXnNJKgJ+JkrUT2RTxT4ccAfe05ULI+gOL9pk+9 t+EHK2cKU9hfKm3bQBPEy66peE3zK8LJRA/GGd8YMWdL0zhfXn3S X-Google-Smtp-Source: AGHT+IEyD89wc0Hx6myR14IJ3aJqnafZge+9aEnytzjdNm4F3BJ9L5nhvh83SD5ZfwjIMkkRiqlpFQ== X-Received: by 2002:a2e:96d7:0:b0:2ec:5b17:29a2 with SMTP id 38308e7fff4ca-2f15ab237efmr110283941fa.32.1722957385365; Tue, 06 Aug 2024 08:16:25 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:4343:0:b0:367:99fa:1fcb with SMTP id ffacd0b85a97d-36bcc174dd6ls1057102f8f.0.-pod-prod-04-eu; Tue, 06 Aug 2024 08:16:23 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV8hv/XljkwmQQ2C3ld+X13NkPafjh7btBd+rbXiE2lDx4PZ5EBT07czkK8RuMfJq44w/jFTn0clKQvcgHjKI2VIGRzJH9l5ZS7uvE= X-Received: by 2002:a5d:4688:0:b0:368:5e34:4b4b with SMTP id ffacd0b85a97d-36bbc0cc728mr10328407f8f.6.1722957382970; Tue, 06 Aug 2024 08:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722957382; cv=none; d=google.com; s=arc-20160816; b=lhb47Yqo5m4OP/oUprvWZz1mJK9oWc7V727uW6oR6WWjXzGcrkKz8uQ1e0VQ2fP18W Ze0m18zsVlCpy0448SGwlG2zFSaOvX1wYHoQhXINv2WL8Tpuc6h3dgNi9dLpMgpYNkI+ mDU0DDdbN5H5AMFhsrQm7XJldDZ09OFLslVrC5VgJ6SeYpTrgOrw3oflTsKgVvFBLmEs 9ZHibUpcCkdw3975P/5tgQNV2e/aW7g9OJ++0nDsGd8Njd558rdUuZ7dg2jFnoUlMBZc Wnmz2lh5xgNfIH7m5TUeQzSEIFGUDXMpDuQ6P0j3h0Osq542M41WA6QhJGCgLF6eG3CY aqFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:to:from:subject:message-id; bh=EITB/ZT+7cdFTfNPCnf9FWBGgt43oyN5XUYmS3KIIrk=; fh=O+ZMFUiiuyZKsfz7Fw8hsdknZlxcSFSsLsCydBEGD0o=; b=vCDHFJ4qiw4pT+GrrWVse+ES5KI5XZBC1hl8sbcaUZAchBfq7iS+LWqwy7yruChEFq JBdzgXhN7Hew9o7NB6xxTW3HHI29qGaD7MUDJaGWxC3hlrdGbYkntG5I3yC8umF7bCUI 0C1fazdal0YMzFLFi+cwo5BXA3CFCxgZwK9QzEIZDZbBBN+x4WCrkwy1DYYIufcVGYc8 fb+CLVYcFu3QTHj0YNScwD1A0rE1+jlrLHsRufspoeCa2KVy/vnZmQsLLTDdcfUBx7Jt xQWUTfg2ZVcW1w7WZPyJp9czIhUCvJt5mKwfgcnhnaXW5pn7yQf2Lh3cjXeUq7crldli ulgA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-36bbd0569acsi186284f8f.6.2024.08.06.08.16.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Aug 2024 08:16:22 -0700 (PDT) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Received: from [IPv6:::1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 476FGKXD009820 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 6 Aug 2024 17:16:21 +0200 Message-ID: Subject: Re: [PATCH] ci: Add test cases for container fetching and loading From: Uladzimir Bely To: Jan Kiszka , isar-users@googlegroups.com Date: Tue, 06 Aug 2024 18:16:20 +0300 In-Reply-To: References: <20240805071755.19853-1-ubely@ilbers.de> <61952236-14a3-40d6-99cd-14a42d067ae0@siemens.com> Autocrypt: addr=ubely@ilbers.de; prefer-encrypt=mutual; keydata=mQENBGO2eUkBCACtT+T3OrPVSExBmqfgXT3lp9XcdxRzjYp26wezkgYjjBXaf36bxtaAf S471VoQtpar0RVeFfW7WDDdfX9ZclSj36zBQe+RVSJzoNoNQfjOXWuSHb5Z+cpAFtqBY4muxK4+ia IlLJd6CN3ejOsLHATtCeHHq8wi0z2T+KdLQO+wQRgo2hjj0Lp9pGTrKJry50HP/o7Vbdu14dOx2xq r8+wPc6SQbBIrcqaa4MqCQC00vQG7eXvo+k2MOw59FDdpMH0KR9mHgp3u/s4I+4YRBArukt9G9xz/ rsEFmxAIBC6N/a6Hzwg4puc91n7ABDsPg8Vp+X3MDraujN0dvR6OKVNtABEBAAG0IFVsYWR6aW1pc iBCZWx5IDx1YmVseUBpbGJlcnMuZGU+iQFOBBMBCAA4FiEEJqPNVhVGyk12Eh+PAUQYBM/2FkoFAm O2eUkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQAUQYBM/2FkprlAgAmuna8Hm9EyoEtTl DBGDg6Zm4ZLp5ffvZBE946h92jepDrteoxsJ7pSzJVC2HmDLa4iZUao7lLLbDsUj5x45/iLJcqBZK k3YnAxP2r6a+kI+1VVQY1pxdG1nlJAbdNzoojm/qmezNPSrqni61KVMQKsXBCWhIjSXDSM9CsBj21 a+9qaVqfxovJGTn9lgrZO+xzKQNMKZeOouJlscVuFj21P0ww3/YENiU/nMeTSuYypO76mDtAd08Jo nc3yuHa9MJGei5ixN3wT+IrGR2aL2hdw2M6NgH7sYbL2Zi4ugD6RXHJai1Bh2yvFSVqSQ+M6QOInT 4ud7wslm1XRB065dXtA== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-Original-Sender: ubely@ilbers.de X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: NflofEbdgbra On Tue, 2024-08-06 at 13:54 +0300, Uladzimir Bely wrote: > On Tue, 2024-08-06 at 12:46 +0200, Jan Kiszka wrote: > > On 06.08.24 11:48, Uladzimir Bely wrote: > > > On Tue, 2024-08-06 at 07:48 +0300, Uladzimir Bely wrote: > > > > On Mon, 2024-08-05 at 13:51 +0300, Uladzimir Bely wrote: > > > > > On Mon, 2024-08-05 at 12:43 +0200, Jan Kiszka wrote: > > > > > > On 05.08.24 11:40, Uladzimir Bely wrote: > > > > > > > On Mon, 2024-08-05 at 11:17 +0200, Jan Kiszka wrote: > > > > > > > > On 05.08.24 09:16, Uladzimir Bely wrote: > > > > > > > > > From: Jan Kiszka > > > > > > > > >=20 > > > > > > > > > This plugs the two example recipes for loading > > > > > > > > > container > > > > > > > > > images > > > > > > > > > into > > > > > > > > > VM-based testing. The test consists of running 'true' > > > > > > > > > in > > > > > > > > > the > > > > > > > > > installed > > > > > > > > > alpine images. > > > > > > > > >=20 > > > > > > > > > Rather than enabling the ci user to do password-less > > > > > > > > > sudo, > > > > > > > > > this > > > > > > > > > uses su > > > > > > > > > with the piped-in password. Another trick needed is > > > > > > > > > to > > > > > > > > > poll > > > > > > > > > for > > > > > > > > > the > > > > > > > > > images because loading is performed asynchronously. > > > > > > > > >=20 > > > > > > > > > Signed-off-by: Jan Kiszka > > > > > > > > > Signed-off-by: Uladzimir Bely > > > > > > > > > --- > > > > > > > > > =C2=A0.../recipes-core/images/isar-image-ci.bb=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 |=C2=A0 2 > > > > > > > > > ++ > > > > > > > > > =C2=A0testsuite/citest.py=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 24 > > > > > > > > > +++++++++++++++++++ > > > > > > > > > =C2=A02 files changed, 26 insertions(+) > > > > > > > > >=20 > > > > > > > > > This is a drop-in replacement of patch 4 from "[PATCH > > > > > > > > > v4 > > > > > > > > > 0/5] > > > > > > > > > Introduce > > > > > > > > > container fetcher and pre-loader" series: > > > > > > > > > - Fixed syntax errors (incorrectly escaped '\$') > > > > > > > >=20 > > > > > > > > IIRC, we do need the escape inside the shell (sh -c > > > > > > > > '...'). > > > > > > > > So, > > > > > > > > you > > > > > > > > likely rather need to escape the escape character. > > > > > > > >=20 > > > > > > > > Jan > > > > > > > >=20 > > > > > > > > >=20 > > > > > > >=20 > > > > > > > I just tried to make a simple check: > > > > > > >=20 > > > > > > > ``` > > > > > > > $ su -c 'for i in $(seq 3); do echo $i; done' > > > > > > > Password:=20 > > > > > > > 1 > > > > > > > 2 > > > > > > > 3 > > > > > > >=20 > > > > > > > $ su -c 'for i in \$(seq 3); do echo $i; done' > > > > > > > Password:=20 > > > > > > > bash: -c: line 1: syntax error near unexpected token `(' > > > > > > > bash: -c: line 1: `for i in \$(seq 3); do echo $i; done' > > > > > > >=20 > > > > > > > $ su -c 'for i in \\$(seq 3); do echo $i; done' > > > > > > > Password:=20 > > > > > > > \1 > > > > > > > 2 > > > > > > > 3 > > > > > > > ``` > > > > > > >=20 > > > > > > > We are likely don't need escaping at all. > > > > > >=20 > > > > > > Interesting - anyway, if this sequence is not properly > > > > > > resolved, > > > > > > the > > > > > > test will fail. And I assume you had it running > > > > > > successfully, > > > > > > so > > > > > > we > > > > > > must > > > > > > be fine. > > > > > >=20 > > > > > > >=20 > > > > > > > Anyway, we could just convert the tests from > > > > > > > "cmd=3D > > > > > > to "script=3Dtest_prebuild_container.sh" and have test > > > > > > > logic > > > > > > > in a > > > > > > > human- > > > > > > > readable form. > > > > > > >=20 > > > > > >=20 > > > > > > Also fine with me. > > > > > >=20 > > > > > > Jan > > > > > >=20 > > > > >=20 > > > > > OK, I've already prepared the script internally and will > > > > > check > > > > > in > > > > > CI > > > > > with it. > > > > >=20 > > > >=20 > > > > ... and still having problems with running commands inside > > > > arm64 > > > > container. > > > >=20 > > > > I manually run (with same command-line as CI does) qemuamd64 > > > > and > > > > qemuarm64 images. > > > >=20 > > > > Running prebuilt container in amd64 machine works well: > > > >=20 > > > > ``` > > > > root@isar:~# docker images > > > > REPOSITORY=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 TAG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 IMAGE ID=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CREATED=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 > > > > SIZE > > > > quay.io/libpod/alpine=C2=A0=C2=A0 3.10.2=C2=A0=C2=A0=C2=A0 96176967= 6411=C2=A0=C2=A0 4 years ago=C2=A0=C2=A0 > > > > 5.58MB > > > > root@isar:~# docker run --rm quay.io/libpod/alpine:3.10.2 true > > > > [=C2=A0=C2=A0 61.233873] docker0: port 1(veth1c2b6f9) entered block= ing > > > > state > > > > [=C2=A0=C2=A0 61.234280] docker0: port 1(veth1c2b6f9) entered disab= led > > > > state > > > > [=C2=A0=C2=A0 61.240243] device veth1c2b6f9 entered promiscuous mod= e > > > > [=C2=A0=C2=A0 62.650328] eth0: renamed from veth2aff680 > > > > [=C2=A0=C2=A0 62.664713] IPv6: ADDRCONF(NETDEV_CHANGE): veth1c2b6f9= : link > > > > becomes > > > > ready > > > > [=C2=A0=C2=A0 62.665407] docker0: port 1(veth1c2b6f9) entered block= ing > > > > state > > > > [=C2=A0=C2=A0 62.665656] docker0: port 1(veth1c2b6f9) entered forwa= rding > > > > state > > > > [=C2=A0=C2=A0 62.666394] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: li= nk > > > > becomes > > > > ready > > > > [=C2=A0=C2=A0 63.220542] docker0: port 1(veth1c2b6f9) entered disab= led > > > > state > > > > [=C2=A0=C2=A0 63.229530] veth2aff680: renamed from eth0 > > > > [=C2=A0=C2=A0 63.308290] docker0: port 1(veth1c2b6f9) entered disab= led > > > > state > > > > [=C2=A0=C2=A0 63.311282] device veth1c2b6f9 left promiscuous mode > > > > [=C2=A0=C2=A0 63.311507] docker0: port 1(veth1c2b6f9) entered disab= led > > > > state > > > > root@isar:~# echo $? > > > > 0 > > > > root@isar:~# podman images > > > > REPOSITORY=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 TAG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 IMAGE I= D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CREATED=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > > > > SIZE > > > > quay.io/libpod/alpine=C2=A0 latest=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 96= 1769676411=C2=A0 4 years ago=C2=A0 > > > > 5.85 MB > > > > root@isar:~# podman run --rm quay.io/libpod/alpine:latest true > > > > [=C2=A0=C2=A0 78.274955] cni-podman0: port 1(vethf6fde03e) entered > > > > blocking > > > > state > > > > [=C2=A0=C2=A0 78.275225] cni-podman0: port 1(vethf6fde03e) entered > > > > disabled > > > > state > > > > [=C2=A0=C2=A0 78.277667] device vethf6fde03e entered promiscuous mo= de > > > > [=C2=A0=C2=A0 78.626628] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link > > > > becomes > > > > ready > > > > [=C2=A0=C2=A0 78.627038] IPv6: ADDRCONF(NETDEV_CHANGE): vethf6fde03= e: > > > > link > > > > becomes ready > > > > [=C2=A0=C2=A0 78.627313] cni-podman0: port 1(vethf6fde03e) entered > > > > blocking > > > > state > > > > [=C2=A0=C2=A0 78.627513] cni-podman0: port 1(vethf6fde03e) entered > > > > forwarding > > > > state > > > > [=C2=A0=C2=A0 79.690462] audit: type=3D1400 audit(1722919083.116:6)= : > > > > apparmor=3D"STATUS" operation=3D"profile_load" profile=3D"unconfine= d" > > > > name=3D"containers-default-0.50.1" pid=3D750 comm=3D"apparmor_parse= r" > > > > [=C2=A0=C2=A0 80.574314] cni-podman0: port 1(vethf6fde03e) entered > > > > disabled > > > > state > > > > [=C2=A0=C2=A0 80.575874] device vethf6fde03e left promiscuous mode > > > > [=C2=A0=C2=A0 80.576060] cni-podman0: port 1(vethf6fde03e) entered > > > > disabled > > > > state > > > > root@isar:~# echo $? > > > > 0 > > > > ``` > > > >=20 > > > > The same under arm64 fails: > > > >=20 > > > > ``` > > > > root@isar:~# docker images > > > > REPOSITORY=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 TAG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 IMAGE ID=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CREATED=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 > > > > SIZE > > > > quay.io/libpod/alpine=C2=A0=C2=A0 3.10.2=C2=A0=C2=A0=C2=A0 915beeae= 4675=C2=A0=C2=A0 4 years ago=C2=A0=C2=A0 > > > > 5.33MB > > > > root@isar:~# docker run --rm quay.io/libpod/alpine:3.10.2 true > > > > [=C2=A0 407.689016] docker0: port 1(veth81a2857) entered blocking > > > > state > > > > [=C2=A0 407.689231] docker0: port 1(veth81a2857) entered disabled > > > > state > > > > [=C2=A0 407.698637] device veth81a2857 entered promiscuous mode > > > > [=C2=A0 410.003030] eth0: renamed from vethbe8a124 > > > > [=C2=A0 410.026357] IPv6: ADDRCONF(NETDEV_CHANGE): veth81a2857: lin= k > > > > becomes > > > > ready > > > > [=C2=A0 410.026727] docker0: port 1(veth81a2857) entered blocking > > > > state > > > > [=C2=A0 410.026872] docker0: port 1(veth81a2857) entered forwarding > > > > state > > > > [=C2=A0 410.767475] docker0: port 1(veth81a2857) entered disabled > > > > state > > > > [=C2=A0 410.788277] vethbe8a124: renamed from eth0 > > > > [=C2=A0 410.941958] docker0: port 1(veth81a2857) entered disabled > > > > state > > > > [=C2=A0 410.944534] device veth81a2857 left promiscuous mode > > > > [=C2=A0 410.944676] docker0: port 1(veth81a2857) entered disabled > > > > state > > > > docker: Error response from daemon: failed to create shim task: > > > > OCI > > > > runtime create failed: runc create failed: unable to start > > > > container > > > > process: exec: "true": executable file not found in $PATH: > > > > unknown. > > > > root@isar:~# echo $? > > > > 127 > > > > root@isar:~# podman images > > > > REPOSITORY=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 TAG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 IMAGE I= D=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CREATED=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > > > > SIZE > > > > quay.io/libpod/alpine=C2=A0 latest=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 91= 5beeae4675=C2=A0 4 years ago=C2=A0 > > > > 5.59 MB > > > > root@isar:~# podman run --rm quay.io/libpod/alpine:latest true > > > > [=C2=A0 423.567388] cni-podman0: port 1(veth29135974) entered > > > > blocking > > > > state > > > > [=C2=A0 423.567593] cni-podman0: port 1(veth29135974) entered > > > > disabled > > > > state > > > > [=C2=A0 423.569719] device veth29135974 entered promiscuous mode > > > > [=C2=A0 423.754420] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link > > > > becomes > > > > ready > > > > [=C2=A0 423.754765] IPv6: ADDRCONF(NETDEV_CHANGE): veth29135974: > > > > link > > > > becomes ready > > > > [=C2=A0 423.755036] cni-podman0: port 1(veth29135974) entered > > > > blocking > > > > state > > > > [=C2=A0 423.755183] cni-podman0: port 1(veth29135974) entered > > > > forwarding > > > > state > > > > [=C2=A0 426.090252] cni-podman0: port 1(veth29135974) entered > > > > disabled > > > > state > > > > [=C2=A0 426.098292] device veth29135974 left promiscuous mode > > > > [=C2=A0 426.098455] cni-podman0: port 1(veth29135974) entered > > > > disabled > > > > state > > > > Error: runc: runc create failed: unable to start container > > > > process: > > > > exec: "true": executable file not found in $PATH: OCI runtime > > > > attempted > > > > to invoke a command that was not found > > > > root@isar:~# echo $? > > > > 127 > > > > ``` > > > >=20 > > > > At first glance this looks like arm64 images are not > > > > functional. > > > > Continue debugging. > > > >=20 > > >=20 > > > After some debugging I can see that something makes docker > > > prebuilt > > > image inside qemu broken. But removing it from and loading to > > > docker > > > engine again helps: > > >=20 > > >=20 > > > ``` > > > root@isar:~# docker images > > > REPOSITORY=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 TAG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 IMAGE ID=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CREATED=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 > > > SIZE > > > quay.io/libpod/alpine=C2=A0=C2=A0 3.10.2=C2=A0=C2=A0=C2=A0 915beeae46= 75=C2=A0=C2=A0 4 years ago=C2=A0=C2=A0 > > > 5.33MB > > >=20 > > > root@isar:~# docker run --rm quay.io/libpod/alpine:3.10.2 true > > > [=C2=A0 902.770874] docker0: port 1(veth8275b2c) entered blocking > > > state > > > [=C2=A0 902.771066] docker0: port 1(veth8275b2c) entered disabled > > > state > > > [=C2=A0 902.777051] device veth8275b2c entered promiscuous mode > > > [=C2=A0 904.813519] eth0: renamed from veth2f2256f > > > [=C2=A0 904.830269] IPv6: ADDRCONF(NETDEV_CHANGE): veth8275b2c: link > > > becomes > > > ready > > > [=C2=A0 904.830857] docker0: port 1(veth8275b2c) entered blocking > > > state > > > [=C2=A0 904.830997] docker0: port 1(veth8275b2c) entered forwarding > > > state > > > [=C2=A0 904.831407] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link > > > becomes > > > ready > > > [=C2=A0 905.372753] docker0: port 1(veth8275b2c) entered disabled > > > state > > > [=C2=A0 905.385163] veth2f2256f: renamed from eth0 > > > [=C2=A0 905.487707] docker0: port 1(veth8275b2c) entered disabled > > > state > > > [=C2=A0 905.491396] device veth8275b2c left promiscuous mode > > > [=C2=A0 905.491533] docker0: port 1(veth8275b2c) entered disabled > > > state > > > docker: Error response from daemon: failed to create shim task: > > > OCI > > > runtime create failed: runc create failed: unable to start > > > container > > > process: exec: "true": executable file not found in $PATH: > > > unknown. > > > ERRO[0003] error waiting for container: context canceled=20 > > >=20 > > > root@isar:~# echo $? > > > 127 > > >=20 > > > root@isar:~# docker image rm 915beeae4675 > > > Untagged: quay.io/libpod/alpine:3.10.2 > > > Deleted: > > > sha256:915beeae46751fc564998c79e73a1026542e945ca4f73dc841d09ccc6c > > > 2c > > > 0672 > > > Deleted: > > > sha256:5e0d8111135538b8a86ce5fc969849efce16c455fd016bb3dc53131bce > > > dc > > > 4da5 > > >=20 > > > root@isar:~# docker images > > > REPOSITORY=C2=A0=C2=A0 TAG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 IMAGE = ID=C2=A0=C2=A0 CREATED=C2=A0=C2=A0 SIZE > > >=20 > > > root@isar:~# pzstd -c -d /usr/share/prebuilt-docker- > > > img/images/quay.io.libpod.alpine\:3.10.2.zst | docker load > > > /usr/share/prebuilt-docker- > > > img/images/quay.io.libpod.alpine:3.10.2.zst: > > > 5598720 bytes=20 > > > 5e0d81111355: Loading layer=C2=A0=C2=A0 5.59MB/5.59MB > > > Loaded image: quay.io/libpod/alpine:3.10.2 > > >=20 > > > root@isar:~# docker run --rm quay.io/libpod/alpine:3.10.2 true > > > [ 1023.800568] docker0: port 1(veth3eb45d3) entered blocking > > > state > > > [ 1023.800790] docker0: port 1(veth3eb45d3) entered disabled > > > state > > > [ 1023.805585] device veth3eb45d3 entered promiscuous mode > > > [ 1025.295999] eth0: renamed from veth7e4183e > > > [ 1025.310388] IPv6: ADDRCONF(NETDEV_CHANGE): veth3eb45d3: link > > > becomes > > > ready > > > [ 1025.310681] docker0: port 1(veth3eb45d3) entered blocking > > > state > > > [ 1025.310801] docker0: port 1(veth3eb45d3) entered forwarding > > > state > > > [ 1025.979813] docker0: port 1(veth3eb45d3) entered disabled > > > state > > > [ 1025.990858] veth7e4183e: renamed from eth0 > > > [ 1026.087161] docker0: port 1(veth3eb45d3) entered disabled > > > state > > > [ 1026.088367] device veth3eb45d3 left promiscuous mode > > > [ 1026.088471] docker0: port 1(veth3eb45d3) entered disabled > > > state > > >=20 > > > root@isar:~# echo $? > > > 0 > > > ``` > > >=20 > > > This looks strange. Nothing changed (image hash is the same), but > > > the > > > second run works well. After rebooting qemu machine it still > > > works. > > >=20 > > > Podman prebuilt image looks unaffected - it works from the > > > beginning. > > >=20 > >=20 > > Strange, all that used to work. You manually reproduced this as > > well, > > not only via the testsuite, right? Let me test again locally... > >=20 > > Jan > >=20 >=20 > For manual tests I used images taken from CI (that failed). As I > could > see, the issue in my case was caused by zero-size "/bin/busybox" > somewhere in /var/lib/docker/overlay2/. The file was broken and > reinstalling the container fixed this. >=20 > But I guess this was caused by already "spoiled" image that was > tested > in CI. When I just built (on a local machine) a new image and didn't > try to run qemu with it (e.g., didn't modify it), manual running > docker > image in it worked well.. The busybox binary from alpine container > was > OK in that case. >=20 > Continue debugging ... >=20 So, there was my logical error I did in the test script. After polling for docker images I wrongly got an error code so "docker run" was not even started. This made CI test fail, qemu machine was interrupted and this broke busybox binary (ext4 was not synced). So, on the next (manual) boot it had a size 0 and nothing worked. Currently I have a proper script that was run OK at least on three different build machines, so I'll resend new patch soon. --=20 Best regards, Uladzimir. --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/= isar-users/f9d3b6b56ff87cc82e4ed3f1513afa1918df21fa.camel%40ilbers.de.