Bug 99899

Summary: wayland 1.13.0 tests fail on ppc64
Product: Wayland Reporter: Kalev Lember <kalevlember>
Component: waylandAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Kalev Lember 2017-02-22 09:23:49 UTC
wayland 1.12.0 tests pass on all architectures that Fedora builds for, but 1.13.0 fails one test on ppc64. They pass on all other architectures, including ppc64le. Here's the failing test-suite.log for the ppc64 build. Full build logs are available on https://koji.fedoraproject.org/koji/taskinfo?taskID=17988030 (short lived link):

======================================
   wayland 1.13.0: ./test-suite.log
======================================
# TOTAL: 22
# PASS:  21
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: connection-test
=====================
wl_display@1: error 2: no memory
test "closure_leaks_after_error":	exit status 0, pass.
----------------------------------------
Timeout was set to 2 seconds from now.
test "closure_leaks":	exit status 0, pass.
----------------------------------------
test "invoke_closure":	exit status 0, pass.
----------------------------------------
Data too big for buffer (5012 > 4096).
test "connection_marshal_too_big":	exit status 0, pass.
----------------------------------------
test "connection_marshal_alot":	exit status 0, pass.
----------------------------------------
test "connection_marshal_demarshal":	exit status 0, pass.
----------------------------------------
test "connection_demarshal":	exit status 0, pass.
----------------------------------------
error marshalling arguments for test (signature o): null value passed for arg 0
error marshalling arguments for test (signature s): null value passed for arg 0
error marshalling arguments for test (signature a): null value passed for arg 0
test "connection_marshal_nullables":	exit status 0, pass.
----------------------------------------
test "connection_marshal":	exit status 0, pass.
----------------------------------------
lt-connection-test: tests/connection-test.c:163: argument_from_va_list: Assertion `args[5].n == 105' failed.
test "argument_from_va_list":	signal 6, fail.
----------------------------------------
test "connection_queue":	exit status 0, pass.
----------------------------------------
test "connection_data":	exit status 0, pass.
----------------------------------------
test "connection_write":	exit status 0, pass.
----------------------------------------
test "connection_create":	exit status 0, pass.
----------------------------------------
14 tests, 13 pass, 1 fail
Comment 1 Carlos Garnacho Parro 2017-02-23 12:51:33 UTC
Sent a patch fixing this, https://lists.freedesktop.org/archives/wayland-devel/2017-February/033200.html
Comment 2 Pekka Paalanen 2017-02-23 14:53:29 UTC
Fixed upstream in:

commit 680a6b32de49896dc290968f83a1e4cce315888e
Author: Carlos Garnacho <carlosg@gnome.org>
Date:   Thu Feb 23 13:47:41 2017 +0100

    tests: Fix "new ID" type handling in argument_from_va_list test

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.