Summary: | dev-lang/perl-5.22.3_rc4 test failure on arm64 ( Failed test 1 - alarm w/$SIG{ALRM} vs inf loop at op/alarm.t ) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michael Weber (RETIRED) <xmw> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | arm64, kentnl |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 589680 | ||
Attachments: | build.log arm64 |
Description
Michael Weber (RETIRED)
2017-02-13 00:14:39 UTC
Created attachment 463550 [details]
build.log arm64
Important log context: ===( 224942;303 1563/1946 0/? )======================================# Failed test 1 - alarm w/$SIG{ALRM} vs inf loop at op/alarm.t line 34 # got "" # expected "ALARM!\n" # Failed test 2 - right time (waited 981 secs for 3-sec alarm) at op/alarm.t line 35 op/alarm.t ........................................................ Failed 2/5 subtests Test Summary Report ------------------- op/alarm.t (Wstat: 0 Tests: 5 Failed: 2) Failed tests: 1-2 Files=2381, Tests=720520, 2518 wallclock secs (571.20 usr 42.31 sys + 2657.55 cusr 199.06 csys = 3470.12 CPU) Result: FAIL Is this failure reliably reproducable? Just alarm's triggering can be kinda strange. Sorry, nowhere near enough data here to resolve this. Anything involving SIG{ALRM} is very sensitive to time, and given that the following trivial loop calling nothing but "time" and doing basic math takes 16 minutes to run: https://metacpan.org/source/SHAY/perl-5.22.3/t/op/alarm.t#L26-28 alarm 3; # perlfunc recommends against using sleep in combination with alarm. 1 while (($end_time = time) - $start_time < 6); alarm 0; That it suggests the system environment is too anomalous to make sense of without significant context. Reopen if you can reliably reproduce this bug outside of suspending operating systems or processes or having syslock perform time-travel. |