ptest-runner: Pull in sync fix to improve log warnings
PATCH 1/1 ptest-runner: Pull in sync fix to improve log warnings
Pulls in:
utils: Ensure buffers are flushed after child exits
We currently wait for the child to exit but we don't flush the buffers. This can mean the output ends up out of sync and the END: line isn't at the end of the logs.
We've recently seen a lot of issues related to this on the autobuilder. Add in a flush call for all fds to ensure buffers are in sync. This does appear to improve warnings on the autobuilder now we started detecting the issue.
--- meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb +1 -1
@@ -7,7 +7,7 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -SRCREV = "bcb82804daa8f725b6add259dcef2067e61a75aa" +SRCREV = "ea2a9cc159ad5f64ee75781d55101d7c340e0303" PV .= "+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \
Signature · 1 line
2.39.2
This appears to have regressed glib-2.0 ptest, particularly:
Failed ptests:
{'glib-2.0': ['glib/codegen.py.test']}
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/5273/steps/12/logs/stdio
I didn't yet got to the root cause, just wanted to register where it happened. Note that the ptest passes when run directly and fails only under ptest-runner, and it somehow is specific to qemux86_64 as well. Bizarre, yes.
Alex
Quoted 44 lines · Richard Purdie
Pulls in:
utils: Ensure buffers are flushed after child exits
We currently wait for the child to exit but we don't flush the buffers. This can mean the output ends up out of sync and the END: line isn't at the end of the logs.
We've recently seen a lot of issues related to this on the autobuilder. Add in a flush call for all fds to ensure buffers are in sync. This does appear to improve warnings on the autobuilder now we started detecting the issue.
Signed-off-by Richard Purdie <[email protected]>--- meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb +1
-2@@ -7,7 +7,7 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -SRCREV = "bcb82804daa8f725b6add259dcef2067e61a75aa" +SRCREV = "ea2a9cc159ad5f64ee75781d55101d7c340e0303" PV .= "+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \ --2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183056): https://lists.openembedded.org/g/openembedded-core/message/183056
Mute This Topic: https://lists.openembedded.org/mt/99601743/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 9 lines · Alexander Kanavin
This appears to have regressed glib-2.0 ptest, particularly:
Failed ptests:
{'glib-2.0': ['glib/codegen.py.test']}
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/5273/steps/12/logs/stdioI didn't yet got to the root cause, just wanted to register where it happened. Note that the ptest passes when run directly and fails only under ptest-runner, and it somehow is specific to
qemux86_64as well. Bizarre, yes.
It happens on qemuarm64 too:
https://autobuilder.yoctoproject.org/typhoon/#/builders/82/builds/5091/steps/12/logs/stdio
Cheers,
Richard
A message that is not in the archive (sent off-list or not yet received): [email protected]
There's an open issue for it as well:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15154
Alex
Quoted 62 lines · Alexander Kanavin via lists.openembedded.org
This appears to have regressed glib-2.0 ptest, particularly:
Failed ptests:
{'glib-2.0': ['glib/codegen.py.test']}
https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/5273/steps/12/logs/stdioI didn't yet got to the root cause, just wanted to register where it happened. Note that the ptest passes when run directly and fails only under ptest-runner, and it somehow is specific to
qemux86_64as well. Bizarre, yes.Alex
Quoted 33 lines · Richard Purdie
Pulls in:
utils: Ensure buffers are flushed after child exits
We currently wait for the child to exit but we don't flush the buffers. This can mean the output ends up out of sync and the END: line isn't at the end of the logs.
We've recently seen a lot of issues related to this on the autobuilder. Add in a flush call for all fds to ensure buffers are in sync. This does appear to improve warnings on the autobuilder now we started detecting the issue.
Signed-off-by Richard Purdie <[email protected]>--- meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb +1
-2@@ -7,7 +7,7 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" -SRCREV = "bcb82804daa8f725b6add259dcef2067e61a75aa" +SRCREV = "ea2a9cc159ad5f64ee75781d55101d7c340e0303" PV .= "+git${SRCPV}" SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \ --Quoted 5 lines
2.39.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183585): https://lists.openembedded.org/g/openembedded-core/message/183585
Mute This Topic: https://lists.openembedded.org/mt/99601743/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-