proot: Build gets stuck in test-0cf405b0 (and maybe test-25069c13)

  • Done
  • quality assurance status badge
Details
3 participants
  • Blake Shaw
  • Josselin Poiret
  • Ivan Vilata i Balaguer
Owner
unassigned
Submitted by
Ivan Vilata i Balaguer
Severity
normal
Merged with
I
I
Ivan Vilata i Balaguer wrote on 4 May 2023 23:52
(address . bug-guix@gnu.org)
ZFQpIBtacbPKNJ60@sax
Hi! It looks like some tests during the build of `proot` get stuck in the
version of Guix shown below:

```
$ LANG=C guix describe
Generation 56 May 02 2023 11:25:26 (current)
guix 3f8c489
branch: master
commit: 3f8c4899a9a67bb509a603bd21dcfcfab88c0e8e
```

Since `top` reported a couple of tests getting stuck, I first ran `guix build
-c1 proot`; its last lines were:

```
CHECK test-pppppppp ok
CHECK test-proocare skipped
CHECK test-ptrace-exec-trap ok
CHECK test-python01 ok
CHECK test-rrrrrrrr ok
CHECK test-tempdire ok
CHECK test-wwwwwwww ok
CHECK test-yyyyyyyy ok
```

It got stock there and `top` reported the following test (`test-0cf405b0`)
using CPU:

```
21490 guixbui+ 20 0 10,8m 4,0m 0,0 0,0 0:00.03 S `- make check -C test -j 1
24340 guixbui+ 20 0 6,4m 2,9m 0,0 0,0 0:00.00 S `- /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh -c if [ -e /tmp/guix-build-proot-5.3.0.drv-0/source/test//rootfs/bin/test-0cf405b0 ]; then /tmp/guix+
24341 guixbui+ 20 0 7,1m 3,1m 55,0 0,0 0:42.21 S `- /tmp/guix-build-proot-5.3.0.drv-0/source/test//../src/proot -b /proc -r /tmp/guix-build-proot-5.3.0.drv-0/source/test//rootfs /bin/test-0cf405b0
24342 guixbui+ 20 0 0,9m 0,4m 45,7 0,0 0:34.71 t `-
```

Then I ran again `guix build -c4 proot` (4 cores is the default on my
computer); its last lines were:

```
CHECK test-pppppppp ok
CHECK test-proocare skipped
CHECK test-ptrace-exec-trap ok
CHECK test-python01 ok
CHECK test-rrrrrrrr ok
CHECK test-tempdire ok
CHECK test-wwwwwwww ok
CHECK test-yyyyyyyy ok
CHECK test-gdb-ptrace ok
CHECK test-1c68c218 ok
CHECK test-305ae31d ok
CHECK test-33333333 ok
CHECK test-33333334 ok
CHECK test-44444444 ok
CHECK test-51943658 ok
CHECK test-66666666 ok
CHECK test-79cf6614 ok
CHECK test-88888888 ok
CHECK test-a8e69d6f ok
CHECK test-af062114 ok
CHECK test-bug-138 ok
CHECK test-c10e2073 ok
CHECK test-d2175fc4 ok
CHECK test-e87b34ae ok
CHECK test-nnnnnnnn ok
CHECK test-oooooooo ok
CHECK test-ptrace00 ok
CHECK test-ptrace01 ok
CHECK test-ssssssss ok
CHECK test-xxxxxxxx ok
```

It got stock there and `top` reported the following tests (`test-0cf405b0` and
`test-25069c12`) taking CPU:

```
9960 guixbui+ 20 0 11,0m 4,0m 0,0 0,0 0:00.06 S `- make check -C test -j 4
10535 guixbui+ 20 0 6,4m 2,9m 0,0 0,0 0:00.00 S `- /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh -c if [ -e test-25069c12 ]; then /tmp/guix-build-proot-5.3.0.drv-0/source/test//../src/proot ./test-+
10536 guixbui+ 20 0 7,1m 3,1m 66,0 0,0 17:29.84 R `- /tmp/guix-build-proot-5.3.0.drv-0/source/test//../src/proot ./test-25069c12
10537 guixbui+ 20 0 0,4m 0,1m 32,1 0,0 8:36.58 t `-
10543 guixbui+ 20 0 6,4m 2,9m 0,0 0,0 0:00.00 S `- /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh -c if [ -e test-25069c13 ]; then /tmp/guix-build-proot-5.3.0.drv-0/source/test//../src/proot ./test-+
10544 guixbui+ 20 0 7,1m 3,1m 66,0 0,0 17:29.99 R `- /tmp/guix-build-proot-5.3.0.drv-0/source/test//../src/proot ./test-25069c13
10545 guixbui+ 20 0 0,4m 0,1m 32,1 0,0 8:36.61 t `-
13202 guixbui+ 20 0 6,4m 2,9m 0,0 0,0 0:00.00 S `- /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh -c if [ -e /tmp/guix-build-proot-5.3.0.drv-0/source/test//rootfs/bin/test-0cf405b0 ]; then /tmp/guix+
13203 guixbui+ 20 0 7,1m 3,1m 52,8 0,0 13:52.96 S `- /tmp/guix-build-proot-5.3.0.drv-0/source/test//../src/proot -b /proc -r /tmp/guix-build-proot-5.3.0.drv-0/source/test//rootfs /bin/test-0cf405b0
13204 guixbui+ 20 0 0,9m 0,0m 44,0 0,0 11:43.34 R `-
```

Thanks and cheers!

--
Ivan Vilata i Balaguer -- https://elvil.net/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEHpvwBPZcchIQr6TuPezBBfXdI4IFAmRUKRQACgkQPezBBfXd
I4Lr4A//XkIInTh0M5kcghlfJivXZMFo0RtxN6QJPhsrgYmj3MmOkmwEWHMKX7uP
IrBUPIEWXSHbUrOvyW/7EsoIdXZa2WkgBKWioYiJWs2eK53veVtbW1K1kFgkUH2K
TDbk16RHEJyfJajYTknxdzyofc6MDiEnSjAvu7yse8frNXcerTW4Vx5KxO9DLvN1
X/p5oQNeOqzLRlpIAgBiHsJXKunFuRcm3Fjs0jUQIYEJDhlXKedOSI8PUo/hYxKb
PLX+5z+UX78aETT0HgLuPeTF2Qup4dzzJavLHZ8fUgHyhNJVIeIuTeh0ElfGXIpJ
nookuJPNpqpDUzRAXVf6AFbY3q9uqchNoBtASPBqeadbeepGpp5ZWPK0npAVX1PL
emDwGDLDdDvZhDkTdmsWI0d6FsXb1R3ar1UrdHan3igGJ2zQ9cRWNW7LCiCKE8st
5zFub8qdQYn4L0V9LgO1AA01s6z+gfwbWbOha9TiMvjvJb8Oo4gMTtto3yzJ8qUD
GpVeTdN4vi2rX2QIKekPzTsIDagERbrvaMxCZKBd9pVe2P2kmkEB80zfmTr7eotO
cu3JwmWfelF9ByHN7WIrF1i9lmQNKisbAO5/47xX5Yd7wbBEPI+xoXYy/ZRadt8J
vjZCSUSUIX1ODKjdyVZXRVkKWYQ3FU+PF3jA7j9hTuTGl2KBGDs=
=qRKb
-----END PGP SIGNATURE-----


J
J
Josselin Poiret wrote on 5 May 2023 11:31
87ttwrazvn.fsf@jpoiret.xyz
Hi Ivan,

Ivan Vilata i Balaguer <ivan@selidor.net> writes:

Toggle quote (3 lines)
> Hi! It looks like some tests during the build of `proot` get stuck in the
> version of Guix shown below:

I already provided fixes for two tests upstream [1] but I'm waiting on
[2] since it seems like an actual regression.


Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmRUzNwQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaiqcHDACCTBA/y3H9Q1+eLhqIqbqC+FDqy7v9sHyb
0dXI07UODjyYj4p6nutb6j42jLKufY4z5/sPvFe7prWzsiklYpVEe1XihOm/DFZk
6bA4KvHZJC3vkbP8xqve/1BjkT1oW0PHy1Dc4AycMUOKsJpfdYQGzB471yeKVpMn
krhbZocWETNLaZirD3sSw3neiDdmJW1PM92sM07pVlLZ73L6NG/9rePptQC3THRr
6J4+Z8JGsw16Al52efDNN1sURxUzsG5QoOSuS1XB2PzXP2UmRcYgOZzF+2WLAZCc
HPRBbiqmYXjzNJBIMEcaclnZSXHpceDEx26XDJurHPlJ9QRQAIvO7Nt8Zxg25lwx
L6I1W9C4FXNQIrd2/9VXOPAChqihUi/DnMRGWZOT57+yrb5sSpP7ZuMR/MgMfIYu
5tFW2g2R/2XSdPbqPgyR5+0OAwRmC2Dkk/9DyEzAB5P7CiKffUKfTv05KNmla/FF
a6T82MGAEv0BDztElTsSr+GpdOx9hYM=
=Hz+/
-----END PGP SIGNATURE-----

B
B
Blake Shaw wrote on 7 May 2023 10:55
(name . Josselin Poiret)(address . dev@jpoiret.xyz)
7zmt2gfrfh.fsf@reproduciblemedia.com
I'm also dealing with the issue, except for me it gets stuck in
test-kkkkkkk, if that info is helpful at all.

Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (15 lines)
> [[PGP Signed Part:Undecided]]
> Hi Ivan,
>
> Ivan Vilata i Balaguer <ivan@selidor.net> writes:
>
>> Hi! It looks like some tests during the build of `proot` get stuck in the
>> version of Guix shown below:
>
> I already provided fixes for two tests upstream [1] but I'm waiting on
> [2] since it seems like an actual regression.

> [1] https://github.com/proot-me/proot/pull/351
> [2] https://github.com/proot-me/proot/issues/352
>
> Best,
J
J
Josselin Poiret wrote on 9 May 2023 20:43
Re: bug#63394: (no subject)
87r0rp4a7f.fsf@jpoiret.xyz
merge 63394 63284
thankyou

Hi André,

André A. Gomes <andremegafone@gmail.com> writes:

Toggle quote (7 lines)
> Hi Guix,
>
> I was able to build it with the patch attached.
>
> As you can see I've disabled the tests. When they run, it seems that
> they idle. See the output below.

See [1] for more information. One of the tests failing is actually
indicative of a regression in proot I think, so this is why we haven't
gotten around to fixing it yet.


Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmRalFQQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaiotXDAC29kSzqdR5U+3/e7MYlgJrEzg/93290NGh
2WZKe/xNxIRQQBFzOfPfRRH/Cp5Q/7KoD2N9awsuy9n9tftBZHmPcEHimFFz/FBn
QoDT9ZpDC03m8X7itPeMH4A2hwHWqrkqhNqu+UcNQXgIcJ2bXUfMBuXtxppcjrB0
s5WjBVo1MpSAQXesMiHlG369jGBpru3AdCOnb/xJ3tJ96wvUSyO5bICgD7aGOs2B
PDTTOe4Y6MYwVT5tUMDzaEBb+j0J194cIDS4Tkg2NEF0uk0V0FbhaHWa2J1it6WF
vHEbUY133K8iFTlok2fB9vTacr+i0QTIn6TVd63uy9PxTH2cAeoAWelHoia9TUSL
2D/cP/WV1DbM+LLQsU4/KKfCCX7sRTQ5RKcWdXFhPIw0BO+zfLfKhB5PviZDrPHU
wc6/RlL4t3dCKS8Ghtldm3+aaNmsS9xXCArJyWjP/r11vaiuoMVGqHruv6Ogaml4
2tX5nhNCKDz/U40LEDl7iEP2/WD1kXA=
=s+bz
-----END PGP SIGNATURE-----

I
I
Ivan Vilata i Balaguer wrote on 19 May 2023 14:36
Re: bug#63284: proot: Build gets stuck in test-0cf405b0 (and maybe test-25069c13)
(name . Blake Shaw)(address . blake@reproduciblemedia.com)
ZGdtT+kzA3kthgSz@sax
Same for me both building with:

guix build proot --with-version=proot=5.4.0

And altering the definition of the package manually to use `(version "5.4.0")`
(hash `186qsg4yvisqjgf8w5jxhnlig7x341vpqwcgp8as3r59qmqkpmk7`), plus removing
`libarchive` from `inputs` (as v5.3.1 already removed that dependency).

Thanks!


Blake Shaw (2023-05-07 15:55:04 +0700) wrote:

Toggle quote (16 lines)
> I'm also dealing with the issue, except for me it gets stuck in
> test-kkkkkkk, if that info is helpful at all.
>
> Josselin Poiret via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
>
> > Ivan Vilata i Balaguer <ivan@selidor.net> writes:
> >
> >> Hi! It looks like some tests during the build of `proot` get stuck in the
> >> version of Guix shown below:
> >
> > I already provided fixes for two tests upstream [1] but I'm waiting on
> > [2] since it seems like an actual regression.
>
> > [1] https://github.com/proot-me/proot/pull/351
> > [2] https://github.com/proot-me/proot/issues/352

--
Ivan Vilata i Balaguer -- https://elvil.net/
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEHpvwBPZcchIQr6TuPezBBfXdI4IFAmRnbUYACgkQPezBBfXd
I4LWsw/+P+D63O5nCwzkp4e7VQ9PkVQBWofE/aDnO2ZJK+wVpGHfJtZMqjHLHiWb
EFitOk9itA/ajN3KI1BjCu+R2IsUHyUKrpWQSgFhAIYfUGShOYdIrgTFDgVAeOzf
UYKtRWYWx9x7G/dudhKHxP0y18qbBtGAt1OEh5EgC7u7WLWXecU8Cc53PiUYqu+e
PSIM1lQbGtWe2p3/NIn42YaeH72FOFSXJfYhZRvKDePUsq6EQjB/KDB9jHOCGnK1
cjNsoLGmDSdRHYNxohuEuSJqR+t+Ri83FOADOOdcBCR8/uniP4EvHBjvMjr7RI3s
hiZmxykJD8cC9CYSvy0Nz/t3OPe2i6Ga4HvY99nO1kbRSbLwRtcv7EBHxaxSNch4
6HKni0zl0V+DwKVYW6IePpR5ZuhW39itStdatkG5Xq1z00TrCkhP9+6Paxjhlg09
7b+cIZyXa4ER9jAoSMJctxoXRoN7cUZZDgI9Rr9SU8uCANiOjw1y3UMpn4ElujzD
Xtj8X4VzQIwTp1yC+KaJB1jtTUPCFl8t3YmGnPNUgT2J/NDUqBLxc7wmNcaZHUsA
781EemMT+J8ccDhAgJVbRDfOM7HYd3gpX9aJlIR5P7qDiq50N+s/dJfuzAwSaVXO
U13SKw/qHeQVMT8NEbIyB0DDmObUx6qkBG/Zux2c0NE9lcB0cfk=
=t1YY
-----END PGP SIGNATURE-----


J
J
Josselin Poiret wrote on 4 Jun 2023 11:39
Re: [bug#63843] [PATCH] gnu: proot: Skip failing test.
87edmrefcm.fsf@jpoiret.xyz
merge 63843 63394
close 63394
thankyou

Hi Ontje,

<Ontje.Luensdorf@dlr.de> writes:

Toggle quote (6 lines)
> Hi,
>
>
> this disables a failing proot test to fix guix pack -RR. The issue has
> already been reported upstream (see comment).

This is fixed by b741218e919bfd386772322c1dcb286446bc4c90. Note that
disabling the tests here was a bad idea, as the upstream issue
indicated: this was a regression.

Best,
--
Josselin Poiret
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmR8W8kQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaisQ/C/9duF7Qrq/DxPSpBrXqUKX0t14roVaIV8Tn
/9vtR3e9uhDp/VTbF9UqB6qGiC5z8mEzv8EqKhKb2YUyWU6laIe9DqT+yNwDV7ng
bGt9X+iWGnEmseLdmXsUWp11o9fiE4gcSbXZ1nqg67oTZGtJPbGBKKQEH2yIrbQf
GsbJ0md4OdBDLqJ1odKwfSbj2AyC1nvMB08NhqoJEwz3OctOj8nJmHoDRrQ4lS0+
7+bn0pp1E9DIj2fm+Fkn6PfxvL6+8Py82lY1fHHaVCXFmjDw6NcVSrwAjwX6BPGe
ENoowp9h6N9KmtbO53iyEWKD7y+fUwlEP3z4GJyN8cMxHfP4axO7cBjRYQfoSAav
2Dwz5M1kqZfo615Gqf9Mw64sCwa7LIO7gv4fhru6hRIEFAbLop81DnQP3FRs9N5m
vPq3xBvz/bHlfxyuRbELWZp47IzhllQIuL+DTbODqknk9yaOmjTV7jW9C35itcND
uiaZdxBzgRznsK1+ojYgezOcU+QC6BA=
=p4Aq
-----END PGP SIGNATURE-----

?
Your comment

This issue is archived.

To comment on this conversation send an email to 63284@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 63284
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch