Created attachment 744594 [details] build.log [...] 17/17 pw-test-endpoint FAIL 5.01s killed by signal 14 SIGALRM >>> MALLOC_PERTURB_=25 PIPEWIRE_CONFIG_DIR=/var/tmp/portage/media-video/pipewire-0.3.36/work/pipewire-0.3.36-.ppc64/src/daemon/ SPA_PLUGIN_DIR=/var/tmp/portage/media-video/pipewire-0.3.36/work/pipewire-0.3.36-.ppc64/spa/plugins/ PIPEWIRE_MODULE_DIR=/var/tmp/portage/media-video/pipewire-0.3.36/work/pipewire-0.3.36-.ppc64/src/modules/ /var/tmp/portage/media-video/pipewire-0.3.36/work/pipewire-0.3.36-.ppc64/src/tests/pw-test-endpoint Ok: 16 Expected Fail: 0 Fail: 1 Unexpected Pass: 0 Skipped: 0 Timeout: 0 Full log written to /var/tmp/portage/media-video/pipewire-0.3.36/work/pipewire-0.3.36-.ppc64/meson-logs/testlog.txt * ERROR: media-video/pipewire-0.3.36::gentoo failed (test phase): * tests failed
Created attachment 744597 [details] testlog.txt.xz
Created attachment 744600 [details] emerge --info
Looks like test timeout. Can you please try the usual timeout multiplier stuff? Add this to ebuild to try: multilib_src_test() { meson_src_test --timeout-multiplier 100 }
Created attachment 744813 [details] build.log (--timeout-multiplier 100) (In reply to Mart Raudsepp from comment #3) > Looks like test timeout. Can you please try the usual timeout multiplier > stuff? > > Add this to ebuild to try: > > multilib_src_test() { > meson_src_test --timeout-multiplier 100 > } Does not seem to make a difference.
Created attachment 744816 [details] testlog.txt.xz (--timeout-multiplier 100)
Created attachment 757011 [details] build.log (ppc64, 0.3.40-r1) 0.3.40-r1 passes tests on ppc64.
int main(int argc, char *argv[]) { /* FIXME: This test has a leak and a use of uninitialized buffer * that needs to be debugged and fixed (or excluded). Meanwhile - * skip it from valgrind so we can at least use the others. */ if (RUNNING_ON_VALGRIND) return 77; pw_init(&argc, &argv); alarm(5); /* watchdog; terminate after 5 seconds */ test_endpoint(); return 0; } timeout comes from test itself in src/tests/test-endpoint.c adding debug var and invocking test shows: with PIPEWIRE_DEBUG=4 [D][45375.370390][module-protocol-: 364 on_start()] version 3 [D][45375.370562][ resource.c: 91 pw_resource_new()] resource 0x154dd1690: new 0 type PipeWire:Interface:Core/3 client:0x154dbd470 marshal:0x3fffae01d4c8 [D][45375.370737][ global.c: 233 pw_global_add_resource()] global 0x154d9b7e0: resource 0x154dd1690 id:0 global:0 [D][45375.370908][ impl-core.c: 557 global_bind()] impl-core 0x154d9a7c0: bound to 0 [T][45375.371075][module-protocol-: 205 process_messages()] protocol-native 0x154d9ee20: got message 1 from 0 [D][45375.371247][ private.h: 357 pw_core_resource_errorv()] resource 0x154dd1690: id:0 seq:0 res:-2 (No such file or directory) msg:"unknown resource 0 op:1" [T][45375.371419][module-protocol-: 384 on_server_need_flush()] need flush [T][45375.371583][ loop.c: 402 loop_update_io()] loop 0x154dbdd50: update 0000001d [T][45375.371811][module-protocol-: 205 process_messages()] protocol-native 0x154d9ee20: got message 2 from 1 [D][45375.371982][ private.h: 357 pw_core_resource_errorv()] resource 0x154dd1690: id:0 seq:1 res:-2 (No such file or directory) msg:"unknown resource 1 op:2" [T][45375.372152][module-protocol-: 384 on_server_need_flush()] need flush [T][45375.372316][module-protocol-: 205 process_messages()] protocol-native 0x154d9ee20: got message 5 from 0 [D][45375.372485][ private.h: 357 pw_core_resource_errorv()] resource 0x154dd1690: id:0 seq:2 res:-2 (No such file or directory) msg:"unknown resource 0 op:5" [T][45375.372653][module-protocol-: 384 on_server_need_flush()] need flush [T][45375.372818][module-protocol-: 205 process_messages()] protocol-native 0x154d9ee20: got message 6 from 0 [D][45375.372987][ private.h: 357 pw_core_resource_errorv()] resource 0x154dd1690: id:0 seq:3 res:-2 (No such file or directory) msg:"unknown resource 0 op:6" [T][45375.373157][module-protocol-: 384 on_server_need_flush()] need flush [T][45375.373321][module-protocol-: 205 process_messages()] protocol-native 0x154d9ee20: got message 0 from 3 [D][45375.373489][ private.h: 357 pw_core_resource_errorv()] resource 0x154dd1690: id:0 seq:4 res:-2 (No such file or directory) msg:"unknown resource 3 op:0" [T][45375.373657][module-protocol-: 384 on_server_need_flush()] need flush [T][45375.373965][ connection.c: 723 pw_protocol_native_connection_flush()] connection 0x154dbddc0: 11 written 520 bytes and 0 fds [T][45375.374137][ loop.c: 402 loop_update_io()] loop 0x154dbdd50: update 00000019 [T][45375.374498][ connection.c: 217 refill_buffer()] connection 0x154dab0d0: 12 read 520 bytes and 0 fds [T][45375.374666][module-protocol-: 754 process_remote()] protocol-native 0x154da8370: got message 3 from 0 seq:0 [E][45375.374832][module-protocol-: 765 process_remote()] protocol-native 0x154da8370: could not find proxy 0 [T][45375.375000][module-protocol-: 754 process_remote()] protocol-native 0x154da8370: got message 3 from 0 seq:1 [E][45375.375165][module-protocol-: 765 process_remote()] protocol-native 0x154da8370: could not find proxy 0 [T][45375.375332][module-protocol-: 754 process_remote()] protocol-native 0x154da8370: got message 3 from 0 seq:2 [E][45375.375498][module-protocol-: 765 process_remote()] protocol-native 0x154da8370: could not find proxy 0 [T][45375.375667][module-protocol-: 754 process_remote()] protocol-native 0x154da8370: got message 3 from 0 seq:3 [E][45375.375833][module-protocol-: 765 process_remote()] protocol-native 0x154da8370: could not find proxy 0 [T][45375.375998][module-protocol-: 754 process_remote()] protocol-native 0x154da8370: got message 3 from 0 seq:4 [E][45375.376169][module-protocol-: 765 process_remote()] protocol-native 0x154da8370: could not find proxy 0 Alarm clock I'm checking something right now.
ok smells like endianess issue https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/566
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ed48683fb09adbd02151e27ff0043465787f6eb commit 7ed48683fb09adbd02151e27ff0043465787f6eb Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-18 04:43:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-18 04:47:42 +0000 media-video/wireplumber: add big-endian patches from upstream Closes: https://bugs.gentoo.org/817881 Thanks-to: Georgy Yakovlev <gyakovlev@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> media-video/wireplumber/Manifest | 1 + .../wireplumber/wireplumber-0.4.5-r2.ebuild | 101 +++++++++++++++++++++ media-video/wireplumber/wireplumber-9999.ebuild | 2 +- 3 files changed, 103 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3003daaf68647bf768b1cbe2ee8bcbb453c2e2a0 commit 3003daaf68647bf768b1cbe2ee8bcbb453c2e2a0 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-18 04:48:29 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-18 04:48:29 +0000 media-video/pipewire: change subslot for ABI break Bug: https://bugs.gentoo.org/817881 Signed-off-by: Sam James <sam@gentoo.org> .../pipewire/{pipewire-0.3.42.ebuild => pipewire-0.3.42-r1.ebuild} | 3 ++- media-video/pipewire/pipewire-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)