On 13/09/2016 23:39, Oliver Kurz wrote:
On Tuesday 13 September 2016 14:37:35 Dominique Leuenberger / DimStar wrote:
On Tue, 2016-09-13 at 14:27 +0200, 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 ?
That sounds like there is no worker registered / started. Did you create API Keys and Secret and registered it in /etc/openqa/client.conf
Started a worker? (systemctl start openqa-worker@1 for the first worker instance)
You can also check https://your.open.qa/admin/workers to see if the worker is known / online
He already showed that he started a worker.
You can check the output from the worker. Either start the worker script manually or call journalctl to see the output as it's a systemd job. I assume you didn't configure the worker to be a ppc64le one and I am not sure how the default worker on a non-x86_64 looks like. Try to add
``` [1] WORKER_CLASS=qemu_ppc64le ``` to /etc/openqa/workers.ini and restart your worker. It might pick up the job. Crosscheck the setting for WORKER_CLASS in the job you triggered if not. It must match the WORKER_CLASS for the worker to pick up the job.
I already verified that worker has a WORKER_CLASS that contains qemu_ppc64le of submitted test. === 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 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 === I confirmed that submitted tests remain scheduled as long as the workers are not manually restarted. with following scenario: submit 5 jobs ids 47 .. 51 => all 5 remain idles restart manually two workers => 5 jobs are handled (and failed) submit 5 jobs ids 52 .. 56 => all 5 remain idles capture the last failing autoinst-log.txt (of id 51) and the two worker status in attached log file The systemctl status output is reporting an unknown command error. I assume this is the cause of the tests remaining scheduled. Note that in addition to this problem there are two other problems: 2- Can't open directory /proc/device-tree/cpus/ 3- failed to find romfile "vgabios-stdvga.bin" -- Michel Normand