Re: [opensuse-factory] openQA first install and test remains scheduled
On 13/09/2016 14:51, Ondrej Holecek wrote:
On úterý 13. září 2016 14:27:55 CEST Normand wrote:
Hi there, I installed for the first time openQA in a PowerPC Tumbleweed machine as per doc in (1) (built from devel:openQA ppc64le TW) Then I copied an iso and started a test as per doc in (2) no error was reported. BUT the WEBUI list the tests as "scheduled"
Is there a log I could check to understand why the tests are not sent to worker in idle state (3) and remain scheduled ? There is no log for this, but I suspect mismatch in worker classes. Check if your worker WORKER_CLASS (you can find it in Admin->Workers menu) match WORKER_CLASS variable in tests (Test overview -> Settings or Test overview -> Logs&Assets -> vars.json).
Worker's WORKER_CLASS is usually computed automatically. Tests WORKER_CLASS is by default empty, which matches everything.
Usual place to put WORKER_CLASS for tests is in Machines table (Admin -> Machines) which you then use in you job group.
Thank you Ondrej, but it seems to be same WORKER_CLASS: as per extracted data the WORKER_CLASS qemu_ppc64le of the test is supported by the worker that has: qemu_ppc64le,qemu_ppc64,qemu_ppc === worker properties: CPU_ARCH ppc64le CPU_MODELNAME POWER8 (raw), altivec supported INTERACTIVE 0 INTERACTIVE_REQUESTED 0 MEM_MAX 261533 STOP_WAITFORNEEDLE 0 STOP_WAITFORNEEDLE_REQUESTED 0 WORKER_CLASS qemu_ppc64le,qemu_ppc64,qemu_ppc === tests/14#settings ARCH ppc64le BACKEND qemu BUILD 20160907 DESKTOP textmode DISTRI opensuse DVD 1 FLAVOR DVD ISO openSUSE-Tumbleweed-DVD-ppc64le-Snapshot20160907-Media.iso ISO_MAXSIZE 4700372992 MACHINE ppc64le NAME 00000014-opensuse-Tumbleweed-DVD-ppc64le-Build20160907-textmode@ppc64le NOIMAGES 1 OFW 1 QEMUCPU host TEST textmode VERSION Tumbleweed VIDEOMODE text WORKER_CLASS qemu_ppc64le ===
(1) https://github.com/os-autoinst/openQA/blob/master/docs/Installing.asciidoc https://github.com/os-autoinst/openQA/blob/master/docs/GettingStarted.ascii doc#getting-tests (2) https://github.com/os-autoinst/openQA/blob/master/docs/GettingStarted.ascii doc#adding-a-new-iso-to-test === # ls -l /var/lib/openqa/share/factory/iso/ -rw-r--r-- 1 root root 4176916480 Sep 13 11:47 openSUSE-Tumbleweed-DVD-ppc64le-Snapshot20160907-Media.iso # /var/lib/openqa/script/client isos post ISO=openSUSE-Tumbleweed-DVD-ppc64le-Snapshot20160907-Media.iso DISTRI=opensuse VERSION=Tumbleweed FLAVOR=DVD ARCH=ppc64le BUILD=20160907 === (3) === abanc:~ # systemctl status openqa-worker@1 openqa-worker@1.service - openQA Worker #1 Loaded: loaded (/usr/lib/systemd/system/openqa-worker@.service; disabled; vendor preset: disabled) Active: active (running) since Mon 2016-09-12 17:29:00 CEST; 20h ago Process: 22642 ExecStartPre=/usr/bin/install -d -m 0755 -o _openqa-worker /var/lib/openqa/pool/%i (code=exited, status=0/SUCCESS) Main PID: 22645 (worker) Tasks: 1 (limit: 512) CGroup: /system.slice/system-openqa\x2dworker.slice/openqa-worker@1.service └─22645 /usr/bin/perl /usr/share/openqa/script/worker --instance 1 ===
-- Michel Normand -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Normand