Actions
action #93141
closedt/18-qemu-options.t fails on Leap 15.2 with coverage enabled
Description
It fails locally for Marius, Bill and me.
% PERL5OPT="-MDevel::Cover=-select_re,'^/lib',+ignore_re,lib/perlcritic/Perl/Critic/Policy,-coverage,statement,-db,cover_db_t" prove -l t/18-qemu-options.t
...
# [2021-05-26T16:09:08.354 CEST] [debug] QEMU: QEMU emulator version 4.2.1 (openSUSE Leap 15.2)
# [2021-05-26T16:09:08.354 CEST] [debug] QEMU: Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
# [2021-05-26T16:09:08.355 CEST] [debug] sending magic and exit
# [2021-05-26T16:09:08.355 CEST] [debug] received magic close
# [2021-05-26T16:09:08.356 CEST] [debug] backend got TERM
# [2021-05-26T16:09:08.356 CEST] [debug] sending magic and exit
# syswrite() on closed filehandle GEN22 at /home/tina/openqa-devel/repos/os-autoinst/t/../myjsonrpc.pm line 55.
# [2021-05-26T16:09:08.360 CEST] [debug] backend process exited: 0
# failed to start VM at /home/tina/openqa-devel/repos/os-autoinst/t/../backend/driver.pm line 126.
# [2021-05-26T16:09:08.461 CEST] [debug] stopping command server 8229 because test execution ended through exception
# [2021-05-26T16:09:09.764 CEST] [debug] done with command server
# [2021-05-26T16:09:09.765 CEST] [debug] stopping autotest process 8232
# [2021-05-26T16:09:09.966 CEST] [debug] done with autotest process
# 8223: EXIT 1
# Deep recursion on subroutine "B::Deparse::_pessimise_walk_exe" at /usr/lib/perl5/5.26.1/B/Deparse.pm line 439.
# '
# doesn't match '(?^:-broken\: invalid option)'
# Looks like you failed 1 test of 16.
t/18-qemu-options.t .. 1/?
# Failed test 'qemu_append_option'
# at t/18-qemu-options.t line 110.
# Failed test 'expected failure as /no/dev/hugepages/ does not exist'
# at t/18-qemu-options.t line 119.
...
# [2021-05-26T16:09:21.713 CEST] [debug] QEMU: QEMU emulator version 4.2.1 (openSUSE Leap 15.2)
# [2021-05-26T16:09:21.713 CEST] [debug] QEMU: Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
# [2021-05-26T16:09:21.714 CEST] [debug] sending magic and exit
# [2021-05-26T16:09:21.714 CEST] [debug] received magic close
# [2021-05-26T16:09:21.715 CEST] [debug] backend got TERM
# [2021-05-26T16:09:21.715 CEST] [debug] sending magic and exit
# syswrite() on closed filehandle GEN22 at /home/tina/openqa-devel/repos/os-autoinst/t/../myjsonrpc.pm line 55.
# [2021-05-26T16:09:21.720 CEST] [debug] backend process exited: 0
# failed to start VM at /home/tina/openqa-devel/repos/os-autoinst/t/../backend/driver.pm line 126.
# [2021-05-26T16:09:21.821 CEST] [debug] stopping command server 8305 because test execution ended through exception
# [2021-05-26T16:09:23.224 CEST] [debug] done with command server
# [2021-05-26T16:09:23.225 CEST] [debug] stopping autotest process 8308
# [2021-05-26T16:09:23.427 CEST] [debug] done with autotest process
# 8299: EXIT 1
# Deep recursion on subroutine "B::Deparse::_pessimise_walk_exe" at /usr/lib/perl5/5.26.1/B/Deparse.pm line 439.
# '
# doesn't match '(?^:can\'t open backing store /no/dev/hugepages/ for guest RAM\: No such file or directory)'
# Looks like you failed 1 test of 3.
t/18-qemu-options.t .. 2/?
# Failed test 'qemu_huge_pages_option'
# at t/18-qemu-options.t line 120.
t/18-qemu-options.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/3 subtests
Running it without coverage or setting local $ENV{PERL5OPT}="";
in the test makes it pass.
Acceptance criteria¶
- AC1: Test is passing with coverage enabled
Actions