Skip to content

run-gnome-tests: runner missing python3-gobject/at-spi2-core, 'gi' module not found #162

@hanthor

Description

@hanthor

Problem

After fixing python3-pip (#158) and qecore package name (#160), the next failure in the runner is:

ModuleNotFoundError: No module named 'gi'

dogtail imports gi (GObject Introspection) at module load time. The gi module is provided by python3-gobject (Fedora package), which is NOT installed in the quay.io/fedora/fedora:latest runner container.

Additionally, dogtail via qecore uses gi.repository.Atspi which requires the AT-SPI2 typelib from at-spi2-core.

Fix

Add python3-gobject at-spi2-core to the runner's dnf install:

dnf install -y -q openssh-clients python3-pip python3-virtualenv python3-gobject at-spi2-core 2>/dev/null

Observed in

pr-projectbluefin-bluefin-coreos-test-24 (first workflow using the fixed golden disk with gnome-ponytail-daemon baked in)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions