>> +    except SSHCallTimeout:
>> +        # Version of openssh before 8.6_p1 returns error code 0 when killed 
>> by
>> +        # a signal, when the timeout occurs we will receive a 0 error code
>> +        # because the process is been terminated and it's wrong because that
>> +        # value means success, but the process timed out.
>> +        # Afterwards, from version 8.6_p1 onwards, the returned code is 255.
>> +        # Fix this behaviour by checking the return code
>> +        if process.returncode == 0:
>> +            process.returncode = 255
> 
> This breaks most of our tests:
> 
> https://autobuilder.yoctoproject.org/typhoon/#/builders/40/builds/8103/steps/13/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/76/builds/8054/steps/21/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6037/steps/14/logs/stdio
> https://autobuilder.yoctoproject.org/typhoon/#/builders/72/builds/8106/steps/15/logs/stdio
> 
> and more...


Hi Alexandre,

Sorry about that, I will push a v2 that fixes the issues

Cheers,
Luca


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190383): 
https://lists.openembedded.org/g/openembedded-core/message/190383
Mute This Topic: https://lists.openembedded.org/mt/102461629/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to