Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail on 32-bit architectures #167

Open
mpolanski opened this issue Nov 24, 2020 · 2 comments
Open

Tests fail on 32-bit architectures #167

mpolanski opened this issue Nov 24, 2020 · 2 comments
Assignees
Labels

Comments

@mpolanski
Copy link

Hi,
I tried running i3ipc tests on Alpine package, but there were errors.
Example log on x86: https://gitlab.alpinelinux.org/mpolanski/aports/-/jobs/254382
The same happens on armv7.

@acrisci
Copy link
Member

acrisci commented Dec 7, 2020

There's actually some things that could affect this such as the byte order of the system, and it will change how i3 calculates the container ids.

I think I'd have to reproduce this locally to look into it. Can you give me the dockerfile you are using to run these tests?

@mpolanski
Copy link
Author

Actually, I don't use Docker for running Alpine, but I made these reproduction steps on a i386 Docker image:

docker run --rm -it i386/alpine:latest

apk add git python3 py3-xlib py3-pytest py3-pytest-asyncio py3-pytest-timeout xvfb-run i3wm
adduser -D tester
su - tester
git clone https://github.com/altdesktop/i3ipc-python
cd i3ipc-python
xvfb-run python3 run-tests.py

Terminal output of above commands: GitHub gist
(pytest hangs after printing the summary info, hence the KeyboardInterrupt at the end)

I tried to run above steps on other 32-bit images using multiarch, but the tests passed, so I guess that the problem lies somewhere else.

Output log of the CI pipelines I ran today: https://gitlab.alpinelinux.org/mpolanski/aports/-/pipelines/71113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants