-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failures on Ubuntu 20.04.2-desktop-amd64 (clang) #180
Comments
The locales warning is not a failure, it's just a warning (note 0 errors). It's not a problem in ksh, it is exactly what the message says it is: the system does not verify if a valid locale is set, so ksh can't print a diagnostic message, so we can't test for that. I should probably remove the warning as it is evidently too alarming. As for the types.sh failure, I'm stumped. Does it only occur in shcomp? The GitHub Ci runners also run Ubuntu amd64 and they never fail like this. |
Re the locales test... no, leave the warning. Instead, I should learn how to read. Whenever the types fail occurs, it only occurs in shcomp. So far. It's a VM with 2x CPU cores and 4gb of RAM. I'm going to set up a loop and have it run the test continuously and count, but it's not like that test is timing-related so I dunno. |
I haven't been able to get the same exact test failure, although when I compile with Clang 10 and set
The failures shown above are caused by commit 096f46e. I can't get the test to fail after reverting that commit. |
Cheers @JohnoKing -- that commit is a Solaris patch with no documentation on what it fixes or how or why, so I'm reverting that now. @posguy99, please test ksh after the revert and let me know if you can still reproduce the regression. |
This reverts a Solaris patch (105-CR7032068) with no documentation on what it fixes or how or why. There are reports about it causing a crash and/or a regression: #180 (comment)
Well, I got this the first time building 8c2d8e5 on Catalina...
test sigchld begins at 2021-02-17+20:28:54
test sigchld passed at 2021-02-17+20:29:01 [ 14 tests 0 errors ]
test sigchld(C.UTF-8) begins at 2021-02-17+20:29:01
sigchld.sh[89]: SIGCHLD trap queueing failed -- expected 'running=0 maxrunning=4', got 'running=1 maxrunning=4'
test sigchld(C.UTF-8) failed at 2021-02-17+20:29:08 with exit code 1 [ 14 tests 1 error ]
test sigchld(shcomp) begins at 2021-02-17+20:29:08
test sigchld(shcomp) passed at 2021-02-17+20:29:15 [ 14 tests 0 errors ]
It’s not replicable so far, I run the test again and again and it doesn’t happen. Just putting it out there.
I’ve had the Ubuntu build running in an infinite loop, it hasn’t failed types.sh yet.
…--
Marc Wilson
[email protected]
On Wed, Feb 17, 2021, at 6:05 PM, Martijn Dekker wrote:
Cheers @JohnoKing <https://github.com/JohnoKing> -- that commit is a Solaris patch with no documentation on what it fixes or how or why, so I'm reverting that now. @posguy99 <https://github.com/posguy99>, please test ksh after the revert and let me know if you can still reproduce the regression.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#180 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AADDYRE5GN4TKVL45QF35OLS7RYXBANCNFSM4XXV6DGA>.
|
Urgh. I've never seen that one. Variable/parameter expansion and signal handling are completely unrelated though, so it's unlikely to have anything to do with that patch being reverted. The types.sh failure is very much related to variable expansion, though, so it would make sense if that one is gone now along with the crash that @JohnoKing experienced.
Yes, thanks. It's good to be aware that there must be some race condition in the signal handling code somewhere, causing a rare and intermittent failure. Fixing it is another matter though. Intermittent faults are very hard to fix, particularly in this code base which is inscrutable in many ways, and was written by authors who liked experimenting with shiny new ideas so much that their quality control standards pretty much hit rock bottom. :-/ Speaking of intermittent faults, today I had ksh crash in Terminal.app again, at yet another point in the job control code. <sigh>
Thanks. I'll close this issue for now, then. Please do comment here if it reoccurs. |
It fails:
Then later it passes, and I didn't change anything or rebuild again.
Then I rebuild it, and it fails the test again if I run the whole test suite:
But if I run the test again standalone, it passes:
And now if I re-run all the tests without re-building it, types passes again:
A separate failure is this:
Is the locales failure just a glibc-ism? The bad_LOCALE test also fails on CentOS 8 (sets errmsg to null) if I just test it in a shell prompt.
The text was updated successfully, but these errors were encountered: