[opensuse-factory] openQA first install and test remains scheduled
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 ? (1) https://github.com/os-autoinst/openQA/blob/master/docs/Installing.asciidoc https://github.com/os-autoinst/openQA/blob/master/docs/GettingStarted.asciid... (2) https://github.com/os-autoinst/openQA/blob/master/docs/GettingStarted.asciid... === # 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
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 Cheers, Dominique
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. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
On Wednesday 14 September 2016 15:21:41 Normand wrote:
[…] The systemctl status output is reporting an unknown command error. I assume this is the cause of the tests remaining scheduled.
The attached file shows: ``` +++ worker notes +++ start time: 2016-09-14 09:25:26 running on abanc:2 (Linux 4.7.2-2-default #1 SMP Mon Aug 29 23:57:41 UTC 2016 (8a962cf) ppc64le) 09:25:26.3532 49526 got sigchld 09:25:26.3533 49526 git hash of test distribution: 7f8efb5b4c976bde4cbd17d27fc4364f1e581d41 [Wed Sep 14 11:25:26 2016] [info] Daemon reachable under http://*:20023/Ae0l6iJ8a2I40mfw/ failed to run daemon ``` this can mean that there is a left over process (or processes) which probably block the new process. That is the first thing I would follow :-)
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"
Well, can't help with that, sorry. Regards, Oliver -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 14.09.2016 um 15:21 schrieb Normand:
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"
vgabios-stdvga.bin is packaged in qemu-vgabios and can only be built on x86. Long ago I had notified Dinar and Dirk that an aggregate package needs to be created in the port projects... still missing: http://download.opensuse.org/ports/ppc/tumbleweed/repo/oss/suse/noarch/ http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/suse/noarch/ http://download.opensuse.org/ports/armv7hl/tumbleweed/repo/oss/suse/noarch/ http://download.opensuse.org/ports/armv6hl/tumbleweed/repo/oss/suse/noarch/ Compare: https://build.opensuse.org/package/show/Virtualization/qemu-aggregate Obviously it would need to aggregate from openSUSE:Factory, not from Virtualization. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Andreas Färber
-
Dominique Leuenberger / DimStar
-
Normand
-
Oliver Kurz