bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash 5.2 regression in optimize_connection_fork


From: Chet Ramey
Subject: Re: bash 5.2 regression in optimize_connection_fork
Date: Mon, 21 Nov 2022 09:44:51 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 11/19/22 3:08 PM, Frode Nordahl wrote:

For some reason, when the 'ovn-controller incremental processing' test is
executed using bash 5.2 on Debian experimental or Ubuntu Kinetic/Lunar, the
`eval` [0] in the `counter_delta_` function misinterprets successful execution
of commands [1], leading to a false negative for the 'ovn-controller
incremental processing' test [2].

Can you enable -x around these commands so we can at least see what the
commands are, and maybe synthesize a reproducer from that?

Sure, the command string itself looks like this:

+++++ eval 'ovn-nbctl --wait=hv lrp-set-gateway-chassis lr1-public hv3
30 && ovn-nbctl --wait=hv sync

Thanks. I was able to put together a small reproducer. The issue was the
interaction between `eval' and a (command) subshell earlier in the script.

If your fix works for you, go with it. I have somthing from a slightly
different angle that I think will work as well.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]