Skip to content

Tests fail on 32-bit architectures #167

Open

Description

@mpolanski

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.

Activity

  1. acrisci commented on Dec 7, 2020

    @acrisci
    Member

    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?

  2. mpolanski commented on Feb 8, 2021

    @mpolanski
    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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions