Closed kloczek closed 3 years ago
Full log written to /home/tkloczko/rpmbuild/BUILD/gtk-layer-shell-0.5.0/x86_64-redhat-linux-gnu/meson-logs/testlog.txt
Uploading this might be helpful. What exact OS are you on? For the record, I can't reproduce when building and running the tests from master or the 0.5.0 tarball downloaded from GitHub on Ubuntu 20.04.
Because meson has been started with --print-errorlogs
in that log is more or less the same what I've already pasted.
Thanks for the complete logs, unfortunately I still haven't figured it out. What distro/version are you on? And what exact version of GTK? I've no idea what's going on, but the only relevant difference between our systems I can think of is GTK version.
gtk3 3.24.23 I'm using my own distro which is Fedora rawhide based with tons bugs fixed (sttill about 35% is from Fedora). I think that it should be possible to reproduce thgat on F33.
Ah ha! Looks like GTK 3.24.23 sends more Wayland messages than previous versions for some reason. This means more output when run with WAYLAND_DEBUG=1
which causes us to hit this Python bug (but only when both the test and the mock server are run from the test Python script). All things considered, I'm surprised it didn't take me longer to figure out, this is a weird one.
I'm not sure how long it will take me to fix the underlying cause, but I'll push a v0.5.1 release when I do.
Can someone please test #92?
Looks like it works with that PR :)
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gtk-layer-shell-0.5.0/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/23 test-is-supported-true OK 0.54s
2/23 basic-test OK 0.90s
3/23 test-expect-fail EXPECTEDFAIL 0.60s
4/23 test-is-layer-window OK 0.96s
5/23 test-anchors OK 0.60s
6/23 test-set-layer OK 1.50s
7/23 test-get-layer OK 0.59s
8/23 test-set-size-request OK 1.78s
9/23 test-adapts-to-screen-size OK 1.29s
10/23 test-auto-exclusive-zone-no-margin OK 1.80s
11/23 test-auto-exclusive-zone-with-margin OK 0.93s
12/23 test-auto-exclusive-zone-weird-bool-values OK 0.58s
13/23 test-get-explicit-exclusive-zone OK 0.62s
14/23 test-get-auto-exclusive-zone OK 1.20s
15/23 test-menu-popup OK 0.61s
16/23 test-window-with-initially-attached-buffer OK 0.54s
17/23 test-close-layer-surface OK 0.90s
18/23 test-get-namespace-default OK 0.55s
19/23 test-get-namespace-on-non-layer-window OK 0.54s
20/23 test-get-namespace-custom-namespace OK 0.59s
21/23 test-set-keyboard-interactivity OK 0.59s
22/23 test-get-keyboard-interactivity OK 0.53s
23/23 test-get-version OK 0.05s
Ok: 22
Expected Fail: 1
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/tkloczko/rpmbuild/BUILD/gtk-layer-shell-0.5.0/x86_64-redhat-linux-gnu/meson-logs/testlog.txt
Thx
0.5.1 is released with the fix
Just tested that. All looks good 👍 :)
Thx
+ /usr/bin/meson test -C x86_64-redhat-linux-gnu --num-processes 48 --print-errorlogs
ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gtk-layer-shell-0.5.1/x86_64-redhat-linux-gnu'
ninja: no work to do.
1/24 test-is-supported-true OK 0.61s
2/24 basic-test OK 0.93s
3/24 test-expect-fail EXPECTEDFAIL 0.60s
4/24 test-is-layer-window OK 0.99s
5/24 test-anchors OK 0.64s
6/24 test-set-layer OK 1.56s
7/24 test-get-layer OK 0.59s
8/24 test-set-size-request OK 1.83s
9/24 test-adapts-to-screen-size OK 1.19s
10/24 test-auto-exclusive-zone-no-margin OK 1.83s
11/24 test-auto-exclusive-zone-with-margin OK 0.93s
12/24 test-auto-exclusive-zone-weird-bool-values OK 0.62s
13/24 test-get-explicit-exclusive-zone OK 0.61s
14/24 test-get-auto-exclusive-zone OK 1.19s
15/24 test-menu-popup OK 0.59s
16/24 test-window-with-initially-attached-buffer OK 0.65s
17/24 test-close-layer-surface OK 0.89s
18/24 test-get-namespace-default OK 0.60s
19/24 test-get-namespace-on-non-layer-window OK 0.54s
20/24 test-get-namespace-custom-namespace OK 0.58s
21/24 test-set-keyboard-interactivity OK 0.59s
22/24 test-get-keyboard-interactivity OK 0.58s
23/24 test-get-version OK 0.05s
24/24 check-licenses OK 0.18s
Ok: 23
Expected Fail: 1
Fail: 0
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /home/tkloczko/rpmbuild/BUILD/gtk-layer-shell-0.5.1/x86_64-redhat-linux-gnu/meson-logs/testlog.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: gtk-layer-shell-0.5.1-2.fc34.x86_64
Provides: gtk-layer-shell = 0.5.1-2.fc34 gtk-layer-shell(x86-64) = 0.5.1-2.fc34 libgtk-layer-shell.so.0()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgdk-3.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-3.so.0()(64bit) libwayland-client.so.0()(64bit) rtld(GNU_HASH)
Processing files: gtk-layer-shell-devel-0.5.1-2.fc34.x86_64
Provides: gtk-layer-shell-devel = 0.5.1-2.fc34 gtk-layer-shell-devel(x86-64) = 0.5.1-2.fc34 pkgconfig(gtk-layer-shell-0) = 0.5.1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libgtk-layer-shell.so.0()(64bit) pkgconfig(gtk+-3.0)
Processing files: gtk-layer-shell-debugsource-0.5.1-2.fc34.x86_64
Provides: gtk-layer-shell-debugsource = 0.5.1-2.fc34 gtk-layer-shell-debugsource(x86-64) = 0.5.1-2.fc34
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: gtk-layer-shell-debuginfo-0.5.1-2.fc34.x86_64
Provides: debuginfo(build-id) = b53116136c9e9c1abf5b37a9e019a5f274329393 gtk-layer-shell-debuginfo = 0.5.1-2.fc34 gtk-layer-shell-debuginfo(x86-64) = 0.5.1-2.fc34
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: gtk-layer-shell-debugsource(x86-64) = 0.5.1-2.fc34
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/tkloczko/rpmbuild/BUILDROOT/gtk-layer-shell-0.5.1-2.fc34.x86_64
Wrote: /home/tkloczko/rpmbuild/SRPMS/gtk-layer-shell-0.5.1-2.fc34.src.rpm
Wrote: /home/tkloczko/rpmbuild/RPMS/gtk-layer-shell-0.5.1-2.fc34.x86_64.rpm
Wrote: /home/tkloczko/rpmbuild/RPMS/gtk-layer-shell-devel-0.5.1-2.fc34.x86_64.rpm
Wrote: /home/tkloczko/rpmbuild/RPMS/gtk-layer-shell-debuginfo-0.5.1-2.fc34.x86_64.rpm
Wrote: /home/tkloczko/rpmbuild/RPMS/gtk-layer-shell-debugsource-0.5.1-2.fc34.x86_64.rpm