Dear Remi Duraffort,

I already have mounted /boot, /lib/modules and --priviledged mode to run docker.
I submit QEMU job again. It still failed.

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/lava_dispatcher/action.py", line 298, in run_actions action_max_end_time, args) File "/usr/lib/python2.7/dist-packages/lava_dispatcher/actions/deploy/apply_overlay.py", line 89, in run self.job.device['actions']['deploy']['methods']['image']['parameters']['guest']['size']) File "/usr/lib/python2.7/dist-packages/lava_dispatcher/utils/filesystem.py", line 131, in prepare_guestfs guest.launch() File "/usr/lib/python2.7/dist-packages/guestfs.py", line 5705, in launch r = libguestfsmod.launch(self._o) RuntimeError: guestfs_launch failed. This usually means the libguestfs appliance failed to start or crashed. Do: export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 and run the command again. For further information, read: http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs You can also run 'libguestfs-test-tool' and post the *complete* output into a bug report or message to the libguestfs mailing list.

Could you have a check my log?

Best regards,
Canh Nguyen

2018-05-02 22:49 GMT+07:00 Remi Duraffort <remi.duraffort@linaro.org>:
Hello,

if you want to run qemu jobs inside a docker container, you need to bind /boot and /lib/modules.
You then have to run the docker in privileged mode or with --device /dev/kvm:/dev/kvm:rw


Regards

2018-05-02 17:22 GMT+02:00 Nguyễn Phong Cảnh <phongcanhit@gmail.com>:
Dear all,

I'm testing QEMU on LAVA with my first job.

I have taken a sample here:

But, it's failed at "apply-overlay-guest" action:

Overlay: /var/lib/lava/dispatcher/slave/tmp/15/overlay-1.3.4.tar.gz
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/action.py", line 290, in run_actions
    new_connection = action.run(connection, args)
  File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/actions/deploy/apply_overlay.py", line 83, in run
    self.job.device['actions']['deploy']['methods']['image']['parameters']['guest']['size'])
  File "/usr/lib/python2.7/dist-packages/lava_dispatcher/pipeline/utils/filesystem.py", line 128, in prepare_guestfs
    guest.launch()
  File "/usr/lib/python2.7/dist-packages/guestfs.py", line 5705, in launch
    r = libguestfsmod.launch(self._o)
RuntimeError: /usr/bin/supermin exited with error status 1.
To see full error messages you may need to enable debugging.
Do:
  export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again.  For further information, read:


I'm using docker LAVA version 2017.11. And, attached is my log.

Do you have idea for this issue?. Thanks in advance

Best regards,
Canh Nguyen

My contact email:

_______________________________________________
Lava-users mailing list
Lava-users@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lava-users




--
Rémi Duraffort
LAVA Team