Project

General

Profile

action #117352

Updated by livdywan over 1 year ago

## Observation 

 Visit https://build.opensuse.org/package/live_build_log/devel:openQA/os-autoinst/openSUSE_Leap_15.4/aarch64 

 Package devel:openQA/os-autoinst failed to build in openSUSE_Leap_15.4/aarch64 

 Check out the package for editing: 
   
   osc checkout devel:openQA os-autoinst 

 Last lines of build log: 

 ``` 
 [    556s] 3: [20:58:54] ./t/29-backend-generalhw.t .................  
 [    556s] 3: ok 1 - can check socket 
 [    556s] 3: # Subtest: start VM 
 [    556s] 3:       ok 1 - return value 
 [    556s] 3:       ok 2 - poweroff/on commands invoked 
 [    556s] 3:       ok 3 - tried to connect to VNC server 
 [    556s] 3:       1..3 
 [    556s] 3: ok 2 - start VM 
 [    556s] 3: # Subtest: start VM with video 
 [    556s] 3:       ok 1 - return value 
 [    556s] 3:       ok 2 - poweroff/on commands invoked 
 [    556s] 3:       ok 3 - tried to connect to video stream 
 [    556s] 3:       1..3 
 [    556s] 3: ok 3 - start VM with video 
 [    556s] 3: # Subtest: hdd args 
 [    556s] 3:       ok 1 - return value 
 [    556s] 3:       1..1 
 [    556s] 3: ok 4 - hdd args 
 [    556s] 3: # Subtest: stop VM 
 [    556s] 3:       ok 1 - return value 
 [    556s] 3:       ok 2 - poweroff/on commands invoked 
 [    556s] 3:       1..2 
 [    556s] 3: ok 5 - stop VM 
 [    556s] 3: # Subtest: error handling 
 [    556s] 3:       ok 1 - IPC error thrown with context 
 [    556s] 3:       ok 2 - error when GENERAL_HW_CMD_DIR is not a directory 
 [    556s] 3:       ok 3 - WORKER_HOSTNAME required 
 [    556s] 3:       1..3 
 [    556s] 3: ok 6 - error handling 
 [    556s] 3: # Subtest: handling power commands 
 [    556s] 3:       ok 1 - power commands invoked 
 [    556s] 3:       ok 2 - dies on invalid action 
 [    556s] 3:       1..2 
 [    556s] 3: ok 7 - handling power commands 
 [    556s] 3: # Subtest: re-login VNC 
 [    556s] 3:       ok 1 - re-login has truthy return code 
 [    556s] 3:       ok 2 - VNC base console assigned 
 [    556s] 3:       ok 3 - previously assigned VNC socket closed 
 [    556s] 3:       1..3 
 [    556s] 3: ok 8 - re-login VNC 
 [    556s] 3: # Subtest: serial grab 
 [    556s] 3:       # Subtest: capturing output 
 [    556s] 3:           ok 1 - serial PID assigned: 4324 
 [    556s] 3:           ok 2 - serial output captured 
 [    556s] 3:           1..2 
 [    556s] 3:       ok 1 - capturing output 
 [    556s] 3:       # Subtest: stop grabbing 
 [    556s] 3:           1..0 
 [    556s] 3:       not ok 2 - No tests run for subtest "stop grabbing" 
 [    556s] 3:           # No tests run! 
 [    556s] 3:  
 [    556s] 3:       #     Failed test 'No tests run for subtest "stop grabbing"' 
 [    556s] 3:       #     at ./t/29-backend-generalhw.t line 174. 
 [    556s] 3:       1..2 
 [    556s] 3: not ok 9 - serial grab 
 [    556s] 3: ok 10 - no (unexpected) warnings (via END block) 
 [    556s] 3:       # Looks like you failed 1 test of 2. 
 [    556s] 3:  
 [    556s] 3: #     Failed test 'serial grab' 
 [    556s] 3: #     at ./t/29-backend-generalhw.t line 177. 
 [    556s] 3: Can't kill('-TERM', '4325'): No such process at /home/abuild/rpmbuild/BUILD/os-autoinst-4.6.1664377866.1f6d57e/backend/generalhw.pm line 186 
 [    556s] 3: # Tests were run but no plan was declared and done_testing() was not seen. 
 [    556s] 3: # Looks like your test exited with 255 just after 10. 
 [    556s] 3: Dubious, test returned 255 (wstat 65280, 0xff00) 
 [    556s] 3: Failed 1/10 subtests  

 ... 

 [    [  606s] 3: ok 1 - POD test for ./xt/../testapi.pm 
 [  606s] 3: ok      500 ms ( 0.01 usr  0.00 sys +  0.47 cusr  0.05 csys =  0.53 CPU) 
 [  608s] 3: [20:59:47] ./xt/06-pod-coverage.t .....................  
 [     608s] 3: ok 1 - Everything in testapi covered 
 [  608s] 3: ok 2 - no (unexpected) warnings (via done_testing) 
 [  608s] 3: 1..2 
 [  608s] 3: ok     1817 ms ( 0.01 usr  0.00 sys +  1.63 cusr  0.19 csys =  1.83 CPU) 
 [  608s] 3: [20:59:48] ./xt/27-make-update-deps.t .................  
 [  608s] 3: ok 1 - Skipping all tests, not in a git repository 
 [  608s] 3: ok 2 - no (unexpected) warnings (via done_testing) 
 [  608s] 3: 1..2 
 [  608s] 3: ok      333 ms ( 0.00 usr  0.00 sys +  0.29 cusr  0.06 csys =  0.35 CPU) 
 [  608s] 3: [20:59:49] 
 [  608s] 3:  
 [  608s] 3: Test Summary Report 
 [     608s] 3: ------------------- 
 [     608s] 3: ./t/29-backend-generalhw.t                 ./t/29-backend-generalhw.t               (Wstat: 65280 Tests: 10 Failed: 1) 
 [     608s] 3:     3:   Failed test:    test:  9 
 [     608s] 3:     3:   Non-zero exit status: 255 
 [     608s] 3:     3:   Parse errors: No plan found in TAP output 
 [     608s] 3: Files=59, Tests=1266, 373 wallclock secs ( 1.73 usr    usr  0.82 sys + 319.81 cusr 51.16 csys = 373.52 CPU) 
 [     608s] 3: Result: FAIL 
 [29409s] qemu-system-aarch64: terminating on signal 15 from pid 27497 () 
 ``` 

 That's not the first occurrence: https://progress.opensuse.org/issues/111254#note-14 

 ## Suggestions 
 - Disable the subtest in OBS 
 - Try and reproduce this locally 
 - ~Confirm that this is arm-specific (we suspect it's not)~ 
 - Double-check behavior of spawning and killing a process e.g. from this unit test, maybe it doesn't "sleep" properly

Back