rsync: add ptest support
PATCH v2 1/1 rsync: add ptest support
Package the upstream rsync testsuite and helper binaries into rsync-ptest package and add a run-ptest wrapper for executing the tests.
backup.test is skipped due to intermittent failures observed on qemux86-64.
The issue has been reported upstream:
https://github.com/RsyncProject/rsync/issues/941
Tested on qemux86-64 using ptest-runner with all
executed tests passing.
--- .../distro/include/ptest-packagelists.inc | 1 + meta/recipes-devtools/rsync/files/run-ptest | 17 +++++++ meta/recipes-devtools/rsync/rsync_3.4.2.bb | 46 ++++++++++++++++++- 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/rsync/files/run-ptest
meta/conf/distro/include/ptest-packagelists.inc +1 -0
@@ -95,6 +95,7 @@ PTESTS_FAST = "\ qemu \ quilt \ rpm-sequoia \ + rsync \ sed \ slang \ utfcpp \
meta/recipes-devtools/rsync/files/run-ptest new file +17 -0
@@ -0,0 +1,17 @@ +#!/bin/sh + +cd $(dirname $0) + +# backup.test intermittently fails on qemux86-64 +# (observed ~5 failures in 20 runs). +# Upstream: https://github.com/RsyncProject/rsync/issues/941 +TESTS=$(cd testsuite && \ + ls *.test | \ + sed 's/\.test$//' | \ + grep -v '^backup$') + +python3 runtests.py \ + --rsync-bin=/usr/bin/rsync \ + --tooldir=$(pwd) \ + --srcdir=$(pwd) \ + $TESTS
meta/recipes-devtools/rsync/rsync_3.4.2.bb +45 -1
63 lines not on this page · raw message
Signature · 1 line
2.43.0
Quoted 8 lines · nikhil via lists.openembedded.org
Package the upstream rsync testsuite and helper binaries into rsync-ptest package and add a run-ptest wrapper for executing the tests.
backup.test is skipped due to intermittent failures observed on qemux86-64.
The issue has been reported upstream:
Quoted 7 lines
https://github.com/RsyncProject/rsync/issues/941
Tested on qemux86-64 using ptest-runner with all
executed tests passing.Signed-off-by Nikhil R <[email protected]>---
Hi Nikhil,
Thanks for the new version.
It looks like some tests are failing now:
AssertionError:
Failed ptests:
{'rsync': 'START: ptest-runner\n'
'2026-06-02T19:14\n'
'============================================================\n'
'runtests.py running in /usr/lib/rsync/ptest\n'
' rsync_bin=/usr/bin/rsync\n'
' srcdir=/usr/lib/rsync/ptest\n'
' TLS_ARGS=-l -L\n'
' testuser=root\n'
' os=Linux qemuarm64 6.18.33-yocto-standard #1 SMP PREEMPT Wed '
'May 27 22:05:49 UTC 2026 aarch64 GNU/Linux\n'
...
'cd+++++++++ ./\n'
'cd+++++++++ A weird)name/\n'
'>f+++++++++ A weird)name/file\n'
'tls: stat ./A\\: No such file or directory\n'
'----- 00-hello log ends\n'
'FAIL 00-hello\n'https://autobuilder.yoctoproject.org/valkyrie/#/builders/61/builds/3737
https://autobuilder.yoctoproject.org/valkyrie/#/builders/73/builds/3756
https://autobuilder.yoctoproject.org/valkyrie/#/builders/109/builds/487
https://autobuilder.yoctoproject.org/valkyrie/#/builders/110/builds/471
Can you have a look at the issue?
Thanks,
Mathieu
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com