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 11:49:01 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f62.google.com (mail-wm1-f62.google.com [209.85.128.62]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 4769n0gA008118 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 6 Aug 2024 11:49:00 +0200 Received: by mail-wm1-f62.google.com with SMTP id 5b1f17b1804b1-428e48612acsf5288805e9.3 for ; Tue, 06 Aug 2024 02:49:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1722937735; cv=pass; d=google.com; s=arc-20160816; b=NwGuAe/6PHw9X3gNWHJWVv0fpuo4SsWPW5ypz2KTRUyVFi3TfCfeU3IY2pF98j3kFi D8UUROWZO8prrd2nFIHsGMwSfpFx9pyj7dcsTlSmzbPfal4Xxq5my4aEllWiBVAjpyDz c20jX3bHh1ihUFDW8ya2OE3obSy+jo9HQdQAymdy85EMUVdoLQ1pGaO7OHOoUYoFXwy6 mqNcmq1ohiyMVql7k+ePneN50EBGze/XX40pMr+azaNgLAeReYhRmAaADfkNNEJK5jDT ka/5xdeJPdcdQOvpFlfSbtXlguZ7nkatRK8XbpYQ1pZMKTfciGUA3cgt2ehQhvDEHVcC 8RtA== 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=x7eAkhuIsVqx6CjWm+FLtMOpdqUTqFtgiDQRDn2pxHs=; fh=/ncwohX9gI7s85HVPUkxMkt7DNG7pBiwnHqlg/YXcBw=; b=lrcrXdAhPft2Rhlu5Te5THohFfCKjY2KqS3P28fk3bBsk2UEco7AKW08PKN6+GRF+c Gt2bNugXDNc7ItnUsxGnbDw1G66cpxSSyRg9qs3tqwDDb5FrkZYnz+HCTGSGOFX+t3X/ fvuGFUsAu49YHuvAcqFeW21xPTw27WtHm6LMMjtA9+XgHK10TiF0Alb1e2hxhwbbsaaW ne9uLeWIYeruxphwsfboKOSsq+iffCgFbM+yCdL+piQtooAT/XJqi+Oi6/fKZtv2AMX+ tqWDoVnZipNEHAzkOppWhbgz4dfnzLXxOM36Sb6TBLDr5wG5a+FHYMZUcjjPdrFB610g tt+A==; 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=1722937735; x=1723542535; 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=x7eAkhuIsVqx6CjWm+FLtMOpdqUTqFtgiDQRDn2pxHs=; b=iyPipC9WWycBu2spynyLLEVw6IhJwq2mqO8aMRqEdMl16D6yNeyJ7nO7gWY2SWQST9 XQicx4aW9neUXPzOUmmdSEBGyKmDuB0Iv9Bwja5T3OFGr1fAIJ9KAStq6knztjPmkkRM mxfB1HGyunEgDAFRyK1c6NkhS85Rhh0Uca6QVHiujpLLtljYw21yc8rWg7vs/rkiSnJT V31xAD/x8IFnS/4BiaUxJfc62jGQZ/lCyjqMOLQRU3UOXJO1FvRyfvEYoTg9uny5bIFr z5RS+0MAlMxsmbyNyHaxFWR3X84tWVuzZAL6/QUJBingyhZaGoA1IX+UYpAsK4QyeTGO SnAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722937735; x=1723542535; 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=x7eAkhuIsVqx6CjWm+FLtMOpdqUTqFtgiDQRDn2pxHs=; b=ZQkrF6M9F0L7u+ApJRYbmzwO41v8n9IcmZVGcYBAQXriSkgh71Y2gcP5B1QPUa/2Mt ylfVD/+p0+5RQoPkqcz3el8+BzW+YuMEq0ZYn00Zwwu+pf8ecDrCG5womXC90MFS5Nqj A52zlLo6NNjrNDbvh+MjgRkTbh+WXUBJAqKV5SGHZj2bQ2tPd7Lte8ZoomqHGE/V7MTv tW7CZ2QSI28ji1d9o4Ncr/V8vgmfzx/Y8IR5ih2T5QAy4fz79IdkoFq/xBYgAsKKB515 8A+fqnXUMJRZtNPX95zV7ffKon70WnCxg+9oaQk6p41HFtKwJUn2qsBTNaPYAWaIQUd6 gAFw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWHmOshKZ6UfbXjE2X9rkFvQUUp1MOIz8XASZDuJ0uZjzNb1c6SZauJ5mAWk/g/IBGynT7VMJ3nmNqgDPIzfZGZW7I= X-Gm-Message-State: AOJu0YzkeyRJKs5mVXgw7LSDVWHG/6i0Xk4vK5CeCekdLZoPKHpexwWX jD7Mx6K9xnjF7g7qtM/2qVcFfwwD7V5mWitcZj3Qvap7oI/dkVcO X-Google-Smtp-Source: AGHT+IG1urSIWVOM079qOKNcd3QvkBCA14H0dihwuJFNcAuljINmB8wtL5LmhNZhiTqhWD7B9SCC2g== X-Received: by 2002:a05:600c:1c8f:b0:426:59fe:ac27 with SMTP id 5b1f17b1804b1-428e6b7e8d5mr129776015e9.26.1722937734267; Tue, 06 Aug 2024 02:48:54 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:1c22:b0:426:6eb9:5098 with SMTP id 5b1f17b1804b1-428ede2039bls20028285e9.1.-pod-prod-05-eu; Tue, 06 Aug 2024 02:48:51 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW86m1euOWNTbWVzl3Ux4g3l4kKpkCc/n0CY58M8K54bQfiSmwOS4Iqc4IOzYcurP0+Fwyoc9gp2mt3Kij5Eu4eDxbZdGHpj3NYYeg= X-Received: by 2002:a05:600c:3c84:b0:426:6ee7:d594 with SMTP id 5b1f17b1804b1-428e6af2443mr126508605e9.7.1722937731432; Tue, 06 Aug 2024 02:48:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1722937731; cv=none; d=google.com; s=arc-20160816; b=ONcErIOuHz3fH+NFiSHrvx7j8DEw0kOEXViB8jxa51jdIDmdqT7L1T/TAL/pBvp4xT 0oMEB3Wef8F+1D57A6fINExpGKhFGC75OPYJQ7j32sZ5dPJ2iSrxvjjtzqOUb6OoBwN+ l/OKH5YMR6uDSKJtxpps66QcjN3IhC4nv3q7uZIcTBezjj1LBy5hLdfWM3Eqk6FAxmr7 JpE4tnNgp/MxMUc+KlenIOxdGnlVLWofZ0XDCvhyehlCKF9I2JW+a21iGXaLyBK1vLj4 IsP5cVRwPNx0WpuvquyYGBdyhS/9DZoCbUjLZYc876GwUCQInP0sjIho2aEoK5tESmyR F8Ig== 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=L/VBomWAtQiYSy58tqIDc9Gx3r83uV4L0r6NIYAw/AM=; fh=O+ZMFUiiuyZKsfz7Fw8hsdknZlxcSFSsLsCydBEGD0o=; b=ydr3zVhKIxJ5YTdQNziDfY3M7KlJGalpO5OfFCVTBDfzgjBOhr3ITtZci/PBaf6B21 CPsUqz4nVe0HS3TMsLudYfMI+JqWk3f+n3F4VBxontqiWUcNNhWvu+hM2MUfzJHw0X6O po383AlmfFB2e1XufD0hjPfZOU9GQ9Yd42ABwnTUJiz7hdyrcc1Ay3uC3j67x0BWb6/8 tYI3hMNj2TfzVqEFAwXnYiT1Bk7T3mAZoQfcOL4TX68P3u6VdHhTpFSiMPllhxYyIerc trl9tGFvIF9DoJYujC4hXsbx+k9bm3vp2SP9DwDpoSvxxwpZrUrRpeKhB3GPzfEfke7r J4rw==; 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 5b1f17b1804b1-4282bb324fdsi2900255e9.1.2024.08.06.02.48.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Aug 2024 02:48:51 -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 4769mnxw008099 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 6 Aug 2024 11:48:50 +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 12:48:48 +0300 In-Reply-To: References: <20240805071755.19853-1-ubely@ilbers.de> 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: HdYJwRIJS/Yp 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 SIZ= E > quay.io/libpod/alpine=C2=A0=C2=A0 3.10.2=C2=A0=C2=A0=C2=A0 961769676411= =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 blocking st= ate > [=C2=A0=C2=A0 61.234280] docker0: port 1(veth1c2b6f9) entered disabled st= ate > [=C2=A0=C2=A0 61.240243] device veth1c2b6f9 entered promiscuous mode > [=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 blocking st= ate > [=C2=A0=C2=A0 62.665656] docker0: port 1(veth1c2b6f9) entered forwarding = state > [=C2=A0=C2=A0 62.666394] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link bec= omes > ready > [=C2=A0=C2=A0 63.220542] docker0: port 1(veth1c2b6f9) entered disabled st= ate > [=C2=A0=C2=A0 63.229530] veth2aff680: renamed from eth0 > [=C2=A0=C2=A0 63.308290] docker0: port 1(veth1c2b6f9) entered disabled st= ate > [=C2=A0=C2=A0 63.311282] device veth1c2b6f9 left promiscuous mode > [=C2=A0=C2=A0 63.311507] docker0: port 1(veth1c2b6f9) entered disabled st= ate > 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 ID=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 96176967= 6411=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 blocki= ng > state > [=C2=A0=C2=A0 78.275225] cni-podman0: port 1(vethf6fde03e) entered disabl= ed > state > [=C2=A0=C2=A0 78.277667] device vethf6fde03e entered promiscuous mode > [=C2=A0=C2=A0 78.626628] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link become= s > ready > [=C2=A0=C2=A0 78.627038] IPv6: ADDRCONF(NETDEV_CHANGE): vethf6fde03e: lin= k > becomes ready > [=C2=A0=C2=A0 78.627313] cni-podman0: port 1(vethf6fde03e) entered blocki= ng > state > [=C2=A0=C2=A0 78.627513] cni-podman0: port 1(vethf6fde03e) entered forwar= ding > state > [=C2=A0=C2=A0 79.690462] audit: type=3D1400 audit(1722919083.116:6): > apparmor=3D"STATUS" operation=3D"profile_load" profile=3D"unconfined" > name=3D"containers-default-0.50.1" pid=3D750 comm=3D"apparmor_parser" > [=C2=A0=C2=A0 80.574314] cni-podman0: port 1(vethf6fde03e) entered disabl= ed > state > [=C2=A0=C2=A0 80.575874] device vethf6fde03e left promiscuous mode > [=C2=A0=C2=A0 80.576060] cni-podman0: port 1(vethf6fde03e) entered disabl= ed > 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 SIZ= E > quay.io/libpod/alpine=C2=A0=C2=A0 3.10.2=C2=A0=C2=A0=C2=A0 915beeae4675= =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: link > 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 ID=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 915beeae= 4675=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 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: ``` root@isar:~# docker images REPOSITORY TAG IMAGE ID CREATED SIZE quay.io/libpod/alpine 3.10.2 915beeae4675 4 years ago 5.33MB root@isar:~# docker run --rm quay.io/libpod/alpine:3.10.2 true [ 902.770874] docker0: port 1(veth8275b2c) entered blocking state [ 902.771066] docker0: port 1(veth8275b2c) entered disabled state [ 902.777051] device veth8275b2c entered promiscuous mode [ 904.813519] eth0: renamed from veth2f2256f [ 904.830269] IPv6: ADDRCONF(NETDEV_CHANGE): veth8275b2c: link becomes ready [ 904.830857] docker0: port 1(veth8275b2c) entered blocking state [ 904.830997] docker0: port 1(veth8275b2c) entered forwarding state [ 904.831407] IPv6: ADDRCONF(NETDEV_CHANGE): docker0: link becomes ready [ 905.372753] docker0: port 1(veth8275b2c) entered disabled state [ 905.385163] veth2f2256f: renamed from eth0 [ 905.487707] docker0: port 1(veth8275b2c) entered disabled state [ 905.491396] device veth8275b2c left promiscuous mode [ 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 root@isar:~# echo $? 127 root@isar:~# docker image rm 915beeae4675 Untagged: quay.io/libpod/alpine:3.10.2 Deleted: sha256:915beeae46751fc564998c79e73a1026542e945ca4f73dc841d09ccc6c2c0672 Deleted: sha256:5e0d8111135538b8a86ce5fc969849efce16c455fd016bb3dc53131bcedc4da5 root@isar:~# docker images REPOSITORY TAG IMAGE ID CREATED SIZE 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 5.59MB/5.59MB Loaded image: quay.io/libpod/alpine:3.10.2 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 root@isar:~# echo $? 0 ``` This looks strange. Nothing changed (image hash is the same), but the second run works well. After rebooting qemu machine it still works. Podman prebuilt image looks unaffected - it works from the beginning. --=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/c5cf6536d4876f95b02b41139892fb14a9b83671.camel%40ilbers.de.