Source: dropbear
Version: 2024.85-1
Severity: serious
Justification: flaky debci is RC as per RT
X-Debbugs-CC: elb...@debian.org

Hi,

Dropbear's debci sometimes fails and works on reruns, which is RC
according to the release team. E.g.:

 44s _____________________________ test_read_pty[41234] 
_____________________________
 44s 
 44s request = <FixtureRequest for <Function test_read_pty[41234]>>
 44s dropbear = <Popen: returncode: None args: ['/usr/sbin/dropbear', '-p', 
'127.0.5.5:2244'...>
 44s size = 41234
 44s 
 44s     @pytest.mark.parametrize("size", [0, 1, 2, 100, 20001, 41234])
 44s     def test_read_pty(request, dropbear, size):
 44s            # testcase for
 44s            # https://bugs.openwrt.org/index.php?do=details&task_id=1814
 44s            # https://github.com/mkj/dropbear/pull/85
 44s            # From Yousong Zhou
 44s            # Fixed Oct 2021
 44s            #
 44s            #$ ssh -t my.router cat /tmp/bigfile | wc
 44s            #Connection to my.router closed.
 44s            #  0       1   14335 <- should be 20001
 44s     
 44s            # Write the file. No newlines etc which could confuse ptys
 44s            dat = random_alnum(size)
 44s            r = dbclient(request, "tmpf=`mktemp`; echo $tmpf; cat > $tmpf", 
input=dat, capture_output=True, text=True)
 44s            tmpf = r.stdout.rstrip()
 44s            r.check_returncode()
 44s            # Read with a pty, this is what is being tested.
 44s            # Timing/buffering is subtle, we seem to need to cat a file 
from disk to hit it.
 44s            m, s = pty.openpty()
 44s            r = dbclient(request, "-t", f"cat {tmpf}; rm {tmpf}", stdin=s, 
capture_output=True)
 44s            r.check_returncode()
 44s >          assert r.stdout.decode() == dat
 44s E    AssertionError: assert '5UJ3MW22xOOI...FaalTbhYJnMCI' == 
'5UJ3MW22xOOI...Y3JVX5tREk1dZ'
 44s E      
 44s E      Skipping 35313 identical leading characters in diff, use -v to show
 44s E      - 
alTbhYJnMCIn7LtG6YFfF3Gk3pFejnyM2rEbIILTIFdk1JWuplYKktUPBdJT7np0mbpsUIv4VRwGAVP2JWGnLAm4S4AAQIPMawGHMyoxqV9zFFE8MinMNvpw1aQf9QPfnO8TeBNMyIVtBwW3T3BnV5K9g46lSmnyHzb74TxhKlyUPfxptjwFB1d8v4HyDdl0RyLYulodzxNeIOB1Lm5ALyInEVcVc6cy4O9gmzgUCRHT5i3dJzMCvJJ0yBYRhfSwY4vms9TLH5uloGp5wK8QYMeiM4YGMR8LlGE0p2ol7aiVd0LxNqWb3dzlC17iPYOjxhpUaIuUOkhxu5JXcnEP8QkLOwEgWltymjnnvG3z4ITHf24leozVwGMOO8eR74E9JZdZE6Hs7EWKMuzFmlCHK08L5WtZRPYksOq5HuvUxttVOhtCYJDgPpnJ48Z27q0no73Qeg3gS7Y74nf3ZEGToWh71Wn9whsbp3QoGMENc4UUth8KPoiu2QuEzbl...
 44s E      
 44s E      ...Full output truncated (2 lines hidden), use '-vv' to show

https://ci.debian.net/packages/d/dropbear/testing/s390x/47157781/

-- 
Kind regards,
Luca Boccassi

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to