openqa: Error running OpenQA tests locally
I was trying to run the openQA podman but there appears to have been an error related to git. When I copyed the /testresults
to my host computer it had one folder called ulogs
and it was empty. I ran the command from the root of the git project.
sudo podman run --name openqa --privileged -it -v ./openqa:/tests -v ./installer.iso:/installer.iso --entrypoint isotovideo quay.io/ssssam/openqa_worker GIT_DISCOVERY_ACROSS_FILESYSTEM=true $(jq -jr 'keys[] as $k | "\($k)=\(.[$k]) "' < vars.json) CASEDIR=/tests
[2022-02-06T10:01:45.982 UTC] [debug] Current version is 4.6.1627476418.fe30f591 [interface v23]
[2022-02-06T10:01:45.983 UTC] [debug] Setting forced test parameter GIT_DISCOVERY_ACROSS_FILESYSTEM -> true
[2022-02-06T10:01:45.983 UTC] [debug] Setting forced test parameter ARCH -> x86_64
[2022-02-06T10:01:45.983 UTC] [debug] Setting forced test parameter ASSETDIR -> /var/lib/openqa/share/factory
[2022-02-06T10:01:45.983 UTC] [debug] Setting forced test parameter BACKEND -> qemu
[2022-02-06T10:01:45.983 UTC] [debug] Setting forced test parameter BIOS -> null
[2022-02-06T10:01:45.983 UTC] [debug] Setting forced test parameter CASEDIR -> /builds/GNOME/gnome-build-meta/openqa
[2022-02-06T10:01:45.983 UTC] [debug] Setting forced test parameter CDMODEL -> scsi-cd
[2022-02-06T10:01:45.983 UTC] [debug] Setting forced test parameter DESKTOP -> gnomeos
[2022-02-06T10:01:45.983 UTC] [debug] Setting forced test parameter DISTRI -> gnomeos
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter FLAVOR -> iso
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter HDDMODEL -> virtio-blk
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter HDDSIZEGB -> 10
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter ISO -> installer.iso
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter JOBTOKEN -> UmoqHkdjux9EVr1j
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter LOG_LEVEL -> debug
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter MACHINE -> qemu_x86_64
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter NAME -> 00000074-gnomeos-master-iso-x86_64-gnomeos@qemu_x86_64
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter NEEDLES_DIR -> /var/lib/openqa/pool/1/openqa-needles
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter NEEDLES_GIT_HASH -> 6fb1b56c963054bd2b0ec2ed8aaf66c4b02ee02b
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter NICMAC -> 52:54:00:12:34:56
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter NICMODEL -> virtio-net
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter NICTYPE -> user
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter NICVLAN -> 0
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter NUMDISKS -> 1
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter OPENQA_HOSTNAME -> openqa.gnome.org
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter OPENQA_URL -> https://openqa.gnome.org
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter PART_TABLE_TYPE -> gpt
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter PRJDIR -> /var/lib/openqa/share
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter PRODUCTDIR -> .
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter QEMUCPU -> host
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter QEMUCPUS -> 2
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter QEMUPORT -> 20012
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter QEMURAM -> 2560
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter QEMUVGA -> virtio
[2022-02-06T10:01:45.984 UTC] [debug] Setting forced test parameter RETRY_DELAY -> 5
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter RETRY_DELAY_IF_WEBUI_BUSY -> 60
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter TEST -> gnomeos
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter TEST_GIT_HASH -> 9270945e5f28c2a28d7f7978de258ba134d1a4f1
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter TEST_SUITE_NAME -> gnomeos
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter UEFI -> 1
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter UEFI_PFLASH_CODE -> /usr/share/qemu/ovmf-x86_64-code.bin
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter UEFI_PFLASH_VARS -> /usr/share/qemu/ovmf-x86_64-vars.bin
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter VERSION -> master
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter VIRTIO_CONSOLE -> 1
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter VNC -> 91
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter VNC_TYPING_LIMIT -> 5
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter WORKER_CLASS -> qemu_x86_64-1600977
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter WORKER_ID -> 6
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter WORKER_INSTANCE -> 1
[2022-02-06T10:01:45.985 UTC] [debug] Setting forced test parameter CASEDIR -> /tests
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[2022-02-06T10:01:45.990 UTC] [debug] git hash in /tests: UNKNOWN
[2022-02-06T10:01:45.996 UTC] [debug] scheduling gnome_install tests/gnome_install.pm
[2022-02-06T10:01:45.996 UTC] [debug] scheduling gnome_welcome tests/gnome_welcome.pm
[2022-02-06T10:01:45.997 UTC] [debug] scheduling gnome_desktop tests/gnome_desktop.pm
Unquoted string "true" may clash with future reserved word at /tests/lib/gnomeutils.pm line 14.
[2022-02-06T10:01:45.997 UTC] [debug] scheduling app_settings tests/app_settings.pm
Can't init needles from /var/lib/openqa/pool/1/openqa-needles at /usr/lib/os-autoinst/needle.pm line 317.
[2022-02-06T10:01:46.000 UTC] [debug] stopping command server 4 because test execution ended through exception
[2022-02-06T10:01:46.200 UTC] [debug] done with command server
1: EXIT 1
Edited by Sam Thursfield