Project

General

Profile

Actions

action #10158

closed

View non-confusing error message when trying to skip to non-existent snapshot

Added by dheidler over 8 years ago. Updated 6 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-01-08
Due date:
% Done:

0%

Estimated time:

Description

/usr/share/openqa/script/clone_job.pl --host localhost --apikey ACF356BE59F616C1 --apisecret 7206D319F4210212 --from localhost 399 MAKETESTSNAPSHOTS=1 DESKTOP=awesome SKIPTO=x11-x11_login

+++ worker notes +++
start time: 2016-01-08 14:41:21
running on artemis:1 (Linux 4.3.0-1-default #1 SMP PREEMPT Mon Nov 2 15:35:09 UTC 2015 (7b374a4) x86_64)
usingenv DESKTOP=awesome
usingenv DISTRI=opensuse
usingenv NOAUTOLOGIN=1
usingenv QEMUCPU=qemu64
usingenv DVD=1
usingenv ISO=/var/lib/openqa/share/factory/iso/openSUSE-Leap-42.1-DVD-x86_64-Build0265-Media.iso
usingenv ISO_MAXSIZE=4700372992
scheduling isosize tests/installation/isosize.pm
scheduling bootloader tests/installation/bootloader.pm
scheduling welcome tests/installation/welcome.pm
scheduling good_buttons tests/installation/good_buttons.pm
scheduling installation_mode tests/installation/installation_mode.pm
scheduling partitioning tests/installation/partitioning.pm
scheduling partitioning_finish tests/installation/partitioning_finish.pm
scheduling installer_timezone tests/installation/installer_timezone.pm
scheduling logpackages tests/installation/logpackages.pm
scheduling installer_desktopselection tests/installation/installer_desktopselection.pm
scheduling user_settings tests/installation/user_settings.pm
scheduling installation_overview tests/installation/installation_overview.pm
scheduling start_install tests/installation/start_install.pm
scheduling livecdreboot tests/installation/livecdreboot.pm
scheduling first_boot tests/installation/first_boot.pm
scheduling consoletest_setup tests/console/consoletest_setup.pm
scheduling check_console_font tests/console/check_console_font.pm
scheduling textinfo tests/console/textinfo.pm
scheduling hostname tests/console/hostname.pm
scheduling xorg_vt tests/console/xorg_vt.pm
scheduling zypper_lr tests/console/zypper_lr.pm
scheduling zypper_ref tests/console/zypper_ref.pm
scheduling yast2_lan tests/console/yast2_lan.pm
scheduling curl_https tests/console/curl_https.pm
scheduling glibc_i686 tests/console/glibc_i686.pm
scheduling zypper_up tests/console/zypper_up.pm
scheduling zypper_in tests/console/zypper_in.pm
scheduling yast2_i tests/console/yast2_i.pm
scheduling yast2_bootloader tests/console/yast2_bootloader.pm
scheduling sshd tests/console/sshd.pm
scheduling sshfs tests/console/sshfs.pm
scheduling mtab tests/console/mtab.pm
scheduling install_awesome tests/console/install_awesome.pm
scheduling consoletest_finish tests/console/consoletest_finish.pm
scheduling x11_login tests/x11/x11_login.pm
scheduling awesome_menu tests/x11/awesome_menu.pm
scheduling awesome_xterm tests/x11/awesome_xterm.pm
init needles from /var/lib/openqa/share/tests/opensuse/needles
loaded 974 needles
16522: to_child 12, from_child 13
16522: cmdpipe 11, rsppipe 14
started mgmt loop with thread id 1
remove_tree qemuscreenshot
starting: /usr/bin/eatmydata /usr/bin/qemu-system-x86_64 -serial file:serial0 -soundhw ac97 -global isa-fdc.driveA= -vga cirrus -m 1024 -cpu qemu64 -netdev user,id=qanet0 -device virtio-net,netdev=qanet0,mac=52:54:00:12:34:56 -device virtio-scsi-pci,id=scsi0 -device virtio-blk,drive=hd1 -drive file=raid/l1,cache=unsafe,if=none,id=hd1,format=qcow2 -drive media=cdrom,if=none,id=cd0,format=raw,file=/var/lib/openqa/share/factory/iso/openSUSE-Leap-42.1-DVD-x86_64-Build0265-Media.iso -device scsi-cd,drive=cd0,bus=scsi0.0 -boot once=d,menu=on,splash-time=5000 -device usb-ehci -device usb-tablet -smp 1 -enable-kvm -no-shutdown -vnc :91,share=force-shared -qmp unix:qmp_socket,server,nowait -monitor unix:hmp_socket,server,nowait -S -monitor telnet:127.0.0.1:20012,server,nowait
/usr/lib/os-autoinst/consoles/vnc_base.pm:49:{
'port' => 5991,
'hostname' => 'localhost'
}
DIE Error connecting to host <localhost>
$VAR1 = bless( {
'port' => 5991,
'hostname' => 'localhost'
}, 'consoles::VNC' );
IO::Socket::INET: connect: Connection refused at /usr/lib/os-autoinst/consoles/vnc_base.pm line 56 thread 1.
at /usr/lib/os-autoinst/backend/baseclass.pm line 74 thread 1.
backend::baseclass::die_handler("Error connecting to host <localhost>\x{a}\$VAR1 = bless( {\x{a}       "...) called at /usr/lib/os-autoinst/consoles/vnc_base.pm line 62 thread 1
consoles::vnc_base::connect_vnc(consoles::vnc_base=HASH(0x6a3c278), HASH(0x5bb92a8)) called at /usr/lib/os-autoinst/consoles/vnc_base.pm line 36 thread 1
consoles::vnc_base::activate(consoles::vnc_base=HASH(0x6a3c278)) called at /usr/lib/os-autoinst/consoles/console.pm line 68 thread 1
consoles::console::select(consoles::vnc_base=HASH(0x6a3c278)) called at /usr/lib/os-autoinst/backend/baseclass.pm line 444 thread 1
backend::baseclass::select_console(backend::qemu=HASH(0x64ae478), HASH(0x6a39848)) called at /usr/lib/os-autoinst/backend/qemu.pm line 628 thread 1
backend::qemu::start_qemu(backend::qemu=HASH(0x64ae478)) called at /usr/lib/os-autoinst/backend/qemu.pm line 103 thread 1
backend::qemu::do_start_vm(backend::qemu=HASH(0x64ae478)) called at /usr/lib/os-autoinst/backend/baseclass.pm line 247 thread 1
backend::baseclass::start_vm(backend::qemu=HASH(0x64ae478), undef) called at /usr/lib/os-autoinst/backend/baseclass.pm line 69 thread 1
backend::baseclass::handle_command(backend::qemu=HASH(0x64ae478), HASH(0x6a379a8)) called at /usr/lib/os-autoinst/backend/baseclass.pm line 403 thread 1
backend::baseclass::check_socket(backend::qemu=HASH(0x64ae478), IO::Handle=GLOB(0x5380300)) called at /usr/lib/os-autoinst/backend/qemu.pm line 842 thread 1
backend::qemu::check_socket(backend::qemu=HASH(0x64ae478), IO::Handle=GLOB(0x5380300), 0) called at /usr/lib/os-autoinst/backend/baseclass.pm line 192 thread 1
eval {...} called at /usr/lib/os-autoinst/backend/baseclass.pm line 159 thread 1
backend::baseclass::run_capture_loop(backend::qemu=HASH(0x64ae478), IO::Select=ARRAY(0x5b37238)) called at /usr/lib/os-autoinst/backend/baseclass.pm line 114 thread 1
backend::baseclass::run(backend::qemu=HASH(0x64ae478), 11, 14) called at /usr/lib/os-autoinst/backend/driver.pm line 82 thread 1
backend::driver::_run(backend::qemu=HASH(0x64ae478), 11, 14) called at /usr/lib/os-autoinst/backend/driver.pm line 69 thread 1
eval {...} called at /usr/lib/os-autoinst/backend/driver.pm line 69 thread 1
waitpid for 16526 returned 16526
QEMU: 
QEMU: (process:16526): GLib-WARNING **: gmem.c:482: custom memory allocation vtable not supported
QEMU: qemu-system-x86_64: -drive file=raid/l1,cache=unsafe,if=none,id=hd1,format=qcow2: Could not open 'raid/l1': No such file or directory
sending magic and exit
Thread 1 terminated abnormally: Error connecting to host <localhost>
$VAR1 = bless( {
'port' => 5991,
'hostname' => 'localhost'
}, 'consoles::VNC' );
IO::Socket::INET: connect: Connection refused at /usr/lib/os-autoinst/consoles/vnc_base.pm line 56 thread 1.
received magic close
failed to start VM at /usr/lib/os-autoinst/backend/driver.pm line 116.
+++ worker notes +++
end time: 2016-01-08 14:41:29
result: died
uploading video.ogv
uploading vars.json
uploading autoinst-log.txt
Actions #1

Updated by oholecek over 8 years ago

Are you sure the actual disk exists? If not, then this was fixed by PR#374 first commit (c7422e4).

Actions #2

Updated by okurz over 8 years ago

  • Status changed from New to In Progress

yes, confirmed to be working together with dheidler

Actions #3

Updated by okurz over 8 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF