* [PATCH] test/jobs: Adapt job timeouts
@ 2019-10-14 7:17 Q. Gylstorff
2019-10-14 7:52 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Q. Gylstorff @ 2019-10-14 7:17 UTC (permalink / raw)
To: xenomai
From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
If the job timeout of a LAVA job is less than the sum of the single
action timeouts the job timeout is used. This leads to a warning in the LAVA
UI `Action timeout is larger than job timeout @ data['actions']['2']`.
This fixes the failing qemu tests.
Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
tests/jobs/xenomai-qemu-amd64.yml | 4 ++--
tests/jobs/xenomai-qemu-arm64.yml | 4 ++--
tests/jobs/xenomai-qemu-armhf.yml | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/jobs/xenomai-qemu-amd64.yml b/tests/jobs/xenomai-qemu-amd64.yml
index 9520e16..33ff1b2 100644
--- a/tests/jobs/xenomai-qemu-amd64.yml
+++ b/tests/jobs/xenomai-qemu-amd64.yml
@@ -13,7 +13,7 @@ job_name: QEMU pipeline, xenomai-images-qemu-amd64
timeouts:
job:
- minutes: 15
+ minutes: 45
action:
minutes: 5
connection:
@@ -28,7 +28,7 @@ context:
arch: amd64
extra_options:
- -smp
- - 4
+ - 2
- -nographic
- -enable-kvm
- -machine q35
diff --git a/tests/jobs/xenomai-qemu-arm64.yml b/tests/jobs/xenomai-qemu-arm64.yml
index bcc3d81..2a98889 100644
--- a/tests/jobs/xenomai-qemu-arm64.yml
+++ b/tests/jobs/xenomai-qemu-arm64.yml
@@ -13,7 +13,7 @@ job_name: QEMU pipeline, xenomai-images-qemu-arm64
timeouts:
job:
- minutes: 15
+ minutes: 45
action:
minutes: 5
connection:
@@ -74,7 +74,7 @@ actions:
- test:
timeout:
- minutes: 45
+ minutes: 30
definitions:
- repository: http://git.linaro.org/lava-team/lava-functional-tests.git
from: git
diff --git a/tests/jobs/xenomai-qemu-armhf.yml b/tests/jobs/xenomai-qemu-armhf.yml
index 1c5cb2e..2949cd2 100644
--- a/tests/jobs/xenomai-qemu-armhf.yml
+++ b/tests/jobs/xenomai-qemu-armhf.yml
@@ -13,7 +13,7 @@ job_name: QEMU pipeline, xenomai-images-qemu-armhf
timeouts:
job:
- minutes: 15
+ minutes: 45
action:
minutes: 5
connection:
@@ -26,7 +26,7 @@ context:
arch: arm
cpu: cortex-a15
extra_options:
- - -smp 4
+ - -smp 2
- -device virtio-serial-device
- -device virtconsole,chardev=con
- -chardev vc,id=con
@@ -35,7 +35,7 @@ context:
guestfs_interface: none
metadata:
# please change these fields when modifying this job for your own tests.
- docs-source: xenomai-qemu-armhf
+ docs-source: xenomai-qemuarmhf
docs-filename: qemu-pipeline-xenomai-armhf
# ACTION_BLOCK
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] test/jobs: Adapt job timeouts
2019-10-14 7:17 [PATCH] test/jobs: Adapt job timeouts Q. Gylstorff
@ 2019-10-14 7:52 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2019-10-14 7:52 UTC (permalink / raw)
To: Q. Gylstorff, xenomai
On 14.10.19 09:17, Q. Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
>
> If the job timeout of a LAVA job is less than the sum of the single
> action timeouts the job timeout is used. This leads to a warning in the LAVA
> UI `Action timeout is larger than job timeout @ data['actions']['2']`.
> This fixes the failing qemu tests.
>
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
> tests/jobs/xenomai-qemu-amd64.yml | 4 ++--
> tests/jobs/xenomai-qemu-arm64.yml | 4 ++--
> tests/jobs/xenomai-qemu-armhf.yml | 6 +++---
> 3 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/tests/jobs/xenomai-qemu-amd64.yml b/tests/jobs/xenomai-qemu-amd64.yml
> index 9520e16..33ff1b2 100644
> --- a/tests/jobs/xenomai-qemu-amd64.yml
> +++ b/tests/jobs/xenomai-qemu-amd64.yml
> @@ -13,7 +13,7 @@ job_name: QEMU pipeline, xenomai-images-qemu-amd64
>
> timeouts:
> job:
> - minutes: 15
> + minutes: 45
> action:
> minutes: 5
> connection:
> @@ -28,7 +28,7 @@ context:
> arch: amd64
> extra_options:
> - -smp
> - - 4
> + - 2
> - -nographic
> - -enable-kvm
> - -machine q35
> diff --git a/tests/jobs/xenomai-qemu-arm64.yml b/tests/jobs/xenomai-qemu-arm64.yml
> index bcc3d81..2a98889 100644
> --- a/tests/jobs/xenomai-qemu-arm64.yml
> +++ b/tests/jobs/xenomai-qemu-arm64.yml
> @@ -13,7 +13,7 @@ job_name: QEMU pipeline, xenomai-images-qemu-arm64
>
> timeouts:
> job:
> - minutes: 15
> + minutes: 45
> action:
> minutes: 5
> connection:
> @@ -74,7 +74,7 @@ actions:
>
> - test:
> timeout:
> - minutes: 45
> + minutes: 30
> definitions:
> - repository: http://git.linaro.org/lava-team/lava-functional-tests.git
> from: git
> diff --git a/tests/jobs/xenomai-qemu-armhf.yml b/tests/jobs/xenomai-qemu-armhf.yml
> index 1c5cb2e..2949cd2 100644
> --- a/tests/jobs/xenomai-qemu-armhf.yml
> +++ b/tests/jobs/xenomai-qemu-armhf.yml
> @@ -13,7 +13,7 @@ job_name: QEMU pipeline, xenomai-images-qemu-armhf
>
> timeouts:
> job:
> - minutes: 15
> + minutes: 45
> action:
> minutes: 5
> connection:
> @@ -26,7 +26,7 @@ context:
> arch: arm
> cpu: cortex-a15
> extra_options:
> - - -smp 4
> + - -smp 2
> - -device virtio-serial-device
> - -device virtconsole,chardev=con
> - -chardev vc,id=con
> @@ -35,7 +35,7 @@ context:
> guestfs_interface: none
> metadata:
> # please change these fields when modifying this job for your own tests.
> - docs-source: xenomai-qemu-armhf
> + docs-source: xenomai-qemuarmhf
> docs-filename: qemu-pipeline-xenomai-armhf
>
> # ACTION_BLOCK
>
Queued up in next - let's see if we get through with a full test run now...
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-14 7:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-14 7:17 [PATCH] test/jobs: Adapt job timeouts Q. Gylstorff
2019-10-14 7:52 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.