Hi,
I've been working recently on doing some QA for Mageia 3. It seems like using OS-Autoinst would be really helpful for us.
I've been trying to get it working, but so far, not quite as much success as I would like. So, if this list is active, then, here
are my questions, and what I've done so far:
git clone git://
github.com/bmwiedemann/os-autoinst.gitI've installed the following packages:
opencv-devel (
I only have 2.3, not 2.4)swig
perl-Data-Dump
perl-devel
ffmpeg2theora
I've tried the: autogen.sh, configure, make, make install.
This seems to end up missing a whole bunch of stuff, when I then try isotovideo (my mageia iso).
So, then I've tried locally, with env.sh copied from env.sh.sample,
and have modified
bmwqemu.pm to support Mageia, and created by own distri/mageia/ directory
Problems I have so far:When it gets to the end of the distr inst.d scripts (I only have 3 so far), the VM shutdowns, with this output.
I think that tinycv.cc is not working, as features2d.hpp looks like maybe a 2.4 feature of opencv?
FIXME: perl fallback at ../os-autoinst/
ppm.pm line 217.
Perl exited with active threads:
1 running and unjoined
0 finished and unjoined
2 running and detached
../os-autoinst/tools/ppmtompg qemuscreenshot video/Mageia-3-beta4-x86_64-DVD
Input #0, image2, from 'ppmtompg.tmp/%08d.ppm':
Duration: 00:00:01.40, start: 0.000000, bitrate: N/A
Stream #0:0: Video: ppm, rgb24, 800x600, 25 fps, 25 tbr, 25 tbn, 25 tbc
0:00:01.50 audio: 0kbps video: 573kbps, time elapsed: 00:00:01
0:00:01.40 audio: 0kbps video: 573kbps, time elapsed: 00:00:01
qemu: terminating on signal 15 from pid 32234
Building PPM C-libraries...
swig -perl5 -c++ tinycv.i
c++ -O3 -c -fPIC tinycv_wrap.cxx `perl -MExtUtils::Embed -e ccopts`
c++ -O3 -fPIC `pkg-config --cflags opencv` -o tinycv.o -c tinycv.cc
tinycv.cc:10:42: fatal error: opencv2/nonfree/features2d.hpp: No such file or directory
compilation terminated.make: *** [tinycv.o] Error 1
rm tinycv_wrap.cxx tinycv_wrap.o
====
||| checking check /home/test/tmp/../os-autoinst/distri/mageia/
check.pm||| checking consoletest_setup /home/test/tmp/../os-autoinst/distri/mageia/consoletest.d/
010_consoletest_setup.pm--- {"audiodumps":[],"md5_result":"na","name":"consoletest_setup","screenshots":[],"result":"na"}
consoletest_setup: na
isosize: ok
overall: fail
Also:
On startup, I get an error about audio. See below:test@zed tmp]$ ../os-autoinst/tools/isotovideo Mageia-3-beta4-x86_64-DVD.iso
testing /home/test/tmp/Mageia-3-beta4-x86_64-DVD.iso
Building PPM C-libraries...
swig -perl5 -c++ tinycv.i
c++ -O3 -c -fPIC tinycv_wrap.cxx `perl -MExtUtils::Embed -e ccopts`
c++ -O3 -fPIC `pkg-config --cflags opencv` -o tinycv.o -c tinycv.cc
tinycv.cc:10:42: fatal error: opencv2/nonfree/features2d.hpp: No such file or directory
compilation terminated.make: *** [tinycv.o] Error 1
rm tinycv_wrap.cxx tinycv_wrap.o
+++BACKEND_JSON: {"backend_info":{},"management_port":15223,"backend":"backend::qemu"}
Formatting 'raid/1', fmt=raw size=
8589934592 Formatting 'raid/2', fmt=raw size=
8589934592 Formatting 'raid/3', fmt=raw size=
8589934592 Formatting 'raid/4', fmt=raw size=
8589934592 starting: /usr/bin/qemu-kvm -m 1024 -net user -monitor tcp:
127.0.0.1:15222,server,nowait -net nic,model=virtio,macaddr=52:54:00:12:34:56 -serial file:serial0 -soundhw ac97 -vga cirrus -S -drive file=raid/l1,if=virtio -drive file=raid/l2,if=virtio -boot dc -cdrom /home/test/tmp/Mageia-3-beta4-x86_64-DVD.iso -vnc :99 -usb -usbdevice tablet -smp 1
audio: Failed to create voice `ac97.pi'
audio: Failed to create voice `ac97.mc'
audio: Failed to create voice `ac97.pi'
audio: Failed to create voice `ac97.mc'QEMU 1.0 monitor - type 'help' for more information
iso_size=
4044357632(qemu) cont
(qemu)
||| starting bootloader ../os-autoinst/distri/mageia/inst.d/
020_bootloader.pmI am also a little puzzled about the waitidle, as the VM seems to use quite a lot of CPU, even when it should be doing nothing except waiting for user input.
I seem to get messages like:
>>> waitidle: timed out after 19
Not sure what that means?
and when I try using: waitstillimage, I think it crashes, maybe due to the opencv stuff?
So, suggestions, ideas, etc, would be helpful.
I've tried going down the track of updating the opencv package, but a number of packages I already have installed depend on the existing version of opencv, so it's not too easy.
Regards
Glen Ogilvie