Project

General

Profile

Actions

action #103611

closed

test failure: os-autoinst: 29-backend-driver.t:31 Failed test 'exit logged'

Added by tinita over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-11-30
Due date:
% Done:

0%

Estimated time:

Description

Observation

All 15.3 builds are failing now with the same error

perl-Mojo-IOLoop-ReadWriteProcess-0.31-lp153.30.1

https://build.opensuse.org/package/live_build_log/devel:openQA/os-autoinst/openSUSE_Leap_15.3/x86_64

[  211s] 3: [17:11:16] ./28-signalblocker.t ..................... ok      686 ms ( 0.00 usr  0.00 sys +  0.56 cusr  0.14 csys =  0.70 CPU)
[  212s] 3: 
[  212s] 3: #   Failed test 'exit logged'
[  212s] 3: #   at ./29-backend-driver.t line 31.
[  212s] 3: # STDOUT & STDERR:
[  212s] 3: # [37m[2021-12-06T17:11:16.953486Z] [debug] received magic close
[  212s] 3: # [0m
[  212s] 3: # don't match:
[  212s] 3: # (?^u:backend.*exited)
[  212s] 3: # as expected
[  212s] 3: [37m[2021-12-06T17:11:17.057808Z] [debug] backend process exited: 72057594037927935
[  212s] 3: [0m# Looks like you failed 1 test of 12.
[  212s] 3: [17:11:17] ./29-backend-driver.t .................... 
[  212s] 3: Dubious, test returned 1 (wstat 256, 0x100)
[  212s] 3: Failed 1/12 subtests 

Also the output of 10-virtio_terminal.t looks weird, but not sure if this was happening before.
It still succeeds, though:

[  196s] 3: Can't open out pipe for reading Interrupted system call at ./10-virtio_terminal.t line 44.
[  196s] 3: 
[  196s] 3:     #   Failed test 'no (unexpected) warnings (via END block)'
[  196s] 3:     #   at /usr/lib/perl5/5.26.1/Test/Builder.pm line 135.
[  196s] 3:     # Got the following unexpected warnings:
[  196s] 3:     #   1: Can't open out pipe for reading Interrupted system call at ./10-virtio_terminal.t line 44.
[  196s] 3: [33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[17:11:01] ./10-virtio_terminal.t ................... ok      820 ms ( 0.01 usr  0.00 sys +  0.71 cusr  0.13 csys =  0.85 CPU)

This is how it looks like on 15.2:

[  164s] 3: [33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[33m[0m[10:16:34] ./10-virtio_terminal.t ................... ok      835 ms ( 0.01 usr  0.00 sys +  0.71 cusr  0.14 csys =  0.86 CPU)

In any case we should get rid of the ansi codes.

Created an issue here: https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/issues/29


Related issues 2 (0 open2 closed)

Blocks openQA Project - action #103605: Most tests time out with perl-Mojo-IOLoop-ReadWriteProcess 0.28Resolvedlivdywan2021-12-07

Actions
Copied from openQA Project - action #103422: [sporadic] os-autoinst: 13-osutils.t:167 Failed test 'Exit code appear in log' in GHA size:MResolvedtinita2021-11-30

Actions
Actions #1

Updated by tinita over 2 years ago

  • Copied from action #103422: [sporadic] os-autoinst: 13-osutils.t:167 Failed test 'Exit code appear in log' in GHA size:M added
Actions #2

Updated by livdywan over 2 years ago

  • Related to action #103605: Most tests time out with perl-Mojo-IOLoop-ReadWriteProcess 0.28 added
Actions #3

Updated by tinita over 2 years ago

  • Subject changed from [sporadic] os-autoinst: 29-backend-driver.t:31 Failed test 'exit logged' to test failure: os-autoinst: 29-backend-driver.t:31 Failed test 'exit logged'
Actions #5

Updated by mkittler over 2 years ago

  • Assignee set to mkittler
Actions #7

Updated by mkittler over 2 years ago

I suppose we're now focusing on https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/pull/33.

I've already tested it against the os-autoinst test and it works. I've also conducted a test run (with no browser tab open) and it passed normally.

In the meantime I also adjusted our devel repos. TW user should lock the RWP package for now (zypper al perl-Mojo-IOLoop-ReadWriteProcess).

Actions #8

Updated by kraih over 2 years ago

Quick way to verify that PR#33 resolves the issue:

$ sudo zypper in perl-App-cpanminus
...
$ cd os-autoinst
$ cpanm -n -L extlib https://api.github.com/repos/mudler/Mojo-IOLoop-ReadWriteProcess/tarball/d816ead3959fb876d632654bdb1ee7fd47c5633d
...
$ prove -I. -Iextlib/lib/perl5/ t/29-backend-driver.t
t/29-backend-driver.t .. ok    
All tests successful.
Files=1, Tests=12,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.12 cusr  0.06 csys =  0.21 CPU)
Result: PASS
Actions #9

Updated by livdywan over 2 years ago

  • Related to deleted (action #103605: Most tests time out with perl-Mojo-IOLoop-ReadWriteProcess 0.28)
Actions #10

Updated by livdywan over 2 years ago

  • Blocks action #103605: Most tests time out with perl-Mojo-IOLoop-ReadWriteProcess 0.28 added
Actions #11

Updated by mkittler over 2 years ago

The PR has been merged and it is part of the tag 0.32 which should make its way to Factory/TW automatically (see https://build.opensuse.org/request/show/939161).

When it is in Factory, I'll restore our linking in the devel projects. The new version isn't strictly required but having the race condition fixed (the one which Clemens wanted to fix initially) is likely a good idea.

Actions #12

Updated by mkittler over 2 years ago

  • Status changed from Feedback to Resolved

0.32 is not in Factory and TW so this problem should be fixed. I also tested that on my local TW system and updated the linking in our devel repos for Leap.

Actions

Also available in: Atom PDF