Skip to content

qemuimagetest: Use the same image in sanity testing to fix the timeout issue on autobuilder

Jiajun Xu poky 1 version Applied

Status from this message: Merged into Master

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1qemuimagetest: Use the same image in sanity testing to fix the timeout issue on autobuildermeta/classes/imagetest-qemu.bbclass meta/conf/local.conf.sample scripts/qemuimage-testlib +24 more+63 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] qemuimagetest: Use the same image in sanity testing to fix the timeout issue on autobuilder

Fixes [BUGID #595]

Because of the QEMU booting slowness issue(see bug #646 and #618), autobuilder is suffering a timeout issue when running sanity test. We introduce variable SHARE_IMAGE here to fix the issue. It is by default set to 1. Poky will copy latest built-out image and keep using it in sanity testing. If it is set to 0, latest built-out image will be copied and tested for each case, which will take much time.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: jxu49/master
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jxu49/master

Thanks,
Jiajun Xu <[email protected]>
---

Jiajun Xu (1):
qemuimagetest: Use the same image in sanity testing to fix the
timeout issue on autobuilder

 meta/classes/imagetest-qemu.bbclass                |   22 +++++++++++++++++--
 meta/conf/local.conf.sample                        |    8 +++++++
 scripts/qemuimage-testlib                          |    7 ++++++
 scripts/qemuimage-tests/sanity/compiler            |    2 +-
 scripts/qemuimage-tests/sanity/connman             |    2 +-
 scripts/qemuimage-tests/sanity/dmesg               |    2 +-
 scripts/qemuimage-tests/sanity/rpm_query           |    2 +-
 scripts/qemuimage-tests/sanity/scp                 |    2 +-
 scripts/qemuimage-tests/sanity/shutdown            |    7 +++++-
 scripts/qemuimage-tests/sanity/ssh                 |    2 +-
 scripts/qemuimage-tests/sanity/zypper_help         |    2 +-
 scripts/qemuimage-tests/sanity/zypper_search       |    2 +-
 .../scenario/qemuarm/poky-image-lsb                |    2 +-
 .../scenario/qemuarm/poky-image-sato               |    2 +-
 .../scenario/qemuarm/poky-image-sdk                |    2 +-
 .../scenario/qemumips/poky-image-lsb               |    2 +-
 .../scenario/qemumips/poky-image-sato              |    2 +-
 .../scenario/qemumips/poky-image-sdk               |    2 +-
 .../scenario/qemuppc/poky-image-lsb                |    2 +-
 .../scenario/qemuppc/poky-image-sato               |    2 +-
 .../scenario/qemuppc/poky-image-sdk                |    2 +-
 .../scenario/qemux86-64/poky-image-lsb             |    2 +-
 .../scenario/qemux86-64/poky-image-sato            |    2 +-
 .../scenario/qemux86-64/poky-image-sdk             |    2 +-
 .../scenario/qemux86/poky-image-lsb                |    2 +-
 .../scenario/qemux86/poky-image-sato               |    2 +-
 .../scenario/qemux86/poky-image-sdk                |    2 +-
 27 files changed, 63 insertions(+), 27 deletions(-)