Closed aleasto closed 1 year ago
What's s390x and if you have it at your disposal, could you please provide the output of build/debug/unit_bridge -v
for the failing test?
It's a processor architecture by IBM. I don't have one but I have the power of podman+qemu-user :stuck_out_tongue: The error instead comes from fedora build servers, where they have physical s390x mainframes
This is my verbose log. https://gist.githubusercontent.com/aleasto/49ece20446b0a38cad9078cdd7400b89/raw/1168be1d425e45d06d443c03f0a4eca0eb038fd6/gistfile1.txt
If you want to try yourself this is my setup:
docker run -it library/fedora:37@sha256:a7fcd22632ccd8e88e19940725fc3a84ac5e948b37498e41ae879c8a60bc6136
and in the container dnf install -y libglibutil libglibutil-devel git gcc make flex bison
I've tried a virtual machine on qemu-system-s390x and libgbinder doesn't work on the real binder driver either:
[ 9445.366942] binder_linux: 42450:42450 transaction failed 29189/-22, size 0-0 line 2987
The first thing that comes to mind is that s390x is big-endian, but that's just a guess. I've tried ppc64le and it works there.
If you need access to the Fedora developer s390x machine, please let me know.
The first thing that comes to mind is that s390x is big-endian, but that's just a guess. I've tried ppc64le and it works there.
All the real life usage so far has been little-endian. I've been trying to keep in mind potential byte order issues but obviously, without real testing on a big-endian platform, something might have slipped through. Shouldn't be a huge problem. Hopefully.
Could you please try #110 and see if that fixes the problem with units tests. With this new binder simulation I'm no longer able to crash unit tests, even by running them thousands of times in a loop (current master does eventually crash)
Damn. Please take another log with GUTIL_LOG_TID=1 build/debug/unit_bridge -v
. That would give a better idea what's going on between the threads involved.
@monich , access granted, please check your mailbox (also your spam box, because gmail doesn't like me :-))
Please try #110 again, it works for me now on that s390x thing. There were indeed a few issues with the byte order.
Thank you. The update is on its way to fedora
Realistically there's no current use for binder in s390x, but regardless it's unclear why these tests fail, especially since they don't actually use the binder kernel module:
Full log (I don't know how long it will stay up): https://kojipkgs.fedoraproject.org//work/tasks/5078/94705078/build.log