On 06/12/15 21:47, Oliver Kurz wrote:
On Sunday 06 December 2015 19:04:57 vzawalin1@gmail.com wrote:
After having set up openQA on OpenSuse 13.2 a month or so ago, I today accepted the updates that have been on offer for a while now. […] DIE Can't call method "add_console" on unblessed reference at /usr/lib/os- autoinst/backend/qemu.pm line 598. […] Could someone please advise if there might be a workaround for this, or would I be better off to roll back to my previous installation?
The API has changed recently. Make sure "os-autoinst", "openQA" and the tests are up-to-date.
Maybe just retrying the update might help and pull in more recent version of the packages.
In the case you are using openQA from the OBS repository, there is also a stable variant which might be more useful for your usecase: https://build.opensuse.org/project/show/devel:openQA:stable
Regards, Oliver
What are your tests you're running? You don't seem to have a distribution set in main.pm
Greetings, Stephan
Thank you both for your suggestions. Firstly I reinstalled OpenSuse 13.2 and then installed openqa from the stable OBS repository. Same error. I reinstalled 13.2 and followed exactly the procedure I used earlier to install openqa which worked from the develop repos
obs://devel:openQA/openSUSE_13.2 openQA obs://devel:openQA:13.2/openSUSE_13.2 openQA-perl-modules
as they were about 6 weeks ago. This time, the same error again. In all cases, I started from the slitaz live micro-distribution that Ludwig Nussel used in the how-to video attached to the openqa page on the Suse web-site and followed the instructions there. The breakage I experienced when applying the openqa updates as reported above was probably a warning. I actually had this problem about a week earlier. Then I used snapper to roll back the changes and the openqa setup worked again. Now that all repos have been updated to current or development, for me there is no going back! The error seems to be a perl run-time error.
DIE Can't call method "add_console" on unblessed reference at /usr/lib/os-
autoinst/backend/qemu.pm line 598.
Now, if openqa works on other machines, as I am sure it does, then the error in my environment must have been provoked by a weakness on my machine combined with the updates in 4.1449046989.3467058-785.17 The perl error seems to be saying that
method "add_console"
( bless REF. This function tells the thingy referenced by REF that it is now an object in the CLASSNAME package)
(my knowledge of perl fails here). Could a line of perl be crafted to provide what the error is complaining about? I am stuck here and happy to provide any other diagnostics and would really welcome help to move on. Thank you and Regards Vladimir Zawalinski -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org