Project

General

Profile

action #52652

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

Added by okurz about 1 year ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Concrete Bugs
Target version:
Start date:
2019-06-05
Due date:
% Done:

0%

Estimated time:
Difficulty:
Duration:

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)

History

#1 Updated by okurz about 1 year ago

I assume this issue is sporadic

#2 Updated by okurz about 1 year 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.

#3 Updated by okurz about 1 year 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.

#4 Updated by okurz about 1 year 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

#5 Updated by okurz about 1 year ago

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

#6 Updated by okurz 11 months 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.

#7 Updated by okurz 11 months ago

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

#8 Updated by okurz 9 months ago

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

#9 Updated by okurz 9 months 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 :)

Also available in: Atom PDF