Project

General

Profile

Actions

action #52652

closed

openQA test suite fails in package %check section, e.g. in 13-osutils.t of openSUSE_Factory (i586 and x86_64)

Added by okurz almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2019-06-05
Due date:
% Done:

0%

Estimated time:

Description

Observation

https://build.opensuse.org/build/devel:openQA:tested/openSUSE_Factory/i586/os-autoinst/_log
currently shows

[  534s] FAIL: 13-osutils.t
[  534s] ==================
[  534s] 
[  534s] B::Debug will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at /usr/lib/perl5/vendor_perl/5.28.1/i586-linux-thread-multi/Devel/Cover.pm, line 28.
[  534s] ^* matches null string many times in regex; marked by <-- HERE in m/^* <-- HERE \.t|^data\/tests\/*|^fake\/tests\/*/ at /usr/lib/perl5/vendor_perl/5.28.1/i586-linux-thread-multi/Devel/Cover.pm line 379.
[  534s] # Subtest: qv
[  534s]     ok 1 - Can interpolate variables
[  534s]     ok 2 - Can interpolate variables even if on new lines
[  534s]     ok 3 - Can interpolate words
[  534s]     ok 4 - Can interpolate variables and hash values
[  534s]     1..4
[  534s] ok 1 - qv
[  534s] # Subtest: gen_params
[  534s]     ok 1 - added parameter
[  534s]     ok 2 - didn't added any parameter
[  534s]     ok 3 - Added parameter if parameter is an arrayref
[  534s]     ok 4 - Added parameter if parameter is an arrayref supplied with qv()
[  534s]     ok 5 - don't add parameter if it's empty
[  534s]     ok 6 - Added parameter if parameter is an arrayref and with custom prefix
[  534s]     ok 7 - Quote itself if parameter contains whitespace
[  534s]     ok 8 - Do not quote itself if pass no_quotes argument
[  534s]     ok 9 - Do not quote itself if pass no_quotes argument with custom prefix
[  534s]     1..9
[  534s] ok 2 - gen_params
[  534s] # Subtest: dd_gen_params
[  534s]     ok 1 - added parameter
[  534s]     ok 2 - didn't added any parameter
[  534s]     ok 3 - Added parameter if parameter is an arrayref
[  534s]     ok 4 - Added parameter if parameter is an arrayref supplied with qv()
[  534s]     ok 5 - don't add parameter if it's empty
[  534s]     1..5
[  534s] ok 3 - dd_gen_params
[  534s] # Subtest: find_bin
[  534s]     ok 1 - Executable file found
[  534s]     ok 2 - Executable file found but not executable
[  534s]     ok 3 - Executable file not found
[  534s]     1..3
[  534s] ok 4 - find_bin
[  534s] # Subtest: quote
[  534s]     ok 1 - Quote variables
[  534s]     ok 2 - Quote words
[  534s]     ok 3 - Quote words and variables
[  534s]     ok 4 - Quote variables and hash values
[  534s]     1..4
[  534s] ok 5 - quote
[  534s] # Subtest: runcmd
[  534s] [2019-06-05T11:00:10.155 UTC] [debug] running qemu-img create -f qcow2 image.qcow2 1G
[  534s] [2019-06-05T11:00:10.180 UTC] [debug] Formatting 'image.qcow2', fmt=qcow2 size=1073741824 cluster_size=65536 lazy_refcounts=off refcount_bits=16
[  534s] 
[  534s]     ok 1 - qemu-image creation and get its return code
[  534s] [2019-06-05T11:00:10.181 UTC] [debug] running rm image.qcow2
[  534s]     1..1
[  534s] ok 6 - runcmd
[  534s] runcmd failed with exit code 1 at ../osutils.pm line 120.
[  534s] # Tests were run but no plan was declared and done_testing() was not seen.
[  534s] # Looks like your test exited with 2 just after 6.
[  534s] FAIL 13-osutils.t (exit status: 2)
Actions #1

Updated by okurz almost 5 years ago

I assume this issue is sporadic

Actions #2

Updated by okurz almost 5 years ago

  • Status changed from New to Feedback
  • Assignee set to okurz

running 13-osutils.t 1000 on lord.arch (x86_64, Leap 15.1), let's see if it is stable there at least.

Actions #3

Updated by okurz almost 5 years ago

  • Subject changed from openQA test suite fails in package %check section, e.g. in 13-osutils.t to openQA test suite fails in package %check section, e.g. in 13-osutils.t of openSUSE_Factory/i586
  • Priority changed from Normal to Low

ok, 1000 runs stable. Could be this is specific to i586.

Seems like the line is runcmd('rm', 'image.qcow2'), 0, "delete image and get its return code"; is the faulty one. I reduced the prio of the ticket to Low and keep it open for now. Let's see how often this appears. I think I have seen this again but do not know if it was actually the same line.

Actions #4

Updated by okurz almost 5 years ago

  • Subject changed from openQA test suite fails in package %check section, e.g. in 13-osutils.t of openSUSE_Factory/i586 to openQA test suite fails in package %check section, e.g. in 13-osutils.t of openSUSE_Factory (i586 and x86_64)
  • Priority changed from Low to Normal
Actions #5

Updated by okurz almost 5 years ago

Not a fix but some related cleanup first: https://github.com/os-autoinst/os-autoinst/pull/1168

Actions #6

Updated by okurz over 4 years ago

  • Status changed from Feedback to Resolved

I haven't seen that problem again after my "cleanup". Somehow it might have changed timing and fixed the original issue.

Actions #7

Updated by okurz over 4 years ago

  • Status changed from Resolved to Workable
  • Assignee deleted (okurz)
Actions #8

Updated by okurz over 4 years ago

  • Status changed from Workable to Feedback
  • Assignee set to okurz
  • Target version set to Current Sprint
Actions #9

Updated by okurz over 4 years ago

  • Status changed from Feedback to Resolved

merged and further enhancement of spec file in https://github.com/os-autoinst/os-autoinst/pull/1227 . As the test isn't there anymore I guess it can't fail anymore :)

Actions

Also available in: Atom PDF