[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Updating mumi on berlin
Thiago Jung Bauermann
Re: Updating mumi on berlin
Fri, 06 May 2022 00:22:36 -0300
zimoun <firstname.lastname@example.org> writes:
> On Wed, 04 May 2022 at 21:49, Kyle Meyer <email@example.com> wrote:
>> I've tried sit down and update Guix's public-inbox definition a few
>> times, but there are various test failures that I didn't figure out how
>> to handle in the time I had. (IIRC, I think they're related to the lei
>> tests expecting to be able to kill the lei-daemon process, which isn't
>> the case in Guix's build environment.)
> On Thu, 05 May 2022 at 00:13, Thiago Jung Bauermann <firstname.lastname@example.org>
>> Yes, that's what I'm seeing as well. The lei-daemon process is actually
>> killed, but because of bug 30948 it is left in a zombie state and so the
>> testsuite thinks that it didn't go away.
>> The testsuite checks whether lei-daemon is gone by doing a
>> “kill(<lei-daemon pid>, 0)”, which unfortunately succeeds for zombie
>> I've been meaning to add child reaping to the Guix builder process, but
>> I'm moving very slowly due to time constraints and my unfamiliarity with
>> that part of Guix...
> …why not just disable the specific test or if not possible, turn off the
> test suite ’#:tests? #f’. Whereas it is not the best, it would allow to
> have ’lei’ while waiting the fix at the Guix build environment level.
I didn't go that route because I don't like disabling tests without
understanding why they fail and it took me a while to understand the
zombie root cause. In addition to that, without the testsuite passing I
didn't feel confident that I would be proposing a good enough package
because virtually the only part of public-inbox that I use is lei
itself. What if there was a regression in other parts of it and I didn't
notice because I use so little?
But I wouldn't mind disabling the part that checks that lei-daemon is
truly gone, or even the whole testsuite if that is too complicated.
On the other hand, the preferred solution would be the workaround
pointed out by Maxim, where tini is used to run the testsuite and reap
its sub-processes. I can probably take a stab at it over the weekend if
no one beats me to it.
>> $ guix shell -p path/to/profile -- lei up --all
> How do you query all new ones for a specific list?
> Thiago, do you use ’piem’ ?
I don't, but it looks interesting! I'll try it out, thanks!
> 1: <https://git.kyleam.com/piem/about/>
- Re: Updating mumi on berlin, (continued)
- Re: Updating mumi on berlin, Thiago Jung Bauermann, 2022/05/05
- Re: Updating mumi on berlin, Ludovic Courtès, 2022/05/07
- Re: Updating mumi on berlin, Thiago Jung Bauermann, 2022/05/07
- Re: Updating mumi on berlin, Ludovic Courtès, 2022/05/15
- Re: Updating mumi on berlin, Maxime Devos, 2022/05/16
- Re: Updating mumi on berlin, zimoun, 2022/05/05
- public-inbox v1.7 update (was: Updating mumi on berlin), Kyle Meyer, 2022/05/05
- Re: public-inbox v1.7 update (was: Updating mumi on berlin), zimoun, 2022/05/06
- Re: public-inbox v1.7 update (was: Updating mumi on berlin), Kyle Meyer, 2022/05/08
- Re: public-inbox v1.7 update (was: Updating mumi on berlin), zimoun, 2022/05/09
- Re: Updating mumi on berlin,
Thiago Jung Bauermann <=
- Re: Updating mumi on berlin, zimoun, 2022/05/06
- Re: Updating mumi on berlin, Thiago Jung Bauermann, 2022/05/15